Opened 9 years ago

Closed 9 years ago

#1639 closed defect (fixed)

concat filter frozen

Reported by: chinshou Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords: movie
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes


The concat filter cause ffmpeg frozen.

prepare any mp4 video , rename it to 1.mp4. then copy it to 2.mp4.

finally execute following command to join the two videos

ffmpeg -f lavfi -i "movie=1.mp4, scale=512:288 [v1] ; amovie=1.mp4 [a1] ;movie=2.mp4, scale=512:288 [v2] ; amovie=2.mp4 [a2] ;[v1] [v2] concat [out0] ; [a1] [a2] concat=v=0:a=1 [out1]" join.avi

ffmpeg begin to encoding successfully , but frozen at 50% .

I used the ffmpeg 20120810 windows build from

I investigate the code and found the frozen caused by av_read_frame , the call will be blocked at 50% position.

Change History (4)

comment:1 by Nicolas George, 9 years ago

Keywords: concat added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

Note that it works with -filter_complex.

comment:2 by Nicolas George, 9 years ago

Analyzed by developer: set
Keywords: movie added; concat removed

comment:3 by chinshou, 9 years ago

Please close this ticket , it seems the bug has already been fixed , I just test it with the latest ffmpeg commandline without frozen problem.

comment:4 by Carl Eugen Hoyos, 9 years ago

Resolution: fixed
Status: openclosed

For future tickets: Please always post a (failing) command line together with complete, uncut console output.

Note: See TracTickets for help on using tickets.