[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]; \
 STARTPTS)+3/TB,fade=t=in:st=3:d=2,fade=t=out:st=16:d=2,fifo[fade]; \
 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]; \
 [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