umezawatakeshi / utvideo

Ut Video Codec Suite - fast lossless video codec
http://umezawatakeshi.github.io/utvideo/
GNU General Public License v2.0
288 stars 12 forks source link

UTVideo and ffmpeg #47

Closed dgalland closed 8 months ago

dgalland commented 8 months ago

Hello and thank you for this excellent codec ! I have more a question than an issue. When I use UTVideo from ffmpeg something like this: ffmpeg -i in.avi -c:v utvideo -pix_fmt yuv422p out.avi The chosen codec is always ULY2 in the BT601 colorspace. Is it possible to select the BT709 codec ? Does this really have a consequence? Best regards.

richardpl commented 8 months ago

You can use ULH2 if you set the colorspace parameter.

dgalland commented 8 months ago

Thank you for this quick response and happy new year! It's actually quite simple and I should have thought of it : ffmpeg -i in.avi -c:v utvideo -pix_fmt yuv422p -colorspace bt709 out.avi and it works Do we know the version of UTvideo that is embedded in ffmpeg ? Best regards

richardpl commented 8 months ago

ffmpeg does not use this repo utvideo implementation at all, that is why encoding is 8bit only.