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 20th October 2020, 15:17   #30121  |  Link
Glarioo
Registered User
 
Join Date: Dec 2011
Posts: 138
Quote:
Originally Posted by jdobbs View Post
@Glarioo

What error do you get if you run that command line from a CMD window?
Excuse me, jdobbs. I read your message too late.
BDRebuilder didn't really give an CMD window error.
Just: "Failed video encode, aborted"

I changed in the ALTERNATE.TXT file mBitrate to 40000. Alright for you?

[00010]
caption=MKV Container, 1920x1080, 640Kbs DD5.1
vBitrate=1941
aBitrate=640
aType=0
vFormat=5
cType=1
mBitrate=40000

Last edited by Glarioo; 20th October 2020 at 15:24.
Glarioo is offline   Reply With Quote
Old 20th October 2020, 16:04   #30122  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,704
Quote:
Originally Posted by Glarioo View Post
Excuse me, jdobbs. I read your message too late.
BDRebuilder didn't really give an CMD window error.
Just: "Failed video encode, aborted"

I changed in the ALTERNATE.TXT file mBitrate to 40000. Alright for you?

[00010]
caption=MKV Container, 1920x1080, 640Kbs DD5.1
vBitrate=1941
aBitrate=640
aType=0
vFormat=5
cType=1
mBitrate=40000
The window is hidden when BD-RB runs it. But you can open a CMD window (after it fails) and cut/paste the contents of LASTCMD into it (and push ENTER). Then you would be able to see the whatever error message occurs.

Not sure why it got limited to 40Mbs. Is that what is showing in LASTCMD? I thought that maybe the Level 4.1 had done it -- but I looked it up and it has a limit of 50Mbs. It's possible, I guess, that I missed something in the code.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 20th October 2020 at 16:11.
jdobbs is offline   Reply With Quote
Old 20th October 2020, 17:37   #30123  |  Link
Glarioo
Registered User
 
Join Date: Dec 2011
Posts: 138
Quote:
Originally Posted by jdobbs View Post
The window is hidden when BD-RB runs it. But you can open a CMD window (after it fails) and cut/paste the contents of LASTCMD into it (and push ENTER). Then you would be able to see the whatever error message occurs.

Not sure why it got limited to 40Mbs. Is that what is showing in LASTCMD? I thought that maybe the Level 4.1 had done it -- but I looked it up and it has a limit of 50Mbs. It's possible, I guess, that I missed something in the code.

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?
Glarioo is offline   Reply With Quote
Old 20th October 2020, 22:36   #30124  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,029
Can the 40 Mbs be caused by --vbr-quality 20
gonca is offline   Reply With Quote
Old 21st October 2020, 00:27   #30125  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,704
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   #30126  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,739
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   #30127  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,704
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   #30128  |  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   #30129  |  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 Yesterday, 00:41   #30130  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,704
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 Yesterday, 07:29   #30131  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,739
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 Yesterday, 16:52   #30132  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,704
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; Yesterday at 23:14.
jdobbs is offline   Reply With Quote
Old Yesterday, 18:50   #30133  |  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; Yesterday at 18:53.
Glarioo 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 22:26.


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