[FFmpeg-devel] [PATCH 11/31] fftools/ffmpeg_dec: override video SAR with AVCodecParameters value

Michael Niedermayer michael at niedermayer.cc
Mon Mar 25 00:09:10 EET 2024


On Wed, Jan 24, 2024 at 09:16:41AM +0100, Anton Khirnov wrote:
> Rather than access the AVStream one.
> 
> This is a step towards decoupling Decoder and InputStream.
> ---
>  fftools/ffmpeg_dec.c   | 9 +++++++--
>  fftools/ffmpeg_demux.c | 3 +++
>  2 files changed, 10 insertions(+), 2 deletions(-)

This breaks

./ffmpeg -i ~/tickets/4161/VR_MOVIE_GuyMartinsSpitfireBcast169\ qsf\ lappyAspectNoChnge_extract.mpg  -vcodec libx264 -an -vsync cfr /tmp/file-16:9.ts

the aspect ratio of the resulting file is completely wrong

https://trac.ffmpeg.org/ticket/4161

thx


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

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- 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/20240324/8351ca39/attachment.sig>


More information about the ffmpeg-devel mailing list