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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > DVD & BD Rebuilder

Reply
 
Thread Tools Search this Thread Display Modes
Old 17th December 2025, 09:20   #32281  |  Link
FreaQ
Starfish
 
FreaQ's Avatar
 
Join Date: Aug 2004
Posts: 126
I am using BD-Rebuilder with x264 CRF encoding, which works great for me.
But I would like to change the default settings of no-fast-pskip, aq-mode, aq-strength, subme, me & deblock
Is there a way to do this? I did not see anything in the HIDDENOPTS.txt
FreaQ is offline   Reply With Quote
Old 17th December 2025, 09:53   #32282  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,389
Quote:
Originally Posted by FreaQ View Post
I am using BD-Rebuilder with x264 CRF encoding, which works great for me.
But I would like to change the default settings of no-fast-pskip, aq-mode, aq-strength, subme, me & deblock
Is there a way to do this? I did not see anything in the HIDDENOPTS.txt
I don't know about those particular commands, but you can add x264 'Tweaks' to the configuration file like I have for some encodes:

TWEAK_PASS_TWO=--ref 4 --deblock -2:-2 --psy-rd 1.00:0.25 --me hex --subme 6

I hope that helps...
Lathe is offline   Reply With Quote
Old 17th December 2025, 10:14   #32283  |  Link
FreaQ
Starfish
 
FreaQ's Avatar
 
Join Date: Aug 2004
Posts: 126
Thanks. But it looks like the command is for two pass encodes only. I do one pass crf.

In the hiddenopts are following tweaks

TWEAK_PASS_ONE
TWEAK_PASS_TWO
TWEAK_ALTERNATE
TWEAK_ALTERNATE_NV
TWEAK_X265

But none for one pass encoding or x264 only
FreaQ is offline   Reply With Quote
Old 17th December 2025, 14:47   #32284  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 21,164
Quote:
Originally Posted by FreaQ View Post
Thanks. But it looks like the command is for two pass encodes only. I do one pass crf.

In the hiddenopts are following tweaks

TWEAK_PASS_ONE
TWEAK_PASS_TWO
TWEAK_ALTERNATE
TWEAK_ALTERNATE_NV
TWEAK_X265

But none for one pass encoding or x264 only
I admit it sounds a little counterintuitive... but if you do a single pass encode, the values in TWEAK_PASS_TWO are used. I probably should have called it "TWEAK_FINAL_PASS" or something similar -- but it is what it is. You should also know that there are some parameters that BD-RB will filter out (such as settings that would cause the encode to be non-compliant).
__________________
jdobbs.softworks@gmail.com
jdobbs is offline   Reply With Quote
Old 17th December 2025, 16:24   #32285  |  Link
FreaQ
Starfish
 
FreaQ's Avatar
 
Join Date: Aug 2004
Posts: 126
Yes, that's not intuitive at all, but I appreciate the clarification.
Thanks

Also I happened to stumble over the blanking extras feature which is not explained in the hiddenopts.txt. Nevertheless I found the options in this thread. But you should add those to the txt
FreaQ is offline   Reply With Quote
Old 17th December 2025, 19:00   #32286  |  Link
FreaQ
Starfish
 
FreaQ's Avatar
 
Join Date: Aug 2004
Posts: 126
CRF with custom options works. Thanks.

But when I add a job to the queue BDRB uses default two pass encoding instead of the selected CRF encoding which is unfortunate because I want to run the jobs overnight.
FreaQ is offline   Reply With Quote
Old 17th December 2025, 19:57   #32287  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 21,164
Quote:
Originally Posted by FreaQ View Post
CRF with custom options works. Thanks.

But when I add a job to the queue BDRB uses default two pass encoding instead of the selected CRF encoding which is unfortunate because I want to run the jobs overnight.
It uses the settings that are current at the point you add the job to the queue.
__________________
jdobbs.softworks@gmail.com
jdobbs is offline   Reply With Quote
Old 17th December 2025, 20:03   #32288  |  Link
FreaQ
Starfish
 
FreaQ's Avatar
 
Join Date: Aug 2004
Posts: 126
Quote:
Originally Posted by jdobbs View Post
It uses the settings that are current at the point you add the job to the queue.
I assumed that and CRF was set. But it started the two pass anyways. I will try again.
FreaQ is offline   Reply With Quote
Old 17th December 2025, 20:50   #32289  |  Link
FreaQ
Starfish
 
FreaQ's Avatar
 
Join Date: Aug 2004
Posts: 126
Nope doesn't work.

Even so I explicitly set it to CRF in the GUI, BDRB startet a two pass encode

Code:
[Options]
VERSION=0.62.0.16
ENCODER=0
MODE=0
ENCODE_QUALITY=2
ONEPASS_ENCODING=1
AUTO_QUALITY=0
TARGET_SIZE=47366
NVENC_CAPABLE=1
AUDIO_TO_KEEP=deu;eng;ger;
SUBS_TO_KEEP=deu;eng;ger;
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=2
AVCHD=1
REMOVE_WORKFILES=1
REMOVE_OUTPUT=1
USE_FILTERS=0
BDMV_CERT_ONLY=1
IVTC_PULLDOWN=0
ASSUME_DVD_PAL=0
FRIMSOURCE=0
COMPLETION_BEEP=0
OUTPUT_SBS=0
NEROAAC=0
SUPTITLE=0
PGSTOSRT=0
AUDIO_TRACK_LIMIT=0
SUBTITLE_TRACK_LIMIT=0
CUSTOM_TARGET_SIZE=23500
FORCE_ENCODE=1
FIXED_CRF=19
ENABLE_BLANKING=1
ENABLE_TEST=1
TWEAK_PASS_TWO=--no-fast-pskip --aq-mode 3 --aq-strength 0.7 --subme 9 --me umh --deblock -3:-3
MIN_M2TS_SIZE=1
[Paths]
SOURCE_PATH=c:\path\to\iso
WORKING_PATH=c:\path\to\workdir
[Batch]
MAIN_MPLS=00102.MPLS
MAIN_MPLS_ANGLE=0
FORCED_SUB=0
FORCED_AUD=0
AUDIO=1001001100100111111111111111111111
SUBS=110010000000000001100100000000000011001001100100110010011001001100100110010011001001100100110010011001001100100110010011001001100100
BLANKED=0000111111111111111111
Code:
==========================
[20:42:44] BD Rebuilder v0.62.16
[20:42:44] BEGIN - BATCH SEQUENCE
==========================
-----------------------
[20:42:44] PROCESSING BATCH FILE [1]
----------------------
[12.17.25] BD Rebuilder v0.62.16
[20:42:44] Source:  DISC
  - Input BD size: 37,16 GB
  - Approximate total content: [02:43:10.004]
  - Target BD size: 46,26 GB
  - Windows Version: 6.2 [9200]
  - Quality: High Quality (Default), Two Pass
  - X264 Tweak(s) enabled
  - Decoding/Frame serving: X264/LAVF
  - Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[20:42:44] PHASE ONE, Encoding
 - [20:42:44] Processing: VID_00002 (1 of 22)
 - [20:42:44] Extracting A/V streams [VID_00002]
 - [20:43:09] Reencoding video [VID_00002]
   - Source Video: MPEG-4 (AVC), 1920x1080
   - Rate/Length: 23,976fps, 75.216 frames
   - Bitrate: 31.174 Kbs
 - [20:43:09] Reencoding: VID_00002, Pass 1 of 2
[20:43:18]PHASE ONE aborted by user request
[20:43:18] BATCH ABORTED... 
==========================
[20:43:18] END - BATCH SEQUENCE
==========================
FreaQ is offline   Reply With Quote
Old 18th December 2025, 16:03   #32290  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 21,164
I just tested it. I set the output to X264 and CRF, and then added two jobs to the queue. They both encoded in a single pass using CRF.

I'm not sure what you may be doing differently.

[Edit] Ok. I just noticed that you are using LAVF as the decoder. If I set the decoder to LAVF I am also getting two passes. It's doing that because you can't enable CRF with LAVF (DECODER=2) in BD-RB (it's been a while and I can't remember why), and it defaults back to two pass. I have comments in my code that say "you can't enable CRF with LAVF". You can set it to single pass with a VBR bitrate and it works in the queue (because it isn't disabled like CRF). If you want to do CRF, just set DECODER=0 in your INI file and CRF will become available again on the ENCODE SETTINGS menu (it becomes disabled when you set DECODER=2 or 4).

[Edit 2] Just remembered why... when using CRF in making a BD you have to perform predictions using samples to make sure that the CRF used will result in a file that will fit on the disc. You can't do that when using X264's internal LAVF to feed the frames for encoding.
__________________
jdobbs.softworks@gmail.com

Last edited by jdobbs; 19th December 2025 at 15:06.
jdobbs is offline   Reply With Quote
Old 18th December 2025, 19:28   #32291  |  Link
FreaQ
Starfish
 
FreaQ's Avatar
 
Join Date: Aug 2004
Posts: 126
Thanks for the explanation.
Changed the decoder to DGDecNV and it works with CRF in Batch.
FreaQ is offline   Reply With Quote
Old 23rd December 2025, 12:58   #32292  |  Link
FreaQ
Starfish
 
FreaQ's Avatar
 
Join Date: Aug 2004
Posts: 126
Another problem when I try to encode a BD with a secondary audio track.

Happens with DECODER=3 and DECODER=0

Code:
----------------------
[12.23.25] BD Rebuilder v0.62.16
[11:41:49] Source: 
  - Input BD size: 41,00 GB
  - Approximate total content: [04:34:03.844]
  - Target BD size: 46,26 GB
  - Windows Version: 6.2 [9200]
  - Quality: High Quality (Default), CRF
  - X264 Tweak(s) enabled
  - Decoding/Frame serving: X264/LAVF
  - Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[11:41:51] PHASE ONE, Encoding
 - [11:41:51] Processing: VID_00001 (1 of 14)
 - [11:41:51] Extracting A/V streams [VID_00001]
 - [11:42:49] Reencoding video [VID_00001]
 - [11:42:49] Reencoding secondary video [TRK_02]
   - Source Video: MPEG-4 (AVC), 1920x1080
   - Rate/Length: 23,976fps, 116.731 frames
 - [11:47:50] Encoding using constant rate factor.
 - [12:46:19] Video Encode complete
 - [12:46:19] Processing audio tracks
   - Track 4352 (eng): Keeping original audio
   - Track 4353 (deu): Keeping original audio
   - Track 4356 (eng): Keeping original audio
   - Track 4357 (eng): Keeping original audio
   - Track 6656 (eng): Keeping original audio
 - [12:46:19] Multiplexing M2TS
 - [12:46:36] Processing: VID_00002 (2 of 14)
 - [12:46:36] Extracting A/V streams [VID_00002]
  - TSMUXER ERR: 0xFFFFFFFE
   - Extracting video streams [VID_00002]
   - Extracting secondary video [VID_00002]
   - Extracting audio/subtitle streams [VID_00002]
 - [12:46:53] Reencoding video [VID_00002]
 - [12:46:53] Reencoding secondary video [TRK_02]
   - Source Video: MPEG-4 (AVC), 1920x1080
   - Rate/Length: 23,976fps, 3.531 frames
 - [12:46:53] Encoding using constant rate factor.
 - [12:48:37] Video Encode complete
 - [12:48:37] Processing audio tracks
   - Track 4352 (eng): Keeping original audio
   - Track 4353 (deu): Keeping original audio
   - Track 4356 (eng): Keeping original audio
   - Track 4357 (eng): Keeping original audio
   - Track 6656 (eng): Keeping original audio
 - [12:48:37] Multiplexing M2TS
 - [12:48:42] Processing: VID_00003 (3 of 14)
 - [12:48:42] Extracting A/V streams [VID_00003]
  - TSMUXER ERR: 0xFFFFFFFE
   - Extracting video streams [VID_00003]
   - Extracting secondary video [VID_00003]
   - Extracting audio/subtitle streams [VID_00003]
  - TSMUXER ERR: 0xFFFFFFFE
 - Reading buffer overflow. Possible container streams are not syncronized. Please, verify stream fps. File name: C:\VIDEO\BDMV\STREAM\00003.m2ts
   - Extracting audio streams [VID_00003]
  - TSMUXER ERR: 0xFFFFFFFE
 - Error in attempt to extract audio.
 - Reading buffer overflow. Possible container streams are not syncronized. Please, verify stream fps. File name: C:\VIDEO\BDMV\STREAM\00003.m2ts
 - Reading buffer overflow. Possible container streams are not syncronized. Please, verify stream fps. File name: C:\VIDEO\RIPS\BDMV\STREAM\00003.m2ts
[12:49:30] - Failed to retrieve audio, aborted
FreaQ is offline   Reply With Quote
Old 23rd December 2025, 15:47   #32293  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 21,164
That kinda' looks like a source that has issues or is corrupt... but just to see if it makes a difference, add the following to the "[Options]" area of your INI:

ENABLE_NEW_TSMUXER=0

That way it will try the older TSMUXER. You never know...
__________________
jdobbs.softworks@gmail.com

Last edited by jdobbs; 23rd December 2025 at 15:50.
jdobbs is offline   Reply With Quote
Old 23rd December 2025, 19:07   #32294  |  Link
FreaQ
Starfish
 
FreaQ's Avatar
 
Join Date: Aug 2004
Posts: 126
Didn't help. I will try to rerip.
FreaQ is offline   Reply With Quote
Old 27th December 2025, 17:46   #32295  |  Link
Ch3vr0n
Registered User
 
Join Date: Jan 2009
Posts: 1,374
Just had my 1st BD in a long time that would fail to process with Elby's CloneBD, luckily i still remembered this tool and it worked. Found an old backup of a config file. Are any of these no longer in use? Been a long time since i had to use this so there have been lots of things i need to update my knowledge on.

Quote:
[Options]
VERSION=0.62.0.16
ENCODER=1
MODE=0
ENCODE_QUALITY=0
ONEPASS_ENCODING=2
AUTO_QUALITY=1
TARGET_SIZE=23500
AUTO_BURN=2
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=37
ALTCRF=23
ALT_TARGET=8600
ALT_CRF_TARGET=2048
ALTMETHOD=2
ALTAUTOCROP=0
FRIMSOURCE=0
NVENC_CAPABLE=1

[Paths]
SOURCE_PATH=J:\<snip>\
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=J:\Blu-ray\Encodes\BDRB\
I first grabbed the latest DGDecNV but it doesn't supply 32bit binaries. Is there any way to get BDRB to use the latest or are we "stuck" with 2.51 which is the last one that has 32 bit binaries? Should DGDecNV even be used at all anymore? Is there anything new i need to be made aware of in terms of experimental/improved settings? I wasn't shy of experimental options last time i used it.
Ch3vr0n is offline   Reply With Quote
Old 27th December 2025, 19:49   #32296  |  Link
Columbo
Donor
 
Join Date: Sep 2025
Location: Chi-town
Posts: 107
Doesn't BD Rebuilder support 64-bit operations? I'd be surprised if not. Otherwise, why do you need 32-bit DGDecNV? Will help if we can.
Columbo is offline   Reply With Quote
Old 27th December 2025, 21:17   #32297  |  Link
Ch3vr0n
Registered User
 
Join Date: Jan 2009
Posts: 1,374
That's not the point. BDRB does yes, however when using DGDecNV it always has prompted for the 32bit DGDecNV executable. Don't confuse this with the 64bit brdb.exe
Ch3vr0n is offline   Reply With Quote
Old 28th December 2025, 13:11   #32298  |  Link
Columbo
Donor
 
Join Date: Sep 2025
Location: Chi-town
Posts: 107
Well then, BDRB needs to be updated.
Columbo is offline   Reply With Quote
Old 28th December 2025, 14:39   #32299  |  Link
Ch3vr0n
Registered User
 
Join Date: Jan 2009
Posts: 1,374
Which is what i'd like to know, if that's going to happen. Last i know for the years bdrb has supported dgdecnv there was some kind of issue with 64bit dgdecnv. No clue if thats still the case @jdobss
Ch3vr0n is offline   Reply With Quote
Old 28th December 2025, 16:23   #32300  |  Link
Columbo
Donor
 
Join Date: Sep 2025
Location: Chi-town
Posts: 107
Happy to help with any issues incorporating DGDecNV 64-bit.
Columbo 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 05:25.


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