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 21st October 2020, 00:27   #30121  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,722
Quote:
Originally Posted by gonca View Post
Can the 40 Mbs be caused by --vbr-quality 20
I guess its possible -- but I can't imagine why.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 21st October 2020, 09:22   #30122  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,754
Quote:
Originally Posted by Glarioo View Post
LASTCMD which worked, but it had, according to MediaInfo, a max bitrate of 40000. 40000 I can live with that.
"C:\BD_Rebuilder\tools\nvenc\nvencc.exe" --avhw -i "G:\BDRB_WORK\IMPORTS\UNCUT_GEMS\BDMV\STREAM\00000.m2ts" --codec h264 --preset quality --bluray --vbr 0 --vbr-quality 20 --aq-temporal --keyfile "G:\BDRB_WORK\WORKFILES\VID_00000.CHP" --aud --pic-struct --vbv-bufsize 50000 --max-bitrate 50000 --gop-len 24 -o "G:\BDRB_WORK\WORKFILES\VID_00000.AVS.264"

LASTCMD which did not work. I think there is something wrong with this one. Twice vbv-bufsize (15000 and 50000) and twice max-rate (15000 and 50000)
"C:\BD_Rebuilder\tools\nvenc\nvencc.exe" --avhw -i "G:\BDRB_WORK\IMPORTS\UNCUT_GEMS\BDMV\STREAM\00000.m2ts" --codec h264 --preset quality --bluray --vbr 0 --vbr-quality 20 --aq-temporal --keyfile "G:\BDRB_WORK\WORKFILES\VID_00000.CHP" --aud --pic-struct --vbv-bufsize 15000 --max-bitrate 15000 --gop-len 48 --vbv-maxrate 50000 --vbv-bufsize 50000 -o "G:\BDRB_WORK\WORKFILES\VID_00000.AVS.264"

My conclusion: do not add "TWEAK_ALTERNATE_NV=--vbv-maxrate 50000 --vbv-bufsize 50000" in the BDREBUILDER.INI. Add "mBitrate=50000" in the ALTERNATE.TXT
Am I correct?
Unlike x264, NVEncC doesn't support '--vbv-maxrate' as I understand.
It's '--max-bitrate' only for NVEncC.

One should however not have to worry about the duplication of parameters. The last ones just overrule the former ones AFAIK.

Last edited by Sharc; 21st October 2020 at 09:28. Reason: typo
Sharc is offline   Reply With Quote
Old 21st October 2020, 14:21   #30123  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,722
Quote:
Originally Posted by Sharc View Post
Unlike x264, NVEncC doesn't support '--vbv-maxrate' as I understand.
It's '--max-bitrate' only for NVEncC.

One should however not have to worry about the duplication of parameters. The last ones just overrule the former ones AFAIK.
Wow. Good catch. When I read that post I missed that completely. That's the reason his "TWEAK_ALTERNATE_NV" settings didn't take hold (and probably why the command line failed).
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 21st October 2020 at 14:24.
jdobbs is offline   Reply With Quote
Old 21st October 2020, 14:45   #30124  |  Link
Glarioo
Registered User
 
Join Date: Dec 2011
Posts: 138
Quote:
Originally Posted by gonca View Post
Can the 40 Mbs be caused by --vbr-quality 20
Did it with CRF 18 now. Same result. max bitrate of 40000
mBitrate=50000 in de alterternate.txt file.
No TWEAK_ALTERNATE_NV in the BDREBUILDER.ini file.

LASTCMD.TEXT: "C:\BD_Rebuilder\tools\nvenc\nvencc.exe" --avhw -i "G:\BDRB_WORK\IMPORTS\UNCUT_GEMS\BDMV\STREAM\00000.m2ts" --codec h264 --preset quality --bluray --vbr 0 --vbr-quality 18 --aq-temporal --keyfile "G:\BDRB_WORK\WORKFILES\VID_00000.CHP" --aud --pic-struct --vbv-bufsize 50000 --max-bitrate 50000 --gop-len 24 -o "G:\BDRB_WORK\WORKFILES\VID_00000.AVS.264"
Glarioo is offline   Reply With Quote
Old 21st October 2020, 15:55   #30125  |  Link
Glarioo
Registered User
 
Join Date: Dec 2011
Posts: 138
Still no max bitrate 50000.
CRF 18
mBitrate=50000 in de alterternate.txt file.
Add TWEAK_ALTERNATE_NV=--max-bitrate 50000 --vbv-bufsize 50000 in the BDREBUILDER.ini file.

LASTCMD.TEXT: "C:\BD_Rebuilder\tools\nvenc\nvencc.exe" --avhw -i "G:\BDRB_WORK\IMPORTS\UNCUT_GEMS\BDMV\STREAM\00000.m2ts" --codec h264 --preset quality --bluray --vbr 0 --vbr-quality 18 --aq-temporal --keyfile "G:\BDRB_WORK\WORKFILES\VID_00000.CHP" --aud --pic-struct --vbv-bufsize 50000 --max-bitrate 50000 --gop-len 24 --max-bitrate 50000 --vbv-bufsize 50000 -o "G:\BDRB_WORK\WORKFILES\VID_00000.AVS.264"
Glarioo is offline   Reply With Quote
Old 22nd October 2020, 00:41   #30126  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,722
Quote:
Originally Posted by Glarioo View Post
Did it with CRF 18 now. Same result. max bitrate of 40000
mBitrate=50000 in de alterternate.txt file.
No TWEAK_ALTERNATE_NV in the BDREBUILDER.ini file.

LASTCMD.TEXT: "C:\BD_Rebuilder\tools\nvenc\nvencc.exe" --avhw -i "G:\BDRB_WORK\IMPORTS\UNCUT_GEMS\BDMV\STREAM\00000.m2ts" --codec h264 --preset quality --bluray --vbr 0 --vbr-quality 18 --aq-temporal --keyfile "G:\BDRB_WORK\WORKFILES\VID_00000.CHP" --aud --pic-struct --vbv-bufsize 50000 --max-bitrate 50000 --gop-len 24 -o "G:\BDRB_WORK\WORKFILES\VID_00000.AVS.264"
It has to be a limitation of NVENCC... but I haven't seen it documented anywhere.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 22nd October 2020, 07:29   #30127  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,754
Quote:
Originally Posted by jdobbs View Post
It has to be a limitation of NVENCC... but I haven't seen it documented anywhere.
Could these 40000 kbps be due to '--bluray' in the commandline?
Sharc is offline   Reply With Quote
Old 22nd October 2020, 16:52   #30128  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,722
Quote:
Originally Posted by Sharc View Post
Could these 40000 kbps be due to '--bluray' in the commandline?
You're probably right. It makes complete sense since the maximum video bitrate for bluray (HD) actually is 40Mbs, with the combined audio/video being 48Mbs. I would have thought, though, that a later command line callout would override it.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 22nd October 2020 at 23:14.
jdobbs is offline   Reply With Quote
Old 22nd October 2020, 18:50   #30129  |  Link
Glarioo
Registered User
 
Join Date: Dec 2011
Posts: 138
Quote:
Originally Posted by jdobbs View Post
You're probably right. It makes complete sense since the maximum video bitrate for bluray (HD) actually is 40Mbs, with the combined audio/video being 48Mbs. I would have thought, though, that a later command line callout would override it, though.
Did a test with CloneBD and it also had a max bitrate of 40 Mbs.
So jdobbs, no worries, 40000 is okay for me.

Last edited by Glarioo; 22nd October 2020 at 18:53.
Glarioo is offline   Reply With Quote
Old 27th October 2020, 15:16   #30130  |  Link
Finch
Registered User
 
Join Date: Mar 2005
Posts: 14
Not sure if this qualifies as a bug but in newer versions of Windows 10 there is a setting called "Use Unicode UTF-8 for worldwide language support" (it's in Control Panel -> Region -> Change system locale). When it is enabled BDRB gives a "2501 Source Check() 00009 2501" and "Select Source is not BD format" errors when opening a BD source.
Finch is offline   Reply With Quote
Old 27th October 2020, 22:13   #30131  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,722
Quote:
Originally Posted by Finch View Post
Not sure if this qualifies as a bug but in newer versions of Windows 10 there is a setting called "Use Unicode UTF-8 for worldwide language support" (it's in Control Panel -> Region -> Change system locale). When it is enabled BDRB gives a "2501 Source Check() 00009 2501" and "Select Source is not BD format" errors when opening a BD source.
On my system it says that setting is in beta status. My guess (hope?) is that it will be fixed at some point before going final.

In the meantime I will look at that error, try to repeat it, and see if I can track down why it is happening.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 27th October 2020 at 22:24.
jdobbs is offline   Reply With Quote
Old 28th October 2020, 01:32   #30132  |  Link
abogard
Registered User
 
abogard's Avatar
 
Join Date: Apr 2017
Posts: 8
Hello everyone. I'm completely new here. First of all many thanks to jdobbs for a wonderful piece of software, you're the best. Now then, I think I've read a lot of the thread and I'm not sure if what I'm going to report has been reported already but here goes. Yesterday I tried to encode a BD from BD50 to BD25 with Nvenc and it so happens that this BD had secondary video. Nvenc couldn't deal with that. The original .264 file for the secondary video was 9 Mb and the resulting file was 2 Gb, more importantly the bitrate for the main video was drastically reduced because of it.

I don't know if I'm making myself clear, english is not my native language so please bear with me, if you need anymore details I'll be happy to provide them if I can.

Thanks again
abogard is offline   Reply With Quote
Old 29th October 2020, 14:46   #30133  |  Link
ggtop
Registered User
 
Join Date: Mar 2003
Posts: 296
Quote:
Originally Posted by abogard View Post
.... if you need anymore details I'll be happy to provide them if I can.
More details would be nice indeed. If you want help you should give much as possible information to understand and (maybe even) reproduce the issue you have.
The full processing log (look into the WORKING folder) would be a good starting point.

BTW Sure you have a 9 MB secondary video? Sounds short :-) There is no (Blu-Ray) compatible bitrate that could inflate it into a 2 GB file... Mediainfo report of that file / playlist could be helpful as well.

ggtop

Last edited by ggtop; 29th October 2020 at 14:59.
ggtop is offline   Reply With Quote
Old 30th October 2020, 00:29   #30134  |  Link
abogard
Registered User
 
abogard's Avatar
 
Join Date: Apr 2017
Posts: 8
Quote:
Originally Posted by ggtop View Post
More details would be nice indeed. If you want help you should give much as possible information to understand and (maybe even) reproduce the issue you have.
The full processing log (look into the WORKING folder) would be a good starting point.

BTW Sure you have a 9 MB secondary video? Sounds short :-) There is no (Blu-Ray) compatible bitrate that could inflate it into a 2 GB file... Mediainfo report of that file / playlist could be helpful as well.

ggtop
Of course I understand and you're right, but before I go and do all that (which I'm more than happy to do) I would first like to ask:

Has anybody here encoded a BD, with secondary video, with nvenc, without any problems?

And yes, it was very strange to me too to see a file so big come out of something so small but it happened so I'm a believer now.
abogard is offline   Reply With Quote
Old 30th October 2020, 07:45   #30135  |  Link
abogard
Registered User
 
abogard's Avatar
 
Join Date: Apr 2017
Posts: 8
Well, I made a long post documenting my findings but I guess it was too long or something because the moderator didn't see fit to publish it, so I wasted my time there. Instead I'm going to try and document an interesting finding. It seems the problem lies in the command line. While doing the encode I went to the LASTCMD.TXT file and found this:

Quote:
"D:\1\BD_Rebuilder\tools\nvenc\nvencc.exe" --avhw -i "E:\TRUE.DETECTIVE.S01.DISC2\BDMV\STREAM\00045.m2ts" --codec h264 --preset performance --bluray --qp-min 0 --multipass 2pass-full --vbr 0 --vbr-quality 25 --aq-temporal --sar 40:33 --aud --pic-struct --vbv-bufsize 12000 --max-bitrate 7000 --gop-len 24 -o "D:\TEMP\WORKFILES\VID_00045_2.AVS.264"
In other words, it's encoding the wrong file. It's supposed to be encoding the file 00045.track_6912.264 and instead it's being directed to the .m2ts without any indication to the secondary video except in the end. So what happens is that the software encodes the main movie only with a different set of commands, that explains the file size. I'm not the expert here but maybe there's the problem.
abogard is offline   Reply With Quote
Old 30th October 2020, 11:06   #30136  |  Link
Mike-uk
Registered User
 
Join Date: Jun 2018
Location: Dorset
Posts: 137
Quote:
Originally Posted by abogard View Post
Well, I made a long post documenting my findings but I guess it was too long or something because the moderator didn't see fit to publish it,.
posts are not moderated ( upon posting) (but afterwards yes) , try again, tip if your writing large amounts, either copy your txt before you submit so if it goes wrong you can paste your work or compose it in notepad

also if your posting long bits of log and data you need to wrap them in "code" to encase it in a smaller window thats scrollable

Last edited by Mike-uk; 30th October 2020 at 11:16.
Mike-uk is offline   Reply With Quote
Old 30th October 2020, 12:32   #30137  |  Link
abogard
Registered User
 
abogard's Avatar
 
Join Date: Apr 2017
Posts: 8
Quote:
Originally Posted by Mike-uk View Post
posts are not moderated ( upon posting) (but afterwards yes) , try again, tip if your writing large amounts, either copy your txt before you submit so if it goes wrong you can paste your work or compose it in notepad

also if your posting long bits of log and data you need to wrap them in "code" to encase it in a smaller window thats scrollable
Yes, I did all that. And as a matter of fact I have it in a txt just in case, but I'm mentioning a moderator because when I posted it I got a message saying that the post would be reviewed by a moderator beforehand and that I would not be able to view it right away, which stroke me as funny but like I said I'm new here. As time has passed already I am led to believe it's not going to be posted
abogard is offline   Reply With Quote
Old 30th October 2020, 12:39   #30138  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 1,734
A lot of forums limit posts by new users, in that a moderator needs to review them. Then, after a certain number of posts, moderation is no longer done.
MrVideo is offline   Reply With Quote
Old 30th October 2020, 17:27   #30139  |  Link
CV91913
Registered User
 
Join Date: Sep 2010
Posts: 118
Quote:
Originally Posted by abogard View Post
Yes, I did all that. And as a matter of fact I have it in a txt just in case, but I'm mentioning a moderator because when I posted it I got a message saying that the post would be reviewed by a moderator beforehand and that I would not be able to view it right away, which stroke me as funny but like I said I'm new here. As time has passed already I am led to believe it's not going to be posted
Looking at the code snippet you posted, the file name in the path does not look like a BD. Is the source from a BD50 disk or a download?
CV91913 is offline   Reply With Quote
Old 30th October 2020, 22:47   #30140  |  Link
abogard
Registered User
 
abogard's Avatar
 
Join Date: Apr 2017
Posts: 8
Quote:
Originally Posted by CV91913 View Post
Looking at the code snippet you posted, the file name in the path does not look like a BD. Is the source from a BD50 disk or a download?
It's from a BD50 disk. I ripped everything to the HDD to do the backup
abogard 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 03:54.


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