On Sun, May 28, 2023 at 11:14:08AM +0200, Anton Khirnov wrote: > Set them in ifilter_parameters_from_dec(), similarly to audio/video > streams. This reduces the extent to which sub2video filters need to be > treated specially. > --- > fftools/ffmpeg.c | 6 ++--- > fftools/ffmpeg_demux.c | 21 +++++++++++++++++ > fftools/ffmpeg_filter.c | 52 +++++++++++------------------------------ > 3 files changed, 38 insertions(+), 41 deletions(-) The following prodeuces a 0 byte file after the patch -i ~/tickets/153/bbc_small.ts -filter_complex '[0:v][0:s]overlay' -qscale 2 -t 3 -y notcorrupt.avi https://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket153/bbc_small.ts thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I am the wisest man alive, for I know one thing, and that is that I know nothing. -- Socrates