Opened 5 years ago
Last modified 4 years ago
#8715 new defect
The -shortest option has no effect in combination finite and endless streams with any filter applied to finite stream
Reported by: | Vladimir Stavrinov | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | mrskman@gmail.com | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
I am not sure it is the same problem as #3789, sorry if I am wrong opening separate issue.
In the example below, You can replace the color with any other source filter or even with live stream and acopy with any other filter and You will get the same result - it will be running forever. Moreover, You could swap audio and video roles in this test - it doesn't matter. What matters is the common rule: You combine finite and endless streams and apply filter fo the finite one.
How to reproduce:
ffmpeg -i audio -filter_complex 'acopy;color' -f mpegts -shortest - > /dev/null ffmpeg version N-98059-g49d37b4b61 built on Linux 5.6.0
Attachments (2)
Change History (5)
by , 5 years ago
by , 5 years ago
Attachment: | ffmpeg-20200606-163650.log added |
---|
comment:1 by , 5 years ago
Summary: | -shortest has no effect in combination finite and endless streams with any filter applied to finite stream → The -shortest option has no effect in combination finite and endless streams with any filter applied to finite stream |
---|
comment:2 by , 4 years ago
comment:3 by , 4 years ago
Cc: | added |
---|
Note:
See TracTickets
for help on using tickets.
I had the same issue. Workaround is using separate -filter_complex argument for every output stream: