[FFmpeg-devel] [PATCH 16/24] fftools/ffmpeg: rework setting sub2video parameters

Michael Niedermayer michael at niedermayer.cc
Sun May 28 22:43:45 EEST 2023


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230528/73dc5ab0/attachment.sig>


More information about the ffmpeg-devel mailing list