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 13th June 2008, 16:52   #101  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
Quote:
Originally Posted by Razorholt View Post
Are you using Trellis 2 ?
Why? Does it help, or hurt PsyRDO?
Ranguvar is offline   Reply With Quote
Old 13th June 2008, 17:00   #102  |  Link
Razorholt
Cyberspace Citizen
 
Razorholt's Avatar
 
Join Date: Nov 2005
Posts: 457
Quote:
Originally Posted by Dark Shikari View Post
Trellis 1 probably is not the best idea with this because that means the quantization that x264 chooses is not the quantization that psy RDO looked at in mode decision. Therefore, unless its demonstrated that this isn't a real issue, deadzones or trellis 2 are probably a better idea.
Quote:
Originally Posted by Dark Shikari View Post
Trellis 2 is not a bad thing at all with psy RD; the problem before was that it encouraged blurring because RD would often prefer blurrier modes, and trellis would generate blurrier modes. But now, RD prefers *less* blurry modes.
Trellis 2 sharpen the picture. What settings you had? Trellis 1 or were you using deadzones?

Last edited by Razorholt; 13th June 2008 at 17:06.
Razorholt is offline   Reply With Quote
Old 13th June 2008, 20:26   #103  |  Link
gav1577
Registered User
 
gav1577's Avatar
 
Join Date: Sep 2004
Location: Wales UK
Posts: 228
I find low deadzones usually inter 6 intra 6 work great for me
gav1577 is offline   Reply With Quote
Old 13th June 2008, 21:23   #104  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
Yes I am using Trellis 2, and SubME 7, when I can afford the speed hit.

I did Princess Mononoke the other day, a nice high quality soft-telecined DVD9 source.

I did a very light script with light fft3dgpu(sigma=1), Toon() and gradfun2db(1.8). Then I encoded into Psy-RDO'd CRF19 with Multi-Hex SubME 7, Trellis 2, 16 refs, all the usual bells and whistles. It came out to 1.2 GB. That's really impressive to me

Muxing the original english and japanese 5.1ch AC3s, plus an english SRT netted a file size of just under 2gb. 9gb -> 2gb with utterly transparent quality (I actually preferred my version due to the denoise / warpsharp / line darkening / dithering). Now THAT's impressive.

Heck, the encoding only took a few hours. I think I was getting ~15fps on my Q6600 @ 3 GHz

~MiSfit
__________________
These are all my personal statements, not those of my employer :)

Last edited by Blue_MiSfit; 13th June 2008 at 21:28.
Blue_MiSfit is offline   Reply With Quote
Old 13th June 2008, 21:38   #105  |  Link
TheRyuu
warpsharpened
 
Join Date: Feb 2007
Posts: 787
Quote:
Originally Posted by Ranguvar View Post
Why? Does it help, or hurt PsyRDO?
Trellis 2 generally provides the best result of the different possible options you can use. I consider using trellis 2 to just be 'smarter' then using deadzones with it which does make sense.

I think people need to break out of the mentality that trellis is bad for keeping grain when isn't anymore with psy RDO. (no idea of anyone has this mentality to begin with... just making comments)
TheRyuu is offline   Reply With Quote
Old 13th June 2008, 23:57   #106  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Question: I see a lot of people talking about "using deadzones"

Aren't deazones always there? If you don't set them explicitly, they will simply default to "deadzone=21,11", right?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 14th June 2008, 00:04   #107  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by LoRd_MuldeR View Post
Question: I see a lot of people talking about "using deadzones"

Aren't deazones always there? If you don't set them explicitly, they will simply default to "deadzone=21,11", right?
"Using deadzones" means not using trellis.
Dark Shikari is offline   Reply With Quote
Old 14th June 2008, 00:08   #108  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by Dark Shikari View Post
"Using deadzones" means not using trellis.
I see. thx.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 14th June 2008, 00:27   #109  |  Link
MasterNobody
Registered User
 
Join Date: Jul 2007
Posts: 552
Probably deadzones are used even with trellis=2 because trellis is used only for luma plane compression, and not used for chroma planes.
Quote:
/* no trellis; it doesn't seem to help chroma noticeably */
MasterNobody is offline   Reply With Quote
Old 14th June 2008, 00:47   #110  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by MasterNobody View Post
Probably deadzones are used even with trellis=2 because trellis is used only for luma plane compression, and not used for chroma planes.
This is correct.

Also note that deadzones are used for RDO when trellis=1, and even in trellis=2, deadzones are used for B-frames unless b-rdo is enabled. Finally, even if RDO is on all frametypes, deadzones are still used for fast P-skip decision.
Dark Shikari is offline   Reply With Quote
Old 15th June 2008, 23:54   #111  |  Link
gav1577
Registered User
 
gav1577's Avatar
 
Join Date: Sep 2004
Location: Wales UK
Posts: 228
Are there any advantages in using trelis 2 over low deadzones Qualitywise with bitrates up to and above 4000kbps ?
gav1577 is offline   Reply With Quote
Old 16th June 2008, 05:02   #112  |  Link
TheRyuu
warpsharpened
 
Join Date: Feb 2007
Posts: 787
Quote:
Originally Posted by gav1577 View Post
Are there any advantages in using trelis 2 over low deadzones Qualitywise with bitrates up to and above 4000kbps ?
In my opinion, using trellis 2 will always provide a better looking result then using deadzones simply because it is smarter then deadzones. More so at lower bitrates, but I've seen it seems to consistantly look better any a number of bitrates I have tried.

Although you should always do the testing and decide for yourself as I am no expert on the matter.
TheRyuu is offline   Reply With Quote
Old 16th June 2008, 09:21   #113  |  Link
bokonon
Registered User
 
Join Date: Aug 2007
Posts: 68
Quote:
Originally Posted by Dark Shikari View Post
This is correct.

Also note that deadzones are used for RDO when trellis=1, and even in trellis=2, deadzones are used for B-frames unless b-rdo is enabled. Finally, even if RDO is on all frametypes, deadzones are still used for fast P-skip decision.
Would a combination of --trellis 2 and low deadzones (6, 4) work favorably? OR would it work better with default deadzones (21, 11)
bokonon is offline   Reply With Quote
Old 16th June 2008, 13:44   #114  |  Link
Irakli
Registered User
 
Irakli's Avatar
 
Join Date: Jan 2007
Posts: 185
Quote:
Originally Posted by bokonon View Post
Would a combination of --trellis 2 and low deadzones (6, 4) work favorably? OR would it work better with default deadzones (21, 11)
No, modify deadzones if and only if trellis is off. So, either use trellis 2 with default deadzones or modify deadzones if trellis is off.
Irakli is offline   Reply With Quote
Old 16th June 2008, 15:34   #115  |  Link
gav1577
Registered User
 
gav1577's Avatar
 
Join Date: Sep 2004
Location: Wales UK
Posts: 228
Quote:
Originally Posted by Dragon5152 View Post
In my opinion, using trellis 2 will always provide a better looking result then using deadzones simply because it is smarter then deadzones. More so at lower bitrates, but I've seen it seems to consistantly look better any a number of bitrates I have tried.

Although you should always do the testing and decide for yourself as I am no expert on the matter.
Thanks for the reply will try some clips trellis 2 and see if there is any increase in quality the only thing about trellis 2 is i find it slows things down quite a bit
gav1577 is offline   Reply With Quote
Old 17th June 2008, 18:54   #116  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Here's an encode of part of the original clip that inspired psy RDO in the first place. The flashing lights, the flat but gradient-filled background areas--all of them contrive to make encoding a nightmare for x264.
Dark Shikari is offline   Reply With Quote
Old 17th June 2008, 20:18   #117  |  Link
yesgrey
Registered User
 
Join Date: Sep 2004
Posts: 1,295
I want to try this patch. I am thinking in using Megui with the DXVA-HD-HQ profile with trellis 2 and subme 7. The bitrate used will be 16000 or 22000 kbps. Will it be worth it? or due to the high bitrate the effect will be negligible... even using trellis 2 and subme 7 the encoded file will be DXVA compatible?
For using this is enough substituting the x264.exe by the patched one in megui directory, right?
yesgrey is offline   Reply With Quote
Old 17th June 2008, 21:08   #118  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
Quote:
Originally Posted by yesgrey3 View Post
I want to try this patch. I am thinking in using Megui with the DXVA-HD-HQ profile with trellis 2 and subme 7. The bitrate used will be 16000 or 22000 kbps. Will it be worth it? or due to the high bitrate the effect will be negligible... even using trellis 2 and subme 7 the encoded file will be DXVA compatible?
For using this is enough substituting the x264.exe by the patched one in megui directory, right?
Yep All you have to do is enable Sub ME >=6, and use MeGUI's preferences to select the patched .exe.

At that bitrate, subme7 will likely be totally unnecessary (guessing). It boosts the effectiveness of Psy-RDO, but is a lot slower as well.

You might try plain old FGO too, instead of Psy-RDO.

Just out of curiousity, why target a specific bitrate? CRF mode is wonderful

~MiSfit
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 17th June 2008, 23:22   #119  |  Link
yesgrey
Registered User
 
Join Date: Sep 2004
Posts: 1,295
Quote:
Originally Posted by Blue_MiSfit View Post
Just out of curiousity, why target a specific bitrate? CRF mode is wonderful
Because I want a specific target file size to put in dvds.

yesgrey is offline   Reply With Quote
Old 20th June 2008, 16:02   #120  |  Link
bkman
Registered User
 
Join Date: Jan 2006
Posts: 294
Hi Dark Shikari,

A couple of observations from testing the psyRDO.

1.) It works noticeably better if employed in the first pass also.
2.) The picture seems to degrade much quicker between I-frames, making for a much more noticeable transition on a mid-scene keyframe.

Any ideas?
bkman is offline   Reply With Quote
Reply

Tags
psy-rd, psyrdo

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:40.


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