Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th October 2009, 18:04   #1  |  Link
don_h
Guest
 
Posts: n/a
x264 1301, trellis

Hi,

I'm having a question about an encode I've made using MeGUI 0.3.1.1056 and the (AFAIK) unpatched x264 1301 from x264.nl.

For the first version I used trellis=1 (as a mistake, I wanted to use trellis=2) and was very surprised that it ran with over 9 fps. So I repeated the encode with trellis=2 and was surprised again, that it ran with 6,1 fps only. In an older thread I found the information, that the difference between trellis=1 vs. trellis=2 could be about 8 % of speed. This was of course an older x264 version (year 2005), but I'm a bit confused now. Some 720p Testrecodes seemed to affirmed this. Is the speed difference really that high or am I missing something? For me personally (!) it seems to be in no relation to the quality enhancement or bitrate saving.
I used x264 1259 for a while, and started now to look a little bit deeper in the possibilities.

Here are the complete MeGui Logs:

1st with trellis=1:

Quote:
[Information] Log for job16 (video, untouch1080.avs -> untouch1080.mkv)
-[Information] [22.10.2009 20:11:40] Started handling job
-[Information] [22.10.2009 20:11:40] Preprocessing
-[NoImage] Job commandline: "F:\Programme\megui1055\tools\x264\x264.exe" --profile high --level 4.1 --preset veryslow --tune film --crf 18.0 --thread-input --deblock 0:0 --bframes 3 --b-bias 0 --scenecut 40 --ref 4 --vbv-bufsize 50000 --vbv-maxrate 50000 --rc-lookahead 40 --aq-mode 1 --aq-strength 1.0 --merange 16 --subme 7 --trellis 1 --psy-rd 1.0:0 --psnr --ssim --output "untouch1080.mkv" "untouch1080.avs"
-[Information] [22.10.2009 20:11:40] Encoding started
-[NoImage] Standard output stream
-[NoImage] Standard error stream
--[NoImage] avis [info]: 1920x816 @ 23.98 fps (171840 frames)
--[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
--[NoImage] x264 [info]: profile High, level 4.1
--[NoImage]
--[NoImage] x264 [info]: frame I:1419 Avg QP:14.90 size:188952 PSNR Mean Y:48.81 U:51.02 V:51.86 Avg:49.50 Global:49.21
--[NoImage] x264 [info]: frame P:64362 Avg QP:18.28 size: 60897 PSNR Mean Y:45.60 U:49.63 V:50.52 Avg:46.62 Global:46.29
--[NoImage] x264 [info]: frame B:106059 Avg QP:20.33 size: 18511 PSNR Mean Y:45.14 U:49.76 V:50.64 Avg:46.25 Global:45.95
--[NoImage] x264 [info]: consecutive B-frames: 1.1% 32.0% 47.0% 19.9%
--[NoImage] x264 [info]: mb I I16..4: 4.4% 80.8% 14.8%
--[NoImage] x264 [info]: mb P I16..4: 0.4% 6.3% 0.8% P16..4: 43.0% 22.9% 18.1% 0.5% 0.7% skip: 7.1%
--[NoImage] x264 [info]: mb B I16..4: 0.0% 0.8% 0.1% B16..8: 52.1% 1.5% 3.2% direct: 4.6% skip:37.7% L0:32.6% L1:58.4% BI: 9.0%
--[NoImage] x264 [info]: 8x8 transform intra:83.5% inter:66.6%
--[NoImage] x264 [info]: direct mvs spatial:100.0% temporal:0.0%
--[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 91.6% 81.2% 45.0% inter: 37.8% 23.4% 0.7%
--[NoImage] x264 [info]: i16 v,h,dc,p: 45% 9% 6% 41%
--[NoImage] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 11% 22% 7% 9% 9% 8% 9% 9%
--[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 13% 14% 7% 12% 10% 10% 7% 7%
--[NoImage] x264 [info]: ref P L0: 82.1% 8.9% 5.7% 3.3%
--[NoImage] x264 [info]: ref B L0: 91.5% 5.6% 2.9%
--[NoImage] x264 [info]: SSIM Mean Y:0.9814341
--[NoImage] x264 [info]: PSNR Mean Y:45.342 U:49.722 V:50.605 Avg:46.414 Global:46.093 kb/s:6865.49
--[NoImage] encoded 171840 frames, 9.44 fps, 6865.49 kb/s
-[Information] Final statistics
--[NoImage] Constant Quality Mode: Quality 18 computed...
--[NoImage] Video Bitrate Obtained (approximate): 6868 kbit/s
-[Information] [23.10.2009 01:14:58] Postprocessing
--[Information] Deleting intermediate files
-[Information] [23.10.2009 01:14:58] Job completed
2nd, trellis=2

Quote:
[Information] Log for job2 (video, untouch1080.avs -> untouch1080-t2-mbtree.mkv)
-[Information] [24.10.2009 11:54:02] Started handling job
-[Information] [24.10.2009 11:54:02] Preprocessing
-[NoImage] Job commandline: "F:\Programme\megui1055\tools\x264\x264.exe" --profile high --level 4.1 --preset veryslow --tune film --crf 18.0 --thread-input --deblock 0:0 --bframes 3 --b-bias 0 --scenecut 40 --ref 3 --vbv-bufsize 50000 --vbv-maxrate 50000 --rc-lookahead 40 --aq-mode 1 --aq-strength 1.0 --merange 16 --subme 7 --trellis 2 --psy-rd 1.0:0 --psnr --ssim --output "G:\untouch\untouch1080-t2-mbtree.mkv" "G:\untouch\untouch1080.avs"
-[Information] [24.10.2009 11:54:03] Encoding started
-[NoImage] Standard output stream
-[NoImage] Standard error stream
--[NoImage] avis [info]: 1920x816 @ 23.98 fps (171840 frames)
--[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
--[NoImage] x264 [info]: profile High, level 4.1
--[NoImage]
--[NoImage] x264 [info]: frame I:1419 Avg QP:14.90 size:187584 PSNR Mean Y:48.85 U:51.02 V:51.86 Avg:49.52 Global:49.24
--[NoImage] x264 [info]: frame P:64362 Avg QP:18.26 size: 60871 PSNR Mean Y:45.62 U:49.64 V:50.53 Avg:46.64 Global:46.32
--[NoImage] x264 [info]: frame B:106059 Avg QP:20.06 size: 17781 PSNR Mean Y:45.13 U:49.77 V:50.66 Avg:46.24 Global:45.95
--[NoImage] x264 [info]: consecutive B-frames: 1.1% 32.0% 47.0% 19.9%
--[NoImage] x264 [info]: mb I I16..4: 3.6% 86.6% 9.8%
--[NoImage] x264 [info]: mb P I16..4: 0.3% 6.3% 0.4% P16..4: 46.1% 23.2% 16.3% 0.5% 0.4% skip: 6.5%
--[NoImage] x264 [info]: mb B I16..4: 0.0% 0.6% 0.0% B16..8: 51.6% 1.5% 3.0% direct: 5.6% skip:37.7% L0:32.4% L1:58.1% BI: 9.5%
--[NoImage] x264 [info]: 8x8 transform intra:89.0% inter:62.9%
--[NoImage] x264 [info]: direct mvs spatial:100.0% temporal:0.0%
--[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 91.3% 80.7% 45.1% inter: 35.4% 22.0% 0.7%
--[NoImage] x264 [info]: i16 v,h,dc,p: 55% 10% 6% 29%
--[NoImage] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 12% 23% 6% 9% 9% 8% 8% 9%
--[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 14% 13% 6% 13% 11% 10% 7% 6%
--[NoImage] x264 [info]: ref P L0: 84.2% 9.4% 6.4%
--[NoImage] x264 [info]: ref B L0: 92.3% 7.7%
--[NoImage] x264 [info]: SSIM Mean Y:0.9815450
--[NoImage] x264 [info]: PSNR Mean Y:45.344 U:49.732 V:50.617 Avg:46.418 Global:46.100 kb/s:6775.11
--[NoImage] encoded 171840 frames, 6.13 fps, 6775.11 kb/s
-[Information] Final statistics
--[NoImage] Constant Quality Mode: Quality 18 computed...
--[NoImage] Video Bitrate Obtained (approximate): 6778 kbit/s
-[Information] [24.10.2009 19:41:19] Postprocessing
--[Information] Deleting intermediate files
-[Information] [24.10.2009 19:41:19] Job completed
Thanx for any suggestions.

Last edited by don_h; 25th October 2009 at 18:13.
  Reply With Quote
Old 25th October 2009, 18:27   #2  |  Link
RainyDog
Registered User
 
Join Date: May 2009
Posts: 184
Don, that sounds about right from my experience. Trellis 1 is roughly 1.5x the speed of Trellis 2 and Trellis 0 is about twice as quick as the latter. I only ever use 2 or occasionally 0 depending on the source, however.
RainyDog is offline   Reply With Quote
Old 25th October 2009, 18:28   #3  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Yes, trellis 2 is slow.
Dark Shikari is offline   Reply With Quote
Reply

Tags
megui, trellis, x264

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 13:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.