> /tmp/HandBrakeCLI --version
[15:07:03] hb_init: starting libhb thread
[15:07:03] thread 700000927000 started ("libhb")
HandBrake 20170210182659-88343d5-master
Got a seg fault.
[15:04:39] thread 70000de71000 started ("libhb")
HandBrake 20170210182659-88343d5-master (2017021101) - Darwin x86_64 - https://handbrake.fr
4 CPUs detected
Opening test.ts...
[15:04:39] CPU: Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
[15:04:39] - Intel microarchitecture Broadwell
[15:04:39] - logical processor count: 4
[15:04:39] hb_scan: path=test.ts, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:274: failed opening UDF image test.ts
disc.c:352: error opening file BDMV/index.bdmv
disc.c:352: error opening file BDMV/BACKUP/index.bdmv
[15:04:39] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[15:04:39] dvd: not a dvd - trying as a stream/file instead
[15:04:39] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[15:04:39] Found the following PIDS
[15:04:39] Video PIDS :
[15:04:39] 0x100 type MPEG2 (0x2) (PCR)
[15:04:39] Audio PIDS :
[15:04:39] 0x101 type AC3 (0x81)
[15:04:39] Subtitle PIDS :
[15:04:39] Other PIDS :
[15:04:39] stream id 0x101 (type 0x81 substream 0x0) audio 0x101
[15:04:39] hb_ts_stream_getPEStype: EOF while searching for PID 0x100
[15:04:39] hb_sample_pts: couldn't find video packet near 3131400
[15:04:39] scan: decoding previews for title 1
[15:04:39] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[15:04:39] scan: audio 0x101: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[15:04:39] stream: 7 good frames, 0 errors (0%)
[15:04:39] scan: 10 previews, 704x480, 29.970 fps, autocrop = 62/58/0/0, aspect 4:3, PAR 10:11
[15:04:39] libhb: scan thread found 1 valid title(s)
+ Using preset: CLI Default
+ title 1:
+ stream: test.ts
+ duration: 00:00:09
+ size: 704x480, pixel aspect: 10/11, display aspect: 1.33, 29.970 fps
+ autocrop: 62/58/0/0
+ support opencl: no
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:00:09
+ audio tracks:
+ 1, English (AC3) (2.0 ch) (iso639-2: eng), 48000Hz, 192000bps
+ subtitle tracks:
+ 1, Closed Captions (iso639-2: eng) (Text)(CC)
[15:04:39] 1 job(s) to process
[15:04:39] json job:
{
"Audio": {
"AudioList": [
{
"Encoder": 16384,
"Track": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:eac3",
"copy:dtshd",
"copy:dts",
"copy:mp3",
"copy:truehd",
"copy:flac"
],
"FallbackEncoder": "ca_aac"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": false,
"File": "test.mkv",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "mkv"
},
"Filters": {
"FilterList": [
{
"ID": 5,
"Settings": {
"mode": "3"
}
},
{
"ID": 6,
"Settings": {
"mode": 2,
"rate": "27000000/900000"
}
},
{
"ID": 11,
"Settings": {
"crop-bottom": 0,
"crop-left": 0,
"crop-right": 0,
"crop-top": 0,
"height": 480,
"width": 704
}
}
]
},
"Metadata": {},
"PAR": {
"Den": 11,
"Num": 10
},
"SequenceID": 0,
"Source": {
"Angle": 0,
"Path": "test.ts",
"Range": {
"End": 1,
"Start": 1,
"Type": "chapter"
},
"Title": 1
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"ColorMatrixCode": 0,
"Encoder": "x264",
"Level": "3.0",
"OpenCL": false,
"Options": "vbv-maxrate=1500:vbv-bufsize=3000:crf-max=25:qpmax=34",
"Preset": "medium",
"Profile": "high",
"QSV": {
"AsyncDepth": 4,
"Decode": false
},
"Quality": 1.0,
"Tune": "",
"Turbo": false,
"TwoPass": false
}
}
[15:04:39] starting job
[15:04:39] work: mixdown not specified, track 1 setting mixdown Stereo
[15:04:39] work: bitrate not specified, track 1 setting bitrate 160 Kbps
[15:04:39] job configuration:
[15:04:39] * source
[15:04:39] + test.ts
[15:04:39] + title 1, chapter(s) 1 to 1
[15:04:39] * destination
[15:04:39] + test.mkv
[15:04:39] + container: Matroska (libavformat)
[15:04:39] * video track
[15:04:39] + decoder: mpeg2video
[15:04:39] + bitrate 15000 kbps
[15:04:39] + filters
[15:04:39] + avfilter (yadif='mode=0')
[15:04:39] + yadif: mode=0
[15:04:39] + Framerate Shaper (mode=2:rate=27000000/900000)
[15:04:39] + frame rate: 29.970 fps -> peak rate limited to 30.000 fps
[15:04:39] + Crop and Scale (width=704:height=480:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[15:04:39] + source: 704 * 480, crop (0/0/0/0): 704 * 480, scale: 704 * 480
[15:04:39] + Output geometry
[15:04:39] + storage dimensions: 704 x 480
[15:04:39] + pixel aspect ratio: 10 : 11
[15:04:39] + display dimensions: 640 x 480
[15:04:39] + encoder: H.264 (libx264)
[15:04:39] + preset: medium
[15:04:39] + options: vbv-maxrate=1500:vbv-bufsize=3000:crf-max=25:qpmax=34
[15:04:39] + profile: high
[15:04:39] + level: 3.0
[15:04:39] + quality: 1.00 (RF)
[15:04:39] * audio track 1
[15:04:39] + decoder: English (AC3) (2.0 ch) (track 1, id 0x101)
[15:04:39] + bitrate: 192 kbps, samplerate: 48000 Hz
[15:04:39] + mixdown: Stereo
[15:04:39] + encoder: AAC (Apple AudioToolbox)
[15:04:39] + bitrate: 160 kbps, samplerate: 48000 Hz
[15:04:39] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[15:04:39] sync: expecting 290 video frames
[15:04:39] encx264: min-keyint: 30, keyint: 300
[15:04:39] encx264: encoding at constant RF 1.000000
[15:04:39] encx264: unparsed options: crf-max=25:vbv-maxrate=1500:qpmax=34:vbv-bufsize=3000:level=3.0
x264 [info]: using SAR=10/11
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
x264 [info]: profile High, level 3.0
[15:04:39] sync: first pts audio 0x101 is 0
[15:04:39] sync: first pts video is 9734
Please describe the problem or feature request in detail:
I was trying to transcode an MPEG TS file using Don Melton's scripts which in turn use HandbrakeCLI, but I got a "Segmentation fault: 11" message.
What are the steps to reproduce this problem:
Using the attached input:
HandBrakeCLI --input=test.ts --output=test.mkv --markers --encoder=x264 --crop=0:0:0:0 --auto-anamorphic --deinterlace --rate=30 --pfr --encoder-preset=medium --encoder-profile=high --encoder-level=3.0 --quality=1 --audio=1 --aencoder=ca_aac --encopts=vbv-maxrate=1500:vbv-bufsize=3000:crf-max=25:qpmax=34What version of HandBrake you are running:
What operating system and version and you running (e.g. OSX 10.11, Windows 7, Ubuntu 14):
Mac OS 10.12.3
Was there any error message or error dialog, if so please detail or provide screenshots:
Got a seg fault.
Please provide the full activity log for the encode or scan attempt. You may attach the log as a file, post a pastebin URL to the log, or place the log inline below: