"No valid titles found" after log says "6 valid titles found" / json pack failure: NULL object

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
dvdcollector
Posts: 5
Joined: Sat Feb 29, 2020 5:15 pm

"No valid titles found" after log says "6 valid titles found" / json pack failure: NULL object

Post by dvdcollector »

Description of problem or question:

I attempted to scan a certain DVD. I do not know whether it has copy protection - old opera performance DVDs often do not have this, but sometimes do - but in any case, libdvdcss2 is in the installation folder and this installation has worked for ~ 60 DVDs of this kind so far.
For this particular DVD, the end result popup after the scan process says "no valid titles found".
But the log says, 6 valid titles found. And then there is some sort of exception at the end: json pack failure: NULL object.
The DVD surface looks fine. The DVD drive is pretty new / rarely used.
The DVD plays fine in my bluray player.

So, what is true now, what's going on?

Steps to reproduce the problem (If Applicable):

... only happens with that one DVD


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



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



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

Code: Select all

HandBrake 1.3.1 (2020010400)
OS: Microsoft Windows NT 10.0.14393.0
CPU: AMD Ryzen 5 2600 Six-Core Processor            
Ram: 16310 MB, 
GPU Information:
  NVIDIA GeForce GTX 1050 Ti - 26.21.14.3160
Screen: 1920x1200
Temp Dir: C:\Users\test\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\test\AppData\Roaming\HandBrake

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

[18:16:53] Compile-time hardening features are enabled
[18:16:53] Nvenc version 9.0
[18:17:48] hb_init: starting libhb thread

 # Starting Scan ...

[18:17:48] CPU:
[18:17:48]  - logical processor count: 12
[18:17:48] Intel Quick Sync Video support: no
[18:17:48] hb_scan: path=H:\, title_index=0
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(H:\) failed
[18:17:48] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdnav: Unable to open device file H:\.
libdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
[18:17:49] scan: DVD has 6 title(s)
[18:17:49] scan: scanning title 1
[18:17:49] scan: duration is 02:40:32 (9632367 ms)
[18:17:49] pgc_id: 1, pgn: 1: pgc: 0000014071903710
[18:17:49] scan: checking audio 1
[18:17:49] scan: id=0x80bd, lang=Unknown (AC3), 3cc=und ext=0
[18:17:49] scan: checking subtitle 1
[18:17:49] scan: id=0x20bd, lang=English (4:3) [VOBSUB], 3cc=eng ext=1
[18:17:49] scan: title 1 has 37 chapters
[18:17:49] scan: chap 1, 116333 ms
[18:17:49] scan: chap 2, 350567 ms
[18:17:49] scan: chap 3, 529533 ms
[18:17:49] scan: chap 4, 159467 ms
[18:17:49] scan: chap 5, 250033 ms
[18:17:49] scan: chap 6, 95333 ms
[18:17:49] scan: chap 7, 213200 ms
[18:17:49] scan: chap 8, 282533 ms
[18:17:49] scan: chap 9, 437667 ms
[18:17:49] scan: chap 10, 89700 ms
[18:17:49] scan: chap 11, 181567 ms
[18:17:49] scan: chap 12, 272567 ms
[18:17:49] scan: chap 13, 109633 ms
[18:17:49] scan: chap 14, 116567 ms
[18:17:49] scan: chap 15, 333233 ms
[18:17:49] scan: chap 16, 225767 ms
[18:17:49] scan: chap 17, 255667 ms
[18:17:49] scan: chap 18, 232700 ms
[18:17:49] scan: chap 19, 500934 ms
[18:17:49] scan: chap 20, 87967 ms
[18:17:49] scan: chap 21, 82767 ms
[18:17:49] scan: chap 22, 240500 ms
[18:17:49] scan: chap 23, 82767 ms
[18:17:49] scan: chap 24, 120900 ms
[18:17:49] scan: chap 25, 57766 ms
[18:17:49] scan: chap 26, 592800 ms
[18:17:49] scan: chap 27, 135633 ms
[18:17:49] scan: chap 28, 226200 ms
[18:17:49] scan: chap 29, 364000 ms
[18:17:49] scan: chap 30, 126533 ms
[18:17:49] scan: chap 31, 537333 ms
[18:17:49] scan: chap 32, 353166 ms
[18:17:49] scan: chap 33, 281667 ms
[18:17:49] scan: chap 34, 639166 ms
[18:17:49] scan: chap 35, 461934 ms
[18:17:49] scan: chap 36, 320667 ms
[18:17:49] scan: chap 37, 167600 ms
[18:17:49] scan: aspect = 4:3
[18:17:49] scan: scanning title 2
[18:17:49] scan: duration is 00:01:02 (62000 ms)
[18:17:49] pgc_id: 2, pgn: 1: pgc: 0000014071903170
[18:17:49] scan: checking audio 1
[18:17:49] scan: id=0x80bd, lang=Unknown (AC3), 3cc=und ext=0
[18:17:49] scan: checking subtitle 1
[18:17:49] scan: id=0x20bd, lang=English (4:3) [VOBSUB], 3cc=eng ext=1
[18:17:49] scan: title 2 has 1 chapters
[18:17:49] scan: chap 1, 62000 ms
[18:17:49] scan: aspect = 4:3
[18:17:49] scan: scanning title 3
[18:17:49] scan: duration is 00:01:10 (70500 ms)
[18:17:49] pgc_id: 3, pgn: 1: pgc: 0000014071904490
[18:17:49] scan: checking audio 1
[18:17:49] scan: id=0x80bd, lang=Unknown (AC3), 3cc=und ext=0
[18:17:49] scan: checking subtitle 1
[18:17:49] scan: id=0x20bd, lang=English (4:3) [VOBSUB], 3cc=eng ext=1
[18:17:49] scan: title 3 has 1 chapters
[18:17:49] scan: chap 1, 70500 ms
[18:17:49] scan: aspect = 4:3
[18:17:49] scan: scanning title 4
[18:17:49] scan: duration is 00:01:27 (87700 ms)
[18:17:49] pgc_id: 4, pgn: 1: pgc: 0000014071903830
[18:17:49] scan: checking audio 1
[18:17:49] scan: id=0x80bd, lang=Unknown (AC3), 3cc=und ext=0
[18:17:49] scan: checking subtitle 1
[18:17:49] scan: id=0x20bd, lang=English (4:3) [VOBSUB], 3cc=eng ext=1
[18:17:49] scan: title 4 has 1 chapters
[18:17:49] scan: chap 1, 87700 ms
[18:17:49] scan: aspect = 4:3
[18:17:49] scan: scanning title 5
[18:17:49] scan: duration is 00:00:57 (57400 ms)
[18:17:49] pgc_id: 5, pgn: 1: pgc: 00000140719034D0
[18:17:49] scan: checking audio 1
[18:17:49] scan: id=0x80bd, lang=Unknown (AC3), 3cc=und ext=0
[18:17:49] scan: checking subtitle 1
[18:17:49] scan: id=0x20bd, lang=English (4:3) [VOBSUB], 3cc=eng ext=1
[18:17:49] scan: title 5 has 1 chapters
[18:17:49] scan: chap 1, 57400 ms
[18:17:49] scan: aspect = 4:3
[18:17:49] scan: scanning title 6
[18:17:49] scan: duration is 00:00:10 (10834 ms)
[18:17:49] pgc_id: 6, pgn: 1: pgc: 0000014071904B50
[18:17:49] scan: checking audio 1
[18:17:49] scan: id=0x80bd, lang=Unknown (AC3), 3cc=und ext=0
[18:17:49] scan: checking subtitle 1
[18:17:49] scan: id=0x20bd, lang=English (4:3) [VOBSUB], 3cc=eng ext=1
[18:17:49] scan: title 6 has 1 chapters
[18:17:49] scan: chap 1, 10834 ms
[18:17:49] scan: aspect = 4:3
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000167
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000c349
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
[18:17:50] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
[18:17:51] scan: title angle(s) 1
[18:17:51] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=96000 Unknown (AC3) (2.0 ch) (96 kbps)
dvdnav: Read Error, Error reading NAV packet.
[18:17:55] Warning: Could not read data for preview 8, skipped
[18:17:55] scan: 7 previews, 720x480, 29.970 fps, autocrop = 38/0/12/2, aspect 4:3, PAR 8:9
[18:17:55] scan: decoding previews for title 2
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
[18:17:56] scan: title angle(s) 1
[18:17:56] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=96000 Unknown (AC3) (2.0 ch) (96 kbps)
[18:17:58] scan: 10 previews, 720x480, 29.970 fps, autocrop = 0/0/2/0, aspect 4:3, PAR 8:9
[18:17:58] scan: decoding previews for title 3
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
[18:17:58] scan: title angle(s) 1
[18:17:59] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=96000 Unknown (AC3) (2.0 ch) (96 kbps)
[18:18:00] scan: 10 previews, 720x480, 29.970 fps, autocrop = 22/0/2/0, aspect 4:3, PAR 8:9
[18:18:00] scan: decoding previews for title 4
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
[18:18:01] scan: title angle(s) 1
[18:18:01] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=96000 Unknown (AC3) (2.0 ch) (96 kbps)
[18:18:03] scan: 10 previews, 720x480, 29.970 fps, autocrop = 0/0/18/0, aspect 4:3, PAR 8:9
[18:18:03] scan: decoding previews for title 5
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
[18:18:03] scan: title angle(s) 1
[18:18:11] scan: 10 previews, 720x480, 29.970 fps, autocrop = 0/0/2/0, aspect 4:3, PAR 8:9
[18:18:11] scan: removing audio 0x80bd because no bitrate found
[18:18:11] scan: decoding previews for title 6
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
[18:18:11] scan: title angle(s) 1
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
[18:18:14] scan: 10 previews, 720x480, 29.970 fps, autocrop = 70/78/84/82, aspect 4:3, PAR 8:9
[18:18:14] scan: removing audio 0x80bd because no bitrate found
[18:18:15] libhb: scan thread found 6 valid title(s)
json pack failure: NULL object

 # Processing Scan Information ...


 # Scan Finished ...

User avatar
s55
HandBrake Team
Posts: 9774
Joined: Sun Dec 24, 2006 1:05 pm

Re: "No valid titles found" after log says "6 valid titles found" / json pack failure: NULL object

Post by s55 »

Can you confirm that Tools -> Preferences -> Advanced -> "Number of picture previews to scan" is set to 10?

I do wonder if it's also related to the erroneous audio tracks. You may need to use MakeMKV or similar to take care of this. libdvdcss is not recommended as it often causes problems.

dvdcollector
Posts: 5
Joined: Sat Feb 29, 2020 5:15 pm

Re: "No valid titles found" after log says "6 valid titles found" / json pack failure: NULL object

Post by dvdcollector »

Yep it's 10.
I'll look at that software, thanks.

dvdcollector
Posts: 5
Joined: Sat Feb 29, 2020 5:15 pm

Re: "No valid titles found" after log says "6 valid titles found" / json pack failure: NULL object

Post by dvdcollector »

Tried MakeMKV.

i got the log down below.
Weird: not seen but heard: maybe 15 seconds before it gave up, the program seemed to open and close again the drive bay, at least that's what it sounded like.

Hm. maybe the DVD really has problems. I have not watched it in full, only skimped. But it looks fine to the eye.

Code: Select all

MakeMKV v1.14.7 win(x64-release) started
Using direct disc access mode
Complex multiplex encountered - 38 cells and 11126 VOBUs have to be scanned. This may take some time, please be patient - it can't be avoided.
Title #1 (2:40:32) was skipped due to navigation error
Title #2 has length of 62 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #3 has length of 70 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #4 has length of 87 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #5 has length of 57 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #6 has length of 10 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Failed to open disc

Woodstock
Veteran User
Posts: 3618
Joined: Tue Aug 27, 2013 6:39 am

Re: "No valid titles found" after log says "6 valid titles found" / json pack failure: NULL object

Post by Woodstock »

There is a difference between "titles found" and "valid titles found". In MakeMKV's case, 5 of the titles were "too short", so they were ignored. The default 30 second length on handbrake would have rejected one of the files in your list.

From what MakeMKV said, when it tried to find all the pieces of the main title, some of them weren't accessible (navigation error). That is probably what is tripping up handbrake, as well. Is this a DVD-R disk, or a regular commercial "pressed" disk?

dvdcollector
Posts: 5
Joined: Sat Feb 29, 2020 5:15 pm

Re: "No valid titles found" after log says "6 valid titles found" / json pack failure: NULL object

Post by dvdcollector »

It's a commercial one. The underside, with an inscription of a media company on the innermost ring, seems to indicate it, even though I forgot what a burned one looks like. (just to indicate I wasn't sold a fake, which could have been a possibility)

Woodstock
Veteran User
Posts: 3618
Joined: Tue Aug 27, 2013 6:39 am

Re: "No valid titles found" after log says "6 valid titles found" / json pack failure: NULL object

Post by Woodstock »

Some low-volume disks are released on DVD-R media, which has a relatively dark "dye" layer. But usually they'll say that on the packaging, and there will be a pronounced difference between the "burned" and "unburned" parts of the disk.

Sometimes, authors of DVD-R disks, though, won't properly "close" the directory structure, which can lead to navigation errors. But that shouldn't happen if the disk is a pressed disk; it would have been checked before the master was cut.

Unfortunately, just skipping around in a player might not find navigation errors. I'd put it on play and check it periodically that it hasn't dropped back to the menu before the 2:40 mark. Listening to it as background music, you might notice a glitch in places.

DrXenos
Bright Spark User
Posts: 232
Joined: Sat Mar 16, 2013 1:19 pm

Re: "No valid titles found" after log says "6 valid titles found" / json pack failure: NULL object

Post by DrXenos »

dvdcollector wrote:
Sat Feb 29, 2020 11:13 pm
It's a commercial one. The underside, with an inscription of a media company on the innermost ring, seems to indicate it, even though I forgot what a burned one looks like. (just to indicate I wasn't sold a fake, which could have been a possibility)
Interestingly, I've found that inscriptions on the inner ring is a good indicator of a bootleg. Genuine discs usually don't have this, but a lot of bootleg do.

dvdcollector
Posts: 5
Joined: Sat Feb 29, 2020 5:15 pm

Re: "No valid titles found" after log says "6 valid titles found" / json pack failure: NULL object

Post by dvdcollector »

Guys, you may be right. I looked at this closer... and the border region from the printed on stuff to the part where there is no print, e.g. at the very top, very slightly right of the image, there is some white...adhesive?? oozing out, and the graphics seem unusually coarse:

https://i.ibb.co/bgcJVFR/norma-bootleg-opera-dvd.jpg

Damn. I never had this before. I think, lol. Anyway, no problems ever.

I have found another used copy that's not insanely expensive and ordered it.
When it arrives, I will compare..

Post Reply