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 |
|
|
#32281 | Link |
|
Starfish
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 |
|
|
|
|
|
#32282 | Link | |
|
Registered User
Join Date: Aug 2005
Posts: 1,389
|
Quote:
TWEAK_PASS_TWO=--ref 4 --deblock -2:-2 --psy-rd 1.00:0.25 --me hex --subme 6 I hope that helps... |
|
|
|
|
|
|
#32283 | Link |
|
Starfish
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 |
|
|
|
|
|
#32284 | Link |
|
Moderator
![]() Join Date: Oct 2001
Posts: 21,164
|
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 |
|
|
|
|
|
#32285 | Link |
|
Starfish
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 |
|
|
|
|
|
#32287 | Link |
|
Moderator
![]() Join Date: Oct 2001
Posts: 21,164
|
It uses the settings that are current at the point you add the job to the queue.
__________________
jdobbs.softworks@gmail.com |
|
|
|
|
|
#32289 | Link |
|
Starfish
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 ========================== |
|
|
|
|
|
#32290 | Link |
|
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. |
|
|
|
|
|
#32292 | Link |
|
Starfish
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 |
|
|
|
|
|
#32293 | Link |
|
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. |
|
|
|
|
|
#32295 | Link | |
|
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:
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|