Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread andrei ka
fyi, this is example of ffmpeg docker file with gpu encoding capabilities :
https://hub.docker.com/r/jrottenberg/ffmpeg/dockerfile
you take it, mod it for taking 4.1.2 ( FFMPEG_VERSION=4.2.1) , and make
patch mod in docker file

DIR=/tmp/ffmpeg && mkdir -p ${DIR} && cd ${DIR} && \
./configure \

DIR=/tmp/ffmpeg && mkdir -p ${DIR} && cd ${DIR} && \
patch -p1  --ignore-whitespace <  /tmp/patch.txt && \
./configure \

and you fire:

docker build --tag ffmpeg:4.2.1.dts .

and you should be fine...



___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread andrei ka
you should join the dockerfile you're executing, i can't know what commands
you're executing and from where.
./configure is the conf command in ffmpeg src uncompressed dir, your
commands batch (shell or docker) is not located in that folder at
the time it issues the command, so, cd ffmpeg_unzipped_dir command is
missing or you cd-ed somewhere else meanwhile...

in a correct docker file all commands are ok for correct navigation b/w
folders (temporary or packages git trunks etc)


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread Philip Orrill
I'm getting further thank you for your patience.

It feels like the home stretch now.

I run the command and it half works. It runs some but errors at the end.

It seems to suggest it has patched some items. But then says a directory
does not exist.

Do I need to specify a directory instead of ?

patching file fftools/ffmpeg.c
Hunk #1 succeeded at 4435 (offset 48 lines).
Hunk #2 succeeded at 4470 (offset 48 lines).
Hunk #3 succeeded at 4510 (offset 51 lines).
patching file fftools/ffmpeg.h
Hunk #2 succeeded at 588 (offset -2 lines).
patching file fftools/ffmpeg_opt.c
Hunk #2 succeeded at 1207 (offset 50 lines).
Hunk #3 succeeded at 3479 (offset 72 lines).
bash: ./configure...: No such file or directory



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread andrei ka
go to /tmp and check what you've got where, like (ls is likz dir) :

cd /tmp
ls

if you patch* is whre but not .txt rename it : /bin/mv patch* patch.txt


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] -shortest trouble

2020-10-08 Thread Bouke
I’m having a strange issue with -shortest. Audio track ends up (a bit) shorter 
than the video.
(That ‘should’ not be the case I would think…)
The command looks like it does not need -shortest, but it’s there for other 
situations.
Video output is trimmed to the correct length. Audio is fine when I either omit 
-shortest, or when I transcode instead of trim / rewrap.

Is it me or is it a bug?

thx,
Bouke

bouke@Boukes-iMac ~ % /Applications/ffmpeg -ss 236.19971 -i 
"/Volumes/Data/Andrea_LTC/Trim trouble/IshumT_21.mov" -map 0:2 -filter_complex 
"[0:0]channelmap=0-0:channel_layout=0x1[a0];[0:1]channelmap=0-0:channel_layout=0x1[a1];[a0][a1]amerge=inputs=2[out]"
 -map "[out]" -ac 2 -c:a pcm_s24le -t 7.800291 -timecode 17:31:02:55 
-metadata:s:v:0 reel_name=1673 -c:v copy -shortest 
"/Volumes/Data/Andrea_LTC/Trim trouble/Test Out/1673_shortest.mov”

ffmpeg version 4.3.1-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 
2000-2020 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1100.0.33.17)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg 
--extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl 
--enable-libaom --enable-libass --enable-libbluray --enable-libdav1d 
--enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame 
--enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb 
--enable-libopenh264 --enable-libopenjpeg --enable-libopus 
--enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr 
--enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab 
--enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx 
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 
--enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq 
--enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
  libavutil  56. 51.100 / 56. 51.100
  libavcodec 58. 91.100 / 58. 91.100
  libavformat58. 45.100 / 58. 45.100
  libavdevice58. 10.100 / 58. 10.100
  libavfilter 7. 85.100 /  7. 85.100
  libswscale  5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc55.  7.100 / 55.  7.100
Guessed Channel Layout for Input Stream #0.0 : mono
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/Data/Andrea_LTC/Trim 
trouble/IshumT_21.mov':
  Metadata:
major_brand : qt  
minor_version   : 537199360
compatible_brands: qt  
creation_time   : 2020-10-06T16:27:17.00Z
  Duration: 00:07:24.00, start: 0.00, bitrate: 107327 kb/s
Stream #0:0(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32 
(24 bit), 1152 kb/s (default)
Metadata:
  creation_time   : 2020-10-06T16:27:17.00Z
  handler_name: AJA Sound Media Handler
Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32 
(24 bit), 1152 kb/s (default)
Metadata:
  creation_time   : 2020-10-06T16:27:17.00Z
  handler_name: AJA Sound Media Handler
Stream #0:2(eng): Video: prores (LT) (apcs / 0x73637061), yuv422p10le(tv, 
bt709/reserved/reserved, progressive), 1280x720, 104690 kb/s, SAR 1:1 DAR 16:9, 
60 fps, 60 tbr, 60 tbn, 60 tbc (default)
Metadata:
  creation_time   : 2020-10-06T16:27:17.00Z
  handler_name: AJA Video Media Handler
  encoder : Apple ProRes 422 (LT)
  timecode: 17:27:08:00
Stream #0:3(eng): Data: none (tmcd / 0x64636D74)
Metadata:
  rotate  : 0
  creation_time   : 2020-10-06T16:27:17.00Z
  handler_name: AJA Time Code Handler
  reel_name   : 001
  : 
  timecode: 17:27:08:00
File '/Volumes/Data/Andrea_LTC/Trim trouble/Test Out/1673_shortest.mov' already 
exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 (pcm_s24le) -> channelmap
  Stream #0:1 (pcm_s24le) -> channelmap
  Stream #0:2 -> #0:0 (copy)
  amerge -> Stream #0:1 (pcm_s24le)
Press [q] to stop, [?] for help
[Parsed_amerge_2 @ 0x7fc1e5e06640] Input channel layouts overlap: output layout 
will be determined by the number of distinct input channels
Output #0, mov, to '/Volumes/Data/Andrea_LTC/Trim trouble/Test 
Out/1673_shortest.mov':
  Metadata:
major_brand : qt  
minor_version   : 537199360
compatible_brands: qt  
timecode: 17:31:02:55
encoder : Lavf58.45.100
Stream #0:0(eng): Video: prores (LT) (apcs / 0x73637061), yuv422p10le(tv, 
bt709/reserved/reserved, progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 
104690 kb/s, 0.02 fps, 60 tbr, 15360 tbn, 60 tbc (default)
Metadata:
  creation_time   : 2020-10-06T16:27:17.00Z
  handler_name: AJA Video Media Handler
  encoder : Apple ProRes 422 (LT)
  timecode: 17:27:08:00
  reel_name   : 1673
Stream #0:1: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32, 
2304 

Re: [FFmpeg-user] Video is not reproduced in VLC when streaming in udp with ffmpeg

2020-10-08 Thread Mar Andrés López
The problem is not related with multicast. Multicast is for deliver a stream to 
several devices, and I want test the streaming in my own computer, that is why 
I am using 127.0.0.1 because it references to my own computer (the localhost 
ip).
It seemed that I needed a buffer in reception.
I tried with ffplay -i udp://127.0.0.1:12003?buffer_size=1, it worked.
Thanks :-)

De: ffmpeg-user  en nombre de andrei ka 

Enviado: jueves, 8 de octubre de 2020 10:19:18
Para: FFmpeg user questions
Asunto: Re: [FFmpeg-user] Video is not reproduced in VLC when streaming in udp 
with ffmpeg

first type 'multucast address' in google...  :-)

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__ffmpeg.org_mailman_listinfo_ffmpeg-2Duser=DwIGaQ=CIoxZ4z5BqFvKvSGFOTo726QZIiNTc_M9CmngT-Pla4=6hC3rvTBWUFDzy12mBL-ibcRFc1EHXzwjcFCetQx-fY=BcpYxqiJBF2iLD98AteQ5RDxaC5WCOYcP7zVyUsLVKk=R_nRwzK2t5Bode8YxNGs8LIa97oc-PNNOsgTQQ7xVJk=

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

P Please consider the environment before printing this e-mail.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread Philip Orrill
I have downloaded the file from the drive thanks.

I have created a directory called /tmp on my machine and copied the file
into that.

I have the command $ curl -sLO
https://ffmpeg.org/releases/ffmpeg-4.2.1.tar.gz && tar -zxf
ffmpeg-4.2.1.tar.gz --strip-components=1 && patch -p1 --ignore-whitespace <
/tmp/patch.txt && ./configure...  && make...

This gives me the error:
/tmp/patch.txt: No such file or directory

I assume i'm doing something really silly. 

Thanks for the help again.




--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread andrei ka
or grab this :
https://drive.google.com/file/d/1ByK7u-uOyPpUaIjVx7Ilq5tnY4rEad5e/view?usp=sharing
:-)
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread andrei ka
save into patch.txt the part of URL
http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180316/739542e4/attachment.obj
starting from --- (till the end) (rather do wget  URL && vi to del the
useles mail header part, if you edit in win editor make sure you save in it
unix format, txt files in win have different cr/lf format, or use texpad in
win, it has save in unix format option)  :

---
 fftools/ffmpeg.c | 54 +++-
 fftools/ffmpeg.h |  7 +++



___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread Philip Orrill
That makes sense. Sorry my lack of linux showing now.

I have updated the command and now get bash: /tmp/patch.txt "No such file or
directory". Do I need to create the directory and paste in the code you
provided. Or should docker do something to pick it up from git?

Thought it would be best to ask before I create directories I don't need
etc.



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread andrei ka
you're doing well, almost there :-) just leave 4.1.2  w/o $ sign, $ is for
var's values in unix sh...

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread Philip Orrill
Hi
I now have a ubuntu instance running and have installed docker. I ran the
little hello world app they give and that ran.

I ran the command you gave $ curl -sLO
https://ffmpeg.org/releases/ffmpeg-$4.2.1.tar.gz && tar -zxf
ffmpeg-$4.2.1.tar.gz --strip-components=1 && path -p1 --ignore-whitespace <
/tmp/patch.txt && ./configure... && make...

This gives an error that

gzip: stdin: not in gzip format
tar: child returned status 1
tar: Error is not recoverable: existing now 

Have I missed installing something?

Thanks again




--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Video is not reproduced in VLC when streaming in udp with ffmpeg

2020-10-08 Thread andrei ka
first type 'multucast address' in google...  :-)

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Unable to reencode corrupt video file

2020-10-08 Thread Carl Eugen Hoyos
Am Mo., 5. Okt. 2020 um 18:13 Uhr schrieb Schampignon Cristobal via
ffmpeg-user :

> could I send it privately for example via wetransfer?

You can send it any way you like, but we need to make samples
public to improve chances for a fix (exceptions definitely exist).

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Video is not reproduced in VLC when streaming in udp with ffmpeg

2020-10-08 Thread Mar Andrés López
Dear all,


I am trying to stream a video using the following command


ffmpeg -i video.mp4 -map 0 -codec copy -f mpegts udp://127.0.0.1:12000, then I 
place VLC listening and the video is not reproduced. ¿Is there any help?

P Please consider the environment before printing this e-mail.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".