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. |
3rd March 2009, 14:13 | #1 | Link | ||
Registered User
Join Date: Feb 2007
Location: Athens, Greece
Posts: 43
|
psy_rd and zones
I am using x264_x86_r1114_techouse build and I did an encode using
Quote:
Quote:
Is that just wrong info that x264 writes or my video encoded with wrong parameters ? Is anyway I can detect what parameters actually used, ignoring that info part ? |
||
3rd March 2009, 14:55 | #2 | Link |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Well first don't use zone with really useless setting. 12 bframes and 12 ref are really useless and don't save bits. Moreover these setting break the hardware compatibility in most case.
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 |
3rd March 2009, 15:05 | #3 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
...and your answer is completely useless...
the user seems to have exposed a problem with x264, zones and psy-rd. oh, btw, zones are not useless.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! Last edited by Sharktooth; 3rd March 2009 at 15:10. |
3rd March 2009, 15:27 | #4 | Link | |
Registered User
Join Date: Feb 2007
Location: Athens, Greece
Posts: 43
|
Quote:
I doubt, my video is 712x480@29.97 |
|
3rd March 2009, 16:29 | #5 | Link | |
Registered User
Join Date: Aug 2006
Location: Stockholm/Helsinki
Posts: 805
|
Quote:
How do you know it will break hardware compatibility? And most importantly, how does that answer the question? Does this happen if the zone starts at frame 1 instead of 0? It seems logical that the maximum number of refs goes into the header, but I don't know why the larger number of b-frames doesn't go there... |
|
3rd March 2009, 18:42 | #6 | Link | ||
Registered User
Join Date: Feb 2007
Location: Athens, Greece
Posts: 43
|
Quote:
No, when I use 1 as start frame, the info is as expected. The new video even it's not identical but is *very* close to the previous one. I am 99% sure that both times the video was not encoded with psyrd 3:1, but with 1.8:0.2 and I don't have any tool/method to verify it. OT: I remember that the warning Quote:
|
||
3rd March 2009, 18:57 | #7 | Link | |
Registered User
Join Date: Aug 2006
Posts: 2,229
|
Quote:
In terms of reference frames, the same things occurs. Above about 5 you have diminishing returns. For animated/cartoon material, 10 may be a worthwhile exercise depending on your desired results. At higher resolutions I agree though, in both cases the seemingly ideal '5' for both may be a more suitable option to consider for compatibility with hardware based decoders. I believe for TrueHD material (1920x1080) is it 3 ref and 4 b-frames considers the maximum for full compatibility? its something along those lines! Its in the specifications for blu-ray, and since thats the case when hardware h264 plays become more common (even for mp4/avi/hopefully mkv files), they are most likely to follow the same requirements. Its more taxing on the decoder to have a higher number of ref/b-frames, and even if you could physically play the video it may make seeking (fast forwarding/rewinding) very slow which can in a way, be described as a hardware compatibility issue. Wouldn't want the video to skip when it gets to a point of a high ref/b-frame number! and since the benefits of a high number is generally extremely low it seems a little pointless It is a little off topic, but important information as it is important to have the settings correct before trying to resolve other issues. Don't take it as offence for advice that may not pertain exactly to your query, poeple on here are just trying to make your encoding experience more enjoyable and many have encoding experience that can be very beneficial when certain issues arise! Last edited by burfadel; 3rd March 2009 at 19:02. |
|
3rd March 2009, 19:03 | #8 | Link |
Registered User
Join Date: Jul 2007
Posts: 552
|
I don't think that this is the bug (at least that only cosmetics). Params simply written for the current params of frame #0 (because x264_sei_version_write calls only for frame #0) which were overwritten by zones. If x264_sei_version_write would be called after frame #200 than it will return the original params specified in command line.
|
3rd March 2009, 19:16 | #9 | Link |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
If you don't want to allocate bitrate to the HBO logo, just don't encode it and trim it out. That's the sane thing to do imho.
__________________
|
3rd March 2009, 21:34 | #10 | Link | ||
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Because H264 use high bframe nomber and high ref number is usefull only on static scene. And static part use by itself small bitrate. Use more than 5 bframes is really useless and more than 3 bframes useless in most case (less than 1% of efficiency gain).
Quote:
Quote:
Moreover use psy (SSD) on this part will raize dramaticaly the bitrate. Only AQ will be good here for preserve the HBO logo. For me the best way is to use strong spatio-temporal filtering on this part.
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 |
||
4th March 2009, 00:11 | #11 | Link | ||
Registered User
Join Date: Aug 2006
Location: Stockholm/Helsinki
Posts: 805
|
If he wants to really maximize the quality/bitrate, and time is not an issue, then let him, because the topic wasn't about that.
Quote:
Quote:
And I still don't understand why the b-frame setting from the zone isn't shown... Last edited by ajp_anton; 4th March 2009 at 00:16. |
||
4th March 2009, 00:23 | #12 | Link | ||
Registered User
Join Date: Feb 2007
Location: Athens, Greece
Posts: 43
|
Quote:
Quote:
@Sagittaire: I use the 12/12 for 200 frames only. I used that high ref and B values because the x264 log told me that they are used. I did trim just those 200 frames and I did few test encodes, just few (not an excessive test), until I got a watchable output at a low bitrate. And I do know that high refs may hurt hardware compatibility (again I doubt that will have any for a res of 712x480) but not for b-frames. Month ago (maybe a year) I heard a bug that x264 had (regarding high B-Frames) but it's now fixed (No, I am not 100% sure, correct me if I am wrong) High AQ values totally destroy the logo. Lines blurred and were no longer straight. So I used high psy values only and zeroed the AQ for those frames. I have two objectives: a) The HBO logo to look decent b) I want the next scene not to suffer from a *very*-high bitrate intro. That's what b=0.2 does |
||
4th March 2009, 00:48 | #13 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,346
|
According to this thread below, psy rd doesn't work with zones. It's from Oct 2008, have things have changed? What things are included/excluded in the encoder_reconfig?
http://forum.doom9.org/showthread.ph...ighlight=zones |
4th March 2009, 00:50 | #14 | Link |
Registered User
Join Date: May 2006
Posts: 957
|
__________________
x264 log explained || x264 deblocking how-to preset -> tune -> user set options -> fast first pass -> profile -> level Doom10 - Of course it's better, it's one more. |
4th March 2009, 08:05 | #16 | Link | |
Registered User
Join Date: Jul 2007
Posts: 552
|
Quote:
By the way refs also wouldn't work really because number of refs can be only decreased in zones. Last edited by MasterNobody; 4th March 2009 at 08:08. |
|
Tags |
psy_rd, x264, zones |
Thread Tools | Search this Thread |
Display Modes | |
|
|