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 > (HD) DVD, Blu-ray & (S)VCD > DVD & BD Rebuilder

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th September 2009, 22:32   #241  |  Link
stenews
Registered User
 
stenews's Avatar
 
Join Date: Oct 2008
Location: somewhere in Italy
Posts: 217
@jdobbs
thanks for answering me
and so the best thing to do is always to stop it at the end of one encoded segment. isn't it?

P.S.
same thing when I use DVD-RB...right?
__________________
came and visit me at http://www.majinbu.ucoz.com/
stenews is offline   Reply With Quote
Old 27th September 2009, 23:19   #242  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
Quote:
Originally Posted by stenews View Post
@jdobbs
thanks for answering me
and so the best thing to do is always to stop it at the end of one encoded segment. isn't it?

P.S.
same thing when I use DVD-RB...right?
Exactly -- except the segments in DVD-RB are typically much shorter. The best time to stop is right after the end of either of the two passes (assuming two pass is selected).
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 27th September 2009 at 23:22.
jdobbs is offline   Reply With Quote
Old 28th September 2009, 10:43   #243  |  Link
stenews
Registered User
 
stenews's Avatar
 
Join Date: Oct 2008
Location: somewhere in Italy
Posts: 217
Thanks a lot jdobbs, I appreciate that.
You're doing a really great job with those applications!

Bye,
Stefano.
__________________
came and visit me at http://www.majinbu.ucoz.com/
stenews is offline   Reply With Quote
Old 29th September 2009, 20:18   #244  |  Link
Sn8kbordin
Registered User
 
Join Date: Nov 2002
Location: Willowbrook, IL, USA
Posts: 103
Ability to select different path for work files and final output.
This way the rebuild process will be sped up if its on 2 different drives.

Thanks jdobbs for your great work.
Sn8kbordin is offline   Reply With Quote
Old 9th October 2009, 05:48   #245  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
From my experiences CRF saves bitrate for the main movie while retaining a certain level of quality and it also saves some time but the current quick CRF uses settings aren't so good for keeping quality. Any chance of having separate CRF quality options?

Also setting quick CRF results in much larger under/over sizing, usually 500-1500 MB for BD5/9 outputs. 2 pass on everything is usually within 200 MB in the latest versions for me. Can the CRF sizing be looked at?

Also would like to resize the extras to 480 or 720 but keep the main movie at 1080p with an option to set M2TS to not resize by right click. Another thing could be an auto-resize option which would encode the extras and then encode 3% or so (using selectevery) of the main movie at CRF 26 (adjustable in ini). If the bitrate is equal to or less than the bitrate calculated from the remaining space it would keep it at 1080p, if the bitrate is more then it resizes to 720p.

Last edited by turbojet; 9th October 2009 at 05:54.
turbojet is offline   Reply With Quote
Old 9th October 2009, 05:52   #246  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Why not do this, jdobbs?

1) use --pass 1 --slow-firstpass on the CRF pass
2) If it oversizes, run a second pass.
3) If not, you're done...
Dark Shikari is offline   Reply With Quote
Old 9th October 2009, 14:01   #247  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
Quote:
Originally Posted by turbojet View Post
From my experiences CRF saves bitrate for the main movie while retaining a certain level of quality and it also saves some time but the current quick CRF uses settings aren't so good for keeping quality. Any chance of having separate CRF quality options?

Also setting quick CRF results in much larger under/over sizing, usually 500-1500 MB for BD5/9 outputs. 2 pass on everything is usually within 200 MB in the latest versions for me. Can the CRF sizing be looked at?

Also would like to resize the extras to 480 or 720 but keep the main movie at 1080p with an option to set M2TS to not resize by right click. Another thing could be an auto-resize option which would encode the extras and then encode 3% or so (using selectevery) of the main movie at CRF 26 (adjustable in ini). If the bitrate is equal to or less than the bitrate calculated from the remaining space it would keep it at 1080p, if the bitrate is more then it resizes to 720p.
I'll add a hidden option to allow you to set the CRF value for the "quick" encodes. I'll look at the extra resizing and auto-size...
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 9th October 2009, 14:05   #248  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
Quote:
Originally Posted by Dark Shikari View Post
Why not do this, jdobbs?

1) use --pass 1 --slow-firstpass on the CRF pass
2) If it oversizes, run a second pass.
3) If not, you're done...
Actually I'd planned to implement this on the one-pass CRF mode. It does a CRF size prediction followed by "--slow-firstpass" encode right now (so I can get the stats). The idea was to use the stats for a second pass in the event of an oversize -- but I hadn't gotten around to implementing yet.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 9th October 2009, 15:57   #249  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
Quote:
Originally Posted by jdobbs View Post
I'll add a hidden option to allow you to set the CRF value for the "quick" encodes. I'll look at the extra resizing and auto-size...
Do you mean QUICK_CRF? That worked last time I tried it but --preset ultrafast takes away a lot of the advantages of CRF especially when aiming for BD5/9. I'd be content with CRF using the same x264 settings from the quality settings option. Maybe better would be a separate good/better/high/highest quality setting for CRF.

Thanks for looking at the resizing, I'd really make use of resizing the extras to 720/480, most don't have the definition you'd except from HD, to make for a higher quality movie.
turbojet is offline   Reply With Quote
Old 9th October 2009, 18:09   #250  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Quote:
Originally Posted by turbojet View Post
..... I'd be content with CRF using the same x264 settings from the quality settings option.
I second this.

Btw I did some tests with resizing the main movie anamorphic to 1440x1080; --sar 4:3 as a 'compromize resolution' for BD5/9. Worked pretty well, including subtitles.
Sharc is offline   Reply With Quote
Old 10th October 2009, 02:58   #251  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
Quote:
Originally Posted by turbojet View Post
Do you mean QUICK_CRF? That worked last time I tried it but --preset ultrafast takes away a lot of the advantages of CRF especially when aiming for BD5/9. I'd be content with CRF using the same x264 settings from the quality settings option. Maybe better would be a separate good/better/high/highest quality setting for CRF.

Thanks for looking at the resizing, I'd really make use of resizing the extras to 720/480, most don't have the definition you'd except from HD, to make for a higher quality movie.
If you use the One-Pass CRF it does use the settings of the Quality selections.

The problem is that if I use the same settings for QUICK_CRF, it suddenly isn't "QUICK" anymore. What do you lose in ultrafast that is directly related to CRF?
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 10th October 2009 at 03:02.
jdobbs is offline   Reply With Quote
Old 10th October 2009, 03:53   #252  |  Link
setarip_old
Registered User
 
setarip_old's Avatar
 
Join Date: Aug 2005
Posts: 16,267
@jdobbs

Is there a specific reason that you've not implemented "drag & drop" of the source folder and the work folder?
setarip_old is offline   Reply With Quote
Old 10th October 2009, 04:34   #253  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
Quote:
Originally Posted by jdobbs View Post
If you use the One-Pass CRF it does use the settings of the Quality selections.
But I mean extras at CRF which gains me 1000-2000 kbps for the main movie usually using CRF 24 for the extras.

Quote:
The problem is that if I use the same settings for QUICK_CRF, it suddenly isn't "QUICK" anymore. What do you lose in ultrafast that is directly related to CRF?
Better quality and lower file size. I don't mind the speed drop as it would still save a lot of time over 2 pass and it saves a nice amount of bitrate for the movie and I know what kind of quality it's going to be. 2 pass extras sometimes creates a saturated video stream to me (CRF <20) and occasionally results in some pretty bad looking video (CRF >28) because of how it's distributing the bitrate between the m2ts's. CRF solves this issue.

Another thing I thought of is extending the auto-resizing option with a suggestion for resize and file output size. For example:
- Set DVD5 output, no resize
- Encode all extras at CRF
- Sample ~3% of the movie at 1080p with CRF, compare to available bitrate, if it's below continue with the encode
- If CRF bitrate is above do CRF sample at 720p, if below pop up a box stating 'After analysis suggest to resize to 720p (default) or encode at 1080p'
- If CRF bitrate of 720p DVD5 is above, calculate bitrate for 1080p DVD9, sample and if below suggest between '1080p DVD9 (default), 720p DVD5, 1080p DVD5'
- If CRF bitrate of 1080p DVD9 is above, sample at 720p DVD9, if below suggest '720p DVD9 (default), 1080p DVD9, 720p DVD5, 1080p DVD9'
- if CRF bitrate of 720p DVD9 is above, suggest using 1080p BD25

Enabled by 2 options, auto resize and auto file output. Also have an option to decide which sets the default without user interaction. ini setting of AUTO_CRF or something with default at 26.

It would make the decision a lot easier and better for both novice and experienced users when aiming for DVD5/9.

Last edited by turbojet; 10th October 2009 at 04:36.
turbojet is offline   Reply With Quote
Old 10th October 2009, 08:12   #254  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
In my experience higher resolutions tolerate higher CRF values for same visual quality regarding encoding artefacts. How to account for this with auto-resize?
Sharc is offline   Reply With Quote
Old 10th October 2009, 12:06   #255  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
True, what do you think of 720p CRF + 2 = 1080p CRF?
eg: 720p CRF 24 = 1080p CRF 26

Instead of crf samples a much better decision might be made from the rate factor of a full first pass. But that might have some disadvantages when resizing for second pass with the I/P/B changing. I've used 1080p stats files for 720p and vice versa a few times and it's always been within 10 kbps of the target bitrate with nothing noticeably wrong with the video. But maybe there's something technically bad by doing it.

Maybe the popups to resize are a bit much, and when auto resize and/or auto filesize is enabled it decides by itself but never exceeds DVD9 output.

Last edited by turbojet; 10th October 2009 at 12:10.
turbojet is offline   Reply With Quote
Old 10th October 2009, 14:06   #256  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Well, personally I like to keep control over the resizing, rather than leaving it to some automatism. But that's just my opinion.
I would however be positive about the possibility to select the resizing for Extras and Feature independently (similar to DVD-RB).
Sharc is offline   Reply With Quote
Old 10th October 2009, 15:23   #257  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
Quote:
Originally Posted by Sharc View Post
Well, personally I like to keep control over the resizing, rather than leaving it to some automatism. But that's just my opinion.
I would however be positive about the possibility to select the resizing for Extras and Feature independently (similar to DVD-RB).
That'll happen, but its probably quite a way down the road.

I added a new hidden option for the next version:

QUICK_USE_QUALITY=1

This will use the selected quality option for quick encodes, but the only speed advantage you'll see is the elimination of the a pass (assuming two-pass mode). If you are using "One-Pass CRF" mode, the only advantage you'd see is elimination of the prediction passes.

Also, just a reminder to anyone reading this:

QUICK_CRF=n

will set the quality level of QUICK encodes to the CRF value you set in "n". So between the two you should have complete control over the quality of the "Quick Extras".
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 10th October 2009 at 15:26.
jdobbs is offline   Reply With Quote
Old 10th October 2009, 15:36   #258  |  Link
Capsbackup
Registered User
 
Join Date: Jul 2005
Posts: 1,995
IMHO, I am all for "tweaking", but I have found the default settings are hard to improve upon. I have to say I like the method of rate control of DVD-RB, simple slider/percentage style.
I understand the need/desire to satisfy the "technically advanced tweakers" out there, , but I like the simple approach as well. Hidden settings may work just fine for some, but I think the majority of users will benefit much more from simpler gui adjustments.
Capsbackup is offline   Reply With Quote
Old 10th October 2009, 17:39   #259  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Quote:
Originally Posted by jdobbs View Post
I added a new hidden option for the next version:

QUICK_USE_QUALITY=1

This will use the selected quality option for quick encodes, but the only speed advantage you'll see is the elimination of the a pass (assuming two-pass mode).
Nice option, thanks. The speed advantage will still be there in particular for larger Extras.
Quote:
If you are using "One-Pass CRF" mode, the only advantage you'd see is elimination of the prediction passes.
Not sure if I understand 'elimination' correctly.. Don't we need a CRF prediction pass always for 'One Pass (CRF) encoding' and '"Quicker" encode for Extras' -- even for the Extras? Or are the Extras encoded at a fix (default) CRF?

Added:
I guess I found the answer: For 'One Pass encoding' AND 'Quicker Encode for Extras', the Extras are encoded at a fix CRF depending on Target Size or on the QUICK_CRF=n setting in the config file.

Last edited by Sharc; 10th October 2009 at 18:08.
Sharc is offline   Reply With Quote
Old 10th October 2009, 18:14   #260  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
Exactly. In QUICK encoding a fixed CRF is used, and the output size of the non-extras are adjusted appropriately (larger or smaller -- normally larger, but it's up-in-the-air when you select something with QUICK_CRF) depending upon how much space is actually used by the combination of all the QUICK encodes.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Reply

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 12:23.


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