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

Michael Niedermayer michael at niedermayer.cc
Wed May 31 20:02:49 EEST 2023


On Mon, May 29, 2023 at 02:49:55PM +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.
> ---
> You can also get the updated tree from ffmpeg_sub2video in my repo
> ---
>  fftools/ffmpeg.c        |  6 ++---
>  fftools/ffmpeg_demux.c  | 21 +++++++++++++++
>  fftools/ffmpeg_filter.c | 58 ++++++++++++-----------------------------
>  3 files changed, 41 insertions(+), 44 deletions(-)

breaks (looks like wrong width/height) after the change from ffmpeg_sub2video
corresponding to this patch

 ./ffmpeg -i ~/tickets/4752/dump_dvbsubtitles.mp4 -y  -ss 5 -t 1 -filter_complex '[0:v][0:s]overlay' /tmp/file4752.ts && ffplay /tmp/file4752.ts

seems to be in ffmpeg-bugs/trac/ticket4752/dump_dvbsubtitles.mp4

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- 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/20230531/5f851206/attachment.sig>


More information about the ffmpeg-devel mailing list