[x264-devel] yuvj420p colorspace

Aurius Bendikas aurius.bendikas at gmail.com
Sat Apr 16 17:47:50 CEST 2011


Hello x264 developers,

I have a little problem and I hope you could help me. I have a Canon
600D photo camera witch produces *.mov video files encoded in H264,
but uses quite unusual colorspace - yuvj420p. The video bitrate is
around 46 Mbps, witch is too muctch for my video player to handle, so
I need to reencode it to 20 Mbps and also make it High at 4.1 compatible
to be able to play it on my big screen.

So the problem is when I reencode with x264 I got a warning message:

bash#:x264 --pass 1 --bitrate 20000 --profile high --preset veryslow
--level 4.1 --vf crop:0,0,0,8 -o MVI_0108.264 MVI_0108.MOV
lavf [info]: 1920x1088p 0:1 @ 30000/1001 fps (vfr)
resize [warning]: converting from yuvj420p to yuv420p
....

When I compare original video with reencoded video, the reencoded
video looks very flat (much brighter and less contrast).

When I reencode with ffmpeg, no colorspce convertion is done, and the
video looks exactly the same as original.

So my question is can I encode in yuvj420p with x264 encoder? Is this
supported? Is it planned to be supported?

I am used to x264 encoder, and it is muctch better docummented than
ffmpeg. I would like to use it in my workflows in the future.

Respectfully,
Aurius Bendikas


More information about the x264-devel mailing list