On Thu, Sep 03, 2020 at 03:55:04PM -0300, James Almer wrote:
> Actually write it in yuv4_write_header() instead of with the first
> packet.
> 
> Signed-off-by: James Almer <jamr...@gmail.com>
> ---
>  libavformat/yuv4mpegenc.c | 35 ++++++++++++++---------------------
>  1 file changed, 14 insertions(+), 21 deletions(-)

This changes the written header
for example:
./ffmpeg  -i ~/tickets/2190/clip.yuv -bitexact testbad.y4m

YUV4MPEG2 W720 H480 F30000:1001 Ip A10:11 C411 XYSCSS=411
vs
YUV4MPEG2 W720 H480 F30000:1001 Ib A10:11 C411 XYSCSS=411


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

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to