PDA

View Full Version : x264-encode Color Problem


Sebbepojken
3rd December 2008, 14:53
Hello


I use MeGUI to encode various types of videos to x264 and I've been doing it for several months, so I know how most things work. At first I didn't really think about it, but when I started to compare my encodes with others I noticed that almost every one of mine has much more intense colors and higher contrast.

And to be honest, I don't have a clue what I'm doing wrong. It doesn't matter if it's some low resolution video och HD, the problem still remains. In my latest try, I used the recommended settings from http://mewiki.project357.com/wiki/X264_Settings, http://ffmpeg.x264.googlepages.com/mapping and adjusted some of the settings with recommendations from the HDBits forums. But that didn't really change anything.

I'll post my job command line as well as comparion screens and hope that anyone could help me find out what's wrong :)

Source - Encode
http://img238.imageshack.us/img238/94/578sourceec9.th.png (http://img238.imageshack.us/my.php?image=578sourceec9.png)http://img238.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)http://img253.imageshack.us/img253/2254/578encodexs2.th.png (http://img253.imageshack.us/my.php?image=578encodexs2.png)http://img253.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)
http://img238.imageshack.us/img238/8296/5726sourceug1.th.png (http://img238.imageshack.us/my.php?image=5726sourceug1.png)http://img238.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)http://img238.imageshack.us/img238/3844/5725encodens0.th.png (http://img238.imageshack.us/my.php?image=5725encodens0.png)http://img238.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)
http://img253.imageshack.us/img253/83/8250sourcezc5.th.png (http://img253.imageshack.us/my.php?image=8250sourcezc5.png)http://img253.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)http://img253.imageshack.us/img253/1790/8250encodegq8.th.png (http://img253.imageshack.us/my.php?image=8250encodegq8.png)http://img253.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)



Job command line:
program --pass 2 --bitrate 8000 --stats ".stats" --ref 5 --mixed-refs --bframes 16 --b-pyramid --weightb --direct auto --trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output "output" "input"

After I asked about this on HDBits and read about settings on the two other sites, I changed the command line to the following, and it didn't really make any difference reagarding the colors. It only lowered the quants and made the quality a little better.

Job command line:
program --pass 2 --bitrate 8000 --stats ".stats" --ref 6 --mixed-refs --bframes 16 --b-pyramid --weightb --direct auto --subme 9 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --progress --no-psnr --no-ssim --output "output" "input"


Thanks

J_Darnley
3rd December 2008, 17:48
It is a TV->PC levels conversion issue. The "encode" version has had too many applied. Check your player setup and what you do to the input for x264. If your player respects it, you could set the fullrange flag to on, see x264 --longhelp. This may prevent the extra conversion being applied.

Sebbepojken
3rd December 2008, 19:19
I see, I'll try that later this evening :)

But the thing is that I have this problem when I rip i.e. music videos from my retail DVDs as well, it's not something unique with this encode.

Dark Shikari
3rd December 2008, 19:22
try this thread (http://forum.doom9.org/showthread.php?t=143189)