Opened 3 years ago

Closed 2 years ago

#9592 closed defect (needs_more_info)

using -filter-complex to concatenate .mp4 hangs

Reported by: Jeffrey Wilson Owned by:
Priority: important Component: ffmpeg
Version: 4.4.3 Keywords:
Cc: Jeffrey Wilson Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Summary of the bug: using -filter-complex to concatenate .mp4 hangs and uses much CPU.
How to reproduce: Using the files contained in the .zip file, run:

ffmpeg.exe -i IntermediateTimelineRender_.mp4 -i IntermediateTimelineRender_0.mp4 -i IntermediateTimelineRender_1.mp4 -filter_complex "[0:v:0][1:v:0][2:v:0]concat=n=3:v=1[v]" -map "[v]" -q:v 8 IntermediateTimelineRender.mp4

Change History (3)

comment:1 by Jeffrey Wilson, 3 years ago

Uploaded support files to Videolan File Uploader and references this ticket.

comment:2 by Jeffrey Wilson, 3 years ago

Additional information - if I omit IntermediateTimelineRender_0.mp4 then the concat works. IntermediateTimelineRender_0.mp4 is a 10 second video created from an .jpg image using ffmpeg command:

ffmpeg.exe -loop 1 -i "image.jpg" -t 10 -vf scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setsar=sar=1/1 -c:v libx264 -pix_fmt yuv420p "IntermediateTimelineRender_0.mp4"

comment:3 by Elon Musk, 2 years ago

Resolution: needs_more_info
Status: newclosed

No links to files provided.

Note: See TracTickets for help on using tickets.