Log in

View Full Version : BD Rebuilder Beta - Bug Reports Only


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 [620] 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648

MrVideo
5th December 2021, 16:29
I want to again beg that DD+ audio not be re-encoded to DD when building a UHD BD structure.

Doing so removes any potential 7.1 audio and/or Dolby Atmos audio.

I just did a test with a 2160p HDR file and had TSMuxer create a M2TS file. Actually I told TSMuxer to create a BD ISO file. I then put that into my Sony UHD BD player. While the player recognized it as a UHD BD disc, it refused to play it. I need to see if a newer nightly build fixes that issue. In the meantime, I took the M2TS file from the ISO and burned it onto a BD-ROM (RE) disc. The player played the file just fine. The DD+ audio was sent to my Denon AVR. It displayed that the audio was DD+.

Thanks, in advance.

gonca
5th December 2021, 18:49
Did you actually burn the ISO to a disk or just tried to use it as a "media file"?

MrVideo
5th December 2021, 20:35
Burned to BD-RE. I've downloaded the latest nightly and will try again.

EDIT: Nope, didn't work. Will report it.

gonca
5th December 2021, 23:22
Try creating a BD Folder instead and have ImgBurn burn that to disc

MrVideo
6th December 2021, 02:27
Try creating a BD Folder instead and have ImgBurn burn that to disc
Good point. I will give that a go.

The ultimate goal was to verify that the Sony UHD player would play M2TS files, in a BD layout, that contained DD+ audio.

So, until BDRB no longer recodes DD+ audio to AC3 when it is within a file that contains 4K video, I have to do the following:
1) Do a backup of the desired 4K files.
2) Use tsMuxer to remux the DD+ audio from the original source with the BDRB created M2TS file, replacing the AC3 audio.
3) Replace the BDRB M2TS file(s) with the newly remuxed M2TS file(s).

I'm about to do steps 2 & 3. Hopefully all will be fine. Obviously I prefer not to do the manual audio stream replacement.

MrVideo
6th December 2021, 07:07
Well, the project in which I was trying to create a UHD set of discs with 4K/DD+ files is now dead in the water until BDRB no longer re-encodes DD+ audio.

There is some kind of subtle difference in the remuxed M2TS file that results in the viewing of the video to terminate early and go back to the menu. I was testing two files onto a disc. I didn't discover the issue until I was playing the 2nd file and chapter skipping. The chapters were created by BDRB, since the original files do not have any chapters. In the case of the 2nd file, shortly after I skipped to the last chapter, it played for a very little bit and then aborted the playing of the file and returned to the menu. IIRC, BDRB inserts chapter marks every 5 minutes.

I know there isn't an issue with the M2TS itself, as I burned the two M2TS files to a data disc and the 2nd video plays thru the location in which there was an issue.

That means this particular project can go no further.

As a side issue, the latest tsMuxer does not like the AC3 file that was created by BDRB. When I placed the BDRB created M2TS file into tsMuxer, it complained about the audio track and left it out of the list of tracks.

MrVideo
6th December 2021, 07:14
While working on the above project, I discovered a bug.

The video file contains a boat load of subtitles. I have BDRB set to only include the English subs. But, when I play the disc that BDRB created, pressing SUBTITLE on the player's remote cycles thru all of the subtitles that were in the original file. But, the M2TS file only contains the two English subtitles.

MrVideo
6th December 2021, 11:25
Trying to find the UHD BD specification is like trying to find a microscopic needle in a haystack.

gonca
6th December 2021, 12:03
BDRB inserts chapter marks every 5 minutes.
Actually, that is a tsMuxeR default setting.

MrVideo
6th December 2021, 20:39
Thanks for the clarification. Makes sense, since BDRB uses tsMuxer.

gonca
6th December 2021, 23:33
MrVideo
Run a test for you
Took a decrypted disc on local drive
Demuxed all streams (video, audio, subs, chapters, etc)
Re-encoded video
Used tsMuxeR (latest of the day) to mux into UHD structure
Then imported into BD_RB to create menu (quick author)
Burnt to BD-RE and tested on Sony UHD player
Plays fine
.....................renamed tsMuxeR so that BR_RB used latest(at time) tsMuxer(4k)
here is MediaInfo report on playlist


: General
Complete name : K:\OVERLORD\BDMV\PLAYLIST\00001.mpls
Format : Blu-ray Playlist
File size : 470 Bytes
Duration : 1 h 49 min
Overall bit rate mode : Variable
Overall bit rate : 0 b/s

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : 36
Duration : 1 h 49 min
Bit rate : 23.9 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.120
Stream size : 18.3 GiB
Writing library : x265 3.5+2-g2b25c9ba0+45:[Windows][GCC 10.2.0][64 bit] Yuuki 10bit
Encoding settings
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
format_identifier : HDMV
Source : 00001.m2ts / 00001.m2ts

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : MLP FBA AC-3 16-ch
Format/Info : Meridian Lossless Packing FBA
Commercial name : Dolby TrueHD with Dolby Atmos
Format settings : Dolby Surround EX
Muxing mode : Stream extension
Codec ID : 131
Duration : 1 h 49 min
Bit rate mode : Variable
Bit rate : 640 kb/s
Maximum bit rate : 8 355 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossless
Stream size : 502 MiB
Language : English
Service kind : Complete Main
Number of dynamic objects : 11
Bed channel count : 1
Bed channel count : 1 channel
Bed channel configuration : LFE
bsid : 6
Dialog Normalization : -27
Dialog Normalization : -27 dB
compr : 1.94
compr : 1.94 dB
dynrng : 1.26
dynrng : 1.26 dB
acmod : 7
lfeon : 1
dialnorm_Average : -27
dialnorm_Average : -27 dB
dialnorm_Minimum : -27
dialnorm_Minimum : -27 dB
dialnorm_Maximum : -27
dialnorm_Maximum : -27 dB
dialnorm_Count : 1262
compr_Average : 1.63
compr_Average : 1.63 dB
compr_Minimum : -6.88
compr_Minimum : -6.88 dB
compr_Maximum : 5.46
compr_Maximum : 5.46 dB
compr_Count : 574
dynrng_Average : 0.91
dynrng_Average : 0.91 dB
dynrng_Minimum : -2.32
dynrng_Minimum : -2.32 dB
dynrng_Maximum : 5.46
dynrng_Maximum : 5.46 dB
dynrng_Count : 1184
format_identifier : AC-3
Source : 00001.m2ts / 00001.m2ts

Text
ID : 4768 (0x12A0)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Duration : 1 h 49 min
Source : 00001.m2ts / 00001.m2ts

Menu
00:00:00.000 : Chapter 1
00:06:30.264 : Chapter 2
00:13:46.658 : Chapter 3
00:20:30.479 : Chapter 4
00:26:26.960 : Chapter 5
00:34:08.128 : Chapter 6
00:41:09.759 : Chapter 7
00:48:40.543 : Chapter 8
00:55:50.054 : Chapter 9
01:03:20.630 : Chapter 10
01:10:27.765 : Chapter 11
01:17:21.052 : Chapter 12
01:25:46.765 : Chapter 13
01:32:18.323 : Chapter 14
01:38:47.630 : Chapter 15
01:42:38.360 : Chapter 16
01:49:44.203 Chapter 17

Removed encoding settings to make it easier to read
Can post settings if needed

MrVideo
7th December 2021, 05:17
I'm at a loss as to what your test was supposed to prove.

gonca
7th December 2021, 11:49
tsMuxeR is not messing up the structure. It plays fine in a Sony player, HDR and all.
As to E-AC3 being re-encoded, it requires a core to be compliant, might be why BD_RB is re-encoding.
What are you using to burn your BD-RE?

MrVideo
7th December 2021, 19:31
What you did is not what I did. As noted in my posting, I took a file with 2160p video and E-AC3 audio and told tsMuxer to create an ISO file, which would not play in my player. What you did wasn't even close to what I did. Frankly I do not know if tsMuxer created a Blu-ray compliant structure or a UHD compliant structure. There are no options, that I know of, in which to tell tsMuxer to create one, or the other. But, that is not an issue for BDRB.

E-AC3 requires a core for Blu-ray, but I can't find a requirement that it be so for UHD. E-AC3 plays just fine on my Sony UHD player Hence the need for BDRB to not re-encode if the source is 2160p and being place on a UHD created disc.

SeeMoreDigital
7th December 2021, 19:50
E-AC3 requires a core for Blu-ray, but I can't find a requirement that it be so for UHD. E-AC3 plays just fine on my Sony UHD player Hence the need for BDRB to not re-encode if the source is 2160p and being place on a UHD created disc.
All Blu-ray spec 'discs' encoded with Dolby Digital Plus audio require a Dolby Digital core. Regardless of the video being 2K (HD) or 4K (UHD)...

MrVideo
7th December 2021, 20:40
Thanks for the clarification. It is interesting that Sony, a member of the Blu-ray alliance, produces a UHD player that will play E-AC3 audio without a core. And my Denon AVR will handle it and indicate that it is DD+.

Regardless, I'm still begging for a version of BDRB that will allow the user to set an option to not re-encode E-AC3 audio. Even if it means setting an option that the user knows doing so is not to spec and is at the user's risk. The discs I create are for me and I know that I can play them.

gonca
7th December 2021, 22:19
Maybe you are switching around too many files.
m2ts is considered a media file like mkv or mp4 in a player.
That might the reason that the sony plays the m2ts but not the full structure, players tend to be more lenient about media files.
Your description mentions remuxing for audio tracks but no mention of how you are correcting the clpi or mpls.
In simple terms, I feed the apps compliant streams and they produce a compliant UHD (BD) structure.
How are you decrypting the disc?
If it is with MakeMKV to mkv file, remember that mastroka cannot have interleaved audio streams, that is why it separates the core out.

MrVideo
8th December 2021, 03:11
The Sony will play the structure that BDRB builds, even after I remux the M2TS files that BDRB makes with M2TS files I remux using the BDRB M2TS and E-AC3 audio from the original MKV file. As mentioned, the only issue is that the video quits before the actual end of the file, when playing the UHD structure. The M2TS file plays to completion.

There are no discs involved. The Sony player is not lenient about MKV files, in that it will not play a MKV file with E-AC3 audio.

I'm doing nothing with the clpi or mpls files. I didn't figure that I would need to, since the new M2TS files are the same length as the BDRB originals, with the only difference being the AC3 audio being replaced with the E-AC3 audio. Besides, I know nothing about the structure of those two files and what would need to be fixed.

I was going to look at the BDRB created files, but discovered that BDEdit will not read BDRB created structures. It doesn't error. It just does nothing.

gonca
8th December 2021, 03:27
You cannot simply swap out m2ts files in a BD structure.
If you change any tracks you must correct the mpls and clpi files, possibly others as well.
You are looking at something like BDEdit to do it with the method you are using

MrVideo
8th December 2021, 05:12
You are looking at something like BDEdit to do it with the method you are using
As noted in my above posting, BDEdit will not work with BDRB output.

Acerjen
8th December 2021, 15:26
As noted in my above posting, BDEdit will not work with BDRB output.

Try making a BD structure with TsMuxer and then swap out the mpls and clpi files (along with the m2ts) that it makes replacing the ones that BDRB makes and see if the video will play to the end.

Acerjen

MrVideo
8th December 2021, 18:03
I tried doing your suggested test. Unfortunately tsMuxer bitches about the E-AC3 audio stream and says that it is aborting. But it looked like it completed, until I went looking for the playlist file. It was not created. All of the other files were.

MrVideo
8th December 2021, 18:14
Looks like I am stuck between a rock and a hard place. Even if BDRB were to not re-encode the E-AC3 file, because tsMuxer is used, a playlist file won't be created. And since I suspect that BDRB uses the tsMuxer created clip and playlist files, I'm never going to be able to use the Atmos E-AC3 audio stream. :mad:

jdobbs
8th December 2021, 23:14
While working on the above project, I discovered a bug.

The video file contains a boat load of subtitles. I have BDRB set to only include the English subs. But, when I play the disc that BDRB created, pressing SUBTITLE on the player's remote cycles thru all of the subtitles that were in the original file. But, the M2TS file only contains the two English subtitles.It's supposed to do that if you do a full backup. You'll find that selecting any of the non-ENG subtitles will actually select an ENG track. It has to do that, or the code of the original would have to be modified (which is out of scope for what BD-RB does).

MrVideo
9th December 2021, 14:01
It's supposed to do that if you do a full backup. You'll find that selecting any of the non-ENG subtitles will actually select an ENG track. It has to do that, or the code of the original would have to be modified (which is out of scope for what BD-RB does).
Ah, OK. Solves that.

jdobbs
10th December 2021, 00:34
Ah, OK. Solves that.I'll also add a hidden option that allows you to keep EAC3 (without core) -- assuming I can make it work. I won't document it in HIDDENOPTS.TXT (so people won't get pissed at me when it fails on another player), but I'll post how to use it here in the bug thread.

jdobbs
10th December 2021, 00:37
As noted in my above posting, BDEdit will not work with BDRB output.BDEdit should work with a standard disc created by BD-RB. But if you want to edit any UHD disc, you have to donate to BDEdit and get an updated version. I did, and it is very helpful in developing/debugging/updating UHD support.

MrVideo
10th December 2021, 04:12
I'll also add a hidden option that allows you to keep EAC3 (without core) -- assuming I can make it work. I won't document it in HIDDENOPTS.TXT (so people won't get pissed at me when it fails on another player), but I'll post how to use it here in the bug thread.
As I mentioned, txMuxer will not allow an E-AC3 audio stream to me muxed. So, if you are using tsMuxer to do the muxing, you'll need to find away around the issue.

That said, I greatly appreciate the effort.

MrVideo
10th December 2021, 04:19
BDEdit should work with a standard disc created by BD-RB. But if you want to edit any UHD disc, you have to donate to BDEdit and get an updated version. I did, and it is very helpful in developing/debugging/updating UHD support.
Nice to know. No where on the official website is it mentioned that the free version will not do UHD discs and that you need to donate to get the download version that has UHD support. How did you find out about it?

SeeMoreDigital
10th December 2021, 10:17
As I mentioned, txMuxer will not allow an E-AC3 audio stream to me muxed...That's not entirely accurate...

TSmuxerGUI is able to mux E-AC-3 (DD+) audio streams, with or without an AC-3 (DD) core into an .m2ts transport stream. It's just that the Blu-ray disc specification requires all E-AC-3 audio streams to have a DD core.

TSmuxerGUI supports a variety of transport stream muxing environments, it not just for creating Blu-ray discs.

jdobbs
10th December 2021, 14:12
Nice to know. No where on the official website is it mentioned that the free version will not do UHD discs and that you need to donate to get the download version that has UHD support. How did you find out about it?It's discussed in the BDEDIT thread here on Doom9.

jdobbs
10th December 2021, 14:20
As I mentioned, txMuxer will not allow an E-AC3 audio stream to me muxed. So, if you are using tsMuxer to do the muxing, you'll need to find away around the issue.

That said, I greatly appreciate the effort.There are ways to do pretty much anything... it's just whether it's worth the effort and/or whether it's a good idea to begin with. I'm still hesitating on this one.

Note that if you run TSMUXER with an E-AC3 source it creates the structure, muxes the M2TS, and creates a CLPI (with some wrong information in it). Only the MPLS is missing. BD-RB has the ability to create its own CLPIs and MPLSs.

MrVideo
10th December 2021, 17:58
TSmuxerGUI is able to mux E-AC-3 (DD+) audio streams, with or without an AC-3 (DD) core into an .m2ts transport stream. It's just that the Blu-ray disc specification requires all E-AC-3 audio streams to have a DD core.
True, I should have clarified that. I did use tsMuxer to create a M2TS file for testing with the UHD player. It is just that when trying to create a folder or ISO that it doesn't work.

MrVideo
10th December 2021, 18:00
It's discussed in the BDEDIT thread here on Doom9.
OK, thanks.

MrVideo
10th December 2021, 18:03
I'm still hesitating on this one.
Please don't.
Note that if you run TSMUXER with an E-AC3 source it creates the structure, muxes the M2TS, and creates a CLPI (with some wrong information in it). Only the MPLS is missing. BD-RB has the ability to create its own CLPIs and MPLSs.
Ya, that is what I pointed out in my postings. Everything is there, except for the playlist file itself. My UHD player doesn't like that, for some strange reason. :D

jdobbs
11th December 2021, 15:58
Ya, that is what I pointed out in my postings. Everything is there, except for the playlist file itself. My UHD player doesn't like that, for some strange reason. :D Interestingly an older 3D version of TSMUXER will mux E-AC3 -- but, of course, it doesn't support UHD.

MrVideo
15th December 2021, 04:14
It looks like my attempt to manually get this working is a failure. I've managed to freeze my Sony UHD player when I select the first video (of two) to play.

What I did was to mux the M2TS file from the BDRB backup output with the original DD+ audio. tsMuxeer actually didn't like the DD mono audio that BDRB created. I edited (with BDEdit 0.49) the BDRB created playlist and changed the DD/mono to DD+/multichannel and changed the chapter marks. I also had to rename the clipinfo/playlist/M2TS files that tsMuxer created to 00001 and 00002 before copying them into the BDRB created structure.

I should try burning the tsMuxer created folder to see if it does, or does not, freeze the player.

This is sure becoming a lot of work.

MrVideo
15th December 2021, 04:30
And now, for something completely different.

While doing a backup of a UHD disc, I decided to look and the INF file. I noticed that UHD_V3_MODE was set to 0. Since this is a UHD disc backup, you'd think that this value would be set to 1.

thecrowler
16th December 2021, 18:39
In BD-RD, is it possible to create a movie-only backup of an UHD BluRay, also adding an external audio track?
I own the 4K restoration of Escape from NY and i just wanna add my native language from the regular bluray: anyone knows hot to do it, please?

kufo
16th December 2021, 19:57
In BD-RD, is it possible to create a movie-only backup of an UHD BluRay, also adding an external audio track?
I own the 4K restoration of Escape from NY and i just wanna add my native language from the regular bluray: anyone knows hot to do it, please?

You can tke a look at this guiede here: https://elatom.com/software/tsmuxergui-software-for-ts-muxing-with-mpeg-hevc-uhd-support#x3
I think this will work for you. I never made that for me, but it looks like a solution for your purpose. :)

jdobbs
17th December 2021, 13:51
In BD-RD, is it possible to create a movie-only backup of an UHD BluRay, also adding an external audio track?
I own the 4K restoration of Escape from NY and i just wanna add my native language from the regular bluray: anyone knows hot to do it, please?1. Run a job and keep at least one audio track that you don't want. Make sure you don't have BD-RB set to delete the working folder. After it runs, replace the audio file (in the working folder) with the one from the DVD. Then run it again. Since the job is already complete, it won't do any of the reencoding again -- it will just re-perform the muxing.

You do have to make sure, though, that the audio track you are inserting is in the same format as the one you are replacing (AC3, DTS, etc.). You also may want to select the language you will be replacing as the default when you run the job the first time.

2. If you are familiar with TSMUXER, an easier way would be to edit the meta file (in the working folder) and replace the reference to an audio track with the filename/type of the audio file from your DVD. Then just remux with TSMUXER. Note that this will only work on movie-only builds.

jdobbs
17th December 2021, 14:02
And now, for something completely different.

While doing a backup of a UHD disc, I decided to look and the INF file. I noticed that UHD_V3_MODE was set to 0. Since this is a UHD disc backup, you'd think that this value would be set to 1.That flag only gets set when you are forcing the encode for a non-UHD 1080p source/disc to UHD format. It is set when you select "Convert BD to UHD-BD (HEVC) Format" under the "Output Options" menu.

Of course, that option only shows up if you have UHD_CONVERT_ENABLE flag set to "1" in the INI file.

MrVideo
17th December 2021, 22:17
Thanks for the update on the flag.

RetsimLegin
19th December 2021, 18:48
@RetsimLegin

Go into SETUP and uncheck "Do not reencode AC3 (Blu-Ray only)" under the AUDIO options. Let me know if that has an effect.

[Edit] Yep. That's it. I went back through the code and that flag was overriding the "must encode" condition associated with changing framerate. I've fixed it for the next release.

Finally able to try it (actually with a different 24 frame source). Still loses sync. Pretty sure I followed those directions. Attached are the .ini; the AUD.... and the log.
===================INI FILE=====================
[Options]
VERSION=0.61.0.25
ENCODER=1
MODE=0
ENCODE_QUALITY=0
ONEPASS_ENCODING=2
AUTO_QUALITY=1
TARGET_SIZE=47366
NVENC_CAPABLE=1
PRIORITY_CLASS=0
AUDIO_TO_KEEP=eng;
SUBS_TO_KEEP=all
SD_CONVERT=0
OPEN_GOP=0
RESIZE_1080=0
RESIZE_1440=0
RESIZE_720=0
DEINTERLACE=0
SD_TO_1080=1
IGNORE_3D=0
CONVERT_WIDE=0
DTS_REENCODE=0
AC3_REENCODE=1
AC3_640=1
AC3_192=0
KEEP_HD_AUDIO=1
AUDIO_DRC=0
DECODER=0
AVCHD=0
REMOVE_WORKFILES=0
REMOVE_OUTPUT=0
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=1
SUBTITLE_TRACK_LIMIT=1
CUSTOM_TARGET_SIZE=23500
[Paths]
WORKING_PATH=C:\USERS\NIGEL\VIDEOS\BDRBTEMP\
SOURCE_PATH=C:\USERS\NIGEL\VIDEOS\BDRBTEMP\IMPORTS\*************24(24)\

============AUD.....AVS FILE===================

#Created by BD Rebuilder - v0.61.25
LoadPlugin("C:\Users\nigel\Downloads\BDRB 06125\tools\nicaudio.dll")
audio=NicAC3Source("00000.track_4352.ac3").TimeStretch(tempo = 23.976/24.0*100.0)
audio = (AudioChannels(audio) > 6) ? GetChannel(audio,1,2,3,4,7,8) : audio
ConvertAudioTo16bit(ResampleAudio(audio, 48000))


=================LOGFILE===========================

[17:19:33] Importing MP4: ****************24(24)
- Preparing MP4 for processing...
- Collecting audio/video streams from source...
- Converting audio, Track #2, EAC3 to AC3...
- Building pseudo-BD source structure...
[17:21:23] Video import completed successfully.
----------------------
[12/19/21] BD Rebuilder v0.61.25
[17:23:52] Source: *********************24(24)
- Input BD size: 10.53 GB
- Approximate total content: [02:17:09.763]
- Target BD size: 46.26 GB
- Windows Version: 6.2 [9200]
- Resize: SD to HD 1080 enabled
- Auto Quality: Very Good (Very Fast), 1-Pass VBR
- Decoding/Frame serving: NVENCC
- Audio Settings: AC3=1 DTS=0 HD=1 Kbs=640
[17:23:58] PHASE ONE, Encoding
- [17:23:58] Processing: VID_00000 (1 of 1)
- [17:23:58] Extracting A/V streams [VID_00000]
- [17:24:15] Reencoding video [VID_00000]
- Source Video: MPEG-4 (AVC), 1920x1080
- Rate/Length: 23.976fps, 197,317 frames
- Bitrate: 35,000 Kbs
- [17:24:15] Reencoding: VID_00000, Pass 1 of 1
- [17:33:42] Video Encode complete
- [17:33:42] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- [17:33:42] Multiplexing M2TS
[17:34:11]PHASE ONE complete
[17:34:11]PHASE TWO - Rebuild Started
- [17:34:11] Rebuilding BD file Structure
[17:34:11] - Encode and Rebuild complete
[17:34:11] JOB: ******************24(24) finished.



Still has "- Track 4352 (eng): Keeping original audio"

MrVideo
24th December 2021, 09:58
While digging into an issue of trying to replace an audio track in a UHD backup, I discovered that BDRB did not restore the chapter marks, even though there was a CHP file in the workfiles. The meta file indeed had a tsmuxer option to do the chapter marks every 5 minutes. When I looked at the playlist with BDEdit, sure enough, marks every five minutes.

Why didn't BDRB not restore the original chapter marks? Is there an option I failed to set?

gonca
24th December 2021, 11:55
MrVideo, try
Create your BD folder
Exchange the m2ts files, make sure replacement is named same as original
Open BD structure in BDEdit
Go to Playlist
Correct audio
Save
Click on Apply to clpi
Make sure info is correct
If BDedit wants to correct CLPI allow it
Save
Exit
Try disc

MrVideo
24th December 2021, 22:05
The idea was to try and fix a UHD of "Passengers" that has Cinavia audio. The source of the replacement audio is from a MKV file, which supposedly came from a Blu-ray. It may be from a DVDFab MKV build using their Cinavia removal. I played the MKV on my Sony UHD player and it did not get tripped up.

I first used eac3to to extract the audio in order to get the TrueHD remuxed. But, tsMuxer didn't like the audio, complaining that it had frame errors. I then tried mkxextract and tsMuxer didn't like it either. Same frame errors. Looks like I am forever stuck with Cinavia on that movie.

Update: It would have been a wasted effort even if there wasn't an issue with the audio file. I think I may have found a bug in the new Sony UHD player. Playing the file via a thumb drive didn't trip the Cinavia detection. But, placing the file on a BD-ROM and playing that did. Cinavia detection is supposed to happen no matter how the material is played.

gonca
24th December 2021, 22:51
https://www.mediafire.com/file/72kdm8jljdn8fsp/UsEac3to132.7z/file

Try using UsEac3to to re-encode audio from thd to thd+ac3, so you have a core in the track.
Odds are that it will throw up some lossless check failed warnings, but ignore those and see if that helps

MrVideo
25th December 2021, 02:57
As I mentioned, the audio track contains Cinavia. No recoding of any kind will remove it. The audio track also contains Atmos.This particular project is dead and done.

But, as noted above, I've managed to discover that BDRB is not restoring the chapter marks, but instead setting marks for every 5 minutes. I have to remember to restore the chapter marks with BDEdit.

MrVideo
25th December 2021, 09:36
Try using UsEac3to to re-encode audio from thd to thd+ac3, so you have a core in the track.
The Dolby TrueHD streams are with core.