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

Sharc
6th June 2014, 20:03
12 Years a Slave / Quick-Play backup:
- The long 2:14 hours feature is declared as "Extra"
- The short 23 minutes Extra is declared as "Feature Presentation"
=> Accordingly, the bitrates (filesizes) of the encoding are offset.

Could this be a bug, or just one of the rare exceptions?

Ch3vr0n
6th June 2014, 20:41
well sharc, without bdrb log, nobody not even jdobbs will now

Sharc
7th June 2014, 10:37
well sharc, without bdrb log, nobody not even jdobbs will now
You don't see this wrong allocation in the log. You see it only in the Quick-Play menu editor dialogue.

Edit:
Now I noticed that the encoding seems to be correctly underway, means the long Feature and the short Extras are encoded with the intended settings. The "bug" (wrong allocation of the "Feature Presentation") is only in the Quick-Play Editor where the titles can be edited and re-arranged easily, however. So it's really a minor issue.

dreamk
8th June 2014, 11:03
I notice "unblock chapter skip" option is disappeared from setup menu and changes.txt dont tell anything about it, so what is happened to that and why?

jdobbs
8th June 2014, 22:09
I notice "unblock chapter skip" option is disappeared from setup menu and changes.txt dont tell anything about it, so what is happened to that and why?it is now a hidden option.

dreamk
9th June 2014, 12:20
it is now a hidden option.

Is it default on or off?
I have to admit im not very familiar with hidden options, but i could not find it from hiddenopts.txt file either (v0.47.06).

Shylock
10th June 2014, 15:11
@jdobbs

Having a strange issue with my last backup.
Title: "The young and prodigious T S Spivet", french release. Ripped with the latest AnyDVDHD, processed with BDRB 0.47.06. , full backup to BD25.
The original blu-ray includes the main feature and various extras (featurettes, previews, etc)
BDRB only "see" main feature and therefore do not process 4.6 Gb Extras (8 files). The files are simply copied during rebuilding process.
The resulting blu-ray plays fine with no gliches but as the extras are not reencoded, the resulting bitrate for the main feature is quite low.
logs included:
[06/07/14] BD Rebuilder v0.47.06 (beta)
[08:40:02] Source: SPIVET
- Input BD size: 38,16 GB
- Approximate total content: [02:12:03.332]
- Target BD size: 23,44 GB
- Windows Version: 6.1 [7601]
- Quality: Highest (Very Slow), Two Pass
- Decoding/Frame serving: X264/LAVF
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[08:40:03] PHASE ONE, Encoding
- [08:40:03] Processing: VID_00002 (1 of 1)
- [08:40:03] Extracting A/V streams [VID_00002]
- [08:49:14] Reencoding video [VID_00002]
- Source Video: MPEG-4 (AVC), 1920x1080
- Rate/Length: 23,976fps, 151*219 frames
- Bitrate: 8*676 Kbs
- [08:49:14] Reencoding: VID_00002, Pass 1 of 2
- [09:14:14] Reencoding: VID_00002, Pass 2 of 2
- [10:34:37] Video Encode complete
- [10:34:37] Processing audio tracks
- Track 4352 (fra): Keeping original audio
- Track 4353 (fra): Keeping original audio
- Track 4354 (eng): Keeping original audio
- Track 4355 (eng): Keeping original audio
- Track 4356 (fra): Keeping original audio
- Track 4357 (fra): Keeping original audio
- [10:34:37] Multiplexing M2TS
[10:43:08]PHASE ONE complete
[10:43:08]PHASE TWO - Rebuild Started
- [10:43:08] Rebuilding BD file Structure
[10:44:35] - Encode and Rebuild complete
[10:44:35] JOB: SPIVET finished.
.inf
[Status]
LABEL=SPIVET
VERSION=v0.47.06 (beta)
SOURCE_SIZE=40975629186
SOURCE_VIDEO_SIZE=35086522368
TARGET_SIZE=25165824000
REDUCTION=.549405181277839
RESIZE_1080=0
RESIZE_1440=0
AUDIO_TO_KEEP=eng;fra;fre;
KEEP_HD_AUDIO=-1
SUBS_TO_KEEP=all
BACKUP_MODE=0
MOVIEONLY_TYPE=0
USE_LAVF=-1
INSTANCES=1
DGDECNV=0
DGDECIM=0
FRIMSOURCE=0
SSIF_MODE=0
QUICK=0
ENCODE_STEP=1.5
REBUILD_COMPLETE=0
[00002]
AUDIO=111111
PGS=111
APULLDOWN=0
S1440=0
VIDEO2=0
V2MBRATE=0
M2TS_TARGET=19276717182
RATE=8676
SPLITS=1
BDRB .ini
[Paths]
SOURCE_PATH=G:\
WORKING_PATH=D:\BDWORK\
DGIndexNV=C:\Program Files (x86)\DGdecodeNV\DGIndexNV.exe
DGDecNV=C:\Program Files (x86)\DGdecodeNV\DGDecodeNV.dll
[Options]
VERSION=0.47.0.6
MODE=3
ENCODE_QUALITY=3
AUTO_QUALITY=0
AUTO_BURN=0
AUDIO_TO_KEEP=eng;fra;fre;
SUBS_TO_KEEP=all
SD_CONVERT=0
OPEN_GOP=0
RESIZE_1080=0
DEINTERLACE=1
SD_TO_1080=0
CONVERT_WIDE=0
DTS_REENCODE=0
AC3_REENCODE=0
AC3_640=1
AC3_192=0
KEEP_HD_AUDIO=1
AVCHD=1
REMOVE_WORKFILES=0
MOVIE_ONLY_LOOP=1
REMOVE_OUTPUT=0
USE_FILTERS=0
BDMV_CERT_ONLY=1
USE_LAVF=1
IVTC_PULLDOWN=0
ASSUME_DVD_PAL=1
UNMASK_CHAPTER=1
COMPLETION_BEEP=0
AUDIO_TRACK_LIMIT=0
SUBTITLE_TRACK_LIMIT=0
CUSTOM_TARGET_SIZE=24000
DTSX_ENABLE=1
MULTIPROCESS=0
ENABLE_TEST=1
TARGET_SIZE=24000
DGDECNV=0
MOVIEONLY_TYPE=11
ALTCRF=20
ALT_TARGET=6000
ALTMETHOD=2
ALTAUTOCROP=0
MIN_M2TS_SIZE=20
ENABLE_BLANKING=0
ALTERNATE_PAL=1
HC_PROFILE=BEST
FORCE_ENCODE=0
FORCED_SUB_LANG=fra;fre
RESIZE_1440=0
OUTPUT_3D=0
RESIZE_720=0
NEROAAC=0
SUPTITLE=0
OUTPUT_SBS=0
FRIM_SW_DECODE=1
FRIM_SW_ENCODE=1
OUTPUT_3D_ISO=1
ENCODER=0
IGNORE_3D=0
DGDECIM=0
FRIMSOURCE=0
ONEPASS_ENCODING=0
ENCODER_MENU=1

jdobbs
10th June 2014, 20:41
The problem is more likely that your are keeping too many of the everal HD audio streams. They are likely much more significant than the extras. I'd recommend you remove a couple of unneeded languages -- or better yet, reencode to AC3.

Sharc
12th June 2014, 08:44
@jdobbs
My source is a mounted 3D .iso. I encode it in Quick-Play Backup mode.
Everything is ok, but editing the Quick-Play Menu has no effect. The Quick Menu always reverts to DB-RBs defaults.
Is this because the edited titles.inf cannot be written to the mounted drive? If so, is there a possibility to make changes manually e.g. by editing the titles.inf in the \BDMV\Backup\Playlist\titles.inf folder, just before burning the backup to disc?

gonca
13th June 2014, 00:04
@jdobbs
My source is a mounted 3D .iso. I encode it in Quick-Play Backup mode.
Everything is ok, but editing the Quick-Play Menu has no effect. The Quick Menu always reverts to DB-RBs defaults.
Is this because the edited titles.inf cannot be written to the mounted drive? If so, is there a possibility to make changes manually e.g. by editing the titles.inf in the \BDMV\Backup\Playlist\titles.inf folder, just before burning the backup to disc?

You might have to re-import it, but you might??? lose the background

Sharc
13th June 2014, 07:11
You might have to re-import it, but you might??? lose the background
I thought about the re-import as well; it's a bit awkward though. And yes, the menu backdrop might get lost and substituted by the default background. One can alway copy back the original backdrop and make some adjustments using BDedit.
Anyway, today I should get new blank BD media and I will try to edit the titles.inf manually before burning.

Edit:
Editing the titles.inf manually before burning to disc did not help. So let's wait until jdobbs is back.

jdobbs
13th June 2014, 07:31
@jdobbs
My source is a mounted 3D .iso. I encode it in Quick-Play Backup mode.
Everything is ok, but editing the Quick-Play Menu has no effect. The Quick Menu always reverts to DB-RBs defaults.
Is this because the edited titles.inf cannot be written to the mounted drive? If so, is there a possibility to make changes manually e.g. by editing the titles.inf in the \BDMV\Backup\Playlist\titles.inf folder, just before burning the backup to disc?
On vacation right now -- please remind me to look at it in a couple of weeks.

Sharc
13th June 2014, 07:46
On vacation right now -- please remind me to look at it in a couple of weeks.
Thanks. Enjoy your vacation!

Patrick
13th June 2014, 15:14
I am using blanking to remove unwanted features to save space for higher quality video.
From my experiments I get the feeling that BDRebuilder might not take into account the blanked titles when calculating the video bit rate - at least I can see that the result is way below target size (way below = relative to the blanked amount).
Is this observation correct?
How to reproduce: blank all but a few small titles in full back-up mode and set the target size to, say, 80% of the remaining titles. In my case: two remaining titles with 950MBytes. Target size: 750MBytes. Yet, BDRebuilder selects a bit rate of just 380kbits (!!!) for encoding the remaining titles, i.e. believes it must share the target disc size among all - even blanked - titles...if my assumptions are correct, that is.

jdobbs
13th June 2014, 17:50
I am using blanking to remove unwanted features to save space for higher quality video.
From my experiments I get the feeling that BDRebuilder might not take into account the blanked titles when calculating the video bit rate - at least I can see that the result is way below target size (way below = relative to the blanked amount).
Is this observation correct?
How to reproduce: blank all but a few small titles in full back-up mode and set the target size to, say, 80% of the remaining titles. In my case: two remaining titles with 950MBytes. Target size: 750MBytes. Yet, BDRebuilder selects a bit rate of just 380kbits (!!!) for encoding the remaining titles, i.e. believes it must share the target disc size among all - even blanked - titles...if my assumptions are correct, that is.It should subtract any blanked titles. But I will take a look when I return. Please remind me.

Hajnal
14th June 2014, 12:15
hello

time is set correctly - start mux time ??

jdobbs
14th June 2014, 16:29
hello

time is set correctly - start mux time ????? I don't understand what you're asking.

mparade
14th June 2014, 22:16
It seems, according to the attached avs scripts, that BD-RB processes hard telecined 480i sources the same as they were interlaced ones even though, I marked them as "Inverse telecining this item" in edit mode after using hiddenopt IVTC_SELECTION=1.

Can this hiddenopt setting cause the problem?:

IVTC_TELECIDE=0

Thank you very much for your help!

jdobbs
15th June 2014, 08:27
It seems, according to the attached avs scripts, that BD-RB processes hard telecined 480i sources the same as they were interlaced ones even though, I marked them as "Inverse telecining this item" in edit mode after using hiddenopt IVTC_SELECTION=1.

Can this hiddenopt setting cause the problem?:

IVTC_TELECIDE=0

Thank you very much for your help!A hard telecined source isn't actually "telecined" (it has no BFF or RFF flags set). So there is no way to determine that they are telecined during scanning. In order to recover them you need to set the hidden flag IVTC_480i=1 in the configuration/INI file.

Don't forget to delete that line after you are done or your future 480 interlaced sources will look terrible.

mparade
15th June 2014, 09:19
A hard telecined source isn't actually "telecined" (it has no BFF or RFF flags set). So there is no way to determine that they are telecined during scanning. In order to recover them you need to set the hidden flag IVTC_480i=1 in the configuration/INI file.

Don't forget to delete that line after you are done or your future 480 interlaced sources will look terrible.

Thank you very much for your help.

My problem is that on the same BD I have both 480i hard telecined sources, soft telecined and interlaced, so I thought
generally applying IVTC_480i=1 would not be a good idea and that is why tried to mark hard telecined sources with "Inverse telecine this item" selection after using IVTC_SELECTION=1 in the INI file (As it is described in hiddenopts.txt).

Anyway, have a nice holiday and really appreciate your help
from the "beach". :o

jdobbs
15th June 2014, 14:50
Thank you very much for your help.

My problem is that on the same BD I have both 480i hard telecined sources, soft telecined and interlaced, so I thought
generally applying IVTC_480i=1 would not be a good idea and that is why tried to mark hard telecined sources with "Inverse telecine this item" selection after using IVTC_SELECTION=1 in the INI file (As it is described in hiddenopts.txt).

Anyway, have a nice holiday and really appreciate your help
from the "beach". :oYeah, that would be a problem.

You got the locale right -- I'm on the beach near Barcelona today, beautiful weather.

I'll add a way to force inversing hard telecining at the M2TS level when I return.

mparade
15th June 2014, 17:27
Yeah, that would be a problem.

You got the locale right -- I'm on the beach near Barcelona today, beautiful weather.

I'll add a way to force inversing hard telecining at the M2TS level when I return.

I would really appreciate it, thank you very much and have a wonderful holiday.

Rileyrott
18th June 2014, 03:45
:thanks:

Enjoy your vacation jdobbs, you deserve a good one! Thanks for everything!!!!

colinhunt
19th June 2014, 09:26
This is somewhat off-topic... but is there a way to swap L and R views during BD-RB processing for 3D Blu-rays that have their views swapped originally? I've discovered a few titles where I need to swap L and R around to view it in proper 3D and it would be great if that could be sorted out in BD-RB.

Sharc
19th June 2014, 09:45
This is somewhat off-topic... but is there a way to swap L and R views during BD-RB processing for 3D Blu-rays that have their views swapped originally? I've discovered a few titles where I need to swap L and R around to view it in proper 3D and it would be great if that could be sorted out in BD-RB.
See HIDDENOPTS.TXT:
Put "SWAP_3D=1" in the .ini (without the quotation marks)

colinhunt
19th June 2014, 11:04
See HIDDENOPTS.TXT:
Put "SWAP_3D=1" in the .ini (without the quotation marks)
AFAIK that does not work for MVC from 3D BD. I remember commenting on it a while back and jdobbs replied it's for side-by-side only.

Sharc
19th June 2014, 12:22
AFAIK that does not work for MVC from 3D BD. I remember commenting on it a while back and jdobbs replied it's for side-by-side only.. Yes, it has possibly no effect with MVC/Frim. From the changes.txt:
- Added a new hidden setting. "SWAP_3D=1" will
swap the left and right views when creating
the SBS, O/U, or Anaglyph 3D output.(v0.44.4)

You could perhaps try to add "--right-eye" to the .meta of tsMuxeR.

colinhunt
19th June 2014, 14:21
You could perhaps try to add "--right-eye" to the .meta of tsMuxeR.
Heh, that's exactly what I was talking about in the tsmuxer thread :D

Mark_Venture
23rd June 2014, 15:51
I had been making Alternate Move-Only Output backups with BD-Rebuilder for a while. Backing up 3D to a SBS MKV was handled seamlessly, at least in that I don't remember having to change anything when doing 3D movies (other than rip with AnyDVD HD to ISO, and mount it the ISO)

I went to do a backup of The Lego Movie 3D, and the output was 2D, not 3D.

I noticed the "Enable SBS 3D Movie-Only output" option (under Settings -> Setup). It was unchecked. Was that option always there? or recently added?

jdobbs
23rd June 2014, 16:24
I had been making Alternate Move-Only Output backups with BD-Rebuilder for a while. Backing up 3D to a SBS MKV was handled seamlessly, at least in that I don't remember having to change anything when doing 3D movies (other than rip with AnyDVD HD to ISO, and mount it the ISO)

I went to do a backup of The Lego Movie 3D, and the output was 2D, not 3D.

I noticed the "Enable SBS 3D Movie-Only output" option (under Settings -> Setup). It was unchecked. Was that option always there? or recently added?
It's always been there. It's possible the default may have changed since full 3D was implemented. I'd have to go back through my notes.

Dandimite
23rd June 2014, 22:49
I am not quite sure if I understood the concept Quick Play Backup right. I thought that this in fact does re-author the disc. For example: Bram Stokers Dracula: Just wanted to keep the introduction followed by the movie itself. But no matter, which box I checked or unchecked, renamed the titles, moved it up or down, it kept all movies, and reencoded the whole disc. Resulted in an menu saying 01:Feature Presentation, 02: Disc Extra and so on. Am I totally wrong here, or did I just dont get it, what Quick Play Extra exactly does. Did I miss hidden options or get any preferencies wrong. is it possible just to keep 2 movies from the disc, which do play one after the other?
Thanks for any hints!
Cheers, Dandimite

Sharc
23rd June 2014, 23:30
I am not quite sure if I understood the concept Quick Play Backup right. I thought that this in fact does re-author the disc. For example: Bram Stokers Dracula: Just wanted to keep the introduction followed by the movie itself. But no matter, which box I checked or unchecked, renamed the titles, moved it up or down, it kept all movies, and reencoded the whole disc. Resulted in an menu saying 01:Feature Presentation, 02: Disc Extra and so on. Am I totally wrong here, or did I just dont get it, what Quick Play Extra exactly does. Did I miss hidden options or get any preferencies wrong. is it possible just to keep 2 movies from the disc, which do play one after the other?
Thanks for any hints!
Cheers, Dandimite
Your source should be on a writebale medium.
Did you rip the original disc to your HD, or is it on a mounted drive, or dou you work directly from the original disc?
I reported a similar case here (http://forum.doom9.org/showpost.php?p=1683588&postcount=20410). Everything works as expected when the source is ripped to a writeable medium.

worknstiff
24th June 2014, 14:22
@ Mark Venture RE: I went to do a backup of The Lego Movie 3D, and the output was 2D, not 3D.

This disk, or at least the US version I did (36.3 GB), was pretty problematic. I tried different ways to pull out the 3D movie and all that BD Rebuilder would recognize as existing on the ripped ISO, was the VID 00042 file which was 2D and had a size of 2,454.44 MB with a run time of 1:40:35. I finally just gave up and did a full 50GB DL backup. I would be interested to see what jdobbs can figure out about this exceptional disk.

AmigaFuture
24th June 2014, 18:22
I am not quite sure if I understood the concept Quick Play Backup right. I thought that this in fact does re-author the disc. For example: Bram Stokers Dracula: Just wanted to keep the introduction followed by the movie itself.
Cheers, Dandimite

Have you used Alternate Output to MKV for each part and then importing the 2 MKV files and modifying the Quick-Play list?

AmigaFuture
24th June 2014, 22:40
Is anyone else noticing secondary streams are reencoding even when output for Full Backup or Movies & Menu's are set to BD-50?

Thanks.

Dandimite
26th June 2014, 19:31
Your source should be on a writebale medium.
Did you rip the original disc to your HD, or is it on a mounted drive, or dou you work directly from the original disc?
I reported a similar case here (http://forum.doom9.org/showpost.php?p=1683588&postcount=20410). Everything works as expected when the source is ripped to a writeable medium.

@ Sharc: Thank you, just that simple!

Lathe
27th June 2014, 04:00
I'm just learning to use very simple AVS scripts in BDRB, such as altering the contrast, brightness, & saturation, and it's worked really well. What's weird is that I can use the simple Sharpen() which is fairly crude and it DOES work, but for some odd reason, although BDRB seems to RUN the more complex and MUCH better Limitedsharpenfaster() script, it doesn't seem to impact the actual appearance of the resulting video.

I have a premade script that I guess is commonly used and it is the same script that HYBRID uses for Limitedsharpenfaster(), which I've used with HYBRID a few times and there I DID see the difference. But, for some odd reason, even though BDRB appears to run the script seemingly without any errors, there doesn't seem to be any difference in the video. I do have all the plugins installed that go with this. I tried setting it super high (strength-200) just to see if it did anything and I couldn't see any difference (I had used a more normal '100' at first but I didn't see any alteration of the sharpness.

Here is the script; can anyone see why I am not seeing any difference after BDRB runs it?

Thank you!


# LimitedSharpen() ( a modded version, 29 Oct 2005 )
#
# A multi-purpose sharpener by Didée
#
#
# Changes in this mod:
#
# - RemoveGrain >= v0.9 IS REQUIRED!!
# ==================================
#
# - Smode=4 / sometimes does the magic ;-)
# - a separate "undershoot" parameter, to allow for some line darkening in comic or Anime
# - Lmode=3 / on edges, limited sharpening with zero OS & US. On not-edges, limited sharpening with specified OS + LS
# - "soft" acts different now: no more boolean true/false, but instead integer 0 - 100 (or -1 -> automatic)
# instead of blurring before finding minima/maxima, it now softens the "effect-of-sharpening"
# - edgemode=-1 now shows the edgemask. (scaling still not implemented :p )
#
## - MODIFIED version using MaskTools 2.0

function LimitedSharpenFaster( clip clp, float "ss_x", float "ss_y",
\ int "dest_x", int "dest_y", int "Smode" , int "strength", int "radius",
\ int "Lmode", bool "wide", int "overshoot", int "undershoot",
\ int "soft", int "edgemode", bool "special", int "exborder" )
{
ox = clp.width
oy = clp.height

Smode = default( Smode, 3 )
ss_x = (Smode==4)
\ ? default( ss_x, 1.25)
\ : default( ss_x, 1.5 )
ss_y = default( ss_y, ss_x)
Assert(ss_x >= 1.0 && ss_y >= 1.0,"ss_x and ss_y must be at least 1.0!")
dest_x = default( dest_x, ox )
dest_y = default( dest_y, oy )
strength = (Smode==1)
\ ? default( strength, 160 )
\ : default( strength, 100 )
strength = (Smode==2&&strength>100) ? 100 : strength
radius = default( radius, 2 )
Lmode = default( Lmode, 1 )
wide = default( wide, false )
overshoot = default( overshoot, 1)
undershoot= default( undershoot, overshoot)
softdec = default( soft, 0 )
soft = softdec!=-1 ? softdec : sqrt( (((ss_x+ss_y)/2.0-1.0)*100.0) ) * 10
soft = soft>100 ? 100 : soft
edgemode = default( edgemode, 0 )
special = default( special, false )
exborder = default( exborder, 0)
#radius = round( radius*(ss_x+ss_y)/2) # If it's you, Mug Funky - feel free to activate it again
xxs=round(ox*ss_x/8)*8
yys=round(oy*ss_y/8)*8
smx=exborder==0?dest_x:round(dest_x/Exborder/4)*4
smy=exborder==0?dest_y:round(dest_y/Exborder/4)*4

clp.isYV12() ? clp : clp.converttoyv12()

ss_x != 1.0 || ss_y != 1.0 ? last.spline36resize(xxs,yys) : last
tmp = last

edge = mt_logic( tmp.mt_edge(thY1=0,thY2=255,"8 16 8 0 0 0 -8 -16 -8 4")
\ ,tmp.mt_edge(thY1=0,thY2=255,"8 0 -8 16 0 -16 8 0 -8 4")
\ ,"max") .mt_lut("x 128 / 0.86 ^ 255 *") #.levels(0,0.86,128,0,255,false)

tmpsoft = tmp.removegrain(11,-1)
dark_limit1 = tmp.mt_inpand()
bright_limit1 = tmp.mt_expand()
dark_limit = (wide==false) ? dark_limit1 : dark_limit1 .removegrain(20,-1).mt_inpand()
bright_limit = (wide==false) ? bright_limit1 : bright_limit1.removegrain(20,-1).mt_expand()
minmaxavg = special==false
\ ? mt_average(dark_limit1, bright_limit1)
\ : mt_merge(dark_limit,bright_limit,tmp.removegrain(11,-1),Y=3,U=-128,V=-128)

Str=string(float(strength)/100.0)
normsharp = Smode==1 ? unsharpmask(strength,radius,0)
\ : Smode==2 ? sharpen(float(strength)/100.0)
\ : Smode==3 ? mt_lutxy(tmp,minmaxavg,yexpr="x x y - "+Str+" * +")
\ : mt_lutxy(tmp,tmpsoft,"x y == x x x y - abs 16 / 1 2 / ^ 16 * "+Str+
\ " * x y - 2 ^ x y - 2 ^ "+Str+" 100 * 25 / + / * x y - x y - abs / * + ?")

OS = string(overshoot)
US = string(undershoot)
mt_lutxy( bright_limit, normsharp, yexpr="y x "+OS+" + < y x y x - "+OS+" - 1 2 / ^ + "+OS+" + ?")
mt_lutxy( dark_limit, last, yexpr="y x "+US+" - > y x x y - "+US+" - 1 2 / ^ - "+US+" - ?")

Lmode==1 ? mt_clamp(normsharp, bright_limit, dark_limit, overshoot, undershoot) : last

normal = last
zero = mt_clamp(normsharp, bright_limit, dark_limit, 0,0)

Lmode==3 ? mt_merge(normal,zero,edge.mt_inflate()) : normal

edgemode==0 ? last
\ : edgemode==1 ? mt_merge(tmp,last,edge.mt_inflate().mt_inflate().removegrain(11,-1),Y=3,U=1,V=1)
\ : mt_merge(last,tmp,edge.mt_inflate().mt_inflate().removegrain(11,-1),Y=3,U=1,V=1)

AMNT = string(soft)
AMNT2 = string(100-soft)
sharpdiff=mt_makediff(tmp,last)
sharpdiff2=mt_lutxy(sharpdiff,sharpdiff.removegrain(19,-1),
\ "x 128 - abs y 128 - abs > y "+AMNT+" * x "+AMNT2+" * + 100 / x ?")

soft==0 ? last : mt_makediff(tmp,sharpdiff2)

(ss_x != 1.0 || ss_y != 1.0)
\ || (dest_x != ox || dest_y != oy) ? spline36resize(dest_x,dest_y) : last

ex=blankclip(last,width=smx,height=smy,color=$FFFFFF).addborders(2,2,2,2).coloryuv(levels="TV->PC")
\.removegrain(mode=19).mt_inpand().removegrain(mode=19).bicubicresize(dest_x,dest_y,1.0,.0)
tmp = clp.spline36resize(dest_x,dest_y)

clp.isYV12() ? ( exborder==0 ? tmp.mergeluma(last)
\ : mt_merge(tmp,last,ex,Y=3,U=1,V=1) )
\ : ( exborder==0 ? tmp.mergeluma(last.converttoyuy2())
\ : tmp.mergeluma( mt_merge(tmp.converttoyv12(),last,ex,Y=3,U=1,V=1)
\ .converttoyuy2()) )

(edgemode!= -1) ? last : edge.spline36resize(dest_x,dest_y).greyscale

return last
}

gogosch
27th June 2014, 20:56
When processing 1080i I recognize some distortions in the Video stream.
This occurs since the last 3 beta versions.
Former versions were OK.
1080p is OK!

RobertM
27th June 2014, 21:06
some distortions in the Video stream.

That's a bit vague. Could you elaborate some more?

gogosch
27th June 2014, 21:17
I compressed from 5GB to 4.3GB and it seems to me some frames are missing in irregular intervals and the picture shows at this moment a lot of small blocks.
Are there some special settings to process 1080i?.
Processing of 720p and 1080p is OK!

Crocluvr92
27th June 2014, 21:42
Ever since I got the newest version of BD Rebuilder, clips like the special features and the movie itself, have the last few seconds removed! Say for example, I was watching the interviews on Back to the Future Blu-Ray after it's compression, the clip was 2:55 long, but after 2:50 the interview abruptly cuts off! I watched the master copy on my hard drive and it played all the way through the 2:55 clip. It seems to be cutting off the last 2- 5 seconds on all clips of anything I try to rebuild. It has been doing this on all the clips on that disc after compression on all the BTTF movies, RoboCop and others since the new beta. Am I doing something wrong?

jdobbs
27th June 2014, 22:32
When processing 1080i I recognize some distortions in the Video stream.
This occurs since the last 3 beta versions.
Former versions were OK.
1080p is OK!That's a bit vague. Could you elaborate some more?I definitely need more than that to work with....

jdobbs
27th June 2014, 22:35
Ever since I got the newest version of BD Rebuilder, clips like the special features and the movie itself, have the last few seconds removed! Say for example, I was watching the interviews on Back to the Future Blu-Ray after it's compression, the clip was 2:55 long, but after 2:50 the interview abruptly cuts off! I watched the master copy on my hard drive and it played all the way through the 2:55 clip. It seems to be cutting off the last 2- 5 seconds on all clips of anything I try to rebuild. It has been doing this on all the clips on that disc after compression on all the BTTF movies, RoboCop and others since the new beta. Am I doing something wrong?I'd need a specific title to test (making the issue repeatable) and your settings (config/ini file contents). I haven't seen anything like this, and frankly can't imagine how it could happen.

jdobbs
27th June 2014, 22:36
I compressed from 5GB to 4.3GB and it seems to me some frames are missing in irregular intervals and the picture shows at this moment a lot of small blocks.
Are there some special settings to process 1080i?.
Processing of 720p and 1080p is OK!No. There's really nothing special about 1080i... Can you specify a title in which this happens?

Crocluvr92
27th June 2014, 22:50
I'd need a specific title to test (making the issue repeatable) and your settings (config/ini file contents). I haven't seen anything like this, and frankly can't imagine how it could happen.

[Options]
VERSION=0.47.0.6
ENCODER=0
MODE=0
ENCODE_QUALITY=3
ONEPASS_ENCODING=0
AUTO_QUALITY=0
DTSX_ENABLE=1
AUDIO_TO_KEEP=all
SUBS_TO_KEEP=all
SD_CONVERT=0
OPEN_GOP=0
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
AVCHD=0
REMOVE_WORKFILES=1
DGDECIM=0
REMOVE_OUTPUT=0
USE_FILTERS=0
BDMV_CERT_ONLY=0
USE_LAVF=0
IVTC_PULLDOWN=0
ASSUME_DVD_PAL=0
FRIMSOURCE=0
COMPLETION_BEEP=0
DGDECNV=0
OUTPUT_SBS=0
NEROAAC=0
SUPTITLE=0
AUDIO_TRACK_LIMIT=0
SUBTITLE_TRACK_LIMIT=0
CUSTOM_TARGET_SIZE=23000
TARGET_SIZE=23866
PRIORITY_CLASS=2
AUTO_BURN=0

Try any of the Back to the Future titles and RoboCop (1987)

gogosch
28th June 2014, 09:34
No. There's really nothing special about 1080i... Can you specify a title in which this happens?

I happens only when shrinking 1080i material from DVBS.
Some beta versions ago everything was fine, but these versions don't run anymore (xpired).

Without shrinking by BD-Rebuilder there are no distortions in the source material!

jdobbs
28th June 2014, 14:12
I happens only when shrinking 1080i material from DVBS.
Some beta versions ago everything was fine, but these versions don't run anymore (xpired).

Without shrinking by BD-Rebuilder there are no distortions in the source material!Can you post the AVS file of one of the streams that is having problems? I'm not sure if there is anything different about DVBS streams (when compared to that of a BD).

RoyGBiv-inRI
28th June 2014, 18:23
Can someone remind me about how I can make sure forced subs are turned on? I know there was a discussion about this months ago, but I can't seem to find it. I want to make a backup of Captain Phillips. If I do "movie only," the forced subs only appear if I have the regular subs on.

TIA.

SMK

worknstiff
28th June 2014, 23:42
@ RoyGBiv-inRI RE: I want to make a backup of Captain Phillips. If I do "movie only," the forced subs only appear if I have the regular subs on.

There was something really goofy about this particular disk. I think I remember that it was something to do with all the other languages that the Somali language subtitles had along with the English ones and if you messed with removing any of them then it was not triggered correctly. I finally had to use Clown BD and use it to make a Blu-ray disk backup which had the English forced subs on it turned on and used it to "FEED" to BD Rebuilder and make a movie only that would then play them like it should.

Hope this helps, worknstiff

RoyGBiv-inRI
30th June 2014, 14:31
Thanks. That seems to have done it.

SMK