Re: [FFmpeg-user] Muxing multiple files and concatenating those outputs

2020-04-21 Thread Edward Park
Hi, > I ended up just keeping it as a script and getting the developers to > incorporate it into our code. Thanks though! Since it is a script, a > single bash call is not too intrusive. If we had some C programmers, I > would have them use the ffmpeg libraries directly, but they are all just

Re: [FFmpeg-user] Problem with recorded YouTube stream

2020-04-21 Thread Edward Park
Hi, > [tls @ 0x22e0d00] The TLS connection was non-properly terminated. > [tls @ 0x22e0d00] The specified session has been invalidated for some reason. > [tls @ 0x2309820] The TLS connection was non-properly terminated.te= > 224.4kbits/s It doesn't look like the download was entirely

Re: [FFmpeg-user] Muxing multiple files and concatenating those outputs

2020-04-21 Thread Greg Oliver
On Thu, Apr 16, 2020 at 10:19 AM Nicolas George wrote: > Greg Oliver (12020-04-14): > > We currently use ffmpeg to combine 2 streams (telephony codecs) into > > mp3/wav/flac, etc.. This is no problem - we use: > > > > ffmpeg -ar 8000 -y -f mulaw -i calls/example.g711a.ulaw -ar 8000 -f mulaw > >

Re: [FFmpeg-user] Problem with recorded YouTube stream

2020-04-21 Thread Tom Sparks
Are you sure you are using the latest version of youtube-dl from https://youtube-dl.org/ ? Are you using the latest version of python? On 22/04/2020, H wrote: > On 04/20/2020 02:58 PM, Carl Zwanzig wrote: >> On 4/20/2020 11:42 AM, H wrote: >>> I am running ffmpeg 2.8.15 under CentOS 7, the

Re: [FFmpeg-user] Problem with recorded YouTube stream

2020-04-21 Thread H
On 04/20/2020 02:58 PM, Carl Zwanzig wrote: > On 4/20/2020 11:42 AM, H wrote: >> I am running ffmpeg 2.8.15 under CentOS 7, the latest version released for >> that operating system. > > First- that version is positively _ancient_ and not supported at all. > Download a current linux build as

Re: [FFmpeg-user] Codec error when adding color parameter to fade

2020-04-21 Thread pdr0
When appending videos, you usually need to match the specs for the video, including dimensions, framerate, pixel format filtered.mp4 is 640x352, 30fps intro.mp4 is 1080x608, 59.94fps My guess is that is part of the reason. The specs can change midstream for a transport stream, but some

Re: [FFmpeg-user] rw_timeout trouble

2020-04-21 Thread Marton Balint
On Tue, 21 Apr 2020, Bouke / VideoToolShed wrote: Hi all, Strange issue: Trying to transcode MXF ‘while in the making’ with the rw_timeout option. Shouldn't you use the -follow option as well? It works on my end using Adobe Media Encoder for the MXF, but if Avid MC (on another computer

Re: [FFmpeg-user] Codec error when adding color parameter to fade

2020-04-21 Thread Cemal Direk
ok i wrote command and console step by step i wanna apply filter effect to second video then concat with intro.mp4 . then save as .mp4. i wrote all command together... ffmpeg -i video.mp4 -filter:v "fade=in:color=white:st=5:d=1, fade=out:color=white:st=45:d=1,format=yuv420p" filtered.mp4

[FFmpeg-user] rw_timeout trouble

2020-04-21 Thread Bouke / VideoToolShed
Hi all, Strange issue: Trying to transcode MXF ‘while in the making’ with the rw_timeout option. It works on my end using Adobe Media Encoder for the MXF, but if Avid MC (on another computer that I don’t control) generates the MXF, the first video frame gets doubled, and a more than expected by

Re: [FFmpeg-user] Codec error when adding color parameter to fade

2020-04-21 Thread pdr0
Cemal Direk wrote > but other problem: iphone is not supporting to filter effect on phone > when im joining(merging) video... > > ffmpeg -i video.mp4 -filter:v "fade=in:color=white:st=5:d=1, > fade=out:color=white:st=44:d=1,format=yuv420p" filtered.mp4 > > ffmpeg -i intro.mp4 -c copy

Re: [FFmpeg-user] Codec error when adding color parameter to fade

2020-04-21 Thread Cemal Direk
done thnx you but other problem: iphone is not supporting to filter effect on phone when im joining(merging) video... ffmpeg -i video.mp4 -filter:v "fade=in:color=white:st=5:d=1, fade=out:color=white:st=44:d=1,format=yuv420p" filtered.mp4 ffmpeg -i intro.mp4 -c copy -bsf:v

Re: [FFmpeg-user] Codec error when adding color parameter to fade

2020-04-21 Thread pdr0
Cemal Direk wrote > Hi, im using this code > > "ffmpeg -i video.mp4 -filter:v "fade=t=in:color=white:st=0.5:d=1" > -filter:a > "afade=in:st=0:d=1, afade=out:st=44:d=1" -c:v libx264 -c:a aac output.mp4" > > then output is wrong codec. i can not open output.mp4 at any player. > but i dont give to

Re: [FFmpeg-user] Codec error when adding color parameter to fade

2020-04-21 Thread Carl Eugen Hoyos
> Am 21.04.2020 um 16:10 schrieb Cemal Direk : > > "ffmpeg -i video.mp4 -filter:v "fade=t=in:color=white:st=0.5:d=1" -filter:a > "afade=in:st=0:d=1, afade=out:st=44:d=1" -c:v libx264 -c:a aac output.mp4" Complete, uncut console output missing. Carl Eugen

[FFmpeg-user] Codec error when adding color parameter to fade

2020-04-21 Thread Cemal Direk
Hi, im using this code "ffmpeg -i video.mp4 -filter:v "fade=t=in:color=white:st=0.5:d=1" -filter:a "afade=in:st=0:d=1, afade=out:st=44:d=1" -c:v libx264 -c:a aac output.mp4" then output is wrong codec. i can not open output.mp4 at any player. but i dont give to color=white parameter to command i

[FFmpeg-user] FFmpeg CLI - swap RTMP source using ZMQ (zmqsend)

2020-04-21 Thread Jess Portnoy
Hello all, My setup is as follows: - Nginx with the RTMP module - Multiple RTMP stream pairs, each one with a primary and backup RTMP endpoint (so streaming to rtmp://localhost/main/$STREAM_NAME and rtmp://localhost/backup/$STREAM_NAME) - Using the Nginx RTMP module `exec_publish` and

Re: [FFmpeg-user] Glossary? [was: Re: Keyframe]

2020-04-21 Thread Rob Hallam
> > On 04/21/2020 02:12 AM, Jim DeLaHunt wrote: > > > One kind of documentation that I haven't seen around ffmpeg which I > think might be very helpful is a > > glossary. > Agreed. While many won't read it before posting it is at least something that could be pointed to in replies, FAQs, docs

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-21 Thread Nicolas George
Michael Koch (12020-04-21): > If the blend filter gets two input frames with different timestamps, then > what's the timestamp of the output frame? To understand how it works, you need to think of frames not as punctual instant in time, it is an interval going from the frame's PTS to the next

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-21 Thread Paul B Mahol
On 4/21/20, Michael Koch wrote: > Am 21.04.2020 um 11:07 schrieb Paul B Mahol: >> On 4/21/20, Michael Koch wrote: > I now appreciate that 'blend' has a "preferred" input similar to > 'overlay', > but that behavior is not > documented. In the case of 'overlay', the name "main"

[FFmpeg-user] OpenCV OMX artifacts

2020-04-21 Thread Roman Honcharenko
I'm using hardware encoding via FFMPEG, OpenCV and OpenMAX. If I'm using FFmpeg h264_omx as a backend for VideoWriter() than I get image like https://i.stack.imgur.com/H7Kg8.jpg. Colors obviously kind of mixed. Other backend codecs work fine. My test code: https://pastebin.com/z1igaSsA The most

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-21 Thread Michael Koch
Am 21.04.2020 um 11:07 schrieb Paul B Mahol: On 4/21/20, Michael Koch wrote: I now appreciate that 'blend' has a "preferred" input similar to 'overlay', but that behavior is not documented. In the case of 'overlay', the name "main" doesn't convey that meaning, and in the case of 'blend', that

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-21 Thread adam smith via ffmpeg-user
> On 21 Apr 2020, at 09:27, adam smith via ffmpeg-user > wrote: > > > Thanks for the information. I will give it a whirl using the fps filter and > see what happens. > Good news…for me anyway. Carls suggestion appears to be a solution. The new command is... ffmpeg -y -i

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-21 Thread Paul B Mahol
On 4/21/20, Michael Koch wrote: > >>> I now appreciate that 'blend' has a "preferred" input similar to >>> 'overlay', >>> but that behavior is not >>> documented. In the case of 'overlay', the name "main" doesn't convey that >>> meaning, and in the case >>> of 'blend', that behavior is not

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-21 Thread Michael Koch
I now appreciate that 'blend' has a "preferred" input similar to 'overlay', but that behavior is not documented. In the case of 'overlay', the name "main" doesn't convey that meaning, and in the case of 'blend', that behavior is not documented at all. Both documentations should explain how

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-21 Thread Paul B Mahol
On 4/20/20, Mark Filipak wrote: > Hi, Ted, > > On 04/20/2020 06:20 AM, Edward Park wrote: >> Hey, >> I don't understand what you mean by "recursively". >>> >>> Haven't you heard? There's no recursion. There's no problem. The 'blend' >>> filter just has some fun undocumented features. Hours

Re: [FFmpeg-user] Glossary? [was: Re: Keyframe]

2020-04-21 Thread Mark Filipak
On 04/21/2020 04:40 AM, Paul B Mahol wrote: On 4/21/20, Mark Filipak wrote: doG bless you, Jim. Not again. Well, may doG bless you also, Paul. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user

Re: [FFmpeg-user] Glossary? [was: Re: Keyframe]

2020-04-21 Thread Paul B Mahol
On 4/21/20, Mark Filipak wrote: > On 04/21/2020 02:12 AM, Jim DeLaHunt wrote: >> On 2020-04-20 22:55, Michael Koch wrote: >> >>> Am 21.04.2020 um 04:09 schrieb Mark Filipak: I've seen where some use the term "keyframe" but I've never seen a definition.… >>> >>> I think this is correct,

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-21 Thread adam smith via ffmpeg-user
> On 20 Apr 2020, at 23:10, Mark Filipak > wrote: > May I suggest the following workaround? > > Remove the 1st (duplicate) frame with a select filter: > > ffmpeg -y -i /data/vod-storage-dev/source/testfile.mxf -vf > select='not(eq(n\,0))' -r 20/60 -s 283x159 -frames:v 10 -pix_fmt yuvj420p

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-21 Thread adam smith via ffmpeg-user
> On 20 Apr 2020, at 22:51, Carl Eugen Hoyos wrote: > > Am Mo., 20. Apr. 2020 um 19:32 Uhr schrieb Edward Park > mailto:kumowoon1...@gmail.com>>: >> >>> Use the output option -r or the fps filter to control the frequency of the >>> image grabs. >>> They will show different behaviour wrt the

Re: [FFmpeg-user] Needed: 10 minute, p24 test video

2020-04-21 Thread Mark Filipak
Hi, Michael, On 04/21/2020 02:16 AM, Michael Koch wrote: Am 21.04.2020 um 01:39 schrieb Mark Filipak: To submit a trac ticket on the 'pp' filter, I need a p24 video that's over 10 minutes, I need to test using that video, and then upload the file and update the ticket to 'reopen'. It has to

Re: [FFmpeg-user] Glossary? [was: Re: Keyframe]

2020-04-21 Thread Mark Filipak
On 04/21/2020 02:12 AM, Jim DeLaHunt wrote: On 2020-04-20 22:55, Michael Koch wrote: Am 21.04.2020 um 04:09 schrieb Mark Filipak: I've seen where some use the term "keyframe" but I've never seen a definition.… I think this is correct, see also here: https://en.wikipedia.org/wiki/Key_frame

Re: [FFmpeg-user] Keyframe

2020-04-21 Thread Mark Filipak
Hey, Michael, On 04/21/2020 01:55 AM, Michael Koch wrote: Am 21.04.2020 um 04:09 schrieb Mark Filipak: Hey, I have a question for you knowledgeable folks. I've seen where some use the term "keyframe" but I've never seen a definition. It's not terribly important, but here goes... I've

Re: [FFmpeg-user] Needed: 10 minute, p24 test video

2020-04-21 Thread Michael Koch
Am 21.04.2020 um 01:39 schrieb Mark Filipak: To submit a trac ticket on the 'pp' filter, I need a p24 video that's over 10 minutes, I need to test using that video, and then upload the file and update the ticket to 'reopen'. It has to be non-copyrighted material. Any ideas? ffmpeg -f lavfi

[FFmpeg-user] Glossary? [was: Re: Keyframe]

2020-04-21 Thread Jim DeLaHunt
On 2020-04-20 22:55, Michael Koch wrote: Am 21.04.2020 um 04:09 schrieb Mark Filipak: I've seen where some use the term "keyframe" but I've never seen a definition.… I think this is correct, see also here: https://en.wikipedia.org/wiki/Key_frame One kind of documentation that I haven't

Re: [FFmpeg-user] Keyframe

2020-04-21 Thread Michael Koch
Am 21.04.2020 um 04:09 schrieb Mark Filipak: Hey, I have a question for you knowledgeable folks. I've seen where some use the term "keyframe" but I've never seen a definition. It's not terribly important, but here goes... I've assumed -- you know how good I am at that! -- that a keyframe is