[x264-devel] Lossless Compression

Raul Lopez raulizahi at gmail.com
Wed Aug 21 17:04:35 CEST 2013


I am trying to use x264 to do Lossless Image and Video Compression, I am
using this command line:

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

The --dump-yuv file : X_cr0_1920x1056_QP0.yuv is lossless (Y, U and V)

but

when I decode X_cr0_1920x1056_QP0.h264 with JM 18.4, the decoded output's Y
component is NOT lossless.

The Y PSNR is 29.29dB while for U and V it is Perfect.  The picture also
looks different as if the contrast changed.

This is the version I am using:

x264 0.135.x
(libswscale 2.3.100)
(libavformat 55.12.100)
built on Aug 15 2013, gcc: 4.2.1 (Based on Apple Inc. build 5658) (LLVM
build 2336.11.00)
configuration: --bit-depth=8 --chroma-format=all
x264 license: GPL version 2 or later
libswscale/libavformat license: GPL version 2 or later

Are there any other command line settings that I should use to achieve
decoded Y lossless output?

RAUL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20130821/e4aea29e/attachment.html>


More information about the x264-devel mailing list