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

jdobbs
22nd February 2021, 16:20
I have updated the first post of this thread with a link to the latest version of BD Rebuilder (v0.61.21). Changes for this release:- Corrected an error in which BD-RB assumed
that all imported HEVC video files were UHD
regardless of resolution or attributes. Now
UHD will only be assumed for 2160p sources.
- Added a new hidden option NVENC_DECIMATE.
If set to 1, HW decimation is accomplished
for IVTC when using NVENC (rather that
forcing use of [slower] AVS for input).
Works well and fast for repeated frame type
telecine but not-so-much for other types.
- Corrected a sizing error that can occur when
importing and reencoding with NVENCC.
- Modified the parameters by which decision is
made to use original imported file as input
during encoding of PSEUDO structure.
- Fixed an issue in which including a filter
that only affects audio was still forcing
--avs encoding mode when using NVENCC.
- Fixed an issue in which the GOP keyint might
be set incorrectly in some circumstances.
- Added a safeguard that gathers the total #
of frames encoded and compares it to that
expected -- meant to catch premature NVENCC
termination that doesn't return an error.
- Corrected an issue in which imported files
with non-compliant framerates, or certain
types of conversion actions, might encode
at an incorrect framerate when using
NVENCCC. It might also cause TSMUXER to
error during rebuild due to a frame rate
mismatch.
- Added code to use UHD clips for blanking
when working with a UHD source.
- Added code enabling NVENCC to be used for
non-compliant source conversion during
import. This method is experimental and
can be enabled by adding a hidden option
NVENC_CONVERT=1 to BDREBUILDER.INI.
- Updated TSMUXER4K to the 2021-02-08 build.
- Other minor corrections and cosmetic fixes.

jdobbs
22nd February 2021, 17:23
Okay. As a part of the update I posted today, I've also included a new function that I'm keeping hidden so that only those users (this forum) who do true beta testing can try it out and (hopefully) help me get it fully functioning. The function is conversion of non-UHD discs to UHD format (v3 with HEVC encoding).

Here's what works now when it is enabled:

1. Performing a Movie-Only backup from a non-UHD disc to UHD format.
2. Converting an imported pseudo-disc structure to UHD format (full or movie-only).
3. Converting a disc that has been Quick-Play authored to UHD format (full or movie-only).

Here's where I'm having trouble:

- Converting off-the-shelf commercial blu-ray discs to UHD format via full-backup mode.

Obviously something is not being updated correctly when I create the UHD output from a commercial disc -- something that doesn't exist in the simple menuing system associated with BD-RB internal authoring. But I haven't been able to put my finger on it. I'm hoping some of the folks who are familiar with UHD and (maybe) those who might have a copy of the BDEdit program that supports UHD can look at the output and help point me to where the issue is.

To enable the UHD conversion/output mode, add the following hidden option to your INI file:

UHD_CONVERT_ENABLE=1

When you have added this option, a new menu item will appear on the SETTINGS/OUTPUT OPTION menu called:

"Convert BD to UHD-BD (HEVC) Format"

As long as it is checked, all output from BD-RB will be in UHD-BD format.

Please note that the UHD standard only supports 2160p and 1080p formats for HEVC encoding. So only 1080p formats are converted to HEVC by default. In testing, however, I have found that (at least on my UHD-BD player) other formats (like 720p and 480p/576p) will play just fine if I convert them. I've been very pleased with the quality I've seen using HEVC on imported DVDs in 480p format (you can fit A LOT on a BD-25!) So, for those who want to live on the wild-side, I've added another hidden option that enables conversion of non-1080p sources into a UHD formatted disc as well. To enable that mode, just add the following to your INI file:

UHD_ALL_MODE=1

I hope testing will reveal where I'm missing the boat on standard commercial BDs and I can get that working for the next release.

Thanks.

CraigWally
23rd February 2021, 19:04
I don't know if this is a bug or just me doing something wrong, but here goes.
I've just done UHD backup (BD25, Movie and Menus (Auto blanking)) of The Greatest Showman (Nvenc), all seemed to go well, until I played the burned disc in my standalone player (Sony UBP X500).
The movie itself plays flawlessly, excellent PQ,
however the menu stutters.
Upon investigation it seems that the two m2ts files that make up the menu video were not processed by BDRB but just copied across intact.
MediaInfo reports that these files are 85Mb/s (Max 109Mb/s)!
I tried to investigate why these files were not presented in the BDRB stream list and it seems they only appear if I select DVD 5 or 9, but BD25 or over and it ignores them.
Am I right in thinking that these files have too high a bitrate for BD25?, or did I dream that?
Any help is appreciated

MrVideo
23rd February 2021, 19:22
Okay. As a part of the update I posted today, I've also included a new function that I'm keeping hidden so that only those users (this forum) who do true beta testing can try it out and (hopefully) help me get it fully functioning. The function is conversion of non-UHD discs to UHD format (v3 with HEVC encoding).
Does this mean you are getting closer to having the ability to make UHD discs from scratch with 1080p/2160p H264/H265 TS/MKV files?

jdobbs
24th February 2021, 17:13
Does this mean you are getting closer to having the ability to make UHD discs from scratch with 1080p/2160p H264/H265 TS/MKV files?It can do that now. You have to set the hidden setting to do 1080p. 2160p works either way. You just import them first -- and then reencode.

If you want 1080p output to UHD/HEVC you have to set UHD_CONVERT_ENABLE=1 and then select the UHD-BD option under SETTINGS/OUTPUT OPTIONS.

Note that any created menus will still be AVC and 1080p -- but that's compatible with UHD-BD. I may add UHD menus as a future option as well.

jdobbs
24th February 2021, 17:26
I don't know if this is a bug or just me doing something wrong, but here goes.
I've just done UHD backup (BD25, Movie and Menus (Auto blanking)) of The Greatest Showman (Nvenc), all seemed to go well, until I played the burned disc in my standalone player (Sony UBP X500).
The movie itself plays flawlessly, excellent PQ,
however the menu stutters.
Upon investigation it seems that the two m2ts files that make up the menu video were not processed by BDRB but just copied across intact.
MediaInfo reports that these files are 85Mb/s (Max 109Mb/s)!
I tried to investigate why these files were not presented in the BDRB stream list and it seems they only appear if I select DVD 5 or 9, but BD25 or over and it ignores them.
Am I right in thinking that these files have too high a bitrate for BD25?, or did I dream that?
Any help is appreciatedTry adding the following to your INI file and see if it reencodes the menu:

MIN_M2TS_SIZE=0
MIN_PLAYLIST_MINS=0

There is definitely a difference in allowable speed between a BD-25 and a BD-66 or BD-100. But I've never actually had an issue because of it. But, hopefully adding those two hidden options will reencode the menus so you can see if that is the issue.

MrVideo
25th February 2021, 05:48
It can do that now. You have to set the hidden setting to do 1080p. 2160p works either way. You just import them first -- and then reencode.
Thanks, Somehow I must have missed the announcement that it was working.

CraigWally
25th February 2021, 11:19
Try adding the following to your INI file and see if it reencodes the menu:

MIN_M2TS_SIZE=0
MIN_PLAYLIST_MINS=0

There is definitely a difference in allowable speed between a BD-25 and a BD-66 or BD-100. But I've never actually had an issue because of it. But, hopefully adding those two hidden options will reencode the menus so you can see if that is the issue.

I already have those two items in my INI files.
There's something else going on here - I'll investigate further

jdobbs
25th February 2021, 15:00
I already have those two items in my INI files.
There's something else going on here - I'll investigate furtherHere's a "testing" option I'd forgotten about:

REENCODE_MENUS=1

Try that. But, be warned, I don't think I've ever tried it with UHD..

CraigWally
27th February 2021, 18:51
Here's a "testing" option I'd forgotten about:

REENCODE_MENUS=1

Try that. But, be warned, I don't think I've ever tried it with UHD..

That did the trick, perfect
Thanks

jdobbs
27th February 2021, 21:01
That did the trick, perfect
ThanksDid it play back correctly without issues? I so, I may want to consider making a complete reencode the default when outputting UHD to BD-25/50.

CraigWally
27th February 2021, 23:37
absolutely correctly, no issues whatsoever

Lathe
28th February 2021, 06:24
I have updated the first post of this thread with a link to the latest version of BD Rebuilder (v0.61.21). Changes for this release:- Corrected an error in which BD-RB assumed
that all imported HEVC video files were UHD
regardless of resolution or attributes. Now
UHD will only be assumed for 2160p sources.
- Added a new hidden option NVENC_DECIMATE.
If set to 1, HW decimation is accomplished
for IVTC when using NVENC (rather that
forcing use of [slower] AVS for input).
Works well and fast for repeated frame type
telecine but not-so-much for other types.
- Corrected a sizing error that can occur when
importing and reencoding with NVENCC.
- Modified the parameters by which decision is
made to use original imported file as input
during encoding of PSEUDO structure.
- Fixed an issue in which including a filter
that only affects audio was still forcing
--avs encoding mode when using NVENCC.
- Fixed an issue in which the GOP keyint might
be set incorrectly in some circumstances.
- Added a safeguard that gathers the total #
of frames encoded and compares it to that
expected -- meant to catch premature NVENCC
termination that doesn't return an error.
- Corrected an issue in which imported files
with non-compliant framerates, or certain
types of conversion actions, might encode
at an incorrect framerate when using
NVENCCC. It might also cause TSMUXER to
error during rebuild due to a frame rate
mismatch.
- Added code to use UHD clips for blanking
when working with a UHD source.
- Added code enabling NVENCC to be used for
non-compliant source conversion during
import. This method is experimental and
can be enabled by adding a hidden option
NVENC_CONVERT=1 to BDREBUILDER.INI.
- Updated TSMUXER4K to the 2021-02-08 build.
- Other minor corrections and cosmetic fixes.

Thanks kindly Boss, that is awesome! :D

It's definitely past time for a contribution, I would assume still by way of Amazon card, right? (although I believe MrVideo said something about you like us to send Strippers directly to your house now...? Did I get that right?)

BTW, I'm really glad you addressed this following issue because I know that gonca has been suffering from it for many years:

"Added a safeguard that gathers the total #
of frames encoded and compares it to that
expected -- meant to prevent premature termination"

gonca
28th February 2021, 13:48
You came back after all this time just to make a juvenile joke.
Put the mask on a little tighter

Lathe
1st March 2021, 07:02
You came back after all this time just to make a juvenile joke.
Put the mask on a little tighter

:D

Now, now... I think 'Juvenile' is a bit harsh... 'Clever', 'Inventive', 'Insightful' possibly...

BTW... I don't really think this is a 'bug', but I'm pretty sure it's because of my 10 year old OPPO (BDP-83 Pre-Cinavia) I did the first encode I've done in a while and I noticed that after I burned it to Blu-ray (BD25) the OPPO would see it and immediately stop. I tried burning a 2nd one just in case something was wrong with the disc, but no go...

So, I got to thinking that maybe the 'new & improved' slick version of TSMuxer was somehow creating some kind of structure that my old OPPO won't recognize. So, I found an earlier version, probably the one that was around forever, and used it with the files that were encoded already by BDRB. Sure enough, that one played fine (thankfully... I was ready to pull out the tiny bit of hair that I have left)

So, I'm sure that probably won't impact anyone else, really, so please don't waste any time on it. But, I thought since that happened I'd mention it.

Also, do we still send donations only by way of Amazon...?

Cheers!

***EDIT

BTW, I finally created a Speed Dial just for this page, so that it will hopefully remind me to bloody check this damn thread before 6 months go by so I can see what all you Jamokes and Huckleberries are doing!

worknstiff
1st March 2021, 16:54
Hi Lathe, I read your post and was apprehensive when I took my newly burned BD25 that was processed using v0.61.21 and put it in my OPPO BDP-93. It plays perfectly, I wonder if the disk you did was from a Blu-ray or were you rebuilding something from a 4K?

jdobbs
1st March 2021, 17:10
Also, do we still send donations only by way of Amazon...? Yes. I appreciate the thought.
So, I got to thinking that maybe the 'new & improved' slick version of TSMuxer was somehow creating some kind of structure that my old OPPO won't recognize. So, I found an earlier version, probably the one that was around forever, and used it with the files that were encoded already by BDRB. Sure enough, that one played fine (thankfully... I was ready to pull out the tiny bit of hair that I have left)Any chance you may have had "Convert BD to UHD-BD (HEVC) Format" selected? That would have created a disc that would do exactly what you describe.

gamete
5th March 2021, 18:29
error mkv to bluray

[03/05/21] BD Rebuilder v0.61.21
[13:01:13] Source: TENET_(2020)2160P_UHD_DTS-HD_AC3_ITA_ENG_HDR_HEVC
- Input BD size: 64,60 GB
- Approximate total content: [02:26:33.282]
- Target BD size: 24,22 GB
- Windows Version: 6.2 [9200]
- MOVIE-ONLY mode enabled
- Quality: Better (Faster), Two Pass
- UHD-BD source detected.
- Decoding/Frame serving: FFMPEG
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[13:01:13] PHASE ONE, Encoding
- [13:01:13] Processing: VID_00000 (1 of 1)
- [13:01:13] Extracting A/V streams [VID_00000]
- [13:19:59] Reencoding video [VID_00000]
- Source Video: HEVC, 3840x2160
- Rate/Length: 23,976fps, 210.828 frames
- Bitrate: 19.377 Kbs
- [13:19:59] Reencoding: VID_00000, Pass 1 of 2
[13:20:01] - Failed video encode, aborted


inspect ok

cartman0208
5th March 2021, 19:00
I don't want to raise the topic of the STRANGE :rolleyes: filename (again) ... but did you try any other encoding settings?
I do all my 4K encodes with 1pass CQM...

EDIT: OK, I realized, I only do NVENC lately ;)

Bilbo1238
5th March 2021, 19:22
Hi... Not sure if I'm doing something wrong or if this is a bug. I keep having issues with audio not syncing up with video.
I have a bunch of videos in MKV format that I'm trying to import into BD Rebuilder, convert over to BD format, and compress to BD25. For most of the videos, this is working fine. But I keep running into videos where the audio doesn't sync up with the video. The MKV video/audio sync is fine before importing into BD Rebuilder, but after import (and even before Backup/compression), I play the M2TS file in the imports folder and already the audio is out of sync. At the beginning of the video, it's not out by much; half-way through its out of sync by about 2 seconds; and by the end it's out by around 5 seconds. So it gets worse throughout the video.
All of the videos are in MKV format, and the video streams are encoded with MPEG4/AVC/H264. All of the audio streams are either AC3 or EAC3. All of the video files have been run through VidCoder on the same preset, so it's strange to me that some import correctly and others do not.
I noticed in another thread (where someone had similar issues) that someone suggested using different decoding/frame serving options in the setup options. I tried Directshow, internal LAVF, and FRIMSource, but they all produce the same issue for me.
Here are my results of Help > Inspect:

[02-27-21] Checking System Settings
- BD-Rebuilder v0.61.21
- Windows Version: 6.2 [9200]
- Working Path Free Space: 160.88GB
- AVISYNTH Version: 2.6.0.6, Ok
- LAVFILTERS: Ok
- X264: Ok
- X265: Ok
- AFTEN: Ok
- FAAC: Ok
- MP4BOX: Ok
- WAVI: Ok
- TSMUXER: Ok
- FRIMEncode: Ok
- FRIMDecode: Ok
[02-27-21] Systems Settings Check complete

Hope someone can help... Thanks.

videoh
5th March 2021, 19:31
Might be due to a mismatch in framerate between the MKV container and the elementary stream. Can you post a link to a sample MKV that does this?

tebasuna51
6th March 2021, 10:52
That can happen also when video have Variable Frame Rate (it can be checked with MediaInfo).

Many anime mkv have VFR, also when video was encode with HandBrake defaults.

gamete
6th March 2021, 14:39
mkv made with tsmuxer
after with tsmuxer uhd

========Job Started========
[09:02:12] Scanning source for UHD attributes...
- UHD and HDR attributes collected.
- Scan completed.
[09:02:46] Checking/Adjusting MPLS file...
- Found HEVC stream...
-- Type marker adjusted to UHD-BD HEVC...
-- Format marker adjusted to 2160p...
-- Version marker adjusted to be 0300...
[09:02:46] Checking/Adjusting CLPI file...
- Found HEVC stream...
-- Type marker adjusted to UHD-BD HEVC...
-- Format marker adjusted to 2160p...
-- Version marker adjusted to be 0300...
[09:02:47] Checking/Adjusting BDMV files...
- Added UHD-BD extension...
- Checked/Updated version in Index file...
- Checked/Updated version in MovieObject file...
[09:02:47] Checking/Adjusting M2TS file...
[10:28:11] TSMUXER TO UHD - SUCCESS
=========Job Ended=========t

after created bd structure with bdrebuilder but error again

[03/06/21] BD Rebuilder v0.61.21
[10:31:52] Source: TS_00000
- Input BD size: 65,91 GB
- Approximate total content: [02:20:36.803]
- Target BD size: 24,22 GB
- Windows Version: 6.2 [9200]
- MOVIE-ONLY mode enabled
- Quality: Better (Faster), Two Pass
- UHD-BD source detected.
- Decoding/Frame serving: FFMPEG
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[10:31:52] PHASE ONE, Encoding
- [10:31:52] Processing: VID_00000 (1 of 1)
- [10:31:52] Extracting A/V streams [VID_00000]
- [11:13:35] Reencoding video [VID_00000]
- Source Video: HEVC, 3840x2160
- Rate/Length: 23,976fps, 202.281 frames
- Bitrate: 20.061 Kbs
- [11:13:35] Reencoding: VID_00000, Pass 1 of 2
[12:58:08] - Failed video encode, aborted

someone help me?
thanks

jdobbs
6th March 2021, 15:12
That can happen also when video have Variable Frame Rate (it can be checked with MediaInfo).

Many anime mkv have VFR, also when video was encode with HandBrake defaults.BD-RB uses MediaInfo to look for variable framerate when it imports. If it finds it, it reencodes it to CFR (using AVISYNTH & DirectshowSource to repeat frames as necessary).

jdobbs
6th March 2021, 15:16
error mkv to bluray

[03/05/21] BD Rebuilder v0.61.21
[13:01:13] Source: TENET_(2020)2160P_UHD_DTS-HD_AC3_ITA_ENG_HDR_HEVC
- Input BD size: 64,60 GB
- Approximate total content: [02:26:33.282]
- Target BD size: 24,22 GB
- Windows Version: 6.2 [9200]
- MOVIE-ONLY mode enabled
- Quality: Better (Faster), Two Pass
- UHD-BD source detected.
- Decoding/Frame serving: FFMPEG
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[13:01:13] PHASE ONE, Encoding
- [13:01:13] Processing: VID_00000 (1 of 1)
- [13:01:13] Extracting A/V streams [VID_00000]
- [13:19:59] Reencoding video [VID_00000]
- Source Video: HEVC, 3840x2160
- Rate/Length: 23,976fps, 210.828 frames
- Bitrate: 19.377 Kbs
- [13:19:59] Reencoding: VID_00000, Pass 1 of 2
[13:20:01] - Failed video encode, aborted


inspect okImmediately after it fails, go to the BD-RB folder and open up LASTCMD.TXT. Then open a CMD window and cut-and-paste the command into it. That way at least you might get a better idea of what error is occurring.

Also -- make sure you have plenty of space in your WORKING folder.

gamete
6th March 2021, 15:39
Immediately after it fails, go to the BD-RB folder and open up LASTCMD.TXT. Then open a CMD window and cut-and-paste the command into it. That way at least you might get a better idea of what error is occurring.

Also -- make sure you have plenty of space in your WORKING folder.

for file of 62 gb is it necessary 124 gb minimun ?

gonca
6th March 2021, 16:55
mkv made with tsmuxer
after with tsmuxer uhd

========Job Started========
[09:02:12] Scanning source for UHD attributes...
- UHD and HDR attributes collected.
- Scan completed.
[09:02:46] Checking/Adjusting MPLS file...
- Found HEVC stream...
-- Type marker adjusted to UHD-BD HEVC...
-- Format marker adjusted to 2160p...
-- Version marker adjusted to be 0300...
[09:02:46] Checking/Adjusting CLPI file...
- Found HEVC stream...
-- Type marker adjusted to UHD-BD HEVC...
-- Format marker adjusted to 2160p...
-- Version marker adjusted to be 0300...
[09:02:47] Checking/Adjusting BDMV files...
- Added UHD-BD extension...
- Checked/Updated version in Index file...
- Checked/Updated version in MovieObject file...
[09:02:47] Checking/Adjusting M2TS file...
[10:28:11] TSMUXER TO UHD - SUCCESS
=========Job Ended=========t

after created bd structure with bdrebuilder but error again

[03/06/21] BD Rebuilder v0.61.21
[10:31:52] Source: TS_00000
- Input BD size: 65,91 GB
- Approximate total content: [02:20:36.803]
- Target BD size: 24,22 GB
- Windows Version: 6.2 [9200]
- MOVIE-ONLY mode enabled
- Quality: Better (Faster), Two Pass
- UHD-BD source detected.
- Decoding/Frame serving: FFMPEG
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[10:31:52] PHASE ONE, Encoding
- [10:31:52] Processing: VID_00000 (1 of 1)
- [10:31:52] Extracting A/V streams [VID_00000]
- [11:13:35] Reencoding video [VID_00000]
- Source Video: HEVC, 3840x2160
- Rate/Length: 23,976fps, 202.281 frames
- Bitrate: 20.061 Kbs
- [11:13:35] Reencoding: VID_00000, Pass 1 of 2
[12:58:08] - Failed video encode, aborted

someone help me?
thanks

Encoded for 1 hour 45 minutes
Might be temp/oc issue
or
free space issue

gamete
6th March 2021, 19:07
Microsoft Windows [Versione 10.0.19042.844]
(c) 2020 Microsoft Corporation. Tutti i diritti sono riservati.

C:\Users\Alex>"C:\Users\Alex\Desktop\BD_Rebuilder\tools\ffmpeg.exe" -probesize 100MB -i "F:\TS\BDMV\STREAM\00000.m2ts" -an -pix_fmt yuv420p10le -f yuv4mpegpipe -strict -1 - | "C:\Users\Alex\Desktop\BD_Rebuilder\tools\x265-64.exe" - --preset faster --profile main10 --uhd-bd --repeat-headers --vbv-bufsize 45000 --vbv-maxrate 48000 --hdr --chromaloc 2 --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50)" --max-cll "349,86" --fps 23.976 --sar 1:1 --qpfile "E:\NUOVA CARTELLA\WORKFILES\VID_00000.CHP" --keyint 24 --bitrate 20153 --y4m --stats "E:\NUOVA CARTELLA\WORKFILES\VID_00000.AVS.hevc.stats" --pass 1 --output NUL
ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
[mpegts @ 000002818ea45ec0] start time for stream 2 is not set in estimate_timings_from_pts
[mpegts @ 000002818ea45ec0] start time for stream 3 is not set in estimate_timings_from_pts
[mpegts @ 000002818ea45ec0] start time for stream 4 is not set in estimate_timings_from_pts
[mpegts @ 000002818ea45ec0] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000002818ea45ec0] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000002818ea45ec0] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'F:\TS\BDMV\STREAM\00000.m2ts':
Duration: 02:30:09.99, start: 4200.000000, bitrate: 62838 kb/s
Program 1
Stream #0:0[0x1011]: Video: hevc (Main 10) (HDMV / 0x564D4448), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc
Stream #0:1[0x1100]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), s16p
Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Stream #0:3[0x1201]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Stream #0:4[0x1202]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
[yuv4mpegpipe @ 0000028193f966c0] Warning: generating non standard YUV stream. Mjpegtools will not work.
Output #0, yuv4mpegpipe, to 'pipe:':
Metadata:
encoder : Lavf57.83.100
Stream #0:0: Video: wrapped_avframe, yuv420p10le, 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc
Metadata:
encoder : Lavc57.107.100 wrapped_avframe
y4m [info]: 3840x2160 fps 23976/1000 i420p10 sar 1:1 unknown frame count
raw [info]: output file: NUL
x265 [info]: HEVC encoder version 3.2.1+3-b4b2ecac21f6
x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x265 [warning]: uhd-bd: Turning off open GOP
x265 [warning]: uhd-bd: keyframeMin is always 1
x265 [info]: Main 10 profile, Level-5.1 (High tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 3 / wpp(34 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 1 / 24 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 2 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : ABR-20153 kbps / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init : 45000 / 48000 / 0.900
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=8 deblock sao stats-write
x265 [error]: malloc of size 20951040 failedime=00:00:00.79 bitrate=4772805.4kbits/s speed=0.723x
x265 [error]: memory allocation failure, aborting encode
x265 [info]: consecutive B-frames: 100.0% 0.0% 0.0% 0.0% 0.0%

encoded 0 frames
aborted at input frame 23, output frame 0
av_interleaved_write_frame(): Broken pipe
Error writing trailer of pipe:: Broken pipetime=00:00:01.16 bitrate=4602347.3kbits/s speed=0.667x
frame= 28 fps= 10 q=-0.0 Lsize= 656100kB time=00:00:01.16 bitrate=4602347.3kbits/s speed=0.421x
video:14kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 4544317.000000%
Conversion failed!




----------------------
[03/06/21] BD Rebuilder v0.61.21
[16:13:42] Source: TS_00000
- Input BD size: 65,91 GB
- Approximate total content: [02:20:36.803]
- Target BD size: 24,32 GB
- Windows Version: 6.2 [9200]
- MOVIE-ONLY mode enabled
- Quality: Better (Faster), Two Pass
- SHUTDOWN at completion enabled
- UHD-BD source detected.
- Decoding/Frame serving: FFMPEG
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[16:13:42] PHASE ONE, Encoding
- [16:13:42] Processing: VID_00000 (1 of 1)
- [16:13:42] Extracting A/V streams [VID_00000]
- [16:52:55] Reencoding video [VID_00000]
- Source Video: HEVC, 3840x2160
- Rate/Length: 23,976fps, 202.281 frames
- Bitrate: 20.153 Kbs
- [16:52:55] Reencoding: VID_00000, Pass 1 of 2
[18:03:29] - Failed video encode, aborted


----------------------
[03/06/21] BD Rebuilder v0.61.21
[16:13:42] Source: TS_00000
- Input BD size: 65,91 GB
- Approximate total content: [02:20:36.803]
- Target BD size: 24,32 GB
- Windows Version: 6.2 [9200]
- MOVIE-ONLY mode enabled
- Quality: Better (Faster), Two Pass
- SHUTDOWN at completion enabled
- UHD-BD source detected.
- Decoding/Frame serving: FFMPEG
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[16:13:42] PHASE ONE, Encoding
- [16:13:42] Processing: VID_00000 (1 of 1)
- [16:13:42] Extracting A/V streams [VID_00000]
- [16:52:55] Reencoding video [VID_00000]
- Source Video: HEVC, 3840x2160
- Rate/Length: 23,976fps, 202.281 frames
- Bitrate: 20.153 Kbs
- [16:52:55] Reencoding: VID_00000, Pass 1 of 2
[18:03:29] - Failed video encode, aborted
[03/06/21] Checking System Settings
- BD-Rebuilder v0.61.21
- Windows Version: 6.2 [9200]
- Working Path Free Space: 164,56GB
- AVISYNTH Version: 2.6.0.6, Ok
- LAVFILTERS: Ok
- X264: Ok
- X265: Ok
- AFTEN: Ok
- FAAC: Ok
- MP4BOX: Ok
- WAVI: Ok
- TSMUXER: Ok
- FRIMEncode: Ok
- FRIMDecode: Ok
[03/06/21] Systems Settings Check complete

gamete
6th March 2021, 19:11
Encoded for 1 hour 45 minutes
Might be temp/oc issue
or
free space issue

now i tried but error again with 164 gb of free space
post previous

gamete
6th March 2021, 19:22
i found also this problem
but the error for first time was with original mkv

original mkv is 02:30:10
bd structure created by tsmuxeruhd 02:20:36

strange

gamete
6th March 2021, 19:30
[Status]
LABEL=TS
VERSION=v0.61.21
SOURCE_SIZE=70772109312
SOURCE_VIDEO_SIZE=70772109312
TARGET_SIZE=26109542400
REDUCTION=.368924180073476
RESIZE_1080=0
RESIZE_1440=0
AUDIO_TO_KEEP=eng;ita;
KEEP_HD_AUDIO=-1
SUBS_TO_KEEP=all
BACKUP_MODE=1
MOVIEONLY_TYPE=0
USE_LAVF=0
INSTANCES=1
DGDECNV=0
DGDECIM=0
FRIMSOURCE=0
FFMS2=0
SSIF_MODE=0
UHD_V3_MODE=0
QUICK=0
ENCODE_STEP=1.5
[00000]
AUDIO=1
PGS=111
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=26109542400
RATE=20153

gamete
9th March 2021, 19:23
i tried restore win 7
but same error :confused:

spotswood
12th March 2021, 00:17
Hey all... when trying to enable the NVEnc encoder I get the error "BDRB cannot confirm NVEnc capability. Cannot select." I'm running the latest nVidia drivers v461.72, v0.61.21 of BDRB and a GTX1060 6GB card, which according to the chart is capable. Any ideas? Thanks...

spotswood
12th March 2021, 00:44
Hey again... took a crack at the new hidden option above. I reencoded "The Fifth Element" Blu-ray and it came out great, amazing UHD quality (to my eye at least) on my LG OLED. Took forever though (12+ hours! Is that normal?), hence my attempt with NVEnc and the problem in my previous post. Most "regular" Blu-ray encodes take no more than a couple hours with my Ryzen 2700X.

A couple things I noticed... I tried with Movie and Menus selected, and in the log it shows "Converting to UHD-BD (HEVC)" (pic attached). But when selecting "Movie Only" mode the same notation is not shown. I do have "Convert BD to UHD-BD (HEVC)" selected (see pic).The resulting job IS in fact HEVC, it's just not shown in the log as in M&M mode.

Also if I want to output to MKV w/HEVC and Intact Audio, which Alternate Movie Only Output should I select? Don't see that option. Other than that everything worked great, other than taking forever. Now if I can just get NVEnc enabled...

jdobbs
12th March 2021, 15:32
@spotswood

BD-RB runs NVENCC.EXE with the option "--check-features" in order to see if the installed card is capable of h.264 and/or h.265 encoding. Try that from a CMD window and post your results. Also, what card are you using? A GTX-1060?

spotswood
12th March 2021, 20:29
@spotswood

BD-RB runs NVENCC.EXE with the option "--check-features" in order to see if the installed card is capable of h.264 and/or h.265 encoding. Try that from a CMD window and post your results. Also, what card are you using? A GTX-1060?Thanks for your reply. Yes, as mentioned above I'm using a GTX-1060 6GB card with the latest nVidia drivers v461.72.

Results for NVENCC.EXE --check-features:

C:\Windows\system32>c:\users\em-ssd\downloads\bd-rbv06121\tools\nvenc\nvencc.exe --check-features
NVEncC (x86) 5.15 (r1658) by rigaya, Sep 12 2020 14:50:44 (VC 1900/Win/avx2)
[NVENC API v10.0, CUDA 8.0]
reader: raw, y4m, avi, avs, vpy, avsw, avhw [H.264/AVC, H.265/HEVC, MPEG2, VP8, VP9, VC-1, MPEG1, MPEG4]

Environment Info
OS : Windows 10 x64 (19042)
CPU: AMD Ryzen 7 2700X Eight-Core Processor (8C/16T)
RAM: Used 3577 MB, Total 16337 MB

#0: GeForce GTX 1060 6GB (1280 cores, 1771 MHz)[2147483.64]
NVEnc features
Codec: H.264/AVC
Max Bframes 4
B Ref Mode 2 (only middle)
RC Modes 63
Field Encoding 1 (field mode)
MonoChrome no
FMO no
Quater-Pel MV yes
B Direct Mode yes
CABAC yes
Adaptive Transform yes
Max Temporal Layers 4
Hierarchial P Frames no
Hierarchial B Frames no
Max Level 62
Min Level 10
4:4:4 yes
Min Width 33
Max Width 4096
Min Height 17
Max Height 4096
Multiple Refs no
Max LTR Frames 8
Dynamic Resolution Change yes
Dynamic Bitrate Change yes
Forced constant QP yes
Dynamic RC Mode Change no
Subframe Readback yes
Constrained Encoding yes
Intra Refresh yes
Custom VBV Bufsize yes
Dynamic Slice Mode yes
Ref Pic Invalidiation yes
PreProcess no
Async Encoding yes
Max MBs 65536
Lossless yes
SAO no
Me Only Mode 1 (I,P frames)
Lookahead yes
AQ (temporal) yes
Weighted Prediction yes
10bit depth no

Codec: H.265/HEVC
Max Bframes 0
B Ref Mode 0 (no)
RC Modes 63
Field Encoding 0 (no)
MonoChrome no
Quater-Pel MV yes
B Direct Mode no
Max Temporal Layers 0
Hierarchial P Frames no
Hierarchial B Frames no
Max Level 186
Min Level 30
4:4:4 yes
Min Width 65
Max Width 8192
Min Height 33
Max Height 8192
Multiple Refs no
Max LTR Frames 7
Dynamic Resolution Change yes
Dynamic Bitrate Change yes
Forced constant QP yes
Dynamic RC Mode Change no
Subframe Readback yes
Constrained Encoding yes
Intra Refresh yes
Custom VBV Bufsize yes
Dynamic Slice Mode yes
Ref Pic Invalidiation yes
PreProcess no
Async Encoding yes
Max MBs 262144
Lossless yes
SAO yes
Me Only Mode 1 (I,P frames)
Lookahead yes
AQ (temporal) no
Weighted Prediction yes
10bit depth yes


NVDec features
H.264/AVC: nv12, yv12
H.265/HEVC: nv12, yv12, yv12(9bit), yv12(10bit), yv12(12bit)
MPEG1: nv12, yv12
MPEG2: nv12, yv12
MPEG4: nv12, yv12
VP9: nv12, yv12
VC-1: nv12, yv12

jdobbs
12th March 2021, 23:57
Hmmm.... that looks like is should have worked. BD-RB just looks for the lines "Codec: H.264/AVC" and "Codec: H.265/HEVC" in the output.

Try adding the following to your INI file. That should force BD-RB to accept that you have a compliant card:

NVENC_CAPABLE=1

cartman0208
13th March 2021, 00:40
...

Also if I want to output to MKV w/HEVC and Intact Audio, which Alternate Movie Only Output should I select? Don't see that option. ...

You can build your own profile by editing the alternate.txt in the BD-REBUILDER\Misc folder

Regarding the encoding time: bear in mind, that UHD is four times the pixels per picture than 1080p and HEVC is more complex than AVC, so 12+ hours is quite a good duration ;)

spotswood
13th March 2021, 04:36
Hmmm.... that looks like is should have worked. BD-RB just looks for the lines "Codec: H.264/AVC" and "Codec: H.265/HEVC" in the output.

Try adding the following to your INI file. That should force BD-RB to accept that you have a compliant card:

NVENC_CAPABLE=1That worked. I'm able to select the NVEnc encoder now, but the job aborts at the start of the reencoding process...??? Anyone else using a GTX-1060 6GB card that is working?

[03/12/21] BD Rebuilder v0.61.21
[17:16:58] Source: THE_MATRIX_00000
- Input BD size: 26.49 GB
- Approximate total content: [02:16:17.961]
- Target BD size: 24.00 GB
- Windows Version: 6.2 [9200]
- MOVIE-ONLY mode enabled
- Auto Quality: Very Good (Very Fast), VBR
- Decoding/Frame serving: NVENCC
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[17:17:00] PHASE ONE, Encoding
- [17:17:00] Processing: VID_00000 (1 of 1)
- [17:17:00] Extracting A/V streams [VID_00000]
- [17:22:14] Reencoding video [VID_00000]
- Source Video: VC-1, 1920x1080
- Rate/Length: 23.976fps, 196,075 frames
- Bitrate: 19,436 Kbs
- [17:22:14] Reencoding: VID_00000, Pass 1 of 1
[17:22:14] - Failed video encode, aborted

[Options]
VERSION=0.61.0.21
ENCODER=1
MODE=3
ENCODE_QUALITY=0
ONEPASS_ENCODING=0
AUTO_QUALITY=1
TARGET_SIZE=25600
AUDIO_TO_KEEP=eng;
SUBS_TO_KEEP=eng;
SD_CONVERT=0
OPEN_GOP=0
RESIZE_1080=0
RESIZE_1440=0
RESIZE_720=0
DEINTERLACE=1
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=0
REMOVE_WORKFILES=1
REMOVE_OUTPUT=1
USE_FILTERS=0
BDMV_CERT_ONLY=1
IVTC_PULLDOWN=0
ASSUME_DVD_PAL=0
FRIMSOURCE=0
COMPLETION_BEEP=1
OUTPUT_SBS=0
NEROAAC=0
SUPTITLE=0
PGSTOSRT=0
AUDIO_TRACK_LIMIT=1
SUBTITLE_TRACK_LIMIT=0
CUSTOM_TARGET_SIZE=24576
MOVIE_ONLY_LOOP=0
ENABLE_TEST=1
ENABLE_BLANKING=1
BLANK_THRESHOLD=1800
MULTIPROCESS=1
BEEP_SOUNDFILE=C:\Windows\Media\tada.wav
NVENC_CAPABLE=1
UHD_CONVERT_ENABLE=1
UHD_ALL_MODE=0
REENCODE_MENUS=0
MOVIEONLY_TYPE=0
ALTCRF=23
ALT_TARGET=1024
ALT_CRF_TARGET=1024
ALTMETHOD=0
ALTAUTOCROP=0
UHD_V3_MODE=1
[Paths]
DGIndexNV=C:\Users\eM-SSD\Downloads\dgdecnv2053\x32 Binaries\DGIndexNV.exe
DGDecNV=C:\Users\eM-SSD\Downloads\dgdecnv2053\x32 Binaries\DGDecodeNV.dll
SOURCE_PATH=N:\
WORKING_PATH=C:\USERS\EM-SSD\VIDEOS\HEVC\

spotswood
13th March 2021, 04:37
You can build your own profile by editing the alternate.txt in the BD-REBUILDER\Misc folder.Took a look but that's a little above my pay grade. @jdobbs, can you add an alternate output for MKV w/HEVC and Intact Audio in the next update? Or post the entry here and I can add it to the .txt file. Just not sure what to include. I can do a standard Blu-ray structure and then convert to MKV w Makemkv but that's an extra step. Thanks...

spotswood
13th March 2021, 07:05
Hmmm.... that looks like is should have worked. BD-RB just looks for the lines "Codec: H.264/AVC" and "Codec: H.265/HEVC" in the output.

Try adding the following to your INI file. That should force BD-RB to accept that you have a compliant card:

NVENC_CAPABLE=1

That worked. I'm able to select the NVEnc encoder now, but the job aborts at the start of the reencoding process...??? Anyone else using a GTX-1060 6GB card that is working?

[03/12/21] BD Rebuilder v0.61.21
[17:16:58] Source: THE_MATRIX_00000
- Input BD size: 26.49 GB
- Approximate total content: [02:16:17.961]
- Target BD size: 24.00 GB
- Windows Version: 6.2 [9200]
- MOVIE-ONLY mode enabled
- Auto Quality: Very Good (Very Fast), VBR
- Decoding/Frame serving: NVENCC
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[17:17:00] PHASE ONE, Encoding
- [17:17:00] Processing: VID_00000 (1 of 1)
- [17:17:00] Extracting A/V streams [VID_00000]
- [17:22:14] Reencoding video [VID_00000]
- Source Video: VC-1, 1920x1080
- Rate/Length: 23.976fps, 196,075 frames
- Bitrate: 19,436 Kbs
- [17:22:14] Reencoding: VID_00000, Pass 1 of 1
[17:22:14] - Failed video encode, aborted

[Options]
VERSION=0.61.0.21
ENCODER=1
MODE=3
ENCODE_QUALITY=0
ONEPASS_ENCODING=0
AUTO_QUALITY=1
TARGET_SIZE=25600
AUDIO_TO_KEEP=eng;
SUBS_TO_KEEP=eng;
SD_CONVERT=0
OPEN_GOP=0
RESIZE_1080=0
RESIZE_1440=0
RESIZE_720=0
DEINTERLACE=1
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=0
REMOVE_WORKFILES=1
REMOVE_OUTPUT=1
USE_FILTERS=0
BDMV_CERT_ONLY=1
IVTC_PULLDOWN=0
ASSUME_DVD_PAL=0
FRIMSOURCE=0
COMPLETION_BEEP=1
OUTPUT_SBS=0
NEROAAC=0
SUPTITLE=0
PGSTOSRT=0
AUDIO_TRACK_LIMIT=1
SUBTITLE_TRACK_LIMIT=0
CUSTOM_TARGET_SIZE=24576
MOVIE_ONLY_LOOP=0
ENABLE_TEST=1
ENABLE_BLANKING=1
BLANK_THRESHOLD=1800
MULTIPROCESS=1
BEEP_SOUNDFILE=C:\Windows\Media\tada.wav
NVENC_CAPABLE=1
UHD_CONVERT_ENABLE=1
UHD_ALL_MODE=0
REENCODE_MENUS=0
MOVIEONLY_TYPE=0
ALTCRF=23
ALT_TARGET=1024
ALT_CRF_TARGET=1024
ALTMETHOD=0
ALTAUTOCROP=0
UHD_V3_MODE=1
[Paths]
DGIndexNV=C:\Users\eM-SSD\Downloads\dgdecnv2053\x32 Binaries\DGIndexNV.exe
DGDecNV=C:\Users\eM-SSD\Downloads\dgdecnv2053\x32 Binaries\DGDecodeNV.dll
SOURCE_PATH=N:\
WORKING_PATH=C:\USERS\EM-SSD\VIDEOS\HEVC\UPDATE!

I decided to start from scratch, deleting my v0.61.21 folder and unziped a fresh one, adding only UHD_CONVERT_ENABLE=1 to the .ini. Voila! I'm able to select the NVEnc encoder from the get go. Don't know what hidden setting I had added prevented it from working before, but it's working now. Maybe you can take a look and let me know.

Wow, talk about fast! Even at the Highest (very slow) setting I'm getting 150+ fps. At this pace, Gladiator Extended version is going to finish in a little more than 30 minutes! Beats 12+ hours using x265! Can that be right??? I'm interested to see how the quality comes out vs x265 two pass.

So I hope I didn't send you on a wild goose chase. When in doubt, start over! Thanks for your help... ;^)

BTW, here's the Media Info info from the reencode:

General
Complete name : C:\Users\eM-SSD\Videos\HEVC\GLADIATOR_D1\\BDMV\PLAYLIST\00000.mpls
Format : Blu-ray Playlist
File size : 640 Bytes
Duration : 2 h 50 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@L4.1@High
Codec ID : 36
Duration : 2 h 50 min
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
format_identifier : HDMV
Source : 00000.m2ts / 00000.m2ts

cartman0208
13th March 2021, 13:18
Took a look but that's a little above my pay grade. @jdobbs, can you add an alternate output for MKV w/HEVC and Intact Audio in the next update? Or post the entry here and I can add it to the .txt file. Just not sure what to include. I can do a standard Blu-ray structure and then convert to MKV w Makemkv but that's an extra step. Thanks...

I don't think JD will change the Presets, since creating new ones is pretty easy:

Add this to the alternate.txt replacing XX with the last number in your list +1

[000XX]
caption=MKV, HEVC, NO_RESIZE, IntactAudio
aBitrate=*
aType=2
cType=1
vEncoder=1
vFormat=7
vKeyint=Auto


After restarting BDRB you should see an additional line in the drop-down-list

I personally would use aBitrate=640 and aType=0 for AC3 640kb, since some audio streams can be quite big...
On the other hand I'm not that audiophile like some others :D

jdobbs
13th March 2021, 23:19
@spotswood

Interesting. I may cut-and-paste your settings into my INI and see if it does the same for me. I'd like to know what was causing it to not see your card -- and make it fail when you force it.

[Edit] Nope. That wasn't it. I cut-and-pasted your settings into my INI and removed NVENC_CAPABLE=1, and then ran BD-RB -- and it recognized my card immediately. So then I decided to run it against the same BD source that you used. It started encoding with no issues.

So whatever it was -- it wasn't the settings.

spotswood
14th March 2021, 00:15
@spotswood

Interesting. I may cut-and-paste your settings into my INI and see if it does the same for me. I'd like to know what was causing it to not see your card -- and make it fail when you force it.

[Edit] Nope. That wasn't it. I cut-and-pasted your settings into my INI and removed NVENC_CAPABLE=1, and then ran BD-RB -- and it recognized my card immediately. So then I decided to run it against the same BD source that you used. It started encoding with no issues.

So whatever it was -- it wasn't the settings.Thanks for checking, moot now. I may try adding my settings back in one at a time and see what happens.

UPDATE!

Wow, talk about fast! Even at the Highest (very slow) setting I'm getting 150+ fps. At this pace, Gladiator Extended version is going to finish in a little more than 30 minutes! Beats 12+ hours using x265! Can that be right???So does this sound right? From 12+ hours w/x265 to a little more than 30 minutes w/NVENC???

Another thing I noticed between the two encoders... x265 creates a Format Profile of : Main 10@L5.1@High, and NVENC creates : Main 10@L4.1@High, difference being 10L@L5.1 vs 10L@L4.1. Any reason or differences between the two formats? Better quality? Thanks for any insight for a layman. Both encodes from The Matrix below...

NVENC:
Video
ID : 1
ID in the original source medi : 4113 (0x1011)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4.1@High
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 16 min
Bit rate : 20.3 Mb/s
Width : 1 920 pixels
Height : 1 088 pixels
Original height : 1 080 pixels
Display aspect ratio : 16:9
Original display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.405
Stream size : 19.3 GiB (90%)
Language : English
Default : No
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Original source medium : Blu-ray

X265:
Video
ID : 1
ID in the original source medi : 4113 (0x1011)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 16 min
Bit rate : 19.5 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
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.391
Stream size : 18.5 GiB (89%)
Writing library : x265 3.2.1+3-b4b2ecac21f6:[Windows][GCC 9.2.0][64 bit] 10bit
Language : English
Default : No
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Original source medium : Blu-ray

jdobbs
14th March 2021, 01:40
So does this sound right? From 12+ hours w/x265 to a little more than 30 minutes w/NVENC??? It's a LOT faster on my system too. Not sure if it is that much -- but definitely much, much faster.

As for the levels -- BD-RB leaves it to the encoder (both have defaults set at auto). But I'm surprised they are different, since the settings for encoding are virtually identical. The level is usually influenced by the maximum bitrate selected by BD-RB. But it is the same for both encoders. I'll take a look at it and see why they are different.

spotswood
14th March 2021, 01:50
It's a LOT faster on my system too. Not sure if it is that much -- but definitely much, much faster.That's LUDICROUS SPEED!!! What do you think about the Format Profile differences between 10L@L5.1 vs 10L@L4.1? Does that affect quality?

cartman0208
14th March 2021, 17:00
Wow, talk about fast! Even at the Highest (very slow) setting I'm getting 150+ fps. At this pace, Gladiator Extended version is going to finish in a little more than 30 minutes! Beats 12+ hours using x265! Can that be right??? I'm interested to see how the quality comes out vs x265 two pass.

Are you sure you are comparing the same sources?
150+ fps sounds like 1080p and I remember you mentioning the 12+ hours came from some UHD ...
On UHD NVENCC I get around 40fps on my system

worknstiff
14th March 2021, 19:19
@ cartman0208 RE: On UHD NVENCC I get around 40fps on my system. Yeah I'm running BD_RB on an older GTX1060 6gb and all I'm getting is around 65fps on mine doing UHD.

spotswood
14th March 2021, 21:20
...The function is conversion of non-UHD discs to UHD format (v3 with HEVC encoding) using the UHD_CONVERT_ENABLE=1 hidden setting.

Are you sure you are comparing the same sources?
150+ fps sounds like 1080p and I remember you mentioning the 12+ hours came from some UHD ...
On UHD NVENCC I get around 40fps on my systemYes, same source per my example above (The Matrix 1080p blu-ray). That's the whole point of this, to convert non-UHD BD discs to UHD-BD (HEVC) format per jdobbs quote above. And yes, I'm getting 150+ fps on the Highest Quality (slowest) setting with NVENC and a Ryzen 2700X. If I set it to Automatic it soars to over 250+ fps, amazing!

Still only one pass, so the jury is still out on the picture quality differences compared to x265 two pass and L5.1 vs NVENC one pass and L4.1. Maybe someone can try both and chime in. Thanks for all your replies...

jdobbs
14th March 2021, 21:22
I personally would use aBitrate=640 and aType=0 for AC3 640kb, since some audio streams can be quite big...
On the other hand I'm not that audiophile like some others Since the compression of audio with AC3 5.1 @640kbs has been proven to be invisible to the human ear in laboratory double-blind tests... I call that a rational decision.