langman10
18th October 2007, 07:50
Hello all -
I'm learning to use x.264 and love what great encodes it gives in terms of compression. Unfortunately, the encodes x.264 gives me seem to have a color shift or gamma shift.
My source is a None-compressed 23.976fps 952x536 quicktime file, 1:39.
I bring this file into Avisynth with:
QTInput("x:\sourcequicktime.mov", color=2, mode=0, audio=true)
AssumeFPS(23.976)
converttoyv12()
first pass commandline:
--pass 1 --bitrate 1500 --stats "C:\myscript.stats" --keyint 72 --bframes 3 --b-pyramid --direct auto --filter -2,-1 --subme 1 --analyse none --qpmax 40 --vbv-maxrate 25000 --me dia --threads auto --thread-input --progress --no-dct-decimate --no-psnr --no-ssim --output NUL "C:\myscript.avs"
second pass commandline:
--pass 2 --bitrate 1500 --stats "C:\myscript.stats" --keyint 72 --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -2,-1 --subme 6 --trellis 1 --analyse all --8x8dct --qpmax 40 --vbv-maxrate 25000 --me umh --threads auto --thread-input --progress --no-dct-decimate --no-psnr --no-ssim --output "E:\result.mp4" "C:\myscript.avs"
Specs:
Dell PWS650 Xeon 2.66Ghz 3.5GB RAM WinXP Pro Version 2002 SP2
I'm using the most recent version of megui which has updated x.264 to "680 - Cef's build". Avisynth version 2.56. Quicktime 7.1.6.
here's the source:
http://img86.imageshack.us/img86/2516/source2hm1.th.jpg (http://img86.imageshack.us/my.php?image=source2hm1.jpg)
here's the result from x.264:
http://img518.imageshack.us/img518/5637/x2642cu9.th.jpg (http://img518.imageshack.us/my.php?image=x2642cu9.jpg)
After a lot of testing, I can see that the color shift does not happen in the Avisynth script. But I can't find anywhere in x.264 where I might have borked the color settings. A similar encode from Apple's Compressor doesn't have the color shift. Any ideas appreciated.
Langman10
I'm learning to use x.264 and love what great encodes it gives in terms of compression. Unfortunately, the encodes x.264 gives me seem to have a color shift or gamma shift.
My source is a None-compressed 23.976fps 952x536 quicktime file, 1:39.
I bring this file into Avisynth with:
QTInput("x:\sourcequicktime.mov", color=2, mode=0, audio=true)
AssumeFPS(23.976)
converttoyv12()
first pass commandline:
--pass 1 --bitrate 1500 --stats "C:\myscript.stats" --keyint 72 --bframes 3 --b-pyramid --direct auto --filter -2,-1 --subme 1 --analyse none --qpmax 40 --vbv-maxrate 25000 --me dia --threads auto --thread-input --progress --no-dct-decimate --no-psnr --no-ssim --output NUL "C:\myscript.avs"
second pass commandline:
--pass 2 --bitrate 1500 --stats "C:\myscript.stats" --keyint 72 --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -2,-1 --subme 6 --trellis 1 --analyse all --8x8dct --qpmax 40 --vbv-maxrate 25000 --me umh --threads auto --thread-input --progress --no-dct-decimate --no-psnr --no-ssim --output "E:\result.mp4" "C:\myscript.avs"
Specs:
Dell PWS650 Xeon 2.66Ghz 3.5GB RAM WinXP Pro Version 2002 SP2
I'm using the most recent version of megui which has updated x.264 to "680 - Cef's build". Avisynth version 2.56. Quicktime 7.1.6.
here's the source:
http://img86.imageshack.us/img86/2516/source2hm1.th.jpg (http://img86.imageshack.us/my.php?image=source2hm1.jpg)
here's the result from x.264:
http://img518.imageshack.us/img518/5637/x2642cu9.th.jpg (http://img518.imageshack.us/my.php?image=x2642cu9.jpg)
After a lot of testing, I can see that the color shift does not happen in the Avisynth script. But I can't find anywhere in x.264 where I might have borked the color settings. A similar encode from Apple's Compressor doesn't have the color shift. Any ideas appreciated.
Langman10