[FFmpeg-trac] #10803(undetermined:new): Concat filter not working combined with -ss/-to

FFmpeg trac at avcodec.org
Tue Jan 16 01:46:54 EET 2024


#10803: Concat filter not working combined with -ss/-to
-------------------------------------+-------------------------------------
             Reporter:  Marth64      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 Concat filter on multiple inputs (same file or different file) not working
 combined with -ss/-to after multithreading upgrade. Output EOFs after the
 first segment, and concatenation isn't actually happening.  This is a
 relatively simple filter expression that should work IMO. A user from IRC
 support reported it, and I was able to successfully reproduce it.

 I traced this to commit d35c05cb9ee39e1d90fab326a6aaec6c6c9433e1
 (fftools/ffmpeg_filter: move filtering to a separate thread)

 Command to reproduce:

 How to reproduce:
 {{{
 ffmpeg  -ss 0 -to 2 -i ~/Desktop/in1.mkv  -ss 2  -to 4 -i
 ~/Desktop/in2.mkv -filter_complex
 "[0:v:0][0:a:0][1:v:0][1:a:0]concat=n=2:v=1:a=1[concat_v][concat_a]" -map
 '[concat_v]' -map '[concat_a]' test.mp4
 }}}

 Expected outcome: Segment 1 + Segment 2 (4s).
 Actual outcome: only Segment 1 (2s).
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10803>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list