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 successfu

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 lates

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 linke

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 player

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 that

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 ffm

[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 t

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 -bsf:

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 h264_mp4toannex

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 c

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 `exec_pub

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 etc.

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 fram

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" does

[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 i

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 b

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 /data/vod-storage-d

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 documen

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 times

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 an

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 To

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, s

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