View Full Version : BD Rebuilder Beta - Bug Reports Only
jdobbs
2nd May 2022, 23:41
My BD player has no problem with these files authored onto BDs.Players will do all kinds of things that they weren't supposed to
...until they don't.
MrVideo
3rd May 2022, 01:06
So true.
jdobbs
6th May 2022, 20:26
I'm looking at making a change so that if the video entry is empty, BD-RB will gather info from the DV entry. It shouldn't have to... but this wouldn't be the first time BD-RB did something it shouldn't have to.
[edit] Ughh... I just looked at the code and this isn't going to be as easy as I'd hoped. Oh well...
MrVideo
6th May 2022, 23:15
[edit] Ughh... I just looked at the code and this isn't going to be as easy as I'd hoped. Oh well...
But, it will be greatly appreciated.
Ch3vr0n
7th May 2022, 15:41
Somehow, two of my DNS record's IP addresses were changed and they weren't changed by me. I've changed them back, but it will take a wee bit for the change to spread.
Then you possibly may have been subject do DNS poisoning or an unauthorized change. Maybe look into DNSSec on your provider level
MrVideo
7th May 2022, 22:31
I suspect it is something that I did. Hover is my domain name holder. I seriously doubt that they got hacked. Plus, only 2 of the 5 entries was incorrect. And, it wasn't a random IP address pointing to a nefarious location.
jdobbs
8th May 2022, 21:46
@MrVideo
Can you tell me how you create a structure that will cause the error you mentioned (DV has an entry but VID doesn't)? Here's what I did:
1. Use MKVMERGE to create an MKV file from an M2TS that has DV.
2. Use TSMUXER (UHD Version) to create a UHD/BD structure from the MKV file.
When I do it, it seems to create the structure fine, and I don't get the error.
jdobbs
If you use MakeMKV and then create the BD structure with tsMuxeR you will get DV info only
EDIT
see my post above
jdobbs
8th May 2022, 23:47
jdobbs
If you use MakeMKV and then create the BD structure with tsMuxeR you will get DV info only
EDIT
see my post aboveOh. I see. It requires that the MKV be created by MakeMKV. Interesting. If I use MKVMERGE, it creates an MKV with two video tracks which imports fine into an UHD-BD structure.
jdobbs
9th May 2022, 00:57
jdobbs
If you use MakeMKV and then create the BD structure with tsMuxeR you will get DV info only
EDIT
see my post aboveSo the question would be... why take this circuitous route of creating a movie-only BD structure anyway? To run into this problem you have to:
1. Use MAKEMKV to decrypt/create an MKV from the original disc.
2. Use TSMUXER to create a BD structure from the MKV.
3. Use BD-Rebuilder to create a Movie-Only version that is smaller.
Why not just:
1. Use MAKEMKV to decrypt/copy the BD structure to your hard drive.
2. Use BD-Rebuilder to create a Movie-Only version that is smaller.
If you also want an MKV, BD Rebuilder can do that for you too.
Am I missing something?
I believe that your question should be directed at MrVideo
I was just trying to figure out how he got the weird structure.
He mentioned MKV and DV so I tried the 2 most common ways of creating a MKV
Me, I decrypt to a folder structure and then compress and remux to a folder structure.
Real simple
Personally, I think that if someone creates one of these invalid structures they should fix it before inputting it to BD_RB
jdobbs
9th May 2022, 19:30
I believe that your question should be directed at MrVideo
I was just trying to figure out how he got the weird structure.
He mentioned MKV and DV so I tried the 2 most common ways of creating a MKV
Me, I decrypt to a folder structure and then compress and remux to a folder structure.
Real simple
Personally, I think that if someone creates one of these invalid structures they should fix it before inputting it to BD_RBAgreed. Sorry, I wasn't aiming the response at you, only responding to the context. It sounds to me like MrVideo's issue is being created by MAKEMKV. That doesn't mean it is doing anything wrong... since the MKV seems to be compliant. It just makes it difficult to then reintegrate into a BD structure.
I wonder if the MKV created by MKVMERGE actually plays back as DV (with two streams, one of which only holds the DV extensions)?
SeeMoreDigital
9th May 2022, 20:35
jdobbs
If you use MakeMKV and then create the BD structure with tsMuxeR you will get DV info only
EDIT
see my post aboveHowever, if you use MakeMKV in 'Backup' mode and then drop the largest .m2ts file into MKVmerge, you get both video streams (including MEL/FEL Dolby Vision) that TSmuxer is able to mux perfectly ;)
However, if you use MakeMKV in 'Backup' mode and then drop the largest .m2ts file into MKVmerge, you get both video streams (including MEL/FEL Dolby Vision) that TSmuxer is able to mux perfectly ;)
Agreed, but I would use the proper mpls
But this was trying to figure out how that MKV was obtained
Realistically
Decrypt to full folder with Makemkv
Input folder into BD_RB
Simpler approach to what is being attempted
(AND NOT by me)
jdobbs
10th May 2022, 21:53
I'm still going to make the update so it pulls the data from the DV entry when the VID entry is empty. You never know when you might run into a UHD MKV that someone else created with MAKEMKV.
jdobbs
11th May 2022, 16:58
I have updated the first post of this thread with a link to the latest version of BD Rebuilder (v0.61.28). Changes for this release: - Added code to ensure that forced subtitles
found in imported video files are also
flagged as forced in ALTERNATE file output.
- Fixed error where ALTERNATE_KEEP_SRT was
not working for MP4 output.
- Added lookahead to NVENCC command line for
slightly improved quality at a given rate.
- Fixed an error in which audio that must be
encoded could be wrongly kept intact under
certain circumstances.
- Added code to support using SubtitleEdit
to convert PGS to SRT subtitles, it now
converts about 6x faster than BD-RB's
original (internal) routine.
- Fixed an issue that could (very rarely)
cause BD-RB to misinterpret imported
video run length.
- BD-RB's installation folder now includes
Subtitle Edit v3.6.3 which is distributed
under the GNU GENERAL PUBLIC LICENSE, v3.
Note that it is a very useful utility that
can also be run independently of BD-RB as
a Windows application.
- Fixed an error in which importing may
(rarely) cause error exit when using
NVENCC.
- Fixed a source of possible error that
shows as EXIT CODE: -1073741819.
- Added code to adjust for sources that are
improperly formatted and don't include
information for primary video on a DV
source. When it doesn't exist, BD-RB will
look for a DV entry and pull format data
from it.
- Updated version of x264 to v0.164.3075
- Updated version of x265 to v3.5.0.13
- Updated NVENCC to a newer version (v5.41)
- Other minor corrections and cosmetic fixes.
MrVideo
11th May 2022, 22:17
Thanks for the update.
Emulgator
12th May 2022, 00:08
Many thanks for your continued work, jdobbs !
Besides of that I need a little hint:
I wanted to run a quick NVENC Comparison h.264 vs h.265 in BD-RB, but no matter what I tick I can not get h264 from NVEnc.
I keep getting .h265 muxed.
I must have spoilt just one tick, but which ?
If I read the logs I get told which decoder has been fired up at which source, but nothing about encoder and compression,
only "Reencoding: <element> Pass n of m" just how it always was.
Sometimes I wish the dual/triple system of "Setup" "Config" + "Hiddenopts" could be united into one GUI window, one fine day maybe ?
Maybe I should control that through NVENCC Reencoder v0.10.7 ?
I try to conclude something, maybe it is still not that easy to find:
NVENCCRE.INI
VIDEO_CODEC=0 specifies AVC, 1 specifies HEVC
AVC_Q_VALUES specify the 3 quality presets, I chose 28,23,18
tbc...
jdobbs
12th May 2022, 02:32
Many thanks for your continued work, jdobbs !
Besides of that I need a little hint:
I wanted to run a quick NVENC Comparison h.264 vs h.265 in BD-RB, but no matter what I tick I can not get h264 from NVEnc.
I keep getting .h265 muxed.
I must have spoilt just one tick, but which ?
If I read the logs I get told which decoder has been fired up at which source, but nothing about encoder and compression,
only "Reencoding: <element> Pass n of m" just how it always was.
Sometimes I wish the dual/triple system of "Setup" "Config" + "Hiddenopts" could be united into one GUI window, one fine day maybe ?
Maybe I should control that through NVENCC Reencoder v0.10.7 ?
I try to conclude something, maybe it is still not that easy to find:
NVENCCRE.INI
VIDEO_CODEC=0 specifies AVC, 1 specifies HEVC
AVC_Q_VALUES specify the 3 quality presets, I chose 28,23,18
tbc...Is it a UHD source? That might force it to H265. Another setting might be if you select "Convert BD to UHD-BD (HEVC) Format" from the output menu (assuming UHD_CONVERT_ENABLE=1 is set in your INI).
In NVENCCRE you just select which encoder you want to use from the menu.
Emulgator
12th May 2022, 02:50
UHD-BD 10bit HEVC source with DoVi layer, yes.
UHD_CONVERT_ENABLE=0 did not help, I was getting H.265 with this as well.
NVENCCRE did create H.264, and true, it was already implemented in the Output menu,
I had just looked at the .ini first, guessed at the entries and overlooked the nice menu cascading arrows.
I kept UHD resolution, let transcode to H.264 in MKV with all audio kept, giving enough bits CRF 18, came out at 48Mbps.
A quick glance showed very good quality on a 8-bit 100% gamut display, no pixel-peeping yet.
P.S. I think I see now, what I was asking would involve a conversion going 10-bit HDR -> 8-bit SDR
and ATM a non-standard disc would result.
For my limited scope of artifact peeping I didn' have to take care for the resulting shifted luma/chroma response.
RetsimLegin
17th May 2022, 07:46
@jdobbs I have a little puzzle. I have BDRB on two machines. I find that if I take any file with EC3 multichannel audio and import it then
- one one machine it will generate a multi-channel AC3 track
- on the other it will only generate 2 channels (or sometimes one). Never all 5.1.
I just put the newest BDRB version on both. No change. So I guess it must be something external to the folder containing the extracted BDRB zip. The only major hardware difference is a suitable NVidia card in the one that "works". That shouldn't (?) make any difference, right? So I have to guess it's something software external to BDRB that is at play. Any pointers as to where I might look?
EDIT P.S.Actually I just attempted to start a new job with 06128 and found that, whilst it did generate multichannel audio, it refused to select NVENCC on the NVidia equipped machine (unable to confirm compatibility). So I have reverted to 06122 which does work. It's a GeForce GTX1650ti. FYI.
cartman0208
18th May 2022, 14:49
@jdobbs I have a little puzzle. I have BDRB on two machines. I find that if I take any file with EC3 multichannel audio and import it then
- one one machine it will generate a multi-channel AC3 track
- on the other it will only generate 2 channels (or sometimes one). Never all 5.1.
I just put the newest BDRB version on both. No change. So I guess it must be something external to the folder containing the extracted BDRB zip. The only major hardware difference is a suitable NVidia card in the one that "works". That shouldn't (?) make any difference, right? So I have to guess it's something software external to BDRB that is at play. Any pointers as to where I might look?
EDIT P.S.Actually I just attempted to start a new job with 06128 and found that, whilst it did generate multichannel audio, it refused to select NVENCC on the NVidia equipped machine (unable to confirm compatibility). So I have reverted to 06122 which does work. It's a GeForce GTX1650ti. FYI.
Are all the prerequisites (from the very first post) the same version on both machines?
Not sure about the NVENCC ... could be because of the newest version added in the 0.61.28
The 1650ti does not support HEVC B-Frames, might have something to do with that?
MrVideo
18th May 2022, 22:28
The 1650ti does not support HEVC B-Frames, might have something to do with that?
Ya, I have the GTX-1660.
RetsimLegin
19th May 2022, 07:23
Are all the prerequisites (from the very first post) the same version on both machines?
Not sure about the NVENCC ... could be because of the newest version added in the 0.61.28
The 1650ti does not support HEVC B-Frames, might have something to do with that?I'll have to re-check the pre-reqs. As to HEVC - I'm not using that in either case. H264 for output, and the source is the same file in the two cases.
LowDead
22nd May 2022, 17:04
I'll have to re-check the pre-reqs. As to HEVC - I'm not using that in either case. H264 for output, and the source is the same file in the two cases.
maybe you should post the .ini file for both computers?
//LD
RetsimLegin
23rd May 2022, 10:18
@jdobbs I have a little puzzle. I have BDRB on two machines. I find that if I take any file with EC3 multichannel audio and import it then
- one one machine it will generate a multi-channel AC3 track
- on the other it will only generate 2 channels (or sometimes one). Never all 5.1.
Fixed by installing LAV Filters. Thanks for the pointer.
I'll get back to experimenting with 06128 and its seeming unwillingness to allow NVENCC at a future time. Sticking with 06122 for the time being.
cartman0208
23rd May 2022, 14:28
Fixed by installing LAV Filters. Thanks for the pointer.
I'll get back to experimenting with 06128 and its seeming unwillingness to allow NVENCC at a future time. Sticking with 06122 for the time being.
Although not recommended ... have you tried fiddling around with different versions of NVEncC (https://github.com/rigaya/NVEnc/releases) ?
It might not help at all, since only JDobbs knows how the detection feature works...
AmigaFuture
24th May 2022, 02:51
I have updated the first post of this thread with a link to the latest version of BD Rebuilder (v0.61.28). Changes for this release: [Snip]
- BD-RB's installation folder now includes
Subtitle Edit v3.6.3 which is distributed
under the GNU GENERAL PUBLIC LICENSE, v3.
Note that it is a very useful utility that
can also be run independently of BD-RB as
a Windows application.
[Snip!]
Wow, this is great! Much better than the other way. Great idea. This program is pretty powerful.
jdobbs
24th May 2022, 20:29
Fixed by installing LAV Filters. Thanks for the pointer.
I'll get back to experimenting with 06128 and its seeming unwillingness to allow NVENCC at a future time. Sticking with 06122 for the time being.I'm guessing it's a driver thing. Try adding:
NVENC_CAPABLE=1
to the OPTIONS area o your INI file.
That way it will assume you have a compatible card installed (just as if the check came back positive).
RetsimLegin
25th May 2022, 07:21
I'll try that and report back when I get chance. Thx.
Hooman
13th June 2022, 06:36
CURRENT VERSION 0.61.28 (May 11th, 2022)
9. Please DO NOT replace the versions of software included in the BD-RB ZIP with other versions (e.g. replacing the 32 bit X264 with a 64 bit version). In doing so you are very likely creating a self-inflicted injury that will not be addressed as a bug.
Hi, the included NVEnc fails to initiliaze my GPU's Cuda driver but some other/newer/x64 version of that encoder has no proplem initilaizing. Can I replace it?
https://i.ibb.co/pRw6jvK/nvencuda.jpg
jdobbs
13th June 2022, 18:00
As long as it works. But please remember that I haven't tested it with that version... it's possible there may be changes that cause issues. It wouldn't be the first time.
It is less likely to be an issue with NVENCCRE than BD-RB since NVENCC does most of the work with that program.
Hooman
14th June 2022, 06:47
As long as it works. But please remember that I haven't tested it with that version... it's possible there may be changes that cause issues. It wouldn't be the first time.
It is less likely to be an issue with NVENCCRE than BD-RB since NVENCC does most of the work with that program.
Thanks for replying, What is NVENCCRE?
The one encoder that works is NVEncC64.exe(v5.46, x64 architecture) and the file(name)s in its folder are different from the ones in "BD Rebuilder\Tools\NVENC" folder (according to the screenshot).
Could it be a problem with Cuda driver that is only x64 (not working with a 32 bit NVEncC.exe)? If so, is there a 32-bit compatible Cuda driver I should install?
https://i.ibb.co/qp48xZ4/nvenc.jpg
cartman0208
14th June 2022, 11:36
Did you try using the 64bit version renaming the executable to NVEncC.exe?
That way you won't mess up your system with ... drivers.
Lathe
16th June 2022, 06:00
Hello All!
Ummm... for some odd reason when I go to run the recent version of BDRB.exe in the folder, I get a prompt from Windows saying that I don't have permission or something. And then, very mysteriously, the BDRB.exe vanishes!
I have the last version and I don't THINK I'm doing anything differently. Any suggestions?
Thanks!
gonca
16th June 2022, 11:01
Have you tried "Run as Administrator"
cartman0208
17th June 2022, 12:19
Looks almost like a bad case of Antivirus false positive... What antivirus solution do you use?
If you can't remember any and you are on Win10 oder 11, then Windows Defender might have kicked the .exe into quarantine.
musiclover
17th June 2022, 14:00
If you are using Malwarebytes you need to make an exception for BDRB.exe. It sees it as a virus.
Mark_Venture
17th June 2022, 14:31
Didn't Norton/Symatec also have false positive issues in the past?
SquallMX
24th June 2022, 03:27
@jdobbs when re-encoding a UHD Menu with Dolby Vision the keyframe placement is not respected, which is needed for proper compliance.
jdobbs
24th June 2022, 20:21
@jdobbs when re-encoding a UHD Menu with Dolby Vision the keyframe placement is not respected, which is needed for proper compliance.Hmm... I'll take a look at it, but I thought I kept the keyframes consistent for Dolby Vision. I must have missed something.
Hooman
30th June 2022, 08:19
Are BD-rebuilder's 3D .AVC / .MVC workfiles usable in Scenarist BD re-authoring(Base view and dependent view)? I'm encountering errors such as "The MVC scalable nesting SEI message(offset_metadata) is not contain first view component in decoding order of GOP" and/or "SSIF allocation Error, Fail at Condition 5" at muxing.
Hooman
3rd July 2022, 14:49
In-mux is not "supposedly" anything. I know what I'm doing, and when I say it is 100% compliant -- it is 100% compliant. Support is required by the spec -- so if there is a 3D player out there that doesn't support it THE PLAYER IS NOT COMPLIANT. It is used on many commercial discs. Frankly I think the SSIF format is ridiculous (with its faux appearance of two files that really only exists due to exotic use of sector pointers) and can see no good reason why it is used. I think it's just there to make copying difficult.
Can you send me the MPLS of the playlist that is reversed?
PowerDVD (The last version with 3D Blu-ray support and probaly WinDVD as well) + NVidia 3d Vision Glasses + 120 Hz display don't like this in-mux format at all and as someone who has no standalone player connected to a 3D TV I'm unable to view BD-RB(uilt) 3D movie contents.
Can you please add a OUTPUT_3D_ISO (SSIF directory structure) option for Full backup mode?
MrVideo
4th July 2022, 01:32
As a refresher course, what is in-mux 3D format?
ggtop
4th July 2022, 10:17
PowerDVD (The last version with 3D Blu-ray support and probaly WinDVD as well) + NVidia 3d Vision Glasses + 120 Hz display don't like this in-mux format at all and as someone who has no standalone player connected to a 3D TV I'm unable to view BD-RB(uilt) 3D movie contents.
Can you please add a OUTPUT_3D_ISO (SSIF directory structure) option for Full backup mode?
Hi, I personally never tried to full backup a 3D BD, but this hidden option sounds promising:
OUTPUT_3D_ISO=n n = 0/1 - 0=Off (default) - if set to "1", movie-only output is to an ISO rather than a folder
From the change log:
April 7th, 2014 - v0.47.04
- Implemented 3D Full Backup Mode. Note that
BD-RB converts 3D method so that the SSIF
folder is no longer required -- the method
is 100% compliant with the BD standard.
(v0.47.03)
- Due to the changes in the way 3D is handled,
BD-RB no longer outputs to ISO by default on
movie-only 3D encodes. It can be enabled by
using the OUTPUT_3D_ISO hidden option. Note:
This option only applies to movie-only 3D
encodes. (v0.47.03)
- Made in-mux (single M2TS) 3D multiplexing
mode the default on full-backup 3D. This
can be changed back with the hidden option
FORCE_INMUX_3D=0.
- Modified 3D movie-only mode so it also now
uses the in-mux structure for BD-3D output.
BTW Option "FORCE_INMUX_3D" is no longer listed in <HIDDENOPTS.TXT>
ggtop
Sharc
4th July 2022, 11:19
As a refresher course, what is in-mux 3D format?
A method where the two views are packed (muxed) into one single file (container), as opposed to the MVC structure where the 2 views are arranged in separate files (as base and dependent view), with SSIF folder structure. It's a standard 3D packing method, as valid as the commercial MVC structure.
Hooman
4th July 2022, 17:00
Hi, I personally never tried to full backup a 3D BD, but this hidden option sounds promising:
OUTPUT_3D_ISO=n n = 0/1 - 0=Off (default) - if set to "1", movie-only output is to an ISO rather than a folder
ggtop
After a movie-only backup using that option it appears to me the 3d output of my BD rebuilder has artifacts(video pixelation) and is shaky with or without SSIF directory structure. I don't know if it's because of Frim(decoder/encoder) and/or the mux process.
https://i.ibb.co/Xt3yZxv/IMG-4182a.jpg
I tried to import the 264 and mvc ESs from the workfiles into scenarist bd and re-author but it fails at 90% muxing("SSIF allocation Error, Fail at Condition 5").
Is there any other means to check/test those encoded/muxed files?
MrVideo
5th July 2022, 10:39
A method where the two views are packed (muxed) into one single file (container), as opposed to the MVC structure where the 2 views are arranged in separate files (as base and dependent view), with SSIF folder structure. It's a standard 3D packing method, as valid as the commercial MVC structure.
Thanks for the info. I've never seen it used on any 3D disc that I have.
MrVideo
6th July 2022, 14:26
Does BDRB not like a BD structure that has an audio file that is TrueHD 7.1? I took the MKV file and ran it thru tsmuxer to get a BD folder (HEVC video). Tsmuxer warned that the MLP audio will not play on a BD player. When I try and import the BD folder into BDRB, during the reading playlist portion, it takes a few minutes before it even gets to 0.10% progress. Another MKV file has DTSMA audio and the BD folder is imported just fine,
Am I not going to be able to import the BD folder?
gonca
6th July 2022, 15:27
Does BDRB not like a BD structure that has an audio file that is TrueHD 7.1? I took the MKV file and ran it thru tsmuxer to get a BD folder (HEVC video). Tsmuxer warned that the MLP audio will not play on a BD player. When I try and import the BD folder into BDRB, during the reading playlist portion, it takes a few minutes before it even gets to 0.10% progress. Another MKV file has DTSMA audio and the BD folder is imported just fine,
Am I not going to be able to import the BD folder?
THD must have an interleaved ac3 core file for BD compliance.
MKV cannot store two interleaved tracks, so it splits them.
Stores them as a thd track and an ac3 track.
You are trying to encode a non compliant track.
Merge the thd and ac3 tracks together or re-encode an ac3 core into the thd track.
Or wait while BD_RB does it
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.