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

LowDead
11th October 2020, 00:16
Anyone else getting pixelation with 1080p 24p source on full UHD? I'm getting this with the extras on 22 Jump Street. Will test another title (first one I had laying around that I bothered to check for 1080p extras was the old Flash Gordon, and to all the zoomers and alphas here, no this is not THE Flash! :D ) to see if that one also gets it before proceeding to provide logs. Right now I'm testing the NVEnc encoder with Very Slow one pass VBR output. Really good tradeoff between quality/encoding time on the 4k part IMHO anyway :)

//LD

AmigaFuture
11th October 2020, 06:14
@AmigaFuture

Interesting. I'll reenable it for the next release. I'll have to go through and make some changes -- and then do some testing.

Cool. PM if you want me to test..

FilipeAmadeuO
11th October 2020, 08:39
@jdobbs
Any chance to add a replace subtitle/audio function ?
Most of the original UHD nowadays don’t have Portuguese language so I buy other version and like to add Portuguese.
I can do it with BDRebuilder but I need to do it in multiple steps and it takes a very long time.

musiclover
11th October 2020, 09:05
@jdobbs
Any chance to add a replace subtitle/audio function ?
Most of the original UHD nowadays don’t have Portuguese language so I buy other version and like to add Portuguese.
I can do it with BDRebuilder but I need to do it in multiple steps and it takes a very long time.

I second the motion. A right click replace would be great

LowDead
11th October 2020, 13:54
@jdobbs
Any chance to add a replace subtitle/audio function ?
Most of the original UHD nowadays don’t have Portuguese language so I buy other version and like to add Portuguese.
I can do it with BDRebuilder but I need to do it in multiple steps and it takes a very long time.

I totally agree.. It's very time consuming to replace/add tracks when working with full disc structures and it would be so nice to have an easy option to have when feeling lazy :)

//LD

cartman0208
11th October 2020, 16:29
Anyone else getting pixelation with 1080p 24p source on full UHD? I'm getting this with the extras on 22 Jump Street. Will test another title (first one I had laying around that I bothered to check for 1080p extras was the old Flash Gordon, and to all the zoomers and alphas here, no this is not THE Flash! :D ) to see if that one also gets it before proceeding to provide logs. Right now I'm testing the NVEnc encoder with Very Slow one pass VBR output. Really good tradeoff between quality/encoding time on the 4k part IMHO anyway :)

//LD

I didn't notice pixelation, but to be honest, I didn't look at the extras in detail, yet ... I'm using CQM with very slow NVENC
Do you have "Quicker encode on extras" enabled?

LowDead
11th October 2020, 22:12
I didn't notice pixelation, but to be honest, I didn't look at the extras in detail, yet ... I'm using CQM with very slow NVENC
Do you have "Quicker encode on extras" enabled?

No, I didn't have quicker encode for extras enabled. I can also say that it was very noticeable on my Samsung 4k TV and not on my computer 1080p monitor running from software. I'm right about to test Blixt Gordon now after a bunch of oversized encodes..

//LD

LowDead
12th October 2020, 00:44
So here comes some logs regarding pixelation and general crappy quality that I get on 1080p material with NVEnc encoder. This time it is on the Studio Canal release of Flash Gordon. An observation is that I only see the artifacts on my TV and not on my monitor. But that could just be that I have crappy monitors. I have also thought about testing to switch decoder. But isn't the hardware decoder used? In the workfiles folder I find .DGI files. Should they be there? Anyway here are some logs and hopefully a video of the pixelation showing on my TV where it actually looks to me to have something to do with motion..

----------------------
[10-11-20] BD Rebuilder v0.61.17
[14:26:34] Source: FLASH_GORDON_-_4K_UHD
- Input BD size: 78,49 GB
- Approximate total content: [02:40:38.926]
- Target BD size: 46,26 GB
- Windows Version: 6.2 [9200]
- Quality: Highest (Very Slow), ABR
- Decoding/Frame serving: NVENCC
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[14:26:34] PHASE ONE, Encoding
- [14:26:34] Processing: VID_00002 (1 of 13)
- [14:26:34] Extracting A/V streams [VID_00002]
- [14:26:46] Reencoding video [VID_00002]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 481 frames
- Bitrate: 41 607 Kbs
- [14:26:46] Reencoding: VID_00002, Pass 1 of 1
- [14:27:00] Video Encode complete
- [14:27:00] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- [14:27:00] Multiplexing M2TS
- [14:27:06] Processing: VID_00003 (2 of 13)
- [14:27:06] Extracting A/V streams [VID_00003]
- [14:27:09] Reencoding video [VID_00003]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 289 frames
- Bitrate: 617 Kbs
- [14:27:09] Reencoding: VID_00003, Pass 1 of 1
- [14:27:18] Video Encode complete
- [14:27:18] Processing audio tracks
- [14:27:18] Multiplexing M2TS
- [14:27:21] Processing: VID_00004 (3 of 13)
- [14:27:21] Extracting A/V streams [VID_00004]
- [14:27:25] Reencoding video [VID_00004]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 157 frames
- Bitrate: 2 086 Kbs
- [14:27:25] Reencoding: VID_00004, Pass 1 of 1
- [14:27:31] Video Encode complete
- [14:27:31] Processing audio tracks
- [14:27:31] Multiplexing M2TS
- [14:27:34] Processing: VID_00005 (4 of 13)
- [14:27:34] Extracting A/V streams [VID_00005]
- [14:27:38] Reencoding video [VID_00005]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 121 frames
- Bitrate: 2 182 Kbs
- [14:27:38] Reencoding: VID_00005, Pass 1 of 1
- [14:27:43] Video Encode complete
- [14:27:43] Processing audio tracks
- [14:27:43] Multiplexing M2TS
- [14:27:46] Processing: VID_00006 (5 of 13)
- [14:27:46] Extracting A/V streams [VID_00006]
- [14:27:50] Reencoding video [VID_00006]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 120 frames
- Bitrate: 500 Kbs
- [14:27:50] Reencoding: VID_00006, Pass 1 of 1
- [14:27:55] Video Encode complete
- [14:27:55] Processing audio tracks
- [14:27:55] Multiplexing M2TS
- [14:27:58] Processing: VID_00007 (6 of 13)
- [14:27:58] Extracting A/V streams [VID_00007]
- [14:28:02] Reencoding video [VID_00007]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 192 frames
- Bitrate: 1 861 Kbs
- [14:28:02] Reencoding: VID_00007, Pass 1 of 1
- [14:28:09] Video Encode complete
- [14:28:09] Processing audio tracks
- [14:28:09] Multiplexing M2TS
- [14:28:12] Processing: VID_00008 (7 of 13)
- [14:28:12] Extracting A/V streams [VID_00008]
- [14:28:16] Reencoding video [VID_00008]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 192 frames
- Bitrate: 542 Kbs
- [14:28:16] Reencoding: VID_00008, Pass 1 of 1
- [14:28:22] Video Encode complete
- [14:28:22] Processing audio tracks
- [14:28:22] Multiplexing M2TS
- [14:28:26] Processing: VID_00009 (8 of 13)
- [14:28:26] Extracting A/V streams [VID_00009]
- [14:28:29] Reencoding video [VID_00009]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 261 frames
- Bitrate: 703 Kbs
- [14:28:29] Reencoding: VID_00009, Pass 1 of 1
- [14:28:38] Video Encode complete
- [14:28:38] Processing audio tracks
- [14:28:38] Multiplexing M2TS
- [14:28:41] Processing: VID_00010 (9 of 13)
- [14:28:41] Extracting A/V streams [VID_00010]
- [14:28:45] Reencoding video [VID_00010]
- Source Video: HEVC, 3840x2160
- Rate/Length: 23,976fps, 240 frames
- Bitrate: 2 029 Kbs
- [14:28:45] Reencoding: VID_00010, Pass 1 of 1
- [14:28:53] Video Encode complete
- [14:28:53] Processing audio tracks
- [14:28:53] Multiplexing M2TS
- [14:28:56] Processing: VID_00011 (10 of 13)
- [14:28:56] Extracting A/V streams [VID_00011]
- [14:29:00] Reencoding video [VID_00011]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 168 frames
- Bitrate: 1 704 Kbs
- [14:29:00] Reencoding: VID_00011, Pass 1 of 1
- [14:29:06] Video Encode complete
- [14:29:06] Processing audio tracks
- [14:29:06] Multiplexing M2TS
- [14:29:09] Processing: VID_01000 (11 of 13)
- [14:29:09] Extracting A/V streams [VID_01000]
- [15:00:47] Reencoding video [VID_01000]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 160 554 frames
- Bitrate: 40 396 Kbs
- [15:00:47] Reencoding: VID_01000, Pass 1 of 1
- [16:07:14] Video Encode complete
- [16:07:14] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- Track 4353 (eng): Keeping original audio
- Track 4354 (deu): Keeping original audio
- Track 4355 (fra): Keeping original audio
- Track 4356 (eng): Keeping original audio
- Track 4357 (eng): Keeping original audio
- [16:07:14] Multiplexing M2TS
- Bitstream exception. Adjusting... success.
- [16:30:39] Processing: VID_02000 (12 of 13)
- [16:30:39] Extracting A/V streams [VID_02000]
- [16:31:51] Reencoding video [VID_02000]
- Source Video: MPEG-4 (AVC), 1920x1080
- Rate/Length: 24,000fps, 40 089 frames
- Bitrate: 3 736 Kbs
- [16:31:51] Reencoding: VID_02000, Pass 1 of 1
- [16:35:00] Video Encode complete
- [16:35:00] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- [16:35:00] Multiplexing M2TS
- [16:35:18] Processing: VID_02001 (13 of 13)
- [16:35:18] Extracting A/V streams [VID_02001]
- [16:36:39] Reencoding video [VID_02001]
- Source Video: MPEG-4 (AVC), 1920x1080
- Rate/Length: 24,000fps, 20 814 frames
- Bitrate: 11 056 Kbs
- [16:36:39] Reencoding: VID_02001, Pass 1 of 1
- [16:39:06] Video Encode complete
- [16:39:06] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- [16:39:06] Multiplexing M2TS
[16:39:24]PHASE ONE complete
[16:39:24]PHASE TWO - Rebuild Started
- [16:39:24] Rebuilding BD file Structure
[16:41:04] - Encode and Rebuild complete
[16:41:04] JOB: FLASH_GORDON_-_4K_UHD finished.


[Status]
LABEL=FLASH_GORDON_-_4K_UHD
VERSION=v0.61.17
SOURCE_SIZE=84278880546
SOURCE_VIDEO_SIZE=82162329600
TARGET_SIZE=49666850816
REDUCTION=.578736022962036
RESIZE_1080=0
RESIZE_1440=0
AUDIO_TO_KEEP=all
KEEP_HD_AUDIO=-1
SUBS_TO_KEEP=all
BACKUP_MODE=0
MOVIEONLY_TYPE=0
USE_LAVF=0
INSTANCES=1
DGDECNV=-1
DGDECIM=0
FRIMSOURCE=0
FFMS2=0
SSIF_MODE=0
UHD_V3_MODE=0
QUICK=0
ENCODE_STEP=0
COMPLETED=13
REBUILD_COMPLETE=1
[00002]
AUDIO=1
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=124486952
RATE=41607
NSTART=27000000
NEND=27901875
NSIZE=122548224
FLINK=0
MLINK=0
[00003]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=999167
RATE=617
NSTART=27000000
NEND=27541875
NSIZE=1480704
FLINK=0
MLINK=0
[00004]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=1834769
RATE=2086
NSTART=27000000
NEND=27294375
NSIZE=811008
FLINK=0
MLINK=0
[00005]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=1479194
RATE=2182
NSTART=27000000
NEND=27226875
NSIZE=638976
FLINK=0
MLINK=0
[00006]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=192011
RATE=500
NSTART=27000000
NEND=27225000
NSIZE=540672
FLINK=0
MLINK=0
[00007]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=2001890
RATE=1861
NSTART=27000000
NEND=27360000
NSIZE=952320
FLINK=0
MLINK=0
[00008]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=583144
RATE=542
NSTART=27000000
NEND=27360000
NSIZE=1622016
FLINK=0
MLINK=0
[00009]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=1027613
RATE=703
NSTART=27000000
NEND=27489375
NSIZE=2586624
FLINK=0
MLINK=0
[00010]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=2730819
RATE=2029
NSTART=27000000
NEND=27450450
NSIZE=1277952
FLINK=0
MLINK=0
[00011]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=1603645
RATE=1704
NSTART=27000000
NEND=27315000
NSIZE=884736
FLINK=0
MLINK=0
[01000]
AUDIO=111111
PGS=11111111111
VIDEO2=79882620.6521739
V2MBRATE=0
M2TS_TARGET=45131412788
RATE=40396
NSTART=27001875
NEND=328040625
NSIZE=43467976704
FLINK=0
MLINK=0
[02000]
AUDIO=1
PGS=111
APULLDOWN=0
S1440=0
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=943754037
RATE=3736
NSTART=27000000
NEND=102166875
NSIZE=921722880
FLINK=0
MLINK=0
[02001]
AUDIO=1
PGS=111
APULLDOWN=0
S1440=0
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=1338193842
RATE=11056
NSTART=27000000
NEND=66026250
NSIZE=1303130112
FLINK=0
MLINK=0


General
ID : 1 (0x1)
Complete name : B:\WORK\FLASH_GORDON_-_4K_UHD\BDMV\CLIPINF\02000.clpi
Format : Blu-ray Clip info / Blu-ray Clip info
File size : 9.41 KiB
Duration : 27 min 50 s
Overall bit rate mode : Variable
Overall bit rate : 4 415 kb/s
Maximum Overall bit rate : 35.5 Mb/s
OverallBitRate_Precision_Min : 4414522
OverallBitRate_Precision_Max : 4414524

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 3 frames
Format settings, GOP : M=4, N=24
Codec ID : 27
Duration : 27 min 50 s
Bit rate mode : Variable
Bit rate : 4 033 kb/s
Maximum bit rate : 35.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 24.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.081
Stream size : 803 MiB
Source : 02000.m2ts / 02000.m2ts

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : 129
Duration : 27 min 50 s
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 38.2 MiB
Language : English
Service kind : Complete Main
bsid : 8
Dialog Normalization : -31
Dialog Normalization : -31 dB
compr : -0.28
compr : -0.28 dB
dsurmod : 0
acmod : 2
lfeon : 0
dialnorm_Average : -31
dialnorm_Average : -31 dB
dialnorm_Minimum : -31
dialnorm_Minimum : -31 dB
dialnorm_Maximum : -31
dialnorm_Maximum : -31 dB
dialnorm_Count : 2770
compr_Average : -2.30
compr_Average : -2.30 dB
compr_Minimum : -10.10
compr_Minimum : -10.10 dB
compr_Maximum : 5.46
compr_Maximum : 5.46 dB
compr_Count : 2685
dynrng_Average : 10.87
dynrng_Average : 10.87 dB
dynrng_Minimum : -23.81
dynrng_Minimum : -23.81 dB
dynrng_Maximum : 23.80
dynrng_Maximum : 23.80 dB
dynrng_Count : 2770
format_identifier : AC-3
Source : 02000.m2ts / 02000.m2ts

Text #1
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Duration : 26 min 54 s
Delay relative to video : 14 s 417 ms
Language : English
Source : 02000.m2ts / 02000.m2ts

Text #2
ID : 4609 (0x1201)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Duration : 26 min 54 s
Delay relative to video : 14 s 417 ms
Language : German
Source : 02000.m2ts / 02000.m2ts

Text #3
ID : 4610 (0x1202)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Duration : 27 min 7 s
Delay relative to video : 1 s 625 ms
Language : French
Source : 02000.m2ts / 02000.m2ts



Video with the pixelation artefacts (https://youtu.be/Jm90IFfFFwU)

//LD

MrVideo
12th October 2020, 01:32
Anyway here are some logs and hopefully a video of the pixelation showing on my TV where it actually looks to me to have something to do with motion.
It is pretty much a given that pixelation is a result of motion. That is because more bits are required to render the differences between two side-by-side fields/frames. If the required bits cannot be provided, pixelation is the result.

Sharc
12th October 2020, 07:38
@LD:
In general, NVEnc requires higher bitrates than x264/x265 for a decent quality (about 2x). 4Mbps is rather low for 1920x1080p. It could be just ok for 1280x720p.
I did also notice that there are other streams in the log which are encoded at extremely low bitrates, like few 100kbps.
Really strange that you don't see these pixels on your PC.
The YouTube upload is terribly oversaturated (clipped whites). Does your encode and the original source look the same?

Edit:
Out of curiosity I made an NVEnc encode with a low bitrate. I got visible blocks which look quite different from your pixelation, so I suspect the cause for your pixelation is NOT bitrate starvation but must be something else. Most possibly not related to the NVEnc encoder.

cartman0208
12th October 2020, 14:57
The YouTube upload is terribly oversaturated (clipped whites). Does your encode and the original source look the same?

I think, that's because it is filmed with a mobile or actioncam from TV ... did that too and the result never looks the same as the original picture.
But the pixelation is clearly visible.

videoh
12th October 2020, 15:45
In the workfiles folder I find .DGI files. Should they be there? Those are files from DGDecNV used for decoding. Did you license and install DGDecNV?

jdobbs
12th October 2020, 16:43
Anyone else getting pixelation with 1080p 24p source on full UHD? I'm getting this with the extras on 22 Jump Street. Will test another title (first one I had laying around that I bothered to check for 1080p extras was the old Flash Gordon, and to all the zoomers and alphas here, no this is not THE Flash! :D ) to see if that one also gets it before proceeding to provide logs. Right now I'm testing the NVEnc encoder with Very Slow one pass VBR output. Really good tradeoff between quality/encoding time on the 4k part IMHO anyway :)

//LD1. Are you positive it isn't there on the original?

2. I was getting pixelation on 1080p encodes from the older release (a few versions ago) of the UHD version of TSMUXER. But that was on H264 encodes on an HD disc. That was one of the reasons I've kept two copies of TSMUXER in the TOOLS folder. But it was reported as fixed in the TSMUXER change logs and in my tests it had stopped (at least in the examples in which I'd seen it).

Just as a test, you might try downloading a newer release of TSMUXER here (https://bintray.com/justdan96/tsMuxer/tsMuxerGUI-Nightly/2020-10-07--02-32-42#files) and see if it has any impact. You might also try adding ENABLE_NEW_TSMUXER=0 to your INI file. That should make BD-RB use the old muxer for H264 encode/muxes. At the least it might eliminate TSMUXER as a possible cause.

FilipeAmadeuO
12th October 2020, 21:04
I totally agree.. It's very time consuming to replace/add tracks when working with full disc structures and it would be so nice to have an easy option to have when feeling lazy :)

//LD

What is the strategy that you use nowadays ?

LowDead
12th October 2020, 23:02
It is pretty much a given that pixelation is a result of motion. That is because more bits are required to render the differences between two side-by-side fields/frames. If the required bits cannot be provided, pixelation is the result.

Can't argue with that :)

@LD:
In general, NVEnc requires higher bitrates than x264/x265 for a decent quality (about 2x). 4Mbps is rather low for 1920x1080p. It could be just ok for 1280x720p.
I did also notice that there are other streams in the log which are encoded at extremely low bitrates, like few 100kbps.
Really strange that you don't see these pixels on your PC.
The YouTube upload is terribly oversaturated (clipped whites). Does your encode and the original source look the same?

Edit:
Out of curiosity I made an NVEnc encode with a low bitrate. I got visible blocks which look quite different from your pixelation, so I suspect the cause for your pixelation is NOT bitrate starvation but must be something else. Most possibly not related to the NVEnc encoder.

Yes, I'm also curious why BD-RB decides that it needs so little bitrate. If it were converted to HEVC I could understand. But it really do murder the quality of the clip. And the smaller clips are just warnings and other text screens so they can be ignored, but that first clip(studio canal logo) is extremely high. The oversaturation is because it's filmed with my phone. It's just an example to show the pixelation. I'm also leaning towards that the cause is not bitrate starvation (except for the otherwise poor quality). For now I try different decoder, next step would be JDs suggestion to replace TSmuxer.

I think, that's because it is filmed with a mobile or actioncam from TV ... did that too and the result never looks the same as the original picture.
But the pixelation is clearly visible.

Yes, you are completely right.

Those are files from DGDecNV used for decoding. Did you license and install DGDecNV?

Yes, it is a paid/donated version 2053 (latest) that is correctly installed.

1. Are you positive it isn't there on the original?

2. I was getting pixelation on 1080p encodes from the older release (a few versions ago) of the UHD version of TSMUXER. But that was on H264 encodes on an HD disc. That was one of the reasons I've kept two copies of TSMUXER in the TOOLS folder. But it was reported as fixed in the TSMUXER change logs and in my tests it had stopped (at least in the examples in which I'd seen it).

Just as a test, you might try downloading a newer release of TSMUXER here (https://bintray.com/justdan96/tsMuxer/tsMuxerGUI-Nightly/2020-10-07--02-32-42#files) and see if it has any impact. You might also try adding ENABLE_NEW_TSMUXER=0 to your INI file. That should make BD-RB use the old muxer for H264 encode/muxes. At the least it might eliminate TSMUXER as a possible cause.

1. Yes, no pixelation on original and it's consistent for 1080p encodes.

2. Will try replacing TSmuxer after finishing the currently ongoing test of encoding using different decoder. Should have a result in a cuple of hours. *sigh* I wish I could burn Dual Layered BD-RWs at a faster speed than 2x :angry:

Thanks all for your suggestions and help.

//LD

LowDead
12th October 2020, 23:12
What is the strategy that you use nowadays ?

I PMed you...

//LD

MrVideo
13th October 2020, 03:09
I think, that's because it is filmed with a mobile or actioncam from TV
Did you use 8mm, 16mm, 35mm or 65mm film in your camera? What did you then use to telecine it to video? :D

LowDead
13th October 2020, 10:32
Quick update: Another decoder(x264 internal) fell through. Still pixelation. Will continue with JD's suggestions.

//LD

Glarioo
13th October 2020, 19:24
I have done a test with NVEnc encoder.
According to MediaInfo, the maximum bitrate is 15 Mb / s. Why is that bitrate so low?
BDRebuilder Ini: TWEAK_ALTERNATE=--vbv-maxrate 50000 --vbv-bufsize 50000
And the Format Profile is 4 instead of 4.1
CRF was set to 20 in CQM (one pass).

MediaInfo:
Format : Matroska
Format version : Version 2
File size : 13.9 GiB
Duration : 2 h 15 min
Overall bit rate mode : Variable
Overall bit rate : 14.8 Mb/s
Encoded date : UTC 2020-10-13 17:41:36
Writing application : mkvmerge v9.7.1 ('Pandemonium') 32bit
Writing library : libebml v1.3.4 + libmatroska v1.4.5

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 3 frames
Format settings, GOP : M=4, N=30
Codec ID : V_MPEG4/ISO/AVC
Duration : 2 h 15 min
Bit rate mode : Variable
Bit rate : 14.1 Mb/s
Maximum bit rate : 15.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (23976/1000) FPS
Original frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.284
Stream size : 13.3 GiB (96%)
Default : Yes
Forced : No

Glarioo
13th October 2020, 20:08
Same settings, except CRF is now set to 19

MediaInfo:
Format profile: High@L4.1
Bit rate: 17.6 Mb/s
Maximum bit rate: 30.0 Mb/s

jdobbs
14th October 2020, 01:27
@Glarioo

For ALTERNATE output to MKV/MP4 (Container types 1 & 5), 19 is the CRF breakpoint. CRF above 19 sets the max bitrate to 15Mbs, 19 or below it goes to 30Mbs. Those are based upon encode tests of average bitrates across a variety of sources. For specified bitrates of 12Mbs or less BD-RB sets the max to 15Mbs, a higher bitrate sets it to 30Mbs. For non-ALTERNATE it is based on the maximum for the specified target disc (after taking into consideration the required bitrate for audio/subs).

In your example where your bitrate came out to 14.1Mbs -- the 15Mbs high end appears to be limiting (or at least implies it may be hitting it often). If my tests were right that would seem to be unusual (though admittedly it's been a long time since I did those tests). But, what I think I will do (in order to give more control to the user) is to add another option to the ALTERNATE configuration file (ALTERNATE.TXT) in which the maximum bitrate for containers 1 & 5 (MKV/MP4) can be set as a part of the preset.

I'm glad you mentioned this. Because those maxrates were based upon 1080p encodes (and below). I need to go back and see if I adjusted for 2160p in those maxrate limits. I know I did on disc output -- but I don't remember if I did on ALTERNATE.

Glarioo
14th October 2020, 06:45
@Glarioo

For ALTERNATE output to MKV/MP4 (Container types 1 & 5), 19 is the CRF breakpoint. CRF above 19 sets the max bitrate to 15Mbs, 19 or below it goes to 30Mbs. Those are based upon encode tests of average bitrates across a variety of sources. For specified bitrates of 12Mbs or less BD-RB sets the max to 15Mbs, a higher bitrate sets it to 30Mbs. For non-ALTERNATE it is based on the maximum for the specified target disc (after taking into consideration the required bitrate for audio/subs).

In your example where your bitrate came out to 14.1Mbs -- the 15Mbs high end appears to be limiting (or at least implies it may be hitting it often). If my tests were right that would seem to be unusual (though admittedly it's been a long time since I did those tests). But, what I think I will do (in order to give more control to the user) is to add another option to the ALTERNATE configuration file (ALTERNATE.TXT) in which the maximum bitrate for containers 1 & 5 (MKV/MP4) can be set as a part of the preset.

I'm glad you mentioned this. Because those maxrates were based upon 1080p encodes (and below). I need to go back and see if I adjusted for 2160p in those maxrate limits. I know I did on disc output -- but I don't remember if I did on ALTERNATE.

For x264 encoder there is the option "tweak alternate" in BDREBUILDER.INI (TWEAK_ALTERNATE = - vbv-maxrate 50000 --vbv-bufsize 50000). My experience is that this slightly improves the image quality. Since I don't have a Blu-ray player, only a (Dune) media player, I only make mkv files.
It would be such a nice option if tweak alternate would also be possible for NVEnc encoder.
Thanks in advance jdobbs.

SeeMoreDigital
14th October 2020, 08:59
Since I don't have a Blu-ray player, only a (Dune) media player, I only make mkv files.
Old, new... Which model?

Glarioo
14th October 2020, 19:19
Old, new... Which model?

A very old Smart H1. Bought in 2011.
And still works like a charm.

jdobbs
14th October 2020, 22:35
For x264 encoder there is the option "tweak alternate" in BDREBUILDER.INI (TWEAK_ALTERNATE = - vbv-maxrate 50000 --vbv-bufsize 50000). My experience is that this slightly improves the image quality. Since I don't have a Blu-ray player, only a (Dune) media player, I only make mkv files.
It would be such a nice option if tweak alternate would also be possible for NVEnc encoder.
Thanks in advance jdobbs.I'm adding a new option called TWEAK_ALTERNATE_NV for the next release. That way you can add to the command line specific settings related to NVENCC.

But...

In the meantime you should know that TWEAK_ALTERNATE is currently applied to NVENCC encodes that are targeted at containers 1 & 5 (MKV & MP4) -- so you can use it in the meantime. Once I implement TWEAK_ALTERNATE_NV, TWEAK_ALTERNATE will no longer apply to NVENCC.

[Edit] As a test I just tried adding "--vbv-bufsize 30000 --max-bitrate 30000" to a command line that already had "--vbv-bufsize 15000 --max-bitrate 15000" in it -- and it worked (used the higher setting). I posted earlier in this post that it hadn't -- but found that I'd typed it wrong. So you should be able to use TWEAK_ALTERNATE to change it until the next release.

[Edit] Well... even though I'd looked at the code and it appeared to add it to the command line -- I just did a test with TWEAK_ALTERNATE and it doesn't appear to have worked. Hmmm.... guess I need to try things before I post about them.

[Another Edit] Yeah. TWEAK_ALTERNATE currently isn't applied to NVENCC for ALTERNATE CQM encodes. It only works for a ALTERNATE "VBR Bitrate Encoding" or "VBR Target Size [MB]" encoding. I'll change that for TWEAK_ALTERNATE_NV.

Glarioo
15th October 2020, 11:18
Thanks, jdobbs.

LowDead
15th October 2020, 14:29
Update: No success whatever method I have tried. The pixelation artefacts have been persistent over all tests. I have tried three decoders, latest (at the time) tsmuxer and using old version of tsmuxer. I also tried encoding with CQM and still same result.

Are there anyway to reduce the bitrate of the main movie so that the extras get more (maybe in this case for testing purposes alot more) so one can rule out bitrate starvation?

//LD

jdobbs
15th October 2020, 15:05
Update: No success whatever method I have tried. The pixelation artefacts have been persistent over all tests. I have tried three decoders, latest (at the time) tsmuxer and using old version of tsmuxer. I also tried encoding with CQM and still same result.

Are there anyway to reduce the bitrate of the main movie so that the extras get more (maybe in this case for testing purposes alot more) so one can rule out bitrate starvation?

//LDEven with CQM? What was the CQM value that was used?

Emulgator
15th October 2020, 17:44
LowDead, can you cut a part of the source and upload that somewhere ?

LowDead
15th October 2020, 17:58
Even with CQM? What was the CQM value that was used?

----------------------
[10-15-20] BD Rebuilder v0.61.17
[03:20:50] Source: FLASH_GORDON_-_4K_UHD
- Input BD size: 78,49 GB
- Approximate total content: [02:40:38.926]
- Target BD size: 46,26 GB
- Windows Version: 6.2 [9200]
- Quality: Highest (Very Slow), CQM
- Decoding/Frame serving: NVENCC
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[03:20:50] PHASE ONE, Encoding
- [03:20:50] Processing: VID_00002 (1 of 13)
- [03:20:50] Extracting A/V streams [VID_00002]
- [03:21:02] Reencoding video [VID_00002]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 481 frames
- [03:21:02] Performing CQM Prediction...
- Analyzing 1,00 16,80 17,90 18,55 19,05 19,40 [19,48]
- [03:21:44] Encoding using constant quality mode.
- [03:21:57] Video Encode complete
- [03:21:57] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- [03:21:57] Multiplexing M2TS
- [03:22:01] Processing: VID_00003 (2 of 13)
- [03:22:01] Extracting A/V streams [VID_00003]
- [03:22:05] Reencoding video [VID_00003]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 289 frames
- [03:22:05] Performing CQM Prediction...
- Analyzing 38,80 34,70 32,50 30,90 29,70 28,85 28,25 27,65 27,05 26,75 26,45 26,10 [26,10]
- [03:23:22] Encoding using constant quality mode.
- [03:23:31] Video Encode complete
- [03:23:31] Processing audio tracks
- [03:23:31] Multiplexing M2TS
- [03:23:34] Processing: VID_00004 (3 of 13)
- [03:23:34] Extracting A/V streams [VID_00004]
- [03:23:38] Reencoding video [VID_00004]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 157 frames
- Bitrate: 2 086 Kbs
- [03:23:38] Reencoding: VID_00004, Pass 1 of 2
- [03:23:43] Reencoding: VID_00004, Pass 2 of 2
- [03:23:43] Video Encode complete
- [03:23:43] Processing audio tracks
- [03:23:43] Multiplexing M2TS
- [03:23:47] Processing: VID_00005 (4 of 13)
- [03:23:47] Extracting A/V streams [VID_00005]
- [03:23:50] Reencoding video [VID_00005]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 121 frames
- Bitrate: 2 182 Kbs
- [03:23:50] Reencoding: VID_00005, Pass 1 of 2
- [03:23:55] Reencoding: VID_00005, Pass 2 of 2
- [03:23:55] Video Encode complete
- [03:23:55] Processing audio tracks
- [03:23:55] Multiplexing M2TS
- [03:23:59] Processing: VID_00006 (5 of 13)
- [03:23:59] Extracting A/V streams [VID_00006]
- [03:24:02] Reencoding video [VID_00006]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 120 frames
- Bitrate: 500 Kbs
- [03:24:02] Reencoding: VID_00006, Pass 1 of 2
- [03:24:07] Reencoding: VID_00006, Pass 2 of 2
- [03:24:07] Video Encode complete
- [03:24:07] Processing audio tracks
- [03:24:07] Multiplexing M2TS
- [03:24:10] Processing: VID_00007 (6 of 13)
- [03:24:10] Extracting A/V streams [VID_00007]
- [03:24:14] Reencoding video [VID_00007]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 192 frames
- Bitrate: 1 861 Kbs
- [03:24:14] Reencoding: VID_00007, Pass 1 of 2
- [03:24:21] Reencoding: VID_00007, Pass 2 of 2
- [03:24:21] Video Encode complete
- [03:24:21] Processing audio tracks
- [03:24:21] Multiplexing M2TS
- [03:24:24] Processing: VID_00008 (7 of 13)
- [03:24:24] Extracting A/V streams [VID_00008]
- [03:24:27] Reencoding video [VID_00008]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 192 frames
- Bitrate: 542 Kbs
- [03:24:28] Reencoding: VID_00008, Pass 1 of 2
- [03:24:34] Reencoding: VID_00008, Pass 2 of 2
- [03:24:34] Video Encode complete
- [03:24:34] Processing audio tracks
- [03:24:34] Multiplexing M2TS
- [03:24:37] Processing: VID_00009 (8 of 13)
- [03:24:37] Extracting A/V streams [VID_00009]
- [03:24:41] Reencoding video [VID_00009]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 261 frames
- [03:24:41] Performing CQM Prediction...
- Analyzing 37,70 35,45 34,40 33,60 33,15 32,80 [32,80]
- [03:25:20] Encoding using constant quality mode.
- [03:25:28] Video Encode complete
- [03:25:28] Processing audio tracks
- [03:25:28] Multiplexing M2TS
- [03:25:31] Processing: VID_00010 (9 of 13)
- [03:25:31] Extracting A/V streams [VID_00010]
- [03:25:35] Reencoding video [VID_00010]
- Source Video: HEVC, 3840x2160
- Rate/Length: 23,976fps, 240 frames
- [03:25:35] Performing CQM Prediction...
- Analyzing 31,05 26,70 23,80 21,55 19,65 17,95 1,00 17,80 9,40 13,60 [14,12]
- [03:26:40] Encoding using constant quality mode.
- Performing size-correcting second pass...
- [03:26:55] Video Encode complete
- [03:26:55] Processing audio tracks
- [03:26:55] Multiplexing M2TS
- [03:26:59] Processing: VID_00011 (10 of 13)
- [03:26:59] Extracting A/V streams [VID_00011]
- [03:27:02] Reencoding video [VID_00011]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 168 frames
- Bitrate: 1 704 Kbs
- [03:27:02] Reencoding: VID_00011, Pass 1 of 2
- [03:27:08] Reencoding: VID_00011, Pass 2 of 2
- [03:27:08] Video Encode complete
- [03:27:08] Processing audio tracks
- [03:27:08] Multiplexing M2TS
- [03:27:11] Processing: VID_01000 (11 of 13)
- [03:27:11] Extracting A/V streams [VID_01000]
- [04:01:06] Reencoding video [VID_01000]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 160 554 frames
- [04:01:06] Performing CQM Prediction...
- Analyzing 1,00 17,05 18,15 18,90 19,60 20,30 20,95 21,55 21,90 22,05 [22,08]
- [04:08:44] Encoding using constant quality mode.
- [05:15:08] Video Encode complete
- [05:15:08] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- Track 4353 (eng): Keeping original audio
- Track 4354 (deu): Keeping original audio
- Track 4355 (fra): Keeping original audio
- Track 4356 (eng): Keeping original audio
- Track 4357 (eng): Keeping original audio
- [05:15:08] Multiplexing M2TS
- Bitstream exception. Adjusting... success.
- [05:55:18] Processing: VID_02000 (12 of 13)
- [05:55:18] Extracting A/V streams [VID_02000]
- [05:56:28] Reencoding video [VID_02000]
- Source Video: MPEG-4 (AVC), 1920x1080
- Rate/Length: 24,000fps, 40 089 frames
- [05:56:28] Performing CQM Prediction...
- Analyzing 20,80 22,95 [23,02]
- [05:56:41] Encoding using constant quality mode.
- Performing size-correcting second pass...
- [06:03:00] Video Encode complete
- [06:03:00] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- [06:03:00] Multiplexing M2TS
- [06:03:19] Processing: VID_02001 (13 of 13)
- [06:03:19] Extracting A/V streams [VID_02001]
- [06:04:40] Reencoding video [VID_02001]
- Source Video: MPEG-4 (AVC), 1920x1080
- Rate/Length: 24,000fps, 20 814 frames
- [06:04:40] Performing CQM Prediction...
- Analyzing 11,50 19,90 20,15 [20,17]
- [06:04:54] Encoding using constant quality mode.
- [06:07:22] Video Encode complete
- [06:07:22] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- [06:07:22] Multiplexing M2TS
[06:07:43]PHASE ONE complete
[06:07:43]PHASE TWO - Rebuild Started
- [06:07:43] Rebuilding BD file Structure
[06:09:31] - Encode and Rebuild complete
[06:09:31] JOB: FLASH_GORDON_-_4K_UHD finished.


VID_01000 (11 of 13) is the main movie. Which is in DV if that can disturb the extras in some way? On the main movie I get - Bitstream exception. Adjusting... success. But the main movie don't display any problems.

VID_02000 (12 of 13) is the extra I have used for tests which gets CQM of - Analyzing 20,80 22,95 [23,02]. After that It displays a message - Performing size-correcting second pass... Can this be something of interest?

//LD

LowDead
15th October 2020, 17:59
LowDead, can you cut a part of the source and upload that somewhere ?

How much of the source file is needed?

//LD

Emulgator
15th October 2020, 18:08
DGSplit, or hSplit offending part, short of 2 GB, upload to wetransfer (they accept 2GB for free, 1 week)

LowDead
15th October 2020, 19:03
DGSplit, or hSplit offending part, short of 2 GB, upload to wetransfer (they accept 2GB for free, 1 week)

That will be the whole file then ^^

//LD

Emulgator
15th October 2020, 23:25
Good, bring it, rate control won't be off then.

zamengo
16th October 2020, 04:38
There is a way to change subtitle from eng to another language?

Let me explain:

I make a disc from mkv import with .srt on same folder, but this sub is Portuguese.

BD Rebuilder automatically set this to "eng" sub.

I Found a hidden option but I don't know how this works:

FORCED_SUB_LANG=s s = 3 letter preferred language codes -- default is "eng", can be multiples (e.g. "ger;deu")

I need to use: FORCED_SUB_LANG="por" or this not the options I want?

Sharc
16th October 2020, 12:35
Here it comes

LINK REMOVED BY MODERATOR

//LD
I did 3 tests:
a) encoding with NVEncC using commandline, --vbr-quality 24 => no problems
b) importing your file into BD-RB and encoding with NVEnc, Alternate Movie only output to .mkv container, CQM=24 => no problems, bitrate was 4005kbps only.
c) same as b) but outputting to AVCHD structure which involves tsmuxer => no problem
The only thing which I noticed was that BD-RB converted the 24 fps source to 23.976 fps, with audio adjusted accordingly.
I watched on PC and on TV, all ok.

All were 1-pass encodes, I could not test your size-correcting 2nd pass for this file.

I am also wondering why you see the pixelation on your TV only, but not on your PC.

jdobbs
16th October 2020, 14:36
@LowDead

I removed your post with the link in it. It is against forum rules to share a link to a file that may be copyrighted.

jdobbs
16th October 2020, 14:38
There is a way to change subtitle from eng to another language?

Let me explain:

I make a disc from mkv import with .srt on same folder, but this sub is Portuguese.

BD Rebuilder automatically set this to "eng" sub.

I Found a hidden option but I don't know how this works:



I need to use: FORCED_SUB_LANG="por" or this not the options I want?Then add this line to your REBUILDER.INI file:

FORCED_SUB_LANG=por

Also go to the SETTINGS dialog and make sure you have that subtitle language (Portuguese) selected to keep.

FilipeAmadeuO
16th October 2020, 16:56
@jdobbs
Any chance to add a replace subtitle/audio function ?
Most of the original UHD nowadays don’t have Portuguese language so I buy other version and like to add Portuguese.
I can do it with BDRebuilder but I need to do it in multiple steps and it takes a very long time.

Hi jdobbs
Sorry for re-asking :)
There is no LOTR 4K with portuguese subtitles so i am preparing myself :)

LowDead
16th October 2020, 19:09
@LowDead

I removed your post with the link in it. It is against forum rules to share a link to a file that may be copyrighted.

No, problem. Sorry about that. Didn't think longer than my nose as it was requested to be uploaded for investigation purposes.

Sharc did get to download it before it was removed and did some test which came out ok. So why is BD-RB with NVEnc encoder allergic with my setup? *pulls the last of my hair*

//LD

MrVideo
16th October 2020, 20:34
The only thing which I noticed was that BD-RB converted the 24 fps source to 23.976 fps, with audio adjusted accordingly.
I'm curious as to why BDRB would do that.

zamengo
16th October 2020, 22:21
Then add this line to your REBUILDER.INI file:

FORCED_SUB_LANG=por

Also go to the SETTINGS dialog and make sure you have that subtitle language (Portuguese) selected to keep.

Don't work, the english flag still ou sub:

https://i.imgur.com/3wfbIKc.png

Alleycat
17th October 2020, 03:10
Hi all, I've noticed a problem since the new TsMuxer was enabled by default in the latest build of BDRB. Using full backup mode, it's previously it's been possible to play a single m2ts file in a media player on a PC and select the preferred audio track from the right click menu. However when doing a rebuild with the new TsMuxer enabled, one or more of the audio tracks are either missing from the context menu or play intermittently. If I do another build using the hidden option "ENABLE_NEW_TSMUXER=0" all audio tracks are again available and play perfectly. Even more bizarrely, with TsMuxer 2.6.16 all audio tracks do work if selected from the BD Menu in J.River or PowerDVD, but the very same players will have some audio tracks missing when playing the .m2ts file directly. Hope this makes sense. Basically it looks like TsMuxer 2.6.16 is somehow breaking compatibility with LAV splitter etc

Sharc
17th October 2020, 11:55
No, problem. Sorry about that. Didn't think longer than my nose as it was requested to be uploaded for investigation purposes.

Sharc did get to download it before it was removed and did some test which came out ok. So why is BD-RB with NVEnc encoder allergic with my setup? *pulls the last of my hair*

//LD
You could try a pure 1-pass CQM encode using a fix quality value rather than the CQM/CRF prediction algo. Of course you can't fix the target filesize then, but it would give an indication whether your pixelation comes from the prediction/correction mode.

cartman0208
17th October 2020, 13:49
Hi all, I've noticed a problem since the new TsMuxer was enabled by default in the latest build of BDRB. Using full backup mode, it's previously it's been possible to play a single m2ts file in a media player on a PC and select the preferred audio track from the right click menu. However when doing a rebuild with the new TsMuxer enabled, one or more of the audio tracks are either missing from the context menu or play intermittently. If I do another build using the hidden option "ENABLE_NEW_TSMUXER=0" all audio tracks are again available and play perfectly. Even more bizarrely, with TsMuxer 2.6.16 all audio tracks do work if selected from the BD Menu in J.River or PowerDVD, but the very same players will have some audio tracks missing when playing the .m2ts file directly. Hope this makes sense. Basically it looks like TsMuxer 2.6.16 is somehow breaking compatibility with LAV splitter etc

I can confirm that ... first I thought my PC config was broken, because on the Bluray Player were no issues.
But it seems, I'm not alone...
When playing the m2ts files in VLC player, the audio is distorted and choppy or completely missing :scared:

jdobbs
17th October 2020, 15:25
Don't work, the english flag still ou sub:

https://i.imgur.com/3wfbIKc.pngDoes it have a forced Portuguese subtitle? It only works to select from the list of subs that actually contain forced subs within them.

If you want a set of subtitle to be turned on by default (as opposed to selecting from forced subs) you can right click on a sub in the streams list and set it to default on.

jdobbs
17th October 2020, 16:18
Hi all, I've noticed a problem since the new TsMuxer was enabled by default in the latest build of BDRB. Using full backup mode, it's previously it's been possible to play a single m2ts file in a media player on a PC and select the preferred audio track from the right click menu. However when doing a rebuild with the new TsMuxer enabled, one or more of the audio tracks are either missing from the context menu or play intermittently. If I do another build using the hidden option "ENABLE_NEW_TSMUXER=0" all audio tracks are again available and play perfectly. Even more bizarrely, with TsMuxer 2.6.16 all audio tracks do work if selected from the BD Menu in J.River or PowerDVD, but the very same players will have some audio tracks missing when playing the .m2ts file directly. Hope this makes sense. Basically it looks like TsMuxer 2.6.16 is somehow breaking compatibility with LAV splitter etcTry replacing the version of TSMUXER (tsmuxer4k.exe) with a newer one from this link (https://bintray.com/justdan96/tsMuxer/tsMuxerGUI-Nightly/_latestVersion#files). Make sure you use the 32 bit version ( w32-nightly...), as the 64 bit version will cause errors when used with AVISYNTH. The one listed is a couple weeks newer than the one included in BD-RB.

I will say, though, that what you are describing sounds more like a player issue. Does the stream play correctly when using a hardware BD player? The fact that PowerDVD sees them correctly makes me think they are alright. But I'll look and see if I can find anything odd.

LowDead
17th October 2020, 23:23
You could try a pure 1-pass CQM encode using a fix quality value rather than the CQM/CRF prediction algo. Of course you can't fix the target filesize then, but it would give an indication whether your pixelation comes from the prediction/correction mode.

THAAAAAANKS!!!! This worked. So why does the prediction/correction cause this? But wait, I also got the error when doing VBR. One thing I noticed was that my test extras clip had a bitrate of ~7000kbit instead of ~4000 kbit.

btw, I had to blank main movie and force encode on the rest of the files to even get onto a disc..

Have a few more tests to do..

Settings:

[Options]
VERSION=0.61.0.17
BD5_SIZE=4610
BD9_SIZE=8250
BD25_SIZE=24400
*BD50_SIZE=50190
CUSTOM_TARGET_SIZE=49350
AUDIO_TO_KEEP=all
SUBS_TO_KEEP=all
SD_CONVERT=0
OPEN_GOP=1
RESIZE_1080=0
RESIZE_1440=0
RESIZE_720=0
DEINTERLACE=0
SD_TO_1080=0
IGNORE_3D=0
CONVERT_WIDE=0
DTS_REENCODE=0
AC3_REENCODE=0
AC3_640=1
AC3_192=0
KEEP_HD_AUDIO=1
AUDIO_DRC=0
DECODER=3
AVCHD=1
REMOVE_WORKFILES=0
REMOVE_OUTPUT=0
USE_FILTERS=0
BDMV_CERT_ONLY=1
IVTC_PULLDOWN=1
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
AUTO_BIAS=3
B_PYRAMID=1
DGDECIM_SW_DECODE=0
ENCODER_MENU=1
FRIM_SW_DECODE=0
FRIM_SW_ENCODE=0
HC_PROFILE=BEST
IMPORT_HEVC_INTACT=1
KEEP_MBTREE=1
PASS_TWO_STATS_UPDATE=1
SHOW_ENCODER=1
DTSX_ENABLE=1
ENABLE_TEST=1
ENABLE_BLANKING=1
DEFAULT_LANG=eng
TARGET_SIZE=24400
MIN_M2TS_SIZE=0
MIN_PLAYLIST_MINS=0
MENU_BACKGROUND=C:\vidsoft\BD_Rebuilder\misc\menuback.jpg
MENU_AUDIO=C:\vidsoft\BD_Rebuilder\tools\blankclip\blank.ac3
IMPORT_THRESHOLD=15
QUICK_PLAY_THRESHOLD=10
MENU_AUTO_BACKGROUND=1
MENU_AUTO_DVDAUDIO=1
MENU_PLAY_SEQUENTIAL=0
MENU_START_WITH_MENU=1
IMPORT_LIMIT_LANG=0
IMPORT_KEEP_PLAYALL=0
IMPORT_PREPARE_MKV=1
NVENC_CAPABLE=1
ENCODE_QUALITY=0
AUTO_QUALITY=0
ONEPASS_ENCODING=1
FIXED_CRF=20
FORCE_ENCODE=1
ENCODER=1
MODE=0
[Paths]
DGIndexNV=C:\vidsoft\DGDecNV\DGIndexNV.exe
DGDecNV=C:\vidsoft\DGDecNV\DGDecodeNV.dll
WORKING_PATH=E:\WORK\FIXEDCRF\
SOURCE_PATH=L:\UHDBD\FLASH_GORDON_-_4K_UHD


[10-17-20] BD Rebuilder v0.61.17
[21:10:53] Source: FLASH_GORDON_-_4K_UHD
- Input BD size: 5,86 GB
- Approximate total content: [02:40:38.926]
- Target BD size: 23,83 GB
- Windows Version: 6.2 [9200]
- Quality: Very Good (Very Fast), CQM
- Decoding/Frame serving: NVENCC
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[21:10:57] PHASE ONE, Encoding
- [21:10:57] Processing: VID_00002 (1 of 13)
- [21:10:57] Extracting A/V streams [VID_00002]
- [21:11:10] Reencoding video [VID_00002]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 481 frames
- [21:11:10] Encoding using constant quality mode.
- [21:11:16] Video Encode complete
- [21:11:16] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- [21:11:16] Multiplexing M2TS
- [21:11:20] Processing: VID_00003 (2 of 13)
- [21:11:20] Extracting A/V streams [VID_00003]
- [21:11:24] Reencoding video [VID_00003]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 289 frames
- [21:11:24] Encoding using constant quality mode.
- [21:11:28] Video Encode complete
- [21:11:28] Processing audio tracks
- [21:11:28] Multiplexing M2TS
- [21:11:32] Processing: VID_00004 (3 of 13)
- [21:11:32] Extracting A/V streams [VID_00004]
- [21:11:35] Reencoding video [VID_00004]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 157 frames
- Bitrate: 20 239 Kbs
- [21:11:35] Reencoding: VID_00004, Pass 1 of 2
- [21:11:39] Reencoding: VID_00004, Pass 2 of 2
- [21:11:39] Video Encode complete
- [21:11:39] Processing audio tracks
- [21:11:39] Multiplexing M2TS
- [21:11:42] Processing: VID_00005 (4 of 13)
- [21:11:42] Extracting A/V streams [VID_00005]
- [21:11:46] Reencoding video [VID_00005]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 121 frames
- Bitrate: 21 171 Kbs
- [21:11:46] Reencoding: VID_00005, Pass 1 of 2
- [21:11:48] Reencoding: VID_00005, Pass 2 of 2
- [21:11:48] Video Encode complete
- [21:11:48] Processing audio tracks
- [21:11:48] Multiplexing M2TS
- [21:12:01] Processing: VID_00006 (5 of 13)
- [21:12:01] Extracting A/V streams [VID_00006]
- [21:12:05] Reencoding video [VID_00006]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 120 frames
- Bitrate: 2 771 Kbs
- [21:12:05] Reencoding: VID_00006, Pass 1 of 2
- [21:12:08] Reencoding: VID_00006, Pass 2 of 2
- [21:12:08] Video Encode complete
- [21:12:08] Processing audio tracks
- [21:12:08] Multiplexing M2TS
- [21:12:11] Processing: VID_00007 (6 of 13)
- [21:12:11] Extracting A/V streams [VID_00007]
- [21:12:15] Reencoding video [VID_00007]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 192 frames
- Bitrate: 18 057 Kbs
- [21:12:15] Reencoding: VID_00007, Pass 1 of 2
- [21:12:18] Reencoding: VID_00007, Pass 2 of 2
- [21:12:18] Video Encode complete
- [21:12:18] Processing audio tracks
- [21:12:18] Multiplexing M2TS
- [21:12:22] Processing: VID_00008 (7 of 13)
- [21:12:22] Extracting A/V streams [VID_00008]
- [21:12:26] Reencoding video [VID_00008]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 192 frames
- Bitrate: 5 260 Kbs
- [21:12:26] Reencoding: VID_00008, Pass 1 of 2
- [21:12:30] Reencoding: VID_00008, Pass 2 of 2
- [21:12:30] Video Encode complete
- [21:12:30] Processing audio tracks
- [21:12:30] Multiplexing M2TS
- [21:12:33] Processing: VID_00009 (8 of 13)
- [21:12:33] Extracting A/V streams [VID_00009]
- [21:12:37] Reencoding video [VID_00009]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 261 frames
- [21:12:37] Encoding using constant quality mode.
- [21:12:41] Video Encode complete
- [21:12:41] Processing audio tracks
- [21:12:41] Multiplexing M2TS
- [21:12:45] Processing: VID_00010 (9 of 13)
- [21:12:45] Extracting A/V streams [VID_00010]
- [21:12:48] Reencoding video [VID_00010]
- Source Video: HEVC, 3840x2160
- Rate/Length: 23,976fps, 240 frames
- [21:12:48] Encoding using constant quality mode.
- [21:12:52] Video Encode complete
- [21:12:52] Processing audio tracks
- [21:12:52] Multiplexing M2TS
- [21:12:56] Processing: VID_00011 (10 of 13)
- [21:12:56] Extracting A/V streams [VID_00011]
- [21:12:59] Reencoding video [VID_00011]
- Source Video: HEVC, 3840x2160
- Rate/Length: 24,000fps, 168 frames
- Bitrate: 16 531 Kbs
- [21:12:59] Reencoding: VID_00011, Pass 1 of 2
- [21:13:02] Reencoding: VID_00011, Pass 2 of 2
- [21:13:02] Video Encode complete
- [21:13:02] Processing audio tracks
- [21:13:02] Multiplexing M2TS
- [21:13:06] Blanking: VID_01000 (11 of 13)
- [21:13:06] Processing: VID_02000 (12 of 13)
- [21:13:06] Extracting A/V streams [VID_02000]
- [21:14:06] Reencoding video [VID_02000]
- Source Video: MPEG-4 (AVC), 1920x1080
- Rate/Length: 24,000fps, 40 089 frames
- [21:14:06] Encoding using constant quality mode.
- [21:15:28] Video Encode complete
- [21:15:28] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- [21:15:28] Multiplexing M2TS
- [21:15:47] Processing: VID_02001 (13 of 13)
- [21:15:47] Extracting A/V streams [VID_02001]
- [21:17:11] Reencoding video [VID_02001]
- Source Video: MPEG-4 (AVC), 1920x1080
- Rate/Length: 24,000fps, 20 814 frames
- [21:17:11] Encoding using constant quality mode.
- [21:18:31] Video Encode complete
- [21:18:31] Processing audio tracks
- Track 4352 (eng): Keeping original audio
- [21:18:31] Multiplexing M2TS
[21:19:04]PHASE ONE complete
[21:19:04]PHASE TWO - Rebuild Started
- [21:19:04] Rebuilding BD file Structure
[23:15:47] - Encode and Rebuild complete
[23:15:47] JOB: FLASH_GORDON_-_4K_UHD finished.


[Status]
LABEL=FLASH_GORDON_-_4K_UHD
VERSION=v0.61.17
SOURCE_SIZE=6296154371
SOURCE_VIDEO_SIZE=4179603456
TARGET_SIZE=25585254400
REDUCTION=5.61505504817919
RESIZE_1080=0
RESIZE_1440=0
AUDIO_TO_KEEP=all
KEEP_HD_AUDIO=-1
SUBS_TO_KEEP=all
BACKUP_MODE=0
MOVIEONLY_TYPE=0
USE_LAVF=0
INSTANCES=1
DGDECNV=-1
DGDECIM=0
FRIMSOURCE=0
FFMS2=0
SSIF_MODE=0
UHD_V3_MODE=0
QUICK=0
ENCODE_STEP=0
COMPLETED=13
REBUILD_COMPLETE=1
[00002]
AUDIO=1
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=1207806427
NSTART=27000000
NEND=27901875
NSIZE=107231232
FLINK=0
MLINK=0
[00003]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=9694190
NSTART=27000000
NEND=27541875
NSIZE=2267136
FLINK=0
MLINK=0
[00004]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=17801431
RATE=20239
NSTART=27000000
NEND=27294375
NSIZE=3741696
FLINK=0
MLINK=0
[00005]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=14351542
RATE=21171
NSTART=27000000
NEND=27226875
NSIZE=3741696
FLINK=0
MLINK=0
[00006]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=1862941
RATE=2771
NSTART=27000000
NEND=27225000
NSIZE=540672
FLINK=0
MLINK=0
[00007]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=19422880
RATE=18057
NSTART=27000000
NEND=27360000
NSIZE=2506752
FLINK=0
MLINK=0
[00008]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=5657819
RATE=5260
NSTART=27000000
NEND=27360000
NSIZE=2463744
FLINK=0
MLINK=0
[00009]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=9970182
NSTART=27000000
NEND=27489375
NSIZE=3213312
FLINK=0
MLINK=0
[00010]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=26495154
NSTART=27000000
NEND=27450450
NSIZE=4227072
FLINK=0
MLINK=0
[00011]
AUDIO=
PGS=
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=15559003
RATE=16531
NSTART=27000000
NEND=27315000
NSIZE=2611200
FLINK=0
MLINK=0
[02000]
AUDIO=1
PGS=111
APULLDOWN=0
S1440=0
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=9156559569
NSTART=27000000
NEND=102166875
NSIZE=1557891072
FLINK=0
MLINK=0
[02001]
AUDIO=1
PGS=111
APULLDOWN=0
S1440=0
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=12983522348
NSTART=27000000
NEND=66026250
NSIZE=1216567296
FLINK=0
MLINK=0


"C:\vidsoft\BD_Rebuilder\tools\nvenc\nvencc.exe" --avhw -i "L:\UHDBD\FLASH_GORDON_-_4K_UHD\BDMV\STREAM\02001.m2ts" --codec h264 --preset performance --bluray --qp-min 0 --multipass 2pass-full --vbr 0 --vbr-quality 20 --aq-temporal --keyfile "E:\WORK\FIXEDCRF\WORKFILES\VID_02001.CHP" --sar 1:1 --aud --pic-struct --vbv-bufsize 30000 --max-bitrate 35000 --gop-len 24 -o "E:\WORK\FIXEDCRF\WORKFILES\VID_02001.AVS.264"


//LD

Alleycat
18th October 2020, 00:18
Try replacing the version of TSMUXER (tsmuxer4k.exe) with a newer one from this link (https://bintray.com/justdan96/tsMuxer/tsMuxerGUI-Nightly/_latestVersion#files). Make sure you use the 32 bit version ( w32-nightly...), as the 64 bit version will cause errors when used with AVISYNTH. The one listed is a couple weeks newer than the one included in BD-RB.

I will say, though, that what you are describing sounds more like a player issue. Does the stream play correctly when using a hardware BD player? The fact that PowerDVD sees them correctly makes me think they are alright. But I'll look and see if I can find anything odd.

Thanks for replying. I tried your link above but it only has TsMuxer not TsMuxer4k?

jdobbs
18th October 2020, 00:26
Thanks for replying. I tried your link above but it only has TsMuxer not TsMuxer4k? You have to rename it to "tsmuxer4k.exe" and then copy it to the BD-RB TOOLS folder. I gave it that name to distinguish it from the older version of TSMUXER (v2.6.12) which is still present in the TOOLS folder.