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. |
|
|
Thread Tools | Search this Thread | Display Modes |
3rd August 2009, 07:32 | #21 | Link | ||
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
Quote:
It naturally does a whole lot of these sort of things in addition to the obvious effect of locally optimal qcomp. |
||
3rd August 2009, 07:56 | #23 | Link |
C# Addict
Join Date: Oct 2008
Location: Saudi Arabia
Posts: 114
|
Sorry for my noobness
I use AviDemux so I need to compile libx264 DLL with this patch ... Can somebody point me to the right direction ? Edit : Found It ! Last edited by TheImperial2004; 3rd August 2009 at 08:22. |
3rd August 2009, 07:57 | #24 | Link | |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
Or do it right and use softsubs |
|
3rd August 2009, 08:02 | #25 | Link | |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
And, it's only for a few seconds of the movie. Is this patch going to be incompatible with vbv-buf max / b-pyramid etc. or is it only temporarily as they get implemented? Last edited by Zachs; 3rd August 2009 at 08:05. |
|
3rd August 2009, 08:09 | #26 | Link | ||||
Registered User
Join Date: Nov 2003
Posts: 1,281
|
Doesn't seem to increase ssim on this test.
source = ep 5 of band of brothers. Blu-ray source. Quote:
Quote:
Quote:
Quote:
__________________
http://www.7-zip.org/ Last edited by Audionut; 3rd August 2009 at 10:37. |
||||
3rd August 2009, 08:14 | #27 | Link | |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
VBV may be a trickier issue; it technically "works" but the row-based prediction completely falls apart with MB-tree despite the support code I wrote for it, causing serious quality loss, especially in 1-pass VBV. It'll take some investigation to figure out exactly what's wrong and whether it could be fixed or not. |
|
3rd August 2009, 09:41 | #31 | Link | ||||
Registered User
Join Date: Nov 2003
Posts: 1,281
|
Same source as ssim test.
Quote:
Quote:
Quote:
Quote:
__________________
http://www.7-zip.org/ Last edited by Audionut; 3rd August 2009 at 09:46. |
||||
3rd August 2009, 10:23 | #32 | Link | ||
Registered User
Join Date: Feb 2008
Posts: 733
|
x264_x86_r1195_juGGaKNot
GCC 4.4.0 generic, fprofiled, patched Code:
Source: x264 GIT Applied patches : x264_win_zone_parse_fix_05.diff x264_Macroblock_Tree_Ratecontrol_01.diff Please check Doom9.org patches thread, Doom9.org Macroblock tree Ratecontrol thread and GIT shortlog for more info. Compiled by juGGaKNot on August 03-2009, 11:20:00 GMT with GCC 4.4.0 on Windows XP SP-2 32-bit. Platform: X86 System: MINGW asm: yes avis input: yes mp4 output: no pthread: yes debug: no gprof: no PIC: no shared: no visualize: no --preset juggaknot vs --preset juggaknot --mbtree --lookahead 100. no mbtree : Quote:
Quote:
Code:
Encoding X264 1st Pass : avis [info]: 1184x666 @ 40.00 fps (223 frames) x264 [warning]: width or height not divisible by 16 (1184x666), compression will suffer. x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2Slow x264 [info]: profile High, level 4.0 x264 [info]: slice I:2 Avg QP:24.81 size: 12698 x264 [info]: slice P:103 Avg QP:21.88 size: 19737 x264 [info]: slice B:118 Avg QP:23.60 size: 9047 x264 [info]: consecutive B-frames: 14.0% 31.7% 40.7% 9.0% 4.5% x264 [info]: mb I I16..4: 58.0% 37.5% 4.4% x264 [info]: mb P I16..4: 9.7% 21.0% 1.4% P16..4: 43.0% 10.4% 8.1% 0.1% 0 .1% skip: 6.1% x264 [info]: mb B I16..4: 1.3% 2.5% 0.3% B16..8: 40.9% 1.8% 2.3% direct: 6.7% skip:44.4% L0:49.1% L1:46.6% BI: 4.2% x264 [info]: final ratefactor: 21.43 x264 [info]: 8x8 transform intra:63.5% inter:82.5% x264 [info]: direct mvs spatial:98.3% temporal:1.7% x264 [info]: coded y,uvDC,uvAC intra:46.6% 40.1% 9.2% inter:24.7% 14.8% 2.1% x264 [info]: ref P L0 63.9% 12.0% 9.0% 3.8% 2.5% 2.3% 2.5% 1.7% 1.2% 1. 1% x264 [info]: ref B L0 71.9% 10.1% 7.6% 2.3% 2.1% 2.0% 1.4% 1.3% 1.4% x264 [info]: kb/s:4485.6 encoded 223 frames, 0.26 fps, 4488.52 kb/s Encoding X264 2nd Pass : avis [info]: 1184x666 @ 40.00 fps (223 frames) x264 [warning]: width or height not divisible by 16 (1184x666), compression will suffer. x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2Slow x264 [info]: profile High, level 4.0 x264 [info]: slice I:2 Avg QP:23.30 size: 13949 x264 [info]: slice P:103 Avg QP:23.50 size: 16439 x264 [info]: slice B:118 Avg QP:25.47 size: 7667 x264 [info]: consecutive B-frames: 14.0% 31.7% 40.7% 9.0% 4.5% x264 [info]: mb I I16..4: 53.0% 42.3% 4.7% x264 [info]: mb P I16..4: 10.7% 19.1% 1.1% P16..4: 44.2% 7.5% 8.3% 0.1% 0 .1% skip: 9.0% x264 [info]: mb B I16..4: 1.3% 2.3% 0.2% B16..8: 38.3% 1.5% 1.8% direct: 6.0% skip:48.6% L0:49.8% L1:46.5% BI: 3.7% x264 [info]: 8x8 transform intra:60.7% inter:86.5% x264 [info]: direct mvs spatial:98.3% temporal:1.7% x264 [info]: coded y,uvDC,uvAC intra:41.5% 34.6% 6.7% inter:21.3% 12.0% 1.5% x264 [info]: ref P L0 63.8% 12.1% 9.1% 3.9% 2.5% 2.2% 2.6% 1.8% 1.1% 1. 0% x264 [info]: ref B L0 70.1% 11.2% 7.7% 2.3% 2.3% 2.1% 1.5% 1.4% 1.3% x264 [info]: kb/s:3768.0 encoded 223 frames, 0.30 fps, 3770.96 kb/s Muxing X264 : AVC-H264 import - frame size 1184 x 666 at 40.000 FPS Import results: 223 samples - Slices: 2 I 103 P 118 B - 1 SEI - 2 IDR IsoMedia import - track ID 1 - Audio (SR 44100 - 2 channels) Saving C:\x264\Movie_2D\Movie_X264_2D.mp4: 0.500 secs Interleaving Encoding started at 11:20 AM and finished at 11:47 AM Code:
Encoding X264 1st Pass : avis [info]: 1184x666 @ 40.00 fps (223 frames) x264 [warning]: width or height not divisible by 16 (1184x666), compression will suffer. x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2Slow x264 [info]: profile High, level 4.0 x264 [info]: slice I:2 Avg QP:24.39 size: 13165 x264 [info]: slice P:103 Avg QP:21.71 size: 20739 x264 [info]: slice B:118 Avg QP:24.23 size: 8159 x264 [info]: consecutive B-frames: 14.0% 31.7% 40.7% 9.0% 4.5% x264 [info]: mb I I16..4: 59.7% 35.2% 5.1% x264 [info]: mb P I16..4: 10.6% 20.4% 1.3% P16..4: 42.2% 11.6% 8.2% 0.1% 0 .1% skip: 5.5% x264 [info]: mb B I16..4: 1.3% 2.4% 0.3% B16..8: 39.8% 1.7% 2.0% direct: 6.0% skip:46.4% L0:51.9% L1:43.9% BI: 4.2% x264 [info]: final ratefactor: 17.72 x264 [info]: 8x8 transform intra:61.3% inter:82.0% x264 [info]: direct mvs spatial:98.3% temporal:1.7% x264 [info]: coded y,uvDC,uvAC intra:44.3% 38.5% 9.0% inter:24.0% 14.8% 2.7% x264 [info]: ref P L0 62.1% 12.8% 9.4% 4.0% 2.5% 2.4% 2.7% 1.9% 1.3% 1. 1% x264 [info]: ref B L0 71.4% 9.9% 8.3% 2.2% 2.1% 2.0% 1.4% 1.3% 1.4% x264 [info]: kb/s:4484.7 encoded 223 frames, 0.29 fps, 4487.58 kb/s Encoding X264 2nd Pass : avis [info]: 1184x666 @ 40.00 fps (223 frames) x264 [warning]: width or height not divisible by 16 (1184x666), compression will suffer. x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2Slow x264 [info]: profile High, level 4.0 x264 [info]: slice I:2 Avg QP:23.41 size: 14636 x264 [info]: slice P:103 Avg QP:22.56 size: 18846 x264 [info]: slice B:118 Avg QP:25.26 size: 7304 x264 [info]: consecutive B-frames: 14.0% 31.7% 40.7% 9.0% 4.5% x264 [info]: mb I I16..4: 50.4% 44.5% 5.1% x264 [info]: mb P I16..4: 11.3% 19.7% 1.1% P16..4: 43.2% 9.4% 8.3% 0.1% 0 .1% skip: 6.9% x264 [info]: mb B I16..4: 1.3% 2.3% 0.2% B16..8: 37.4% 1.5% 1.8% direct: 5.7% skip:49.7% L0:52.3% L1:43.8% BI: 3.9% x264 [info]: 8x8 transform intra:60.3% inter:85.3% x264 [info]: direct mvs spatial:99.2% temporal:0.8% x264 [info]: coded y,uvDC,uvAC intra:41.6% 35.3% 6.9% inter:22.1% 13.2% 2.3% x264 [info]: ref P L0 61.9% 13.1% 9.3% 4.1% 2.6% 2.2% 2.7% 1.8% 1.2% 1. 0% x264 [info]: ref B L0 70.1% 10.5% 8.5% 2.2% 2.3% 2.2% 1.5% 1.4% 1.3% x264 [info]: kb/s:4064.2 encoded 223 frames, 0.30 fps, 4067.11 kb/s Muxing X264 : AVC-H264 import - frame size 1184 x 666 at 40.000 FPS Import results: 223 samples - Slices: 2 I 103 P 118 B - 1 SEI - 2 IDR IsoMedia import - track ID 1 - Audio (SR 44100 - 2 channels) Saving C:\x264\Movie_2D\Movie_X264_2D.mp4: 0.500 secs Interleaving Encoding started at 11:50 AM and finished at 12:15 PM but x264 [info]: slice I:2 Avg QP:24.81 size: 12698 x264 [info]: slice P:103 Avg QP:21.88 size: 19737 x264 [info]: slice B:118 Avg QP:23.60 size: 9047 x264 [info]: final ratefactor: 21.43 vs x264 [info]: slice I:2 Avg QP:24.39 size: 13165 x264 [info]: slice P:103 Avg QP:21.71 size: 20739 x264 [info]: slice B:118 Avg QP:24.23 size: 8159 x264 [info]: final ratefactor: 17.72 Is normal ? final ratefactor smaller by 4 almost ? Also the mbtree build seems to ignore param->rc.f_qcompress = 1.0f; param->rc.f_pb_factor = 1.1f; Does not show up in the mediainfo window, ipratio does. |
||
3rd August 2009, 10:35 | #34 | Link |
Registered User
Join Date: Feb 2008
Posts: 733
|
what about the results ?
but x264 [info]: slice I:2 Avg QP:24.81 size: 12698 x264 [info]: slice P:103 Avg QP:21.88 size: 19737 x264 [info]: slice B:118 Avg QP:23.60 size: 9047 x264 [info]: final ratefactor: 21.43 vs x264 [info]: slice I:2 Avg QP:24.39 size: 13165 x264 [info]: slice P:103 Avg QP:21.71 size: 20739 x264 [info]: slice B:118 Avg QP:24.23 size: 8159 x264 [info]: final ratefactor: 17.72 Is normal ? final ratefactor smaller by 4 almost ? |
3rd August 2009, 10:38 | #35 | Link | |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
If you want to make a meaningful comparison, at a minimum compare SSIM or something like that? |
|
3rd August 2009, 10:57 | #36 | Link |
MPC-HC Project Manager
Join Date: Mar 2007
Posts: 2,317
|
Does any other h264 encoder have a feature like this?
Does this have any influence on the decode difficulty? EDIT: And that really low bitrate anime example is simply amazing...
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC |
3rd August 2009, 11:00 | #37 | Link |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Almost surely not.
__________________
Follow x264 development progress | akupenguin quotes | x264 git status ffmpeg and x264-related consulting/coding contracts | Doom10 Last edited by Dark Shikari; 3rd August 2009 at 17:39. |
3rd August 2009, 11:09 | #38 | Link |
Registered User
Join Date: Nov 2003
Posts: 1,281
|
Here is a silly question!!
How fast does the motion have to be, to be affected by this patch?
__________________
http://www.7-zip.org/ |
3rd August 2009, 11:16 | #39 | Link | ||
Registered User
Join Date: Feb 2008
Posts: 733
|
lookahead 100 only taked 335 mb on my xp
lookahead 200 crashed ( 236 frames source ) ---pass 1 --slow-firstpass --preset slow --tune ssim --mbtree --lookahead 100 --ssim --bitrate 2000 : Quote:
Quote:
|
||
3rd August 2009, 11:19 | #40 | Link |
MPC-HC Project Manager
Join Date: Mar 2007
Posts: 2,317
|
i was wonder the same, image a scene like the killa sample (the one from BBC where the flock of birds fly over the moving and reflective sea), would this patch "kill" it or help it.
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC |
Tags |
development, testing, x264 |
|
|