DJ Alik
7th May 2009, 16:54
I have been re-encoding videos to DivX forever and decided to try out x264 to see if I can get better compressibility at the same or better quality.
I encoded the same source using DivX 1 Pass Quality based with Target Quantizer set to 2 and with x264 using const. quantizer mode set to 2 as well.
The file encoded in DivX had the compression of about 86% which is not bad considering I encoded at the best quality.
The file encoded in x264 actually made the video 457% larger! than the source.
I don't understand how that is happening and what am I doing wrong. Please help!
Here is the details on the source and resulting files:
Source:
Complete name : Lady GaGa - Poker Face.VOB
Format : MPEG-PS
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, Matrix : Default
Duration : 3mn 34s
Bit rate mode : Variable
Bit rate : 5 533 Kbps
Nominal bit rate : 8 000 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4/3
Frame rate : 29.970 fps
Standard : NTSC
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.534
AVS:
DGDecode_mpeg2source("Lady GaGa - Poker Face.d2v", cpu=4, info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
tfm(order=1).tdecimate(hybrid=1)
crop( 14, 10, -14, -8)
LanczosResize(640,464)
Undot()
Output DivX:
File size : 125 MiB
Overall bit rate : 4 902 Kbps
Format : MPEG-4 Visual
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Muxing mode : Packed bitstream
Codec ID : DX50
Codec ID/Hint : DivX 5
Duration : 3mn 34s
Bit rate : 4 732 Kbps
Width : 640 pixels
Height : 464 pixels
Display aspect ratio : 1.379
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.665
Stream size : 121 MiB (97%)
Writing library : DivX 6.8.5
Encoding settings: -bv1q 2 -vbv 4854000,3145728,3145728 -dir "C:\Documents and Settings\DJAlik\Application Data\DivX\DivX Codec" -pq 8610 -b 1 -profile=3 -quantization=2
Output x264:
File size : 667 MiB
Duration : 3mn 34s
Overall bit rate : 26.1 Mbps
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 3mn 34s
Bit rate mode : Variable
Bit rate : 25.9 Mbps
Maximum bit rate : 36.5 Mbps
Width : 640 pixels
Height : 464 pixels
Display aspect ratio : 1.379
Frame rate mode : Constant
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 3.639
Stream size : 663 MiB (99%)
Writing library : x264 core 67 r1145M d2e1e1c
Encoding settings : "C:\Program Files\megui\tools\x264\x264.exe" --qp 2 --level 4.1 --ref 3 --mixed-refs --bframes 3 --b-adapt 2 --b-pyramid --weightb --direct auto --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --merange 12 --threads auto --thread-input --sar 1:1 --aud --progress --no-psnr --no-ssim --output "Lady GaGa - Poker Face.264" "Lady GaGa - Poker Face.avs"
I encoded the same source using DivX 1 Pass Quality based with Target Quantizer set to 2 and with x264 using const. quantizer mode set to 2 as well.
The file encoded in DivX had the compression of about 86% which is not bad considering I encoded at the best quality.
The file encoded in x264 actually made the video 457% larger! than the source.
I don't understand how that is happening and what am I doing wrong. Please help!
Here is the details on the source and resulting files:
Source:
Complete name : Lady GaGa - Poker Face.VOB
Format : MPEG-PS
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, Matrix : Default
Duration : 3mn 34s
Bit rate mode : Variable
Bit rate : 5 533 Kbps
Nominal bit rate : 8 000 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4/3
Frame rate : 29.970 fps
Standard : NTSC
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.534
AVS:
DGDecode_mpeg2source("Lady GaGa - Poker Face.d2v", cpu=4, info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
tfm(order=1).tdecimate(hybrid=1)
crop( 14, 10, -14, -8)
LanczosResize(640,464)
Undot()
Output DivX:
File size : 125 MiB
Overall bit rate : 4 902 Kbps
Format : MPEG-4 Visual
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Muxing mode : Packed bitstream
Codec ID : DX50
Codec ID/Hint : DivX 5
Duration : 3mn 34s
Bit rate : 4 732 Kbps
Width : 640 pixels
Height : 464 pixels
Display aspect ratio : 1.379
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.665
Stream size : 121 MiB (97%)
Writing library : DivX 6.8.5
Encoding settings: -bv1q 2 -vbv 4854000,3145728,3145728 -dir "C:\Documents and Settings\DJAlik\Application Data\DivX\DivX Codec" -pq 8610 -b 1 -profile=3 -quantization=2
Output x264:
File size : 667 MiB
Duration : 3mn 34s
Overall bit rate : 26.1 Mbps
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 3mn 34s
Bit rate mode : Variable
Bit rate : 25.9 Mbps
Maximum bit rate : 36.5 Mbps
Width : 640 pixels
Height : 464 pixels
Display aspect ratio : 1.379
Frame rate mode : Constant
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 3.639
Stream size : 663 MiB (99%)
Writing library : x264 core 67 r1145M d2e1e1c
Encoding settings : "C:\Program Files\megui\tools\x264\x264.exe" --qp 2 --level 4.1 --ref 3 --mixed-refs --bframes 3 --b-adapt 2 --b-pyramid --weightb --direct auto --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --merange 12 --threads auto --thread-input --sar 1:1 --aud --progress --no-psnr --no-ssim --output "Lady GaGa - Poker Face.264" "Lady GaGa - Poker Face.avs"