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

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jun 6 08:12:30 CEST 2012


Sampath Subasinghe <susiriss at ...> writes:

>      I was wondering whether this is what you meant.

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

The following does work and produces the same black edge:
$ ffmpeg -i out.ppm -pix_fmt yuv420p -strict experimental out.ljpg
$ ffmpeg -i out.ljpg ref2.ppm

Carl Eugen



More information about the Libav-user mailing list