[Libav-user] Coversion from YUV to RGB loss of image details

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jun 6 13:03:43 CEST 2012

Alex Cohn <alexcohn at ...> writes:

> > This is broken (because odd width is not supported by
> > yuv rawvideo):
> > ffmpeg -i ref.ppm ref.yuv
> > ffmpeg -s 45x32 -i ref.yuv ref2.ppm

> I am not using the latest build, but for me the 
> round-trip worked without artifacts

I forgot to add -pix_fmt yuv420p to the first command, 
thank you for testing!

Carl Eugen

More information about the Libav-user mailing list