<div dir="ltr"><div><div><div><div>I am trying to use x264 to do Lossless Image and Video Compression, I am using this command line:<br><br>x264 --qp 0 --input-res 1920x1056 --output X_cr0_1920x1056_QP0.h264 --dump-yuv X_cr0_1920x1056_QP0.yuv ~/Desktop/Uncompressed/crowd_run_1920x1056p50_GL420_0.yuv<br>
<br></div>The --dump-yuv file : X_cr0_1920x1056_QP0.yuv is lossless (Y, U and V)<br><br></div>but<br><br>when I decode X_cr0_1920x1056_QP0.h264 with JM 18.4, the decoded output's Y component is NOT lossless. <br><br>
The Y PSNR is 29.29dB while for U and V it is Perfect. The picture also looks different as if the contrast changed.<br><br></div>This is the version I am using:<br><br>x264 0.135.x<br>(libswscale 2.3.100)<br>(libavformat 55.12.100)<br>
built on Aug 15 2013, gcc: 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)<br>configuration: --bit-depth=8 --chroma-format=all<br>x264 license: GPL version 2 or later<br>libswscale/libavformat license: GPL version 2 or later<br>
<br></div>Are there any other command line settings that I should use to achieve decoded Y lossless output?<br><br><div><div>RAUL<br></div></div></div>