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 29th September 2020, 19:15   #30021  |  Link
Ch3vr0n
Registered User
 
Join Date: Jan 2009
Posts: 1,368
I did, but forgive me for asking, but isn't that the opposite of what i asked?
Quote:
i'm trying to create movie-only output type but i can't figure it out. I'd like "MKV, Full-SBS (3D)...
. I may very well not be understanding things entirely. I've done plenty full disc 3D backups, 3D MKV's to me are a new ballgame.

What's the difference then between full-SBS (3D) and "no resize". Reason why i'm asking is because my home theatre projection system only has 3D options for OU and SBS (Nebula Cosmos). i have no idea what the outcome would be if i pick "no resize"

Last edited by Ch3vr0n; 29th September 2020 at 19:22.
Ch3vr0n is offline   Reply With Quote
Old 29th September 2020, 21:00   #30022  |  Link
cartman0208
Registered User
 
Join Date: Jun 2010
Location: Germany
Posts: 205
I did only UHD Full Backups with the new version so far but I noticed two things:
Whenever the size-correcting second pass is applied to the main movie, the disk is slightly (5-10%) oversized
Disks with only one pass on the main movie hit the destination size pretty good.

Also after clearing the batch queue, I get a Runtime Error '35601' when clicking on the Batch tab or trying to add the current project to batch.
That persists even when restarting BDRB.

Last edited by cartman0208; 29th September 2020 at 22:56.
cartman0208 is offline   Reply With Quote
Old 29th September 2020, 23:11   #30023  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by Ch3vr0n View Post
I did, but forgive me for asking, but isn't that the opposite of what i asked? . I may very well not be understanding things entirely. I've done plenty full disc 3D backups, 3D MKV's to me are a new ballgame.

What's the difference then between full-SBS (3D) and "no resize". Reason why i'm asking is because my home theatre projection system only has 3D options for OU and SBS (Nebula Cosmos). i have no idea what the outcome would be if i pick "no resize"
If you select "No Resize" and you set the switch I mentioned on a 3D source -- you will get full SBS output. You can also get OU if you want by using the TYPE_OF_3D hidden options (see HIDDENOPTS.TXT). You can even switch the views (left/right), for the rare occasion where a player is different, with the SWAP_3D hidden option.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 29th September 2020 at 23:15.
jdobbs is offline   Reply With Quote
Old 29th September 2020, 23:21   #30024  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by cartman0208 View Post
I did only UHD Full Backups with the new version so far but I noticed two things:
Whenever the size-correcting second pass is applied to the main movie, the disk is slightly (5-10%) oversized
Disks with only one pass on the main movie hit the destination size pretty good.

Also after clearing the batch queue, I get a Runtime Error '35601' when clicking on the Batch tab or trying to add the current project to batch.
That persists even when restarting BDRB.
1. I'll look at the sizing issue.

1. The 35601 error is a weird one. Try deleting the file BDBATCH.INI and see if the problem goes away.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 30th September 2020, 00:26   #30025  |  Link
LowDead
Elit Amans
 
Join Date: Feb 2005
Location: Sweden
Posts: 275
have tested the new version on the problematic disc...

Good news: No more error on that 60fps 4k mux.

Bad news: New error that I can't continue from.

Quote:
- [01:17:22] Processing: VID_00341 (15 of 43)
- [01:17:22] Extracting A/V streams [VID_00341]
- Extracting video streams [VID_00341]
- Processed 5823 video frames
- Error in attempt to extract video.
- Processed 5823 video frames
- Processed 5823 video frames
[01:17:41] - Failed to retrieve audio, aborted
//LD
LowDead is offline   Reply With Quote
Old 30th September 2020, 09:33   #30026  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Quote:
Originally Posted by jdobbs View Post
...........
[Edit] You'll have to use either X264 or X265. I just tried one using NVENCC and it choked on the input. Not sure why, but I'm guessing it either doesn't like the sizing or it has an issue with the AVS. I'll look at it for the next release.
There seems to be a problem with the script. Opening the script in MPC-HC gives the error for line 3 of the script:
"Cannot initialize Intel media SDK session"
Code:
#Created by BD Rebuilder - v0.61.17
LoadPlugin("P:\Program Files Video\BD_Rebuilder\tools\frimsource.dll")
SBS=FRIMSource(codec="mvc",filename="F:\BDMV\STREAM\00800.m2ts",filename_dep="F:\BDMV\STREAM\01065.m2ts",layout="sbs",ts=true,platform="sw",cache=24,num_frames=166915)
VIEW1=Crop(SBS,1920,0,1920,1080)
VIEW2=Crop(SBS,0,0,1920,1080)
StackHorizontal(VIEW2,VIEW1)
ConvertToYV12().AssumeFPS(24000,1001)
So it seems not to be related to the NVEncC encoder?
The source is a 1920x1080 3D MVC Blu-ray.

Edit:
All right, I had to put the 'BD_Rebuilder\Tools' folder into the PATH.
Now I am getting the script error:
Code:
Crop: you cannot use crop to enlarge or 'shift' a clip
Edit2:
I think that the 3 lines
Code:
VIEW1=Crop(SBS,1920,0,1920,1080)
VIEW2=Crop(SBS,0,0,1920,1080)
StackHorizontal(VIEW2,VIEW1)
can be deleted from the script when the parameter 'layout="sbs"' is set, so it seems to work with something like
Code:
#Created by BD Rebuilder - v0.61.17
LoadPlugin("P:\Program Files Video\BD_Rebuilder\tools\frimsource.dll")
SBS=FRIMSource(codec="mvc",filename="F:\BDMV\STREAM\00800.m2ts",filename_dep="F:\BDMV\STREAM\01065.m2ts",layout="sbs",ts=true,platform="sw",cache=24,num_frames=166915)
return SBS.converttoYV12().AssumeFPS(24000,1001)
Edit 3: ... and this also works with NVEncC as the encoder

Edit4: Pulling my hair...
After been through the steps above, I now found that the original script seems to work fine now. So the solution was probably to include the Tools folder (or the libmfxsw32.dll) in the PATH. Oh well .....
Anyway, happy that it works now with NVEncC as well

Last edited by Sharc; 30th September 2020 at 13:36.
Sharc is offline   Reply With Quote
Old 30th September 2020, 10:36   #30027  |  Link
cartman0208
Registered User
 
Join Date: Jun 2010
Location: Germany
Posts: 205
Quote:
Originally Posted by jdobbs View Post
1. I'll look at the sizing issue.

1. The 35601 error is a weird one. Try deleting the file BDBATCH.INI and see if the problem goes away.
Forgot to mention, I only used NVENC

Deleted BDBATCH.INI, BDITEM.INI and BDREBUILDER.INI to be sure. Works again and I couldn't reproduce the issue.
I will test some more.
cartman0208 is offline   Reply With Quote
Old 30th September 2020, 16:59   #30028  |  Link
Ch3vr0n
Registered User
 
Join Date: Jan 2009
Posts: 1,368
Tried and failed with 61.16. One thing i noticed is that the decoding/frameserving sais "FRIMSource", however the decoding process itself is done by DGDecNV, as there's a part about "completing DGIndexing". Picked the option "VBR Target Site (MB) with a value of 8600"

Code:
[09/30/20] BD Rebuilder v0.61.16
[17:35:14] Source:  TOMB_RAIDER_00098
  - Input BD size: 42,66 GB
  - Approximate total content: [01:57:50.438]
  - Windows Version: 6.2 [9200]
  - MOVIE-ONLY/ALTERNATE OUTPUT mode enabled
  - Mode: MKV Container, Full-SBS (3D), Intact Audio
  - Quality: High Quality (Default)
  - Output folder: H:\Blu-ray\Encodes\BDRB\
  - 3D conversion mode enabled
  - Decoding/Frame serving: FRIMSource
  - Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[17:35:16] PHASE ONE, Encoding
 - [17:35:16] Processing: VID_00252 (1 of 1)
 - [17:35:16] Extracting A/V streams [VID_00252]
[09/30/20] Checking System Settings
  - BD-Rebuilder v0.61.16
  - Windows Version: 6.2 [9200]
  - Working Path Free Space: 467,30GB
  - AVISYNTH Version: 2.6.0.6, Ok
  - LAVFILTERS:  Ok
  - AnyDVD settings check: Ok.
  - X264:  Ok
  - X265:  Ok
  - AFTEN:  Ok
  - FAAC:  Ok
  - MP4BOX:  Ok
  - WAVI:  Ok
  - TSMUXER:  Ok
  - FRIMEncode:  Ok
  - FRIMDecode:  Ok
[09/30/20] Systems Settings Check complete
 - [17:45:02] Reencoding video [VID_00252]
   - Source Video: MPEG-4 (AVC), 1920x1080
   - Rate/Length: 23,976fps, 169.521 frames
   - Converting output to Side-By-Side 3D Format
   - Bitrate: 7.184 Kbs
 - [17:45:02] Reencoding: VID_00252, Pass 1 of 2
[17:45:03] - Failed video encode, aborted
----------------------
[09/30/20] BD Rebuilder v0.61.16
[17:48:50] Source:  TOMB_RAIDER_00098
  - Input BD size: 42,66 GB
  - Approximate total content: [01:57:50.438]
  - Windows Version: 6.2 [9200]
  - MOVIE-ONLY/ALTERNATE OUTPUT mode enabled
  - Mode: MKV Container, NO_RESIZE, AutoGOP, Auto-AC3
  - Quality: High Quality (Default)
  - Output folder: H:\Blu-ray\Encodes\BDRB\
  - 3D conversion mode enabled
  - Decoding/Frame serving: FRIMSource
  - Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[17:48:51] PHASE ONE, Encoding
 - [17:48:51] Processing: VID_00252 (1 of 1)
 - [17:48:51] Extracting A/V streams [VID_00252]
 - [17:58:26] Reencoding video [VID_00252]
   - Source Video: MPEG-4 (AVC), 1920x1080
   - Rate/Length: 23,976fps, 169.521 frames
   - Converting output to Side-By-Side 3D Format
   - Bitrate: 9.236 Kbs
 - [17:58:26] Reencoding: VID_00252, Pass 1 of 2
[17:58:27] - Failed video encode, aborted
Code:
[Options]
VERSION=0.61.0.16
ENCODER=1
MODE=3
ENCODE_QUALITY=0
ONEPASS_ENCODING=0
AUTO_QUALITY=1
TARGET_SIZE=23500
AUTO_BURN=0
AUDIO_TO_KEEP=dut;eng;nld;und;
SUBS_TO_KEEP=dut;eng;nld;und;
SD_CONVERT=0
OPEN_GOP=0
RESIZE_1080=0
RESIZE_1440=0
RESIZE_720=0
DEINTERLACE=1
SD_TO_1080=0
IGNORE_3D=0
CONVERT_WIDE=0
DTS_REENCODE=0
AC3_REENCODE=0
AC3_640=1
AC3_192=0
KEEP_HD_AUDIO=1
AUDIO_DRC=0
DECODER=3
AVCHD=0
REMOVE_WORKFILES=1
REMOVE_OUTPUT=1
USE_FILTERS=0
BDMV_CERT_ONLY=1
IVTC_PULLDOWN=0
ASSUME_DVD_PAL=0
COMPLETION_BEEP=1
OUTPUT_SBS=1
NEROAAC=0
SUPTITLE=0
PGSTOSRT=0
AUDIO_TRACK_LIMIT=0
SUBTITLE_TRACK_LIMIT=0
CUSTOM_TARGET_SIZE=4100
#FRIM_SW_DECODE=0
FRIM_SW_ENCODE=1
#SPECIAL_3D_MUX=1

#General Settings
ENABLE_TEST=1
ENABLE_BLANKING=1
BEEP_SOUNDFILE=C:\Program Files (x86)\ImgBurn\Sounds\Success.wav
OUTPUT_FOLDER=H:\Blu-ray\Encodes\BDRB
MINIMIZE_TO_TRAY=1
MOVIEONLY_TYPE=32
ALTCRF=23
ALT_TARGET=8600
ALT_CRF_TARGET=2048
ALTMETHOD=2
ALTAUTOCROP=0
FRIMSOURCE=0
NVENC_CAPABLE=1

[Paths]
SOURCE_PATH=L:\
DGIndexNV=C:\Program Files (x86)\BD_Rebuilder\Tools\dgdecnv\x32 Binaries\DGIndexNV.exe
DGDecNV=C:\Program Files (x86)\BD_Rebuilder\Tools\dgdecnv\x32 Binaries\DGDecodeNV.dll
WORKING_PATH=H:\Temp\
Will try 61.17 next. just noticed the new version.

** edit ** still failed with 61.17 but worked when i switched encoder from NVEnc encoders to "x264 / x265". Don't know if i overlooked you saying that part, if you didn't, maybe it's an idea to auto use that as a fallback?

Last edited by Ch3vr0n; 30th September 2020 at 17:15.
Ch3vr0n is offline   Reply With Quote
Old 30th September 2020, 17:42   #30029  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Try 1-pass (constant quality mode, CQM) encoding.
NVEnc does not support classic 2-pass encoding.
Sharc is offline   Reply With Quote
Old 30th September 2020, 17:46   #30030  |  Link
Ch3vr0n
Registered User
 
Join Date: Jan 2009
Posts: 1,368
Yes it does, and i didn't specify any pass. BDRB did. I'm using automatic quality settings.
Ch3vr0n is offline   Reply With Quote
Old 30th September 2020, 18:31   #30031  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
It doesn't. See NVEnc documentation. Its '2-pass' applies to single frames rather than for the entire video. This is different from the classic global 2-pass which uses the stats file from pass 1.

In the Alternate Movie-Only output, select 'Constant Quality Mode (CQM)' and put your quality value there, e.g. 22.
Works perfectly here.
Sharc is offline   Reply With Quote
Old 30th September 2020, 22:43   #30032  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
BD Rebuilder v0.61.17

I've updated the first post of this thread with a link to the latest release of BD Rebuilder (v0.61.17). Changes for this release:
Code:
- Corrected an issue in which attempts to
  perform a size-correcting second pass on
  an AVC source could result in an error
  "PredictAndEncode() 00011  2994".
- Made adjustments to correct for bad time
  codes in .SUP files that could result in
  certain oddly formatted multi-part sources
  (shows itself as subtitles that extend
  well beyond the lenght of the movie)
- Added changes that will prevent occurance
  of some "Bitstream exception" errors.
- Implemented default use of v2.6.16 of
  TSMUXER for all TSMUXER functions.  In
  order to disable and return to v2.6.12
  use hidden option "ENABLE_NEW_TSMUXER=0".
- Added a routine that catches previously
  undetected errors in AAC encoding and then
  attempts reencoding via a new method.
- Corrected a setting used with HEVC that
  could assert HDR when it is not present in
  the original source.
- Updated TSMUXER4K to the 2020-09-25 build.
- Other minor corrections and cosmetic fixes.
There have been no changes made since the test release of this version.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 30th September 2020 at 22:47.
jdobbs is offline   Reply With Quote
Old 1st October 2020, 16:37   #30033  |  Link
ggtop
Registered User
 
Join Date: Mar 2003
Posts: 311
Hi jdobbs,

can you please check if setting "MULTIPROCESS" is deprecated in the last version?
I have it set to "MULTIPROCESS=2" in my INI and used to see "- Decoding/Frame serving: DGDecNV [2-way]" in the log, but using 0.61.17 I see only "- Decoding/Frame serving: DGDecNV" and one x264 process running. No big deal as it wasn't the speed gain on my system anyway, but I wanted to mention as I remember you changed something for cartman increasing max thread limit.

Thank you,
ggtop

Last edited by ggtop; 1st October 2020 at 16:44.
ggtop is offline   Reply With Quote
Old 2nd October 2020, 11:19   #30034  |  Link
LowDead
Elit Amans
 
Join Date: Feb 2005
Location: Sweden
Posts: 275
Quote:
Originally Posted by LowDead View Post
have tested the new version on the problematic disc...

Good news: No more error on that 60fps 4k mux.

Bad news: New error that I can't continue from.



//LD
Seems I did this test from the already processed/encoded test output instead of the original folder. I'm running from original folder right now and there's no problem at all (yet...)

It didn't work.. I almost got through the whole disc but managed to get the same error as before:

Quote:
- [12:59:31] Multiplexing M2TS
- [13:00:51] Processing: VID_00359 (33 of 43)
- [13:00:51] Extracting A/V streams [VID_00359]
- Extracting video streams [VID_00359]
- 93.8% complete
- Error in attempt to extract video.
- 93.8% complete
- 93.8% complete
[13:15:43] - Failed to retrieve audio, aborted
//LD

Last edited by LowDead; 2nd October 2020 at 12:19. Reason: still error
LowDead is offline   Reply With Quote
Old 2nd October 2020, 20:13   #30035  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by LowDead View Post
Seems I did this test from the already processed/encoded test output instead of the original folder. I'm running from original folder right now and there's no problem at all (yet...)

It didn't work.. I almost got through the whole disc but managed to get the same error as before:

Quote:
- [12:59:31] Multiplexing M2TS
- [13:00:51] Processing: VID_00359 (33 of 43)
- [13:00:51] Extracting A/V streams [VID_00359]
- Extracting video streams [VID_00359]
- 93.8% complete
- Error in attempt to extract video.
- 93.8% complete
- 93.8% complete
[13:15:43] - Failed to retrieve audio, aborted
//LD
It's going to be hard to debug from just that. Are you positive you have plenty of disc space. I got an error almost identical to that a couple days ago -- and then realized my disc had gotten full.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 3rd October 2020, 01:08   #30036  |  Link
LowDead
Elit Amans
 
Join Date: Feb 2005
Location: Sweden
Posts: 275
Quote:
Originally Posted by jdobbs View Post
It's going to be hard to debug from just that. Are you positive you have plenty of disc space. I got an error almost identical to that a couple days ago -- and then realized my disc had gotten full.
hehe.. You nailed it. How could I miss that.. I should sleep at night, not sit by the computer when my eyes barely can see straight.. ghaa. coffee. must. have.

Sorry for that. Everything is working as it should now. No more errors. Please move along, nothing to see here

//LD

Last edited by LowDead; 3rd October 2020 at 01:09. Reason: minor corrections
LowDead is offline   Reply With Quote
Old 3rd October 2020, 14:33   #30037  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by LowDead View Post
hehe.. You nailed it. How could I miss that.. I should sleep at night, not sit by the computer when my eyes barely can see straight.. ghaa. coffee. must. have.

Sorry for that. Everything is working as it should now. No more errors. Please move along, nothing to see here

//LD
Good to hear.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 7th October 2020, 00:08   #30038  |  Link
LowDead
Elit Amans
 
Join Date: Feb 2005
Location: Sweden
Posts: 275
With successful tests of Full UHD x265 encodes resulting in extremely super sweet quality i'm eager to begin testing backup using the NVEnc encoder.
And I was wondering a bit about the encoder settings. Am I right to think that CQM is the constant quality option and the VBR is the same as the old-school version of VBR?
I was somewhat thrown off by Sharc's posts #30037 and #30039. I will not do any alternative output, only full UHDs.

//LD
LowDead is offline   Reply With Quote
Old 7th October 2020, 07:13   #30039  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Quote:
Originally Posted by LowDead View Post
With successful tests of Full UHD x265 encodes resulting in extremely super sweet quality i'm eager to begin testing backup using the NVEnc encoder.
And I was wondering a bit about the encoder settings. Am I right to think that CQM is the constant quality option and the VBR is the same as the old-school version of VBR?
I was somewhat thrown off by Sharc's posts #30037 and #30039. I will not do any alternative output, only full UHDs.

//LD
NVEnc supports both quality based (CQM) and bitrate (target file size) based 'VBR' encoding, and so does BD-RB.
My posts just recalled the fact that - under the hood - '2-pass' has a different meaning for NVEnc than for x264/x265. This has been discussed further up in the thread. You shouldn't have to worry much about this. You can try BD-RB's options and settings. What isn't available is greyed out in the menus or hidden (unless there is a bug ....).
So for full backups using NVEnc you will find under 'Settings->Encoder Settings' the options 'One Pass (CQM) Encoding' (quality based) and 'One Pass (VBR) Encoding' (bitrate based acc. target size). In the case of NVEnc you have to select one of these. You can't disable both to invoke the classic 2-pass encoding as you could for x264/x265. It will however internally trigger '2-passes' as per NVIDIA's per frame definition.
Sorry to have caused some confusion.

Added:
See the discussion around here:
https://forum.doom9.org/showthread.p...54#post1918354

Last edited by Sharc; 7th October 2020 at 09:28.
Sharc is offline   Reply With Quote
Old 8th October 2020, 02:10   #30040  |  Link
LowDead
Elit Amans
 
Join Date: Feb 2005
Location: Sweden
Posts: 275
Quote:
Originally Posted by Sharc View Post
NVEnc supports both quality based (CQM) and bitrate (target file size) based 'VBR' encoding, and so does BD-RB.
My posts just recalled the fact that - under the hood - '2-pass' has a different meaning for NVEnc than for x264/x265. This has been discussed further up in the thread. You shouldn't have to worry much about this. You can try BD-RB's options and settings. What isn't available is greyed out in the menus or hidden (unless there is a bug ....).
So for full backups using NVEnc you will find under 'Settings->Encoder Settings' the options 'One Pass (CQM) Encoding' (quality based) and 'One Pass (VBR) Encoding' (bitrate based acc. target size). In the case of NVEnc you have to select one of these. You can't disable both to invoke the classic 2-pass encoding as you could for x264/x265. It will however internally trigger '2-passes' as per NVIDIA's per frame definition.
Sorry to have caused some confusion.

Added:
See the discussion around here:
https://forum.doom9.org/showthread.p...54#post1918354
Great, Thanks for the clarification!

//LD
LowDead 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 19:28.


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