Crashing on some MKVs made from BRs

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
Tree Dude
Enlightened
Posts: 128
Joined: Sun Aug 29, 2010 10:30 pm

Crashing on some MKVs made from BRs

Post by Tree Dude »

I have had this happen with Cloverfield and The Muppets right around 24% done. Both were made with MakeMKV 1.7.4.

Code: Select all

HandBrake svn4895 2012080901
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Pentium(R) CPU G630 @ 2.70GHz
Ram: 4069 MB, Screen: 1600x1200
Temp Dir: C:\Users\USERNAME\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\USERNAME\AppData\Roaming\HandBrake\HandBrake\0.9.8.4895

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

CLI Query:  -i "C:\Users\USERNAME\Desktop\New folder\Cloverfield.mkv" -t 1 --angle 1 -c 1-16 -o "C:\Users\USERNAME\Desktop\New folder\Converted\Cloverfield.mkv"  -f mkv  --strict-anamorphic  --modulus 16 -e x264 -q 21 --cfr -a 1 -E ffac3 -6 6ch -R Auto -B 640 -D 0 --gain 0 --audio-copy-mask none --audio-fallback ffac3 --subtitle 1 --markers="C:\Users\USERNAME\AppData\Local\Temp\Cloverfield-1-chapters.csv" -x rc-lookahead=60:ref=4:bframes=6:b-adapt=2:me=umh:aq-strength=0.5:psy-rd=1.0,0.25:deblock=-2,-2:vbv-bufsize=25000:vbv-maxrate=25000 --verbose=1
User Query: False

[16:55:41] hb_init: starting libhb thread
HandBrake svn4895 (2012080901) - MinGW x86_64 - http://handbrake.fr
2 CPUs detected
Opening C:\Users\USERNAME\Desktop\New folder\Cloverfield.mkv...
[16:55:41] hb_scan: path=C:\Users\USERNAME\Desktop\New folder\Cloverfield.mkv, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening C:\Users\USERNAME\Desktop\New folder\Cloverfield.mkv/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(C:\Users\USERNAME\Desktop\New folder\Cloverfield.mkv) failed (0000000000308B50)
[16:55:41] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[16:55:41] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Users\USERNAME\Desktop\New folder\Cloverfield.mkv':
  Metadata:
    title           : Cloverfield
  Duration: 01:24:40.54, start: 0.000000, bitrate: N/A
    Chapter #0.0: start 0.000000, end 303.469822
    Metadata:
      title           : Chapter 00
    Chapter #0.1: start 303.469822, end 581.372444
    Metadata:
      title           : Chapter 01
    Chapter #0.2: start 581.372444, end 902.359778
    Metadata:
      title           : Chapter 02
    Chapter #0.3: start 902.359778, end 1165.831333
    Metadata:
      title           : Chapter 03
    Chapter #0.4: start 1165.831333, end 1461.835356
    Metadata:
      title           : Chapter 04
    Chapter #0.5: start 1461.835356, end 1762.719289
    Metadata:
      title           : Chapter 05
    Chapter #0.6: start 1762.719289, end 2015.471778
    Metadata:
      title           : Chapter 06
    Chapter #0.7: start 2015.471778, end 2182.638778
    Metadata:
      title           : Chapter 07
    Chapter #0.8: start 2182.638778, end 2485.274444
    Metadata:
      title           : Chapter 08
    Chapter #0.9: start 2485.274444, end 2728.434022
    Metadata:
      title           : Chapter 09
    Chapter #0.10: start 2728.434022, end 2955.911289
    Metadata:
      title           : Chapter 10
    Chapter #0.11: start 2955.911289, end 3214.544667
    Metadata:
      title           : Chapter 11
    Chapter #0.12: start 3214.544667, end 3548.169622
    Metadata:
      title           : Chapter 12
    Chapter #0.13: start 3548.169622, end 4015.553200
    Metadata:
      title           : Chapter 13
    Chapter #0.14: start 4015.553200, end 4424.044622
    Metadata:
      title           : Chapter 14
    Chapter #0.15: start 4424.044622, end 5080.544000
    Metadata:
      title           : Chapter 15
    Stream #0.0(eng): Video: vc1 (Advanced), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s (default)
    Metadata:
      title           : 3/2+1
    Stream #0.2(eng): Subtitle: pgssub (default)
[16:55:41] scan: decoding previews for title 1
[16:55:41] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
Scanning title 1...
Scanning title 1...
[16:55:42] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/2, aspect 16:9, PAR 1:1
[16:55:42] scan: title (0) job->width:1904, job->height:1072
Scanning title 1...
[16:55:42] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: C:\Users\USERNAME\Desktop\New folder\Cloverfield.mkv
  + duration: 01:24:40
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 0/0/0/2
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:05:03
    + 2: cells 0->0, 0 blocks, duration 00:04:38
    + 3: cells 0->0, 0 blocks, duration 00:05:21
    + 4: cells 0->0, 0 blocks, duration 00:04:23
    + 5: cells 0->0, 0 blocks, duration 00:04:56
    + 6: cells 0->0, 0 blocks, duration 00:05:01
    + 7: cells 0->0, 0 blocks, duration 00:04:13
    + 8: cells 0->0, 0 blocks, duration 00:02:47
    + 9: cells 0->0, 0 blocks, duration 00:05:03
    + 10: cells 0->0, 0 blocks, duration 00:04:03
    + 11: cells 0->0, 0 blocks, duration 00:03:47
    + 12: cells 0->0, 0 blocks, duration 00:04:19
    + 13: cells 0->0, 0 blocks, duration 00:05:34
    + 14: cells 0->0, 0 blocks, duration 00:07:47
    + 15: cells 0->0, 0 blocks, duration 00:06:48
    + 16: cells 0->0, 0 blocks, duration 00:10:56
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 640000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(PGS)
Reading chapter markers from file C:\Users\USERNAME\AppData\Local\Temp\Cloverfield-1-chapters.csv
[16:55:42] 1 job(s) to process
[16:55:42] starting job
[16:55:42] sync: expecting 121811 video frames
[16:55:42] job configuration:
[16:55:42]  * source
[16:55:42]    + C:\Users\USERNAME\Desktop\New folder\Cloverfield.mkv
[16:55:42]    + title 1, chapter(s) 1 to 16
[16:55:42]    + container: matroska,webm
[16:55:42]  * destination
[16:55:42]    + C:\Users\USERNAME\Desktop\New folder\Converted\Cloverfield.mkv
[16:55:42]    + container: Matroska (.mkv)
[16:55:42]      + chapter markers
[16:55:42]  * video track
[16:55:42]    + decoder: vc1
[16:55:42]    + frame rate: 23.976 fps -> constant 23.976 fps
[16:55:42]    + filters
[16:55:42]      + Framerate Shaper (1:27000000:1126125)
[16:55:42]        + frame rate: 23.976 fps -> constant 23.976 fps
[16:55:42]      + Crop and Scale (1918:1080:0:0:0:2)
[16:55:42]        + source: 1920 * 1080, crop (0/0/0/2): 1918 * 1080, scale: 1918 * 1080
[16:55:42]    + strict anamorphic
[16:55:42]      + storage dimensions: 1918 * 1080, mod 0
[16:55:42]      + pixel aspect ratio: 1 / 1
[16:55:42]      + display dimensions: 1918 * 1080
[16:55:42]    + encoder: H.264 (x264)
[16:55:42]      + options: rc-lookahead=60:ref=4:bframes=6:b-adapt=2:me=umh:aq-strength=0.5:psy-rd=1.0,0.25:deblock=-2,-2:vbv-bufsize=25000:vbv-maxrate=25000
[16:55:42]      + quality: 21.00 (RF)
[16:55:42]  * subtitle track 1, English (track 2, id 0x2) Picture [PGS] -> Passthrough
[16:55:42]  * audio track 1
[16:55:42]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[16:55:42]      + bitrate: 640 kbps, samplerate: 48000 Hz
[16:55:42]    + mixdown: 6-channel discrete
[16:55:42]    + encoder: AC3 (ffmpeg)
[16:55:42]      + bitrate: 640 kbps, samplerate: 48000 Hz
[16:55:42] reader: first SCR 0 id 0x0 DTS 0
[16:55:42] encx264: min-keyint: 24, keyint: 240
[16:55:42] encx264: encoding with stored aspect 1/1
[16:55:42] encx264: Encoding at constant RF 21.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.0
[17:23:43] vc1: "Chapter 2" (2) at frame 7284 time 27312300
[17:56:46] vc1: "Chapter 3" (3) at frame 13948 time 52327260
[18:34:32] vc1: "Chapter 4" (4) at frame 21643 time 81212400
[19:00:52] vc1: "Chapter 5" (5) at frame 27961 time 104928570
[matroska,webm @ 0000000002D787E0] Invalid length 0x38a2 > 0x8 for syntax element 1
Deleted User 11865

Re: Crashing on some MKVs made from BRs

Post by Deleted User 11865 »

Tree Dude wrote:

Code: Select all

[matroska,webm @ 0000000002D787E0] Invalid length 0x38a2 > 0x8 for syntax element 1
The crash doesn't just occur out of the blue - libavformat complains about an error in the source. Do you have any reason to claim that the source doesn't have an error?

Also, why bother with intermediate MKV files when HandBrake can open a decrypted backup just fine and you're re-encoding anyway?
Tree Dude
Enlightened
Posts: 128
Joined: Sun Aug 29, 2010 10:30 pm

Re: Crashing on some MKVs made from BRs

Post by Tree Dude »

I use MakeMKV to do my backups. I like it the best since it only grabs the video and puts into an easily playable file if I don't feel like re-encoding right away. Much easier for the wife to deal with than an ISO or folder style backup.

At any rate a remux fixed it. The files played fine before the remux though. I watched both of them all the way though (The Muppets a few times, the little on loves it).
Post Reply