[FFmpeg-trac] #6327(avfilter:new): Filtergraph video overlays freezing
FFmpeg
trac at avcodec.org
Mon Apr 17 17:01:07 EEST 2017
#6327: Filtergraph video overlays freezing
----------------------------------+--------------------------------------
Reporter: LordHDL | Type: defect
Status: new | Priority: normal
Component: avfilter | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
'''Summary of the bug''': When using audio chains and video overlays, the
overlays will freeze.
'''How to reproduce''': Overlay 2 videos on a static image background and
include their audio in the final output.
{{{
ffmpeg -y -framerate 60 -loop 1 -i ~/Desktop/Image.tiff -i
~/Desktop/Video1.nut -i ~/Desktop/Video2.nut -t 270 -lavfi \
"[0]fade=t=out:st=268:d=2[bg]; \
[1:v]setpts=(PTS-
STARTPTS)+3/TB,fade=t=in:st=3:d=2,fade=t=out:st=16:d=2,fifo[fade]; \
[bg][fade]overlay=(main_w/24)-(overlay_w)/24:(main_h/2)-(overlay_h/2):format=rgb[v1];
\
[2:v]setpts=(PTS-
STARTPTS)+3/TB,fade=t=in:st=3:d=2,fade=t=out:st=265:d=2,fifo[v2]; \
[v1][v2]overlay=1440:(main_h/2)-(overlay_h/2):format=rgb[video]; \
[1:a]adelay=3000|3000,pan='stereo|c0=c0',afade=t=in:st=3:d=2,afade=t=out:st=13:d=2[a1];
\
[2:a]adelay=3000|3000,pan='stereo|c1=c1',afade=t=in:st=3:d=2,afade=t=out:st=265:d=2[a2];
\
[a1][a2]amix[audio]" \
-map [video] -map [audio] -c:v ffv1 -level 3 -coder 1 -context 1 -slicecrc
1 -g 1 -c:a pcm_s16le ~/Desktop/filtergraph.nut
}}}
'''Note''': If I remove the audio chains entirely, the video overlays play
correctly. Using `-atrim` does not fix it, nor does removing the delays,
fades, or panning.
Full output in the attached file.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6327>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list