Opened 12 months ago
Closed 11 months ago
#10803 closed defect (fixed)
Concat filter not working
Reported by: | Marth64 | Owned by: | |
---|---|---|---|
Priority: | critical | Component: | ffmpeg |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | 7.0 | Reproduced by developer: | no |
Analyzed by developer: | no |
Description
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).
Change History (3)
comment:1 by , 12 months ago
Component: | undetermined → ffmpeg |
---|---|
Priority: | normal → critical |
Status: | new → open |
Summary: | Concat filter not working combined with -ss/-to → Concat filter not working |
comment:2 by , 11 months ago
Blocking: | → 7.0 |
---|
comment:3 by , 11 months ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Should be fixed in 1ea2e757f7cba714eefd27efb2f9285078bba4a3
Reproduced. This bug is not contingent on using
-ss/-to/-t
It can be reproduced with