QT Player Crashes for Movies With More Than 2+ Subtitle Tracks

HandBrake for Mac 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
Flint_6
Posts: 2
Joined: Sun Sep 18, 2016 4:20 pm

QT Player Crashes for Movies With More Than 2+ Subtitle Tracks

Post by Flint_6 » Sun Sep 18, 2016 7:59 pm

Please detail your question or problem in as much detail as possible:
I made ISOs from my DVDs at home and wanted to rip them to M4V. I used an Apple TV 3 setting and other settings, but every time I open a movie made with HandBrake, QuickTime Player crashes instantly. I read about that but that referred to an old QuickTime 7 version years ago. I use the latest versions (see below my environment) but QT still crashes. I also read about Subler and subtitle tracks having an unknown language set which crashed QT, and tried setting that, didn't work. It was already set correctly and everything I did with Subler hasn't helped. QT still crashes. Since I haven't found anything about crashes of new QT versions here in the forums or problems with multiple subtitles selected I though I'd ask for help.

Tell us about your environment. What version of HandBrake? What version of OSX are you running. etc.
I'm using Handbrake 0.10.5 on Mac OS El Capitan 10.11.6 and QuickTime Player 10.4. I also tried the latest nightly HandBrake-20160916221836-c18bbea-master-osx and an older 0.9.9 version. Nothing worked.

If there was any exception or error displayed, please copy it and paste it here:
Here's I guess the most important part of the QT crash dialog.

Code: Select all

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVAssetWriterInputGroup initWithInputs:defaultInput:] invalid parameter not satisfying: [inputs count] > 0'
terminating with uncaught exception of type NSException
abort() called
I found that if I only had 1 subtitle selected, QuickTime opened the movie, but had to "convert" it first. Without subtitles selected it could just open and play it. I could not, however, see those subtitles or select them in the list. The subtitle list was empty. I opened the movie in VLC and could select the subtitles and all worked fine.

But, as soon as I add two or more subtitle tracks, QuickTime crashes. Probably because it doesn't see the subtitle tracks and now there's more than one of them, somehow crashing it. But what did I do wrong? Why are the subtitles not shown in QuickTime? I added them both and left all checkboxes empty (Forced Only Off, Burned In Off, Default Off) as I want soft subtitles only when I select it.

My question would be: What options do I have to set so I get 2 or more soft subtitles into my movie and it works with QT without the need for converting the movies first.

Please include the scan or encode log:

Code: Select all

HandBrake Activity Log for Session: 2016-09-18 21:42:37 +0200
Handbrake Version: 20160916221836-c18bbea-master (2016091801)
EN_104556.m4v
Preset: Custom
[21:42:37] macgui: QueueCore scanning specifically for title: 1
[21:42:38] macgui: QueueCore scan done
[21:42:38] macgui: QueueCore started encoding EN_104556.m4v
[21:42:38] 1 job(s) to process
[21:42:38] starting job
[21:42:38] decomb filter thread started for segment 0
[21:42:38] decomb filter thread started for segment 1
[21:42:38] decomb filter thread started for segment 2
[21:42:38] decomb filter thread started for segment 4
[21:42:38] decomb filter thread started for segment 5
[21:42:38] decomb filter thread started for segment 3
[21:42:38] decomb filter thread started for segment 6
[21:42:38] decomb filter thread started for segment 7
[21:42:38] decomb check thread started for segment 0
[21:42:38] decomb check thread started for segment 1
[21:42:38] decomb check thread started for segment 2
[21:42:38] decomb check thread started for segment 3
[21:42:38] decomb check thread started for segment 4
[21:42:38] decomb check thread started for segment 5
[21:42:38] decomb check thread started for segment 7
[21:42:38] decomb check thread started for segment 6
[21:42:38] mask filter thread started for segment 0
[21:42:38] mask filter thread started for segment 1
[21:42:38] mask filter thread started for segment 2
[21:42:38] mask filter thread started for segment 3
[21:42:38] mask filter thread started for segment 4
[21:42:38] mask filter thread started for segment 5
[21:42:38] mask filter thread started for segment 6
[21:42:38] mask filter thread started for segment 7
[21:42:38] mask erode thread started for segment 0
[21:42:38] mask erode thread started for segment 1
[21:42:38] mask erode thread started for segment 2
[21:42:38] mask erode thread started for segment 3
[21:42:38] mask erode thread started for segment 4
[21:42:38] mask erode thread started for segment 5
[21:42:38] mask erode thread started for segment 6
[21:42:38] mask erode thread started for segment 7
[21:42:38] mask dilate thread started for segment 1
[21:42:38] mask dilate thread started for segment 0
[21:42:38] mask dilate thread started for segment 2
[21:42:38] mask dilate thread started for segment 3
[21:42:38] mask dilate thread started for segment 4
[21:42:38] mask dilate thread started for segment 5
[21:42:38] mask dilate thread started for segment 6
[21:42:38] mask dilate thread started for segment 7
[21:42:38] yadif thread started for segment 0
[21:42:38] yadif thread started for segment 1
[21:42:38] yadif thread started for segment 2
[21:42:38] yadif thread started for segment 3
[21:42:38] yadif thread started for segment 4
[21:42:38] yadif thread started for segment 5
[21:42:38] yadif thread started for segment 6
[21:42:38] yadif thread started for segment 7
[21:42:38] work: only 1 chapter, disabling chapter markers
[21:42:38] job configuration:
[21:42:38]  * source
[21:42:38]    + /Users/ChrisP/Movies/DVD Store/_ToRip/Beavis and Butthead do America.iso
[21:42:38]    + title 1, chapter(s) 1 to 1
[21:42:38]  * destination
[21:42:38]    + /Users/ChrisP/Desktop/EN_104556.m4v
[21:42:38]    + container: MPEG-4 (libavformat)
[21:42:38]  * video track
[21:42:38]    + decoder: mpeg2video
[21:42:38]      + bitrate 8000 kbps
[21:42:38]    + filters
[21:42:38]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[21:42:38]      + Decomb (mode=39)
[21:42:38]      + Framerate Shaper (mode=1:rate=27000000/1080000)
[21:42:38]        + frame rate: 25.000 fps -> constant 25.000 fps
[21:42:38]      + Crop and Scale (width=708:height=576:crop-top=0:crop-bottom=0:crop-left=10:crop-right=2)
[21:42:38]        + source: 720 * 576, crop (0/0/10/2): 708 * 576, scale: 708 * 576
[21:42:38]    + Output geometry
[21:42:38]      + storage dimensions: 708 x 576
[21:42:38]      + pixel aspect ratio: 64 : 45
[21:42:38]      + display dimensions: 1006 x 576
[21:42:38]    + encoder: H.264 (libx264)
[21:42:38]      + preset:  slow
[21:42:38]      + profile: high
[21:42:38]      + level:   3.1
[21:42:38]      + quality: 20.00 (RF)
[21:42:38]  * subtitle track 1, English (track 0, id 0x20bd) Picture [VOBSUB] -> Passthrough
[21:42:38]  * subtitle track 2, Deutsch (track 3, id 0x23bd) Picture [VOBSUB] -> Passthrough
[21:42:38]  * audio track 1
[21:42:38]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x80bd)
[21:42:38]      + bitrate: 384 kbps, samplerate: 48000 Hz
[21:42:38]    + mixdown: Dolby Pro Logic II
[21:42:38]    + encoder: AAC (Apple AudioToolbox)
[21:42:38]      + bitrate: 160 kbps, samplerate: 48000 Hz
[21:42:38]  * audio track 2
[21:42:38]    + decoder: Deutsch (AC3) (2.0 ch) (Dolby Surround) (track 2, id 0x81bd)
[21:42:38]      + bitrate: 192 kbps, samplerate: 48000 Hz
[21:42:38]    + AC3 Passthru
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD Title: EN_104556
libdvdnav: DVD Serial Number: 28c262fa
libdvdnav: DVD Title (Alternative): 
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2
[21:42:38] sync: expecting 3102 video frames
[21:42:38] encx264: encoding at constant RF 20.000000
[21:42:38] encx264: unparsed options: level=3.1:ref=5:b-adapt=2:direct=auto:vbv-bufsize=17500:me=umh:subme=8:vbv-maxrate=17500:rc-lookahead=50
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
x264 [info]: profile High, level 3.1
[21:42:38] sync: first pts audio 0x80bd is 0
[21:42:38] sync: first pts audio 0x81bd is 0
[21:42:38] sync: first pts video is 7200
[21:42:38] sync: "Chapter 1" (1) at frame 1 time 7200
[21:42:54] sync: first pts subtitle 0x20bd is 6037200
[21:42:54] sync: first pts subtitle 0x23bd is 6037200
[21:43:15] reader: end of chapter 1 (media 1) reached at media chapter 2
[21:43:15] reader: done. 1 scr changes
[21:43:16] work: average encoding speed for job is 82.971344 fps
[21:43:16] comb detect: heavy 968 | light 865 | uncombed 1266 | total 3099
[21:43:16] decomb: deinterlaced 968 | blended 865 | unfiltered 1266 | total 3099
[21:43:16] render: 3102 frames output, 0 dropped and 3 duped for CFR/PFR
[21:43:16] render: lost time: 0 (0 frames)
[21:43:16] render: gained time: 0 (0 frames) (0 not accounted for)
[21:43:16] ac3-decoder done: 3870 frames, 0 decoder errors
[21:43:16] ac3-decoder done: 3871 frames, 0 decoder errors
[21:43:16] mpeg2video-decoder done: 3099 frames, 0 decoder errors
[21:43:16] sync: got 3099 frames, 3102 expected
[21:43:16] sync: framerate min 12.500 fps, max 25.000 fps, avg 24.992 fps
x264 [info]: frame I:37    Avg QP:19.07  size: 62405
x264 [info]: frame P:893   Avg QP:20.93  size: 21350
x264 [info]: frame B:2172  Avg QP:22.57  size: 10009
x264 [info]: consecutive B-frames:  2.9%  5.8% 16.5% 74.8%
x264 [info]: mb I  I16..4:  5.6% 64.7% 29.8%
x264 [info]: mb P  I16..4:  2.4% 12.9%  3.5%  P16..4: 34.6% 22.0% 10.7%  0.0%  0.0%    skip:14.0%
x264 [info]: mb B  I16..4:  0.2%  3.0%  0.8%  B16..8: 40.3% 11.9%  3.2%  direct: 8.5%  skip:32.0%  L0:44.5% L1:45.7% BI: 9.8%
x264 [info]: 8x8 transform intra:70.5% inter:68.5%
x264 [info]: direct mvs  spatial:99.7% temporal:0.3%
x264 [info]: coded y,uvDC,uvAC intra: 81.9% 70.1% 34.1% inter: 39.7% 29.7% 1.2%
x264 [info]: i16 v,h,dc,p: 52% 21% 11% 17%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11%  8% 18%  9% 12% 13% 10% 11%  9%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 12%  7%  9% 13% 14% 10% 12%  9%
x264 [info]: i8c dc,h,v,p: 43% 24% 21% 12%
x264 [info]: Weighted P-Frames: Y:27.4% UV:7.5%
x264 [info]: ref P L0: 44.8% 14.0% 19.5% 10.4%  8.6%  2.7%  0.0%
x264 [info]: ref B L0: 68.0% 21.4%  7.9%  2.8%
x264 [info]: ref B L1: 94.6%  5.4%
x264 [info]: kb/s:2779.70
[21:43:16] mux: track 0, 3102 frames, 43111611 bytes, 2778.71 kbps, fifo 2048
[21:43:16] mux: track 1, 5806 frames, 2549737 bytes, 164.34 kbps, fifo 4096
[21:43:16] mux: track 2, 3871 frames, 2972928 bytes, 191.62 kbps, fifo 2048
[21:43:16] mux: track 3, 7 frames, 25004 bytes, 1.61 kbps, fifo 8
[21:43:16] mux: track 4, 7 frames, 27224 bytes, 1.75 kbps, fifo 8
[21:43:16] libhb: work result = 0

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

Re: QT Player Crashes for Movies With More Than 2+ Subtitle Tracks

Post by s55 » Sun Sep 18, 2016 8:43 pm

Your experiencing a bug in QuickTime I'm afraid.

Also, I'm not sure if QT even supports VobSub subtitles in mp4 files which is probably why it wants to convert to remove them.

I don't use QT myself and don't see any immediate options for you so I'll leave it for others to comment on how they handle Subs and QT.

kpflugshaupt
Posts: 63
Joined: Sat Feb 06, 2010 8:00 pm

Re: QT Player Crashes for Movies With More Than 2+ Subtitle Tracks

Post by kpflugshaupt » Mon Sep 19, 2016 7:23 am

I've never used anything else than SRT text subtitles with M4V on MacOS. Those work very well in QT, for any number of tracks.
Just find SRT files on the Internet and mux them into your M4V file with Subler.

Wrong timing of subtitles can be a problem, though. If I cannot find a well-timed track, I usually create an MKV file instead, include VOBSUB/PGS subtitles from the disk, and watch the movie with VLC only. On iOS, InFuse can play MKVs nicely, including subtitles.

User avatar
Ritsuka
HandBrake Team
Posts: 1057
Joined: Fri Jan 12, 2007 11:29 am

Re: QT Player Crashes for Movies With More Than 2+ Subtitle Tracks

Post by Ritsuka » Mon Sep 19, 2016 9:17 am

The QuickTime crash is fixed in macOS Sierra (it will be available tomorrow), but nonetheless it still won't play the vobsub subtitles. You can use Subler or another program to convert vobsub to tx3g.

Flint_6
Posts: 2
Joined: Sun Sep 18, 2016 4:20 pm

Re: QT Player Crashes for Movies With More Than 2+ Subtitle Tracks

Post by Flint_6 » Mon Sep 19, 2016 12:36 pm

OK, yeah I'm more inclined to go for conversion than to hunt for subtitle files and check timing. I'm about to rip and convert my about 500 DVDs so everything that's automatic is preferred. There are subtitles on the DVDs, and if there's a way to convert them, YAY :) Thanks for the hint. I'll check it out.

Post Reply