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. |
6th November 2008, 03:09 | #623 | Link |
Registered User
Join Date: Mar 2005
Location: london
Posts: 104
|
I do a lot of motorsport encodes which contains panning shots where the car is the focus and doesnt move around in the frame too much but has a fast moving un-encodable backround which is going to blur no matter what.
Am i right in thinking that a higher psy-rdo (+1.1) will allocate resources to the source in focus at expense for backround and i can reduce AQ strength to balance this out a bit if desired? Also, and sorry if this is ot, but is it possible allocate resources to centre of the frame, ie 80% from centre gets 90% of bits and the rest bleeds out to the edge of frame? thanks. Last edited by dansus; 6th November 2008 at 03:51. |
6th November 2008, 03:55 | #624 | Link |
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
You can't do hotspot type encoding, where you specify regions of interest that you'd like to get the majority of bits. It's not part of x264, but x264 should naturally allocate more bits to your in focus portion of the image. The blurred background should end up look like very low frequency details that will get less bits, but not block if you use a little bit of AQ.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
6th November 2008, 05:34 | #626 | Link |
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
It depends on personal preferences. I consider 0.7 good for me since 1.0 sucks up too many bits while not providing enough of a quality boost, so I would go with 0.3 or 0.4. YMMV!
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
7th November 2008, 03:17 | #627 | Link |
Resize Abuser
Join Date: Apr 2005
Location: Seattle, WA
Posts: 623
|
@dansus
this avisynth script might help you with allocating more bits to the "important parts" of the video http://forum.doom9.org/showthread.php?t=131920
__________________
Mine: KenBurnsEffect/ZoomBox CutFrames Helped: DissolveAGG ColorBalance LQ Animation Fixer |
30th November 2008, 20:12 | #628 | Link |
Registered User
Join Date: Nov 2007
Location: PL
Posts: 26
|
I have recently done some tests with various psy-rd and aq strengths. Here are the screens and the commandline:
Code:
--pass 2 --sar 64:45 --bitrate 1623 --level 5.1 --stats "[...].stats" --ref 5 --mixed-refs --no-fast-pskip --bframes 4 --b-adapt 2 --b-pyramid --weightb --direct spatial --deblock -3:-3 --subme 9 --analyse all --8x8dct --trellis 2 --psy-rd x:x --aq-strength x --me esa --threads auto --thread-input --progress --no-dct-decimate --no-psnr --no-ssim --output "[...].mkv" "[...].avs" Source AQ strength 1.0 --psy-rd 1.0:1.0 --psy-rd 1.0:0.75 --psy-rd 1.0:0.5 --psy-rd 1.0:0.0 --psy-rd 0.75:0.5 --psy-rd 0.5:0.5 --psy-rd 0.5:0.25 AQ strength 0.75 --psy-rd 1.0:1.0 --psy-rd 1.0:0.75 --psy-rd 1.0:0.5 --psy-rd 1.0:0.0 --psy-rd 0.75:0.5 --psy-rd 0.5:0.5 --psy-rd 0.5:0.25 AQ strength 0.5 --psy-rd 1.0:1.0 --psy-rd 1.0:0.75 --psy-rd 1.0:0.5 --psy-rd 1.0:0.0 --psy-rd 0.75:0.5 --psy-rd 0.5:0.5 --psy-rd 0.5:0.25 And then I realized I don't understand how it works I can't find any post or guideline here that explains how to use these new options, and therefore, I'd like to request such an explanation I mean, what are higher strengths supposed to do? Keep the source grain or add even more? Last edited by K0zi; 2nd December 2008 at 15:03. |
1st December 2008, 19:13 | #629 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
Instead it tries to retain the same "complexity" as the original, making the image look more pleasant for the human eye. Higher values make the effect stronger: It helps to retain more detail, but also tends to add a new kind of artifacts. (BTW: The second parameter of "--psy-rd" is for Psy Trellis, which is disabled by default)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 1st December 2008 at 19:41. |
|
2nd December 2008, 00:45 | #630 | Link |
Registered User
Join Date: Nov 2007
Location: PL
Posts: 26
|
So, should I use higher strengths for grainy movies then?
Or the amount of grain isn't the only factor here and to find the "most appropriate" settings I need to run hundreds of tests each time? And given the screenshots (settings) above, which one would you pick? Last edited by K0zi; 2nd December 2008 at 00:49. |
2nd December 2008, 00:47 | #631 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Well, you'll have to find the value that preserves as much grain as possible without adding new annoying artifacts. It's a trade-off...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
26th January 2009, 10:55 | #632 | Link | ||
Registered User
Join Date: Nov 2008
Posts: 64
|
Quote:
so with --trellis 2, --subme 9 (RDO on all frames) and --no-fast-pskip deadzones is not used, correct ? |
||
26th January 2009, 11:01 | #633 | Link | |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
This means that if I combine that with QPRD and lambda-based AQ, the entire encoder from top to bottom can be based off lambda values... |
|
10th September 2009, 13:45 | #636 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
You can assume that there's a reason why "--tune animation" will lower Psy-RD strength to 0.4
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
11th September 2009, 18:24 | #637 | Link |
Registered User
Join Date: Oct 2003
Posts: 45
|
Yeah but i made a test and at bitrate 1400 the output was better with 1.0 than 0.4.
I've changed only psy value in the tests and there are so mutch differences: the test with psy-rd 0.4 have so mutch more compression artifacts. (offcourse i use trellis = 2, ME=multi hex and subpixels refinem. = 07 RD on all frames) |
12th September 2009, 18:04 | #640 | Link |
Registered User
Join Date: Oct 2003
Posts: 45
|
Well is a new anime dvd version. I encode from original vobs.
I made test with 3 different dvd source. Real Drive, Ponyo, Nodame Cantabile. In all 3 test psy rd 0.40 increase the number of compression artifacts specially in dark area or in areas with high contrast, like clots borders. Maybe with sar encoding have it some problems? |
Tags |
psy-rd, psyrdo |
Thread Tools | Search this Thread |
Display Modes | |
|
|