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 4th January 2025, 21:32   #32101  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 21,108
Quote:
Originally Posted by MrVideo View Post
I want BDRB to read in a disc and not re-encode any of the videos it will end up keeping. The following is in the config:
Code:
FORCE_NOENCODE=1
FORCE-ENCODE=0
Yet, BDRB goes ahead and encodes anyway. Is there something else that needs to be set?
As gonca said, the correct setting is FORCE_ENCODE=0

Things that will override FORCE_NOENCODE:

- Having filters set -- it can't process filters without reencoding.
- Setting a forced CRF value with FIXED_CRF=nn
- Running in ARCHIVE mode
- Having FORCE_ENCODE=1 set
- Output of non-UHD source to UHD format
- The source was an HEVC archive created by BD-RB

And, of course, the source video must be legal.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 5th January 2025 at 17:14.
jdobbs is offline   Reply With Quote
Old 5th January 2025, 03:33   #32102  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,208
Quote:
Originally Posted by gonca View Post
Try FORCE_ENCODE=0
If this doesn't work then post the log
Thanks. No idea how the config file had the wrong character. It has been that way for ages. I'll be testing it later.
MrVideo is offline   Reply With Quote
Old 5th January 2025, 04:24   #32103  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,208
No encode still encoded

Unfortunately, it still tried to encode:
Code:
[01/04/25] BD Rebuilder v0.62.11
[20:44:29] Source:  LOST_IN_SPACE-S1-D1
  - Input BD size: 22.63 GB
  - Approximate total content: [04:42:36.272]
  - Target BD size: 22.95 GB
  - Windows Version: 6.1 [7601]
  - AVS Filtering is enabled
  - Quality: High Quality (Default), 1-Pass VBR
  - UHD-BD source detected.
  - Decoding/Frame serving: NVENCC
  - Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[20:44:37] PHASE ONE, Encoding
 - [20:44:37] Processing: VID_00001 (1 of 5)
 - [20:44:37] Extracting A/V streams [VID_00001]
 - [20:46:11] Reencoding video [VID_00001]
   - Source Video: HEVC, 3840x2160
   - Rate/Length: 23.976fps, 90,281 frames
   - Bitrate: 9,845 Kbs
 - [20:46:11] Reencoding: VID_00001, Pass 1 of 1
[20:46:12] - Failed video encode, aborted
Code:
[Options]
VERSION=0.62.0.11
ENCODER=1
MODE=0
TARGET_SIZE=23500
AUTO_BURN=0
AUDIO_TO_KEEP=eng;
SUBS_TO_KEEP=eng;
SD_CONVERT=0
OPEN_GOP=0
RESIZE_1080=0
RESIZE_1440=0
RESIZE_720=0
DEINTERLACE=0
SD_TO_1080=0
IGNORE_3D=1
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=0
REMOVE_OUTPUT=0
USE_FILTERS=1
BDMV_CERT_ONLY=0
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
MENU_BACKGROUND=F:\BD-Rebuilder\Lost_in_Space\Lost_In_Space-BD-bkg-S1-D1.jpg
MENU_AUDIO=F:\BD-Rebuilder\Lost_in_Space\Lost_in_Space-S1-closingtheme.ac3
IMPORT_THRESHOLD=0
QUICK_PLAY_THRESHOLD=0
MENU_AUTO_BACKGROUND=0
MENU_AUTO_DVDAUDIO=1
MENU_FORCE_QUICK=1
MENU_PLAY_SEQUENTIAL=0
MENU_START_WITH_MENU=1
IMPORT_LIMIT_LANG=0
IMPORT_KEEP_PLAYALL=0
IMPORT_VFR_SCAN=0
FORCE_NOENCODE=1
MENU_FONT=Century Gothic
MENU_FONT_BOLD=1
MENU_FONT_ITALIC=0
MENU_HORIZONTAL=320
MENU_VERTICAL=700
MENU_ACTIVE_COLOR=0xF6DC95
MENU_CUSTOM_COLOR=
MENU_INACTIVE_COLOR=0xFBB902
MENU_BACKDROP_OPACITY=0
MENU_ROLLOVER=1
MENU_ITEMS_PAGE=10
ENCODE_QUALITY=2
ONEPASS_ENCODING=0
AUTO_QUALITY=0
IMPORT_VFR_FILM=0
IMPORT_PREPARE_MKV=0
NVENC_CAPABLE=1
UHD_CONVERT_ENABLE=0
UHD_V3_MODE=1
FORCE_ENCODE=0
AVSFilter01=addborders(0,120,0,120)
[Paths]
WORKING_PATH=F:\BD-REBUILDER\WORK\
SOURCE_PATH=F:\BD-REBUILDER\LOST_IN_SPACE\LIS-S1-D1-TEST\
DGIndexNV=C:\Program Files (x86)\DGAVCDecNV\DGIndexNV.exe
DGDecNV=C:\Program Files (x86)\DGAVCDecNV\DGDecodeNV.dll
[Batch]
MAIN_MPLS=00002.MPLS
MAIN_MPLS_ANGLE=0
FORCED_SUB=0
FORCED_AUD=0
AUDIO=11
SUBS=1111
I do not care that the encoding failed, as I don't want it to encode.

I wondered if "USE_FILTERS=1" might have caused it to re-encode. Nope, setting it to zero only caused the re-encode not to fail.
MrVideo is offline   Reply With Quote
Old 5th January 2025, 11:44   #32104  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,252
Code:
[01/04/25] BD Rebuilder v0.62.11
[20:44:29] Source:  LOST_IN_SPACE-S1-D1
  - Input BD size: 22.63 GB
  - Approximate total content: [04:42:36.272]
  - Target BD size: 22.95 GB
  - Windows Version: 6.1 [7601]
  - AVS Filtering is enabled
  - Quality: High Quality (Default), 1-Pass VBR
  - UHD-BD source detected.
  - Decoding/Frame serving: NVENCC
  - Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[20:44:37] PHASE ONE, Encoding
 - [20:44:37] Processing: VID_00001 (1 of 5)
 - [20:44:37] Extracting A/V streams [VID_00001]
 - [20:46:11] Reencoding video [VID_00001]
   - Source Video: HEVC, 3840x2160
   - Rate/Length: 23.976fps, 90,281 frames
   - Bitrate: 9,845 Kbs
 - [20:46:11] Reencoding: VID_00001, Pass 1 of 1
[20:46:12] - Failed video encode, aborted
The red line (AVS Filtering) overrides No Encode.
To use filters you must re-encode
Disable AVS Filtering
One more thing
HEVC sources are always encoded as per jdobbs.
(see post before yours)

Where is Lathe when you don't need him?

Last edited by gonca; 5th January 2025 at 11:48.
gonca is offline   Reply With Quote
Old 5th January 2025, 16:48   #32105  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 21,108
Quote:
Originally Posted by gonca View Post
Code:
[01/04/25] BD Rebuilder v0.62.11
[20:44:29] Source:  LOST_IN_SPACE-S1-D1
  - Input BD size: 22.63 GB
  - Approximate total content: [04:42:36.272]
  - Target BD size: 22.95 GB
  - Windows Version: 6.1 [7601]
  - AVS Filtering is enabled
  - Quality: High Quality (Default), 1-Pass VBR
  - UHD-BD source detected.
  - Decoding/Frame serving: NVENCC
  - Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[20:44:37] PHASE ONE, Encoding
 - [20:44:37] Processing: VID_00001 (1 of 5)
 - [20:44:37] Extracting A/V streams [VID_00001]
 - [20:46:11] Reencoding video [VID_00001]
   - Source Video: HEVC, 3840x2160
   - Rate/Length: 23.976fps, 90,281 frames
   - Bitrate: 9,845 Kbs
 - [20:46:11] Reencoding: VID_00001, Pass 1 of 1
[20:46:12] - Failed video encode, aborted
The red line (AVS Filtering) overrides No Encode.
To use filters you must re-encode
Disable AVS Filtering
One more thing
HEVC sources are always encoded as per jdobbs.
(see post before yours)

Where is Lathe when you don't need him?
Yep. Filtering. The filters are included in the AVS file -- so you can't apply them without encoding. I misspoke about HEVC (I just looked at the code again). The HEVC restriction only applies when the source was an HEVC archive or if you are attempting to backup a non-UHD source to UHD format (sorry about throwing more confusion into an already confusing topic).
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 5th January 2025 at 17:15.
jdobbs is offline   Reply With Quote
Old 6th January 2025, 08:51   #32106  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,208
Quote:
Originally Posted by gonca View Post
HEVC sources are always encoded as per jdobbs.
(see post before yours)
I didn't see the jdobbs post before I did mine.

I'll have to rework my plans. Thanks guys.
MrVideo is offline   Reply With Quote
Old 6th January 2025, 15:59   #32107  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 21,108
Quote:
Originally Posted by MrVideo View Post
I didn't see the jdobbs post before I did mine.

I'll have to rework my plans. Thanks guys.
Note my last post (just above yours).
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 6th January 2025, 21:28   #32108  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,208
Quote:
Originally Posted by jdobbs View Post
Note my last post (just above yours).
Re-reading it: the source for the project is a UHD BDRB created folder with HEVC MKV videos that have DD+ ATMOS audio. Yes, the initial run resulted in the DD being recoded. I then ran the newer TSMuxer to rebuild the M2TS files with the original audio. That folder was then run thru BDRB to repackage the UHD formatted layout to make sure that the disc I would then create would play. The initially created folder fits within a 25GB disc. But, BDRB wan't to recode it, no matter what. The log even says reports "UHD-BD source detected."

After doing the above posting I started the reworking of the project by using the original MKV files, which I originally recoded to fit within 25GB. I did some work to update/add chapter marks. After doing the work I mentioned above, I then hauled that UHD-BD layout into BDRB to let it do the recoding so that the project fits within a 25GB disc. But, I ran into a problem. BDRB errored out. Turns out I not only needed to replace the tsmuxer.exe file in tools, but the tsmuxer4k.exe as well. I have two version of BDRB installed, one original and the other new. Can't remux DD+ audio with the older tsmuxer. Of course, with the newer tsmuxer the demuxing creates audio and subtitle files with file name that BDRB was not expecting. Therefore, BDRB fails during the recoding. I then rename the files back to what is expected and resume the job. I have to babysit the job for each of the videos within the project. It would be nice (begging) if BDRB would use the newer tsmuxer so that it would handle DD+ audio. Yes, I know, coreless DD+ is not compliant. But, if tsmuxer will created UHD disc folders with coreless DD+, why not BDRB?

Way back when, BDRB initially had issues figuring out what bitrate to use to make everything fit because the TrueHD-MA audio streams weren't seen and not included in the overall size, resulting in my manually setting disc size. As the job is in progress as I write this, I don't know if BDRB will create a UHD-BD folder that will fit the 25GB disc. [...] The job is now finished and it fits! Burning disc now and will test later.

Frankly, I don't even know what archive mode is, as I've never set anything to do that.

If I read your posting correctly, what I am doing doesn't fit your requirement for recoding, i.e., if the sourced UHD-BD folder will already fit a disc.
MrVideo is offline   Reply With Quote
Old 6th January 2025, 22:11   #32109  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,208
Well, that was a bust. Letting BDRB do everything, i.e., taking the initial oversized UHD-BD and recode everything to fit 25GB failed to play. The menu plays just fine, but when I select an episode from the menu, the player goes back to the player's main menu. But, the initial UHD-BD disc that I created with the manually recoded videos and remuxed audio, plays just fine. I'm totally confused now.
MrVideo is offline   Reply With Quote
Old 8th January 2025, 14:37   #32110  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,208
There is a workaround to this issue, although having BDRB do the whole thing from beginning to end would save a boat-load of work.

There is work outside of BDRB that needs to be done for this particular job and that is creating chapter marks and turning on the force flag for those foreign language translation subtitles.

The first thing that needs to be done is to recode the videos so that they will fit on a BD25. That, unfortunately, is trial and error.

Second is to import the videos that will be placed on a disc into BDRB. No need to use a modified BDRB installation that has the newer tsmuxer. BDRB will recode the DD+ audio streams, no matter what.

Third, the original DD+ audio streams need to be remuxed into the newly created M2TS files, replacing the DD with DD+. In this case, the latest overnight build of tsmuxer must be used.

The UHD-BD layout can then be burned to disc. Even though the audio streams are replaced, the configuration of the disc is not affected by the replaced audio and will play just fine. Your UHD hardware player must be able to play coreless DD+ audio (mine does).

Lastly, to make things complete, the UHD beta version of BDEdit should be used to change the audio type of each of the playlists from DD to DD+. The disc will play fine without doing this change. At least it does for me.
MrVideo is offline   Reply With Quote
Old 9th January 2025, 07:26   #32111  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,208
Skipping recode but keeping the video

When I browse for a BD layout for doing a backup, it contains a bunch of short 1 second files. Various playlists are using them to add 1 sec of black to the end, which also creates a chapter point to jump to in order to skip to the end. Why they didn't add 1 sec of black to the main file and just chapter mark it is beyond me.

How do I tell BDRB to skip those files, but keep them in the final result? I have the following set:
Code:
IMPORT_THRESHOLD=2
QUICK_PLAY_THRESHOLD=2
But, if I understand it correctly, matching that should not recode those M2TS files and instead just copy them in the backup.

There are files missing from the list that are longer than 2 minutes. One of them is a special feature file of still images, yet BDRB isn't going to recode it.

BDRB fails early on in the backup with a 720p/59.94 video in which the encoder did 30 frames, but expected 60.

Right before this one, I did a UHD backup and it only contains 2160p and 1080p videos. It did skip a bunch of files, but what was weird is that it didn't skip files that were in the 18 KB range. Those got recoded to the 24 KB range. Five videos that were larger than that were skipped. Weird.

I guess I do not know what the rules are for skipping files for recoding.

Thanks for any pointers.

Last edited by MrVideo; 9th January 2025 at 07:39. Reason: New info
MrVideo is offline   Reply With Quote
Old 10th January 2025, 23:15   #32112  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,208
@jdobbs No comment on how BDRB determines on what it does, or doesn't, recode during a backup?
MrVideo is offline   Reply With Quote
Old 11th January 2025, 00:28   #32113  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 21,108
Quote:
Originally Posted by MrVideo View Post
@jdobbs No comment on how BDRB determines on what it does, or doesn't, recode during a backup?
With default settings, BD-RB checks size and length if all playlists, and skips reencoding if they are small. You can set the size used for that check with these two parameters (see HIDDENOPTS.TXT):

MIN_M2TS_SIZE=n (n=100 is the default)
MIN_PLAYLIST_MINS=n (n=15 is the default)

If you want to encode everything, you should set each option to 0

By default BD-RB doesn't reencode menus unless it is required for some reason. So if you want menus to be reencoded, you can do so by adding this hidden opt:

REENCODE_MENUS=1
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 11th January 2025 at 00:32.
jdobbs is offline   Reply With Quote
Old 11th January 2025, 01:48   #32114  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,208
Quote:
Originally Posted by jdobbs View Post
With default settings, BD-RB checks size and length if all playlists, and skips reencoding if they are small. You can set the size used for that check with these two parameters (see HIDDENOPTS.TXT):

MIN_M2TS_SIZE=n (n=100 is the default)
MIN_PLAYLIST_MINS=n (n=15 is the default)
According to HIDDENOPTS.TXT, MIN_PLAYLIST_MINS only comes into play with movie only mode, so that one can be ignored for disc backups.

I'll have to try something and report back.

REPORTING BACK: I set MIN_M2TS_SIZE=10 and it left a bunch of files that are < 1 MB on the list to be processed. Come to think of it, the default of 100 left those same < 1 MB files on the list. No clue as to what it takes to remove files < 10 MB.

Last edited by MrVideo; 11th January 2025 at 05:01.
MrVideo is offline   Reply With Quote
Old 11th January 2025, 16:45   #32115  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 21,108
Quote:
Originally Posted by MrVideo View Post
According to HIDDENOPTS.TXT, MIN_PLAYLIST_MINS only comes into play with movie only mode, so that one can be ignored for disc backups.

I'll have to try something and report back.

REPORTING BACK: I set MIN_M2TS_SIZE=10 and it left a bunch of files that are < 1 MB on the list to be processed. Come to think of it, the default of 100 left those same < 1 MB files on the list. No clue as to what it takes to remove files < 10 MB.
Setting MIN_M2TS_SIZE=0 doesn't encode them?
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 11th January 2025, 19:33   #32116  |  Link
Grimes
Registered User
 
Join Date: Apr 2017
Posts: 1
Hi. I have the latest version of avisynth and my inspect shows that it is not recommended. Is this a problem?

[01.11.25] Checking System Settings
- BD-Rebuilder v0.62.12
- Windows Version: 6.2 [9200]
- Working Path Free Space: 1 384,26GB
- AVISYNTH Version: 3.7.3.0, not recommended version
- LAVFILTERS: Ok
- AnyDVD Remove Short Titles: Incompatible
- AnyDVD Remove Annoying Adverts: Incompatible
- X264: Ok
- X265: Ok
- AFTEN: Ok
- FAAC: Ok
- MP4BOX: Ok
- WAVI: Ok
- TSMUXER: Ok
- FRIMEncode: Ok
- FRIMDecode: Ok
[01.11.25] Systems Settings Check complete
Grimes is offline   Reply With Quote
Old 11th January 2025, 22:16   #32117  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 21,108
Quote:
Originally Posted by Grimes View Post
Hi. I have the latest version of avisynth and my inspect shows that it is not recommended. Is this a problem?

[01.11.25] Checking System Settings
- BD-Rebuilder v0.62.12
- Windows Version: 6.2 [9200]
- Working Path Free Space: 1 384,26GB
- AVISYNTH Version: 3.7.3.0, not recommended version
- LAVFILTERS: Ok
- AnyDVD Remove Short Titles: Incompatible
- AnyDVD Remove Annoying Adverts: Incompatible
- X264: Ok
- X265: Ok
- AFTEN: Ok
- FAAC: Ok
- MP4BOX: Ok
- WAVI: Ok
- TSMUXER: Ok
- FRIMEncode: Ok
- FRIMDecode: Ok
[01.11.25] Systems Settings Check complete
Sometimes changes cause things to fail. That's telling you that it hasn't been tested with that version. If it works -- then its fine. But if you run into problems, make sure you try going back to the recommended version before reporting anything as a bug.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 12th January 2025, 03:46   #32118  |  Link
MrVideo
Registered User
 
MrVideo's Avatar
 
Join Date: May 2007
Location: Wisconsin
Posts: 2,208
Quote:
Originally Posted by jdobbs View Post
Setting MIN_M2TS_SIZE=0 doesn't encode them?
Nope. A 1,146 KB file is not in the list, yet a, 18 KB file before it and a 66 KB file after it are on the list. Just for example.
MrVideo is offline   Reply With Quote
Old 12th January 2025, 12:37   #32119  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,252
Are the two files on the list part of a playlist with more files?
gonca is offline   Reply With Quote
Old 12th January 2025, 12:50   #32120  |  Link
musiclover
Registered User
 
Join Date: Jul 2005
Location: The Netherlands
Posts: 217
And is there a menu item on that playlist?
Then REENCODE_MENUS=1 may help.
musiclover 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:58.


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