HB 0.10.5 crashes if there is a subtitle line exceeding 2,048 bytes.
What are the steps to reproduce this problem:
Encode a video with subtitles, with at least one line exceeding 2,048 bytes. It works if I don't output the subtitle.
What version of HandBrake you are running:
0.10.5 CLI. It happens on 0.10.2 too. Did not test nightly.
What operating system and version and you running (e.g. OSX 10.11, Windows 7, Ubuntu 14):
RHEL 6.7.
If there was any exception or error displayed, please copy it and paste it here:
Code: Select all
Segmentation fault (core dumped)
Code: Select all
+ title 1:
+ stream: a-001.mkv
+ duration: 00:02:06
+ size: 640x360, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
+ autocrop: 0/0/0/0
+ support opencl: no
+ support hwd: not built-in
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:02:06
+ audio tracks:
+ 1, Japanese (AAC) (2.0 ch) (iso639-2: jpn)
+ subtitle tracks:
+ 1, Unknown (iso639-2: und) (Text)(SSA)
[15:09:01] 1 job(s) to process
[15:09:01] starting job
[15:09:01] work: mixdown not specified, track 1 setting mixdown Stereo
[15:09:01] work: compression level not specified, track 1 setting compression level 2.00
[15:09:01] work: bitrate not specified, track 1 setting bitrate 160 Kbps
[15:09:01] sync: expecting 3043 video frames
[15:09:01] job configuration:
[15:09:01] * source
[15:09:01] + a-001.mkv
[15:09:01] + title 1, chapter(s) 1 to 1
[15:09:01] + container: matroska,webm
[15:09:01] + data rate: 824 kbps
[15:09:01] * destination
[15:09:01] + b.mkv
[15:09:01] + container: Matroska (libavformat)
[15:09:01] * video track
[15:09:01] + decoder: h264
[15:09:01] + filters
[15:09:01] + Framerate Shaper (0:27000000:1126125)
[15:09:01] + frame rate: same as source (around 23.976 fps)
[15:09:01] + Crop and Scale (640:360:0:0:0:0)
[15:09:01] + source: 640 * 360, crop (0/0/0/0): 640 * 360, scale: 640 * 360
[15:09:01] + dimensions: 640 * 360, mod 0
[15:09:01] + encoder: H.264 (libx264)
[15:09:01] + bitrate: 1000 kbps, pass: 0
[15:09:01] * subtitle track 1, Unknown (track 2, id 0x2) Text [SSA] -> Passthrough
[15:09:01] * audio track 1
[15:09:01] + decoder: Japanese (AAC) (2.0 ch) (track 1, id 0x1)
[15:09:01] + samplerate: 44100 Hz
[15:09:01] + mixdown: Stereo
[15:09:01] + encoder: MP3 (libmp3lame)
[15:09:01] + bitrate: 160 kbps, samplerate: 44100 Hz
[15:09:01] + compression level: 2.00
[15:09:01] reader: first SCR 3330 id 0x1 DTS 3330
[15:09:01] encx264: min-keyint: 24, keyint: 240
[15:09:01] encx264: encoding at average bitrate 1000
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.0
[15:09:02] sync: first pts is 4140
Encoding: task 1 of 1, 54.58 %Segmentation fault (core dumped)