View Full Version : BD Rebuilder Beta - Bug Reports Only
MrVideo
3rd January 2023, 04:03
Well, --key-on-chapter resulted in no change [ENCODE_CUSTOM=--key-on-chapter]. I then tried to do ENCODE_CUSTOM=--keyfile <"keyfile.txt"> and that resulted in the job aborting.
As a side note, I failed to mention in the initial query that the chapter marks are in the MKV file.
gonca
3rd January 2023, 12:02
--key-on-chapter
Set keyframes on chapter position.
--keyfile <string>
Set keyframes on frames (starting from 0, 1, 2, ...) specified in the file. There should be one frame ID per line.
--sub-source <string>[:{<int>?}[;<param1>=<value1>]...]...
Read subtitle from the specified file and mux into the output file.
params
disposition=<string>
Specify disposition for subtitle.
metadata=<string1>=<string2>
Specify metadata for subtitle track.
bsf=<string>
Specify bitstream filter for subtitle track.
Example1: --sub-source "<sub_file>"
Example2: --sub-source "<sub_file>":disposition=default;metadata=language=jpn
From the options list on GitHub
MrVideo
3rd January 2023, 21:36
Did you read my post before yours? Those are the options I tried to use and failed.
gonca
3rd January 2023, 22:04
Yeah I read it, maybe you should make sure your keyfile is correctly formatted, so that it isn't ignored.
MrVideo
4th January 2023, 01:32
The keyfile is generated by a script that I have to do x264 encoding. It is a simple file that looks like:
0
1200
10000
Since I do not know what jdobb's program is doing, there could have been a conflict that caused it to abort. The keyfile file was provided as a full path. Jdobb may be doing a chapter copy, which means that a keyfile can't be used.
gonca
4th January 2023, 02:23
Correct formats
--chapter <string>
Set chapter in the (separate) chapter file. The chapter file could be in nero format, apple format or matroska format. Cannot be used with --chapter-copy.
nero format
CHAPTER01=00:00:39.706
CHAPTER01NAME=chapter-1
CHAPTER02=00:01:09.703
CHAPTER02NAME=chapter-2
CHAPTER03=00:01:28.288
CHAPTER03NAME=chapter-3
apple format (should be in utf-8)
<?xml version="1.0" encoding="UTF-8" ?>
<TextStream version="1.1">
<TextStreamHeader>
<TextSampleDescription>
</TextSampleDescription>
</TextStreamHeader>
<TextSample sampleTime="00:00:39.706">chapter-1</TextSample>
<TextSample sampleTime="00:01:09.703">chapter-2</TextSample>
<TextSample sampleTime="00:01:28.288">chapter-3</TextSample>
<TextSample sampleTime="00:01:28.289" text="" />
</TextStream>
matroska format (hould be in utf-8)
Other Samples>>
<?xml version="1.0" encoding="UTF-8"?>
<Chapters>
<EditionEntry>
<ChapterAtom>
<ChapterTimeStart>00:00:00.000</ChapterTimeStart>
<ChapterDisplay>
<ChapterString>chapter-0</ChapterString>
</ChapterDisplay>
</ChapterAtom>
<ChapterAtom>
<ChapterTimeStart>00:00:39.706</ChapterTimeStart>
<ChapterDisplay>
<ChapterString>chapter-1</ChapterString>
</ChapterDisplay>
</ChapterAtom>
<ChapterAtom>
<ChapterTimeStart>00:01:09.703</ChapterTimeStart>
<ChapterDisplay>
<ChapterString>chapter-2</ChapterString>
</ChapterDisplay>
</ChapterAtom>
<ChapterAtom>
<ChapterTimeStart>00:01:28.288</ChapterTimeStart>
<ChapterTimeEnd>00:01:28.289</ChapterTimeEnd>
<ChapterDisplay>
<ChapterString>chapter-3</ChapterString>
</ChapterDisplay>
</ChapterAtom>
</EditionEntry>
</Chapters>
gonca
4th January 2023, 02:41
Ran a quick test using NCEncCRE, should be the same command lines
Input mkv and output mkv for simplicity
Chapters were transferred to output
cmd line edited for simplicity
--chapter-copy
MrVideo
4th January 2023, 04:12
Setting chapters and setting a key, i.e. where an I-frame should be placed, are two different things. The input MKV file has chapter marks. What I would like to happen, as noted in a previous posting, is to have an I-frame created at those chapter marks. The --key-on-chapter failed to work and providing a keyfile caused the program to abort. Jdobbs is going to have to dig into his program to see what is going on.
What would be nice is if I-frames would always be created at chapter marks.
gonca
4th January 2023, 11:45
That mkv was a remux from a UHD disc.
The I-frames and chapter points should be good.
Was just checking what the software was doing.
MrVideo
4th January 2023, 13:13
What I am attempting to create are BDs of the TV series "Revenge." The source is the 35Mbps MPEG-2 1080i of the sat feed to Canada. I'm in the process of creating 10 Mbps IVTC x264 files of the episodes. The MKV files have chapter marks at the commercial breaks.As it stands right now, it will take 4 discs for each season. If I can get the files recoded to HEVC, the numbers of discs can be cut in half. But the chapter mark locations need I-frames at those locations.
Emulgator
4th January 2023, 13:31
Could it still be that ANSI->UTF-8 thing ?
NVEncC assumes UTF-8 by default.
If ANSI, OS codepage has to be switched by
--process-codepage <string> [Windows OS only]
gonca
4th January 2023, 22:10
Here is an idea
Use MKVMerge to remove the commercial breaks.
Use NVEnccCRE to reduce the size of each mkv file
Use TSMuxeR to create individual BDs
Then import with BD_Rebuilder (Quick reauthor)
MrVideo
4th January 2023, 22:47
Here is an idea
Use MKVMerge to remove the commercial breaks.
The Canadian sat feeds contained zero commercials. They were black with a length of about 5 seconds. I used VideoReDo to reduce those to less than a second.
Use NVEnccCRE to reduce the size of each mkv file
You are forgetting that the MPEG-2 files are 1080i with 3:2 pulldown. I use a script that I wrote that uses AVISynth to do IVTC and convert to 1080p/23.976. It also places I-frames at the chapter marks, i.e., commercial breaks.
If the NVEnccCRE program could be told to do IVTC and place I-frames at the chapter marks, I'd love to be able to go directly from MPEG-2 to HEVC.
Use TSMuxeR to create individual BDs
Then import with BD_Rebuilder (Quick reauthor)
Doing your method doesn't initially get rid of 3:2 pulldown. I'm not sure how well the hardware encoder would deal with 3:2 interlaced video.
Yes, BDRB has the ability to do IVTC, but the resulting files would be without I-frames at the chapter marks.
BTW, a correctly created disc would have a chapter mark 1 second before the end of each video file so that the user can jump to the end. That is standard practice on commercial discs.
After all of the above, I'll bet you are going to say, why not use BDRB to go from MPEG-2 to HEVC and build a disc, since BDRB will do IVTC? But, BDRB doesn't place I-frames at the chapter marks.
gonca
4th January 2023, 23:25
are 1080i with 3:2 pulldown
Which is it?
interlaced or telecined.
MrVideo
5th January 2023, 04:06
That is why it is telecined, because it is 29.97 frames/sec. Telecine is not required for 1080p/23.976, but it is for 1080i/29.97 with 23.976 source material.
MrVideo
5th January 2023, 04:44
We'll have to wait for a report back from Jdobbs regarding the two programs.
gonca
5th January 2023, 11:51
OTA TV series capture?
Most likely interlaced (29.976 interlaced exists)
But yeah, wait for jdobbs.
MrVideo
5th January 2023, 22:41
While it was an OTA series, it is 1080i/29.97 [30/1.001] (not 29.976, which does not exist OTA). If I would have captured OTA, it would have been 720p/59.94, as it was on ABC. What I have is the 1080i/29.97 MPEG-2 satellite feed to the Canadian network that carried it in Canada. Captured via my own 12' BUD. Those sat feed days are long over as delivery of programming to Canada is now done via the internet.
One of the companies that fed programming to Canada sometimes had their 1080p/23.976 to 1080i converter set to repeat frame. That is where every 4th source frame was repeated as a 5th 1080i frame. In that case, my script was set using the AVISynth plugin to do a drop frame to get it back to 1080p/23.976.
gonca
5th January 2023, 23:40
Since you like filters try this one
LoadPlugin("source filter")
serve file
AssumeTFF()
SeparateFields()
then
Input it into VDub2 and see what you get
... a a b b c c ...
then it is progressive video. If you see this:
... a b c d e f ...
then it is pure interlaced video. If you see this:
... a a a b b c c c d d ...
Then it is 3:2 pulled-down progressive video.
***This is from DGTools website
MrVideo
6th January 2023, 04:31
I don't need VDub2 to see the video contents. VideoReDo is all that it is needed. It is video that is for broadcast, as such it is 1080i. And because it is sourced from 1080p/23.976, it will either be 3:2 pulldown, or repeat frame. Only one company (GDMX) did repeat frame.
With VideoReDo you are shown the interlaced fields, so 3:2 pulldown is easy to spot. Same goes for repeat frame.
No Canadian sat feeds were ever 1080p at any frame rate, as no broadcaster was forced to do the 1080p to 1080i conversion. The standard was to provide the video broadcast ready. The exception were those stations/networks that were 720p, in which that station/network had to do the conversion.
I've been dealing with satellite feeds since analog days.
MrVideo
8th January 2023, 05:02
At this point in time, my Revenge to BD project is at a standstill until I hear back from Jdobbs regarding gettimg I-frames at chapter marks.
AmigaFuture
12th January 2023, 03:02
OK. Did you look at the MKV file with MediaInfo to see if the chapter marks were there?
No, mkvtoolnix-gui.exe shows me what I want to know; all streams and chapter marks.
Or MPC-BE shows chapters if you enable that.
Anyway, none of that is where the problem is.
MrVideo
12th January 2023, 07:59
No, mkvtoolnix-gui.exe shows me what I want to know; all streams and chapter marks.
Had to ask to make sure. Don't dare assume.
jdobbs
12th January 2023, 21:54
Setting chapters and setting a key, i.e. where an I-frame should be placed, are two different things. The input MKV file has chapter marks. What I would like to happen, as noted in a previous posting, is to have an I-frame created at those chapter marks. The --key-on-chapter failed to work and providing a keyfile caused the program to abort. Jdobbs is going to have to dig into his program to see what is going on.
What would be nice is if I-frames would always be created at chapter marks.How did you add the "--key-on-chapter" to the command line to test it?
MrVideo
12th January 2023, 23:41
I used:
ENCODE_CUSTOM=--key-on-chapter
in the INI file.
jdobbs
13th January 2023, 16:56
I used:
ENCODE_CUSTOM=--key-on-chapter
in the INI file.Oh. So you are using NVENCCRE. I thought you were using BD-RB.
MrVideo
14th January 2023, 03:50
Ultimately I will be using BDRB to author the discs. For starters, I took the MPEG-2 1080i videos and created H.264 videos, using IVTC, to get to 23.976 with I-frames at the chapter marks. I wanted to use NVENCCRE to get to HEVC with I-frames at the chapter marks. If BDRB could be used to get to HEVC with I-frames at chapter marks and build the disc layout, that would be great.
If at all possible, if BDRB could take the MPEG-2 MKV files, that contain chapter marks, and do IVTC and ultimately get to HEVC discs, that would be great.
Doing multiple steps to get there would be fine. By going to HEVC, the final disc count would be two, instead of four (H.264).
RoyGBiv-inRI
25th January 2023, 14:05
I recently did a fresh install of Win10. I installed AviSynth and LAV filters, but now I get the following error with BDRebuilder. After it re-encodes it stops at the point where it is trying to rebuild the BD file structure. I get the error message:
BD Rebuilder experienced an error 1200 14:04:34
Copydirstructure () 00076 1200
Here is the associated log:
[01/24/23] BD Rebuilder v0.61.21
[12:13:07] Source: S4D1
- Input BD size: 38.80 GB
- Approximate total content: [02:55:46.235]
- Target BD size: 22.95 GB
- Windows Version: 6.2 [9200]
- Quality: High Quality (Default), ABR
- Decoding/Frame serving: DirectShow
- Audio Settings: AC3=0 DTS=0 HD=0 Kbs=640
[12:13:07] PHASE ONE, Encoding
- [12:13:07] Processing: VID_00012 (1 of 4)
- [12:13:07] Extracting A/V streams [VID_00012]
- [12:17:14] Reencoding video [VID_00012]
- Source Video: MPEG-4 (AVC), 1920x1080
- Rate/Length: 23.976fps, 82,777 frames
- Bitrate: 14,862 Kbs
- [12:17:14] Reencoding: VID_00012, Pass 1 of 1
- [12:48:17] Video Encode complete
- [12:48:17] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- [12:48:17] Multiplexing M2TS
- [12:49:26] Processing: VID_00013 (2 of 4)
- [12:49:26] Extracting A/V streams [VID_00013]
- [12:53:33] Reencoding video [VID_00013]
- Source Video: MPEG-4 (AVC), 1920x1080
- Rate/Length: 23.976fps, 78,000 frames
- Bitrate: 15,683 Kbs
- [12:53:33] Reencoding: VID_00013, Pass 1 of 1
- [13:24:14] Video Encode complete
- [13:24:14] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- [13:24:14] Multiplexing M2TS
- [13:25:24] Processing: VID_00021 (3 of 4)
- [13:25:24] Extracting A/V streams [VID_00021]
- [13:25:31] Reencoding video [VID_00021]
- Source Video: MPEG-4 (AVC), 1920x1080
- Rate/Length: 23.976fps, 5,876 frames
- Bitrate: 2,187 Kbs
- [13:25:31] Reencoding: VID_00021, Pass 1 of 1
- [13:25:56] Video Encode complete
- [13:25:56] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- [13:25:56] Multiplexing M2TS
- [13:26:00] Processing: VID_00031 (4 of 4)
- [13:26:00] Extracting A/V streams [VID_00031]
- [13:30:19] Reencoding video [VID_00031]
- Source Video: MPEG-4 (AVC), 1920x1080
- Rate/Length: 23.976fps, 83,137 frames
- Bitrate: 15,834 Kbs
- [13:30:19] Reencoding: VID_00031, Pass 1 of 1
- [14:03:11] Video Encode complete
- [14:03:11] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- [14:03:11] Multiplexing M2TS
[14:04:34]PHASE ONE complete
[14:04:34]PHASE TWO - Rebuild Started
- [14:04:34] Rebuilding BD file Structure
- [14:04:34] CopyDirStructure() 00076 1200
I'm sure I'm just doing something stupid, but can someone help with this problem. I've tried uninstalling and re installing AviSynth and LAV filters. The first time I used BDRebuilder I did run it as administrator and it gave me the usual message about configuring the filters.
I don't know what else to try.
Thanks for any help.
Your Obedient Servant
SMK
Emulgator
25th January 2023, 14:53
BD-RB 0.61.21? BD-RB is at 0.61.28 atm, maybe you want to try the recent one first.
RoyGBiv-inRI
25th January 2023, 15:45
Actually, I've tried three different versions; 19, 21, and 28. The same thing happens with all 3, but I just happened to post the log from 21.
Your Obedient Servant
SMK
RoyGBiv-inRI
25th January 2023, 21:49
Doing a search I found some posts from a few years ago with the same problem. That individual seemed to have resolution by changing to the "required" versions of AVISynth and LAV filters. I had been using those versions, but just to be sure I downloaded them again as well as a new copy of BDRB 21 zip file. I uninstalled AVISynth and LAV filters and reinstalled the newly downloaded versions from the first page and then extracted a new version of BDRB 21. The problem is still exactly the same.
In those earlier posts JDobbs referred to a possible issue with where the files were located or that the file names were too long. I have no idea what files he meant or where these files are located, but I can tell you that everything was installed onto its default folders. I also have done this exact setup a few times before with Win10 and have had no problems.
Your Obedient Servant
SMK
nil
25th January 2023, 22:13
Hi. I posted this (http://forum.doom9.org/showthread.php?t=184673) two weeks ago, unsure of whether to post it in this thread or not; I've not had any responses there, so here we go...
Short version: when reencoding to AAC audio, BD Rebuilder generates a temporary file called audio1.bat which runs faac.exe. This fails for me, because it includes the command line option -br 384000, when the online documentation and command-line help say the option should be -b 384.
What I don't understand is how it used to work fine for me; I had assumed I must have changed something on my PC (broken by a Windows update or something), but I'm running BD Rebuilder's faac.exe (which hasn't changed in a while anyway), and that option is definitely wrong. Utterly confused.
Full details in the other thread (http://forum.doom9.org/showthread.php?t=184673).
Many thanks for your help.
RoyGBiv-inRI
28th January 2023, 00:14
I don't know where JDobbs and the others who usually are in this thread are, but here is an interesting update. If I set BDRB to put the finished product on a different drive, it works fine. It doesn't matter which drive or how long the path is to that drive, but it works. OTOH, any time I try to put the finished product in the same drive the original files are in, no matter what folder, I get the above error message.
Strange, but since I have a work around, I can at least use BDRB.
Your Obedient Servant
SMK
Emulgator
28th January 2023, 01:29
Drive full ?
Mike-uk
29th January 2023, 18:48
@jdobbs
Hi. I posted this (http://forum.doom9.org/showthread.php?t=184673) two weeks ago, unsure of whether to post it in this thread or not; I've not had any responses there, so here we go...
no solution but ive the same problem
"C:\Users\xxx\Desktop\BD_Rebuilder\tools\wavi.exe" "C:\USERS\xxx\DOCUMENTS\BD\WORKFILES\AUD_00000_4352.AVS" - | "C:\Users\xxx\Desktop\BD_Rebuilder\tools\faac.exe" - -br 128000 -o "C:\USERS\xxx\DOCUMENTS\BD\WORKFILES\AUD_00000_4352.AAC"
- [17:45:29] Reencoding: VID_00000, Pass 1 of 1
- [17:45:35] Video Encode complete
- [17:45:35] Processing audio tracks
- Track 4352 (eng): Reencoding audio to AAC...
[17:47:45] - Failed to reencode audio, aborted
AmigaFuture
30th January 2023, 02:30
Hello.
I've been going through some of my older BD rips and making MKVs. I've noticed some Movie & Menus processed BDs won't allow making an MKV. Star Wars - 1, 2, and 3 for example. So I got out my discs..and I reripped them. MKVs can by made from the fresh rip without a problem as long as they aren't processed by BD-RB. My logs..
[01/29/23] BD Rebuilder v0.61.28
[12:54:40] Source: ATTACK_OF_THE_CLONES_O
- Input BD size: 45.55 GB
- Approximate total content: [02:51:24.606]
- Target BD size: 46.26 GB
- Windows Version: 6.2 [9200]
- MOVIE and MENUS mode enabled
- Quality: High Quality (Default), Two Pass
- Decoding/Frame serving: X264/LAVF
- Audio Settings: AC3=0 DTS=0 HD=0 Kbs=640
[12:54:40] PHASE ONE, Encoding
- [12:54:40] Blanking: VID_00050 (1 of 73)
- [12:54:40] Blanking: VID_00190 (2 of 73)
- [12:54:40] Blanking: VID_00101 (3 of 73)
[...Snip...]
- [12:56:23] Processing: VID_00882 (72 of 73)
- [12:56:23] Extracting A/V streams [VID_00882]
- [12:56:30] Reencoding video [VID_00882]
- [12:56:30] Keeping original video (no reencode)
- [12:56:30] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- Track 4353 (eng): Keeping original audio
- Track 4358 (eng): Keeping original audio
- Track 4359 (eng): Keeping original audio
- [12:56:30] Multiplexing M2TS
- [12:56:36] Processing: VID_00800 (73 of 73)
- [12:56:36] Extracting A/V streams [VID_00800]
- [12:59:56] Reencoding video [VID_00800]
- [12:59:56] Keeping original video (no reencode)
- [12:59:56] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- Track 4353 (eng): Keeping original audio
- Track 4358 (eng): Keeping original audio
- Track 4359 (eng): Keeping original audio
- [12:59:56] Multiplexing M2TS
[13:02:53]PHASE ONE complete
[13:02:53]PHASE TWO - Rebuild Started
- [13:02:53] Rebuilding BD file Structure
[13:02:56] - Encode and Rebuild complete
- WORKFILES folder removed.
[13:02:59] JOB: ATTACK_OF_THE_CLONES_O finished.
Make MKV from processed..
[01/29/23] BD Rebuilder v0.61.28
[13:08:09] Source: ATTACK_OF_THE_CLONES_O_00800
- Input BD size: 32.70 GB
- Approximate total content: [02:22:27.872]
- Windows Version: 6.2 [9200]
- MOVIE-ONLY/ALTERNATE OUTPUT mode enabled
- Mode: MKV, Intact Video, Intact Audio
- Quality: High Quality (Default)
- Decoding/Frame serving: X264/LAVF
- Audio Settings: AC3=0 DTS=0 HD=0 Kbs=640
[13:08:09] PHASE ONE, Encoding
- [13:08:09] Processing: VID_00882 (1 of 2)
- [13:08:09] Extracting A/V streams [VID_00882]
- TSMUXER ERR: 0xFFFFFFFE
- Extracting video streams [VID_00882]
- Extracting audio/subtitle streams [VID_00882]
- TSMUXER ERR: 0xFFFFFFFE
- Reading buffer overflow. Possible container streams are not syncronized. Please, verify stream fps. File name: P:\ATTACK_OF_THE_CLONES_O\BDMV\\STREAM\00882.m2ts
- Extracting audio streams [VID_00882]
- TSMUXER ERR: 0xFFFFFFFE
- Error in attempt to extract audio.
- Reading buffer overflow. Possible container streams are not syncronized. Please, verify stream fps. File name: P:\ATTACK_OF_THE_CLONES_O\BDMV\\STREAM\00882.m2ts
- Reading buffer overflow. Possible container streams are not syncronized. Please, verify stream fps. File name: P:\ATTACK_OF_THE_CLONES_O\BDMV\\STREAM\00882.m2ts
[13:09:09] - Failed to retrieve audio, aborted
Make MKV from fresh rip and not processed..
[01/29/23] BD Rebuilder v0.61.28
[13:11:28] Source: ATTACK_OF_THE_CLONES_O_00800
- Input BD size: 40.29 GB
- Approximate total content: [02:22:27.872]
- Windows Version: 6.2 [9200]
- MOVIE-ONLY/ALTERNATE OUTPUT mode enabled
- Mode: MKV, Intact Video, Intact Audio
- Quality: High Quality (Default)
- Decoding/Frame serving: X264/LAVF
- Audio Settings: AC3=0 DTS=0 HD=0 Kbs=640
[13:11:29] PHASE ONE, Encoding
- [13:11:29] Processing: VID_00882 (1 of 2)
- [13:11:29] Extracting A/V streams [VID_00882]
- [13:13:29] Reencoding video [VID_00882]
- [13:13:29] Keeping original video (no reencode)
- [13:13:29] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- Track 4353 (eng): Keeping original audio
- Track 4358 (eng): Keeping original audio
- Track 4359 (eng): Keeping original audio
- [13:13:29] Processing: VID_00800 (2 of 2)
- [13:13:29] Extracting A/V streams [VID_00800]
- [13:16:35] Reencoding video [VID_00800]
- [13:16:35] Keeping original video (no reencode)
[13:16:35]PHASE ONE complete
[13:16:35]PHASE TWO - Rebuild Started
- [13:16:35] Building ALTERNATE OUTPUT Structure
[13:25:57] - Encode and Rebuild complete
- WORKFILES folder removed.
[13:25:57] JOB: ATTACK_OF_THE_CLONES_O finished.
MrVideo
30th January 2023, 03:16
You might need to replace the BDRB supplied tsmuxer with a newer snapshot. Yes, it might mean having to do some other workarounds, but it should handle the audio. Worth a try.
tebasuna51
30th January 2023, 13:52
no solution but ive the same problem
"C:\Users\xxx\Desktop\BD_Rebuilder\tools\wavi.exe" "C:\USERS\xxx\DOCUMENTS\BD\WORKFILES\AUD_00000_4352.AVS" - | "C:\Users\xxx\Desktop\BD_Rebuilder\tools\faac.exe" - -br 128000 -o "C:\USERS\xxx\DOCUMENTS\BD\WORKFILES\AUD_00000_4352.AAC"
Of course the faac syntax is -b 128 (instead -br 128000) with a max of 500 (kb) for a stereo input.
BTW the faac encoder is not recommended, use qaac or fdkaac with better quality and until 7.1 audio. Also ffmpeg (v3 or higher) until 5.1 audio.
AmigaFuture
30th January 2023, 19:31
You might need to replace the BDRB supplied tsmuxer with a newer snapshot. Yes, it might mean having to do some other workarounds, but it should handle the audio. Worth a try.
I'm cool with workarounds. I noticed that if I disable the AC-3's and keep DTS..an MKV will be made okay. Then do it again in reverse, disable DTS and keep AC-3's..then put them together. There are other ways, also. I went checking for a newer TsMUXER..but then I got sidetracked by having to do some other stuff not computer related. I'll have another look. :)
AmigaFuture
30th January 2023, 22:28
Nope, the new TsMuxer is the problem. I got it and the GUI archive. It has the same error.
MrVideo
30th January 2023, 23:20
Weird that there is an issue with the processed files. If directly going to a MKV file works, why not just use it?
nil
31st January 2023, 18:14
Of course the faac syntax is -b 128 (instead -br 128000) with a max of 500 (kb) for a stereo input.
BTW the faac encoder is not recommended, use qaac or fdkaac with better quality and until 7.1 audio. Also ffmpeg (v3 or higher) until 5.1 audio.
Ah... you may have just provided a clue to my problem. I rebuilt ffmpeg a while ago, and this may match with when my problems started. It may be BDRebuilder was using ffmpeg/fdkaac, I broke it, and it's using faac instead.
So two things, then:
1) How do I persuade BD Rebuilder to use ffmpeg/fdkaac again? It's there, on the path, and functional. Or do I need to build a specific exe or dll?
2) When BD Rebuilder uses faac.exe instead, looks like there's a bug with the command-line options it spits out in audio1.bat. (But possibly no-one notices because no-one uses faac if they can help it)
Cheers
AmigaFuture
2nd February 2023, 04:19
Weird that there is an issue with the processed files. If directly going to a MKV file works, why not just use it?
There isn't a problem from Source. It's BD-RB Backup...
MrVideo
2nd February 2023, 13:53
There isn't a problem from Source. It's BD-RB Backup...
I think you may have misunderstood my response. If I read your original posting correctly, if you used the BDRB processed files from the source, the result is a failure. But, if you made the MKV from the source, then all is well. So, why not just skip the BDRB processed files and just use BDRB to make the MKV directly from the source?
Mark_Venture
5th February 2023, 00:15
https://github.com/rigaya/NVEnc/blob/master/NVEncC_Options.en.md
Maybe you want to check yourself? :)
Can you just replace the NVEncC used with NVENCCRE from git? any reason to, or not to? (I mean other than not being tested with NVENCCRE?)
I've been extremely happy so far with NVENCCRE, its ease of use and its output, so I don't want to mess with it. I'm more just curious.
Emulgator
5th February 2023, 05:17
I would expect incompatibility only if parameters that matched once
are changed (added, deleted, renamed, ranged differently)
jdobbs
8th February 2023, 21:43
I would expect incompatibility only if parameters that matched once
are changed (added, deleted, renamed, ranged differently)Exactly. Unfortunately I haven't been keeping up with changes -- so I can't say whether there are any that might create an incompatibility.
jdobbs
8th February 2023, 21:45
Ah... you may have just provided a clue to my problem. I rebuilt ffmpeg a while ago, and this may match with when my problems started. It may be BDRebuilder was using ffmpeg/fdkaac, I broke it, and it's using faac instead.
So two things, then:
1) How do I persuade BD Rebuilder to use ffmpeg/fdkaac again? It's there, on the path, and functional. Or do I need to build a specific exe or dll?
2) When BD Rebuilder uses faac.exe instead, looks like there's a bug with the command-line options it spits out in audio1.bat. (But possibly no-one notices because no-one uses faac if they can help it)
CheersI use it all the time without issue. When I get some extra time I'll go through the code and see how it can happen. It has to be something in the settings.
jdobbs
9th February 2023, 04:01
BTW: There is nothing wrong with FAAC. It encodes AAC fine. It's just not supported anymore.
If you have NeroAAC encoder installed you can use that instead of FAAC. Just collect the path and add it to the [Paths] area of the INI file. Then set the flag telling BD-RB to use Nero. Here is an example with a path from my settings:
[Options]
NEROAAC=1
[Paths]
NeroAACPath=C:\APPS\REENCODER\TOOLS\neroAacEnc.exe
tebasuna51
9th February 2023, 11:39
Of course NeroAacEnc (https://www.videohelp.com/software/Nero-AAC-Codec) can be used until 5.1.
Warning with 7.1, the default layout for 7.1 (from DTS-MA or TrueHD: L R C LFE Lb Rb Ls Rs) is converted to the default layout for AAC (C L R Ls Rs Lw Rw LFE). See here. (https://forum.doom9.org/showthread.php?p=1977858#post1977858)
[EDIT]
I check the free versions of Faac 1.30 and Fdkaac 1.04 in https://www.videohelp.com/software/FAAC
The faac output 7.1 m4a is wrong for MediaInfo, NeroDec and ffmpeg:
[aac @ 0000012f3c5ac340] invalid default channel configuration (8)
The fdkaac output 7.1 m4a is correct.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.