Page 1 of 1

Ripping Blu-Ray "Little Nikita" fails on source scan

Posted: Wed Jun 06, 2018 2:26 am
by KaraokeAmerica
Description of problem or question:
Handbrake won't scan Blu-Ray disk. It fails simply on the disk scan.

Steps to reproduce the problem (If Applicable):
Try to scan disk source. That's it.

HandBrake version (e.g., 1.0.0):
1.1.0

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Win10 with Creators and April 2018 updates.

HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

HandBrake 1.1.0 (2018040700) - 64bit
OS: Microsoft Windows NT 10.0.17134.0 - 64bit
CPU: Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz
Ram: 7876 MB, 
GPU Information:
  Intel(R) HD Graphics 4600 - 20.19.15.4835
Screen: 1920x1080
Temp Dir: C:\Users\Me\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Me\AppData\Roaming\HandBrake Team\HandBrake\1.1.0.0

-------------------------------------------

[21:22:24] hb_init: starting libhb thread

 # Starting Scan ...

[21:22:24] CPU: Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz
[21:22:24]  - Intel microarchitecture Haswell
[21:22:24]  - logical processor count: 4
[21:22:24] Intel Quick Sync Video support: yes
[21:22:24]  - Intel Media SDK hardware: API 1.20 (minimum: 1.3)
[21:22:24]  - H.264 encoder: yes
[21:22:24]     - preferred implementation: hardware (any) via D3D11
[21:22:24]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[21:22:24]  - H.265 encoder: no
[21:22:24] hb_scan: path=X:\, title_index=0
[21:22:24] scan: BD has 5 title(s)
[21:22:24] bd: scanning title 1
[21:22:24] bd: playlist 00000.MPLS
[21:22:24] bd: duration is 00:00:09 (9042 ms)
[21:22:24] bd: ignoring title (too short)
[21:22:24] bd: scanning title 2
[21:22:24] bd: playlist 00001.MPLS
[21:22:24] bd: duration is 00:00:14 (14055 ms)
[21:22:24] bd: video id=0x1011, stream type=MPEG2, format 1080p
[21:22:24] bd: unknown aspect
[21:22:24] bd: scanning title 3
[21:22:24] bd: playlist 00002.MPLS
[21:22:24] bd: duration is 01:36:56 (5816477 ms)
[21:22:24] bd: video id=0x1011, stream type=MPEG2, format 1080p
[21:22:24] bd: unknown aspect
[21:22:24] bd: scanning title 4
[21:22:24] bd: playlist 00003.MPLS
[21:22:24] bd: duration is 00:00:08 (8967 ms)
[21:22:24] bd: ignoring title (too short)
[21:22:24] bd: scanning title 5
[21:22:24] bd: playlist 00004.MPLS
[21:22:24] bd: duration is 00:01:11 (71805 ms)
[21:22:24] bd: video id=0x1011, stream type=MPEG2, format 1080p
[21:22:24] bd: unknown aspect
[21:22:24] libhb: scan thread found 0 valid title(s)

 # Processing Scan Information ...
 # Scan Finished ...

Re: Ripping Blu-Ray "Little Nikita" fails on source scan

Posted: Wed Jun 06, 2018 4:20 am
by mduell
Yup, HB doesn't support protected disks.

Rip with an app for that purpose, like MakeMKV.

Re: Ripping Blu-Ray "Little Nikita" fails on source scan

Posted: Wed Jun 06, 2018 11:41 am
by KaraokeAmerica
mduell wrote: Wed Jun 06, 2018 4:20 am Yup, HB doesn't support encrypted disks.

Rip with an app for that purpose, like MakeMKV.
Thank you, but I don't think that's it. The disk isn't encrypted from HB's standpoint. I am running AnyDVD-HD.

CloneBD doesn't rip encrypted disks either, but it worked fine here. Until I updated HB to the latest version yesterday it would rip *decrypted* disks all day.

Are you saying that HB has been "updated" to ignore *decrypted* disks?

FTR, I'm currently ripping another "encrypted" disk in a second system with the same version of Handbrake. It is working fine so far.

I am also currently ripping that disk that failed into a decrypted ISO and I'm going to try it again on THAT system to see what happens, but direct from ISO instead of the physical disk.

Re: Ripping Blu-Ray "Little Nikita" fails on source scan

Posted: Wed Jun 06, 2018 2:17 pm
by mduell
HB isn't intended to rip disks. Use the right tool for the job.

I've updated my comment to reflect non-encryption forms of copy protection. :roll:

Re: Ripping Blu-Ray "Little Nikita" fails on source scan

Posted: Wed Jun 06, 2018 2:27 pm
by Woodstock
[21:22:24] bd: scanning title 3
[21:22:24] bd: playlist 00002.MPLS
[21:22:24] bd: duration is 01:36:56 (5816477 ms)
[21:22:24] bd: video id=0x1011, stream type=MPEG2, format 1080p
[21:22:24] bd: unknown aspect
Are your other "work all day" decrypted disks also using MPEG2 for the video encoding? That in itself is rare for a Bluray source, because that codec is usually used for DVD. And the fact that the aspect ratio can't be determined makes the stream "invalid" to handbrake.

Re: Ripping Blu-Ray "Little Nikita" fails on source scan

Posted: Wed Jun 06, 2018 3:08 pm
by KaraokeAmerica
mduell wrote: Wed Jun 06, 2018 2:17 pm HB isn't intended to rip disks. Use the right tool for the job.

I've updated my comment to reflect non-encryption forms of copy protection. :roll:
Thank you oh captain of the Battlestar Pedantica.......;)

Not sure what you mean by "rip disks". I may be using the wrong term, but I "rip" movies all the time in Handbrake.

Would it make more sense if I said "transcode"? lol

Re: Ripping Blu-Ray "Little Nikita" fails on source scan

Posted: Wed Jun 06, 2018 3:10 pm
by JohnAStebbins
If you would like to try the next nightly build, I just pushed a workaround for the "unknown aspect" (https://git.io/vh0Vt). You may still end up with a video encoded to the incorrect aspect. The workaround also logs the unknown value, so it would be helpful if you could run the next nightly and post a log. I'm curious what value it's using.

Re: Ripping Blu-Ray "Little Nikita" fails on source scan

Posted: Wed Jun 06, 2018 3:12 pm
by KaraokeAmerica
Woodstock wrote: Wed Jun 06, 2018 2:27 pm
[21:22:24] bd: scanning title 3
[21:22:24] bd: playlist 00002.MPLS
[21:22:24] bd: duration is 01:36:56 (5816477 ms)
[21:22:24] bd: video id=0x1011, stream type=MPEG2, format 1080p
[21:22:24] bd: unknown aspect
Are your other "work all day" decrypted disks also using MPEG2 for the video encoding? That in itself is rare for a Bluray source, because that codec is usually used for DVD. And the fact that the aspect ratio can't be determined makes the stream "invalid" to handbrake.
Thank you. This actually makes more sense. It is using an odd stream? Frankly, I have no idea what type of source my disks are. Unless there is an issue with one, I don't even look at the logs. I don't look at my TV remote either unless it doesn't work as expected.

Thing is that if it was about the TYPE of stream wouldn't it fail on transcoding, not simply trying to trying to scan the disk? Are you saying that because of this encoding, it sees *NO TITLES*?

I won't pretend I'm an expert here.....

Re: Ripping Blu-Ray "Little Nikita" fails on source scan

Posted: Wed Jun 06, 2018 3:12 pm
by JohnAStebbins
Battlestar Pedantica
:mrgreen: That's [Censored]'s funny, but everyone please remember to keep it friendly :wink:

Re: Ripping Blu-Ray "Little Nikita" fails on source scan

Posted: Wed Jun 06, 2018 3:15 pm
by KaraokeAmerica
JohnAStebbins wrote: Wed Jun 06, 2018 3:10 pm If you would like to try the next nightly build, I just pushed a workaround for the "unknown aspect" (https://git.io/vh0Vt). You may still end up with a video encoded to the incorrect aspect. The workaround also logs the unknown value, so it would be helpful if you could run the next nightly and post a log. I'm curious what value it's using.
I would be happy to test it! I'll start it now if I could figure out how to actually download the installer from that link!

Do I need some sort of GitHub account or something? I don't know how that works.

Re: Ripping Blu-Ray "Little Nikita" fails on source scan

Posted: Wed Jun 06, 2018 3:19 pm
by JohnAStebbins
if it was about the TYPE of stream wouldn't it fail on transcoding
Woodstock's point wasn't so much about the type of stream. It was more about it being unusual. The fact that it's unusual means that whoever produced this disc doesn't use the same tools as most everybody else. The production tool they used is broken because it produced a disc that does not conform to spec.

The reason the scan fails isn't due to the fact that it's MPEG. It's due to the unknown aspect ratio. Without this information, HandBrake has no way to know what width the video should be rendered at. My workaround basically picks the most commonly used aspect ratio and allows the scan to succeed instead of fail. But this somewhat arbitrary choice for aspect would cause improper rendering if the disc is actually some other aspect ratio.

Re: Ripping Blu-Ray "Little Nikita" fails on source scan

Posted: Wed Jun 06, 2018 3:24 pm
by JohnAStebbins
I could figure out how to actually download the installer from that link!
"Nightly builds" are produced approximately nightly :P (sometimes there are missed nights) and can be found here: https://handbrake.fr/nightly.php

The current nightly build does not have this workaround yet, so you need to wait for the next one. Anything with a date (in the filename) after 20180603

Re: Ripping Blu-Ray "Little Nikita" fails on source scan

Posted: Wed Jun 06, 2018 3:40 pm
by KaraokeAmerica
JohnAStebbins wrote: Wed Jun 06, 2018 3:19 pm
if it was about the TYPE of stream wouldn't it fail on transcoding
Woodstock's point wasn't so much about the type of stream. It was more about it being unusual. The fact that it's unusual means that whoever produced this disc doesn't use the same tools as most everybody else. The production tool they used is broken because it produced a disc that does not conform to spec.
Got it, thanks.
JohnAStebbins wrote:The reason the scan fails isn't due to the fact that it's MPEG. It's due to the unknown aspect ratio. Without this information, HandBrake has no way to know what width the video should be rendered at. My workaround basically picks the most commonly used aspect ratio and allows the scan to succeed instead of fail. But this somewhat arbitrary choice for aspect would cause improper rendering if the disc is actually some other aspect ratio.
OK, I understand that. I'll check tomorrow to see if there is a new build.

The issue I see with your "workaround" method is one that I brought up in a thread last year some time. You are unable to really do anything until it sees and scans a source. The hiccup for me was that I couldn't even put in my output path until it scanned the source. It was just annoying. Or, do you mean the "workaround" is something you are putting in the next nightly build?

Thanks for the help!

Re: Ripping Blu-Ray "Little Nikita" fails on source scan

Posted: Tue Jun 12, 2018 8:42 pm
by KaraokeAmerica
JohnAStebbins wrote:
The current nightly build does not have this workaround yet, so you need to wait for the next one. Anything with a date (in the filename) after 20180603
OK, I finally got a chance to try this. It did work. Thanks!

Re: Ripping Blu-Ray "Little Nikita" fails on source scan

Posted: Tue Jun 12, 2018 9:51 pm
by JohnAStebbins
Can you post a log of a scan of this disc with the nightly. It logs additional information about the aspect ratio code that I would like to see.