Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#6327 closed defect (needs_more_info)

Filtergraph video overlays freezing

Reported by: LordHDL Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

Attachments (1)

Filtergraph Overlay Freeze (21.7 KB ) - added by LordHDL 8 years ago.

Download all attachments as: .zip

Change History (3)

by LordHDL, 8 years ago

Attachment: Filtergraph Overlay Freeze added

comment:1 by Elon Musk, 7 years ago

Resolution: fixed
Status: newclosed

Can not reproduce with latest version.

comment:2 by Carl Eugen Hoyos, 7 years ago

Component: avfilterundetermined
Resolution: fixedneeds_more_info

The given command line terminates here with 1849d0c, encodes forever with current FFmpeg git head (but does not freeze), so I don't think this was fixed.

Note: See TracTickets for help on using tickets.