When converting a file that stems from a VLC recording while watching a DVD a segfault occurs.
What are the steps to reproduce this problem:
Convert the file to MP4.
What version of HandBrake you are running:
Most recent nightly build: 20160913221443-8ee94cd-master (x86_64)
What operating system and version and you running (e.g. OSX 10.11, Windows 7, Ubuntu 14):
This is Xubuntu 16.04.1:
Code: Select all
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
$ uname -a
Linux babelfish 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
From /var/log/kern.log
Code: Select all
Sep 15 09:18:36 babelfish kernel: [ 4001.480309] ghb[5857]: segfault at 120 ip 00000000004cae5f sp 00007fdafaff9bc0 error 4 in ghb[400000+1417000]
Code: Select all
Handbrake Version: 20160913221443-8ee94cd-master (2016091401)
[09:18:31] gtkgui: Custom Preset: /MP4 (H.264+AAC)
[09:18:31] 1 job(s) to process
[09:18:31] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 192,
"CompressionLevel": -1.0,
"DRC": 0.0,
"DitherMethod": "auto",
"Encoder": "av_aac",
"Gain": 0.0,
"Mixdown": "stereo",
"NormalizeMixLevel": false,
"PresetEncoder": "av_aac",
"Quality": -3.0,
"Samplerate": "auto",
"Track": 0
}
],
"CopyMask": [
"copy:mp3",
"copy:aac",
"copy:ac3",
"copy:dts",
"copy:dtshd",
"copy:eac3",
"copy:flac",
"copy:truehd"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": false,
"File": "/home/robert/Videos/Converted/vlc-record-2016-09-11-21h10m31s-ABC.mp4",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "m4v"
},
"Filters": {
"FilterList": [
{
"ID": 6,
"Settings": {
"mode": 1
}
},
{
"ID": 11,
"Settings": {
"crop-bottom": 24,
"crop-left": 48,
"crop-right": 56,
"crop-top": 20,
"height": 532,
"width": 616
}
}
]
},
"Metadata": {
},
"PAR": {
"Den": 45,
"Num": 64
},
"SequenceID": 0,
"Source": {
"Angle": 0,
"Path": "/home/robert/Videos/vlc-record-2016-09-11-21h10m31s-ABC.mpg",
"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": "4.0",
"OpenCL": false,
"Options": "",
"Preset": "medium",
"Profile": "main",
"QSV": {
"AsyncDepth": 4,
"Decode": false
},
"Quality": 20.0,
"Tune": "",
"Turbo": false,
"TwoPass": false
}
}
[09:18:31] CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
[09:18:31] - logical processor count: 2
[09:18:31] OpenCL: library not available
[09:18:31] hb_scan: path=/home/robert/Videos/vlc-record-2016-09-11-21h10m31s-ABC.mpg, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:274: failed opening UDF image /home/robert/Videos/vlc-record-2016-09-11-21h10m31s-ABC.mpg
disc.c:352: error opening file BDMV/index.bdmv
disc.c:352: error opening file BDMV/BACKUP/index.bdmv
[09:18:31] bd: not a bd - trying as a stream/file instead
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.BUP.
[09:18:31] dvd: not a dvd - trying as a stream/file instead
[09:18:31] file is MPEG Program Stream
[09:18:31] Found program stream map
[09:18:31] Found program stream map
[09:18:31] Found program stream map
[09:18:31] Found program stream map
[09:18:31] Found program stream map
[09:18:31] Found the following streams
[09:18:31] Video Streams :
[09:18:31] 0xe0-0x0 type MPEG2 (0x2)
[09:18:31] Audio Streams :
[09:18:31] 0xbd-0x80 type AC3 (0x81)
[09:18:31] Subtitle Streams :
[09:18:31] Other Streams :
[09:18:31] stream id 0xbd (type 0x81 substream 0x80) audio 0x8000bd
[09:18:33] scan: decoding previews for title 1
[09:18:33] file is MPEG Program Stream
[09:18:33] Found program stream map
[09:18:33] Found program stream map
[09:18:33] Found program stream map
[09:18:33] Found program stream map
[09:18:33] Found program stream map
[09:18:33] scan: audio 0x8000bd: ac3, rate=48000Hz, bitrate=192000 Deutsch (AC3) (2.0 ch)
[09:18:33] stream: 4 good frames, 0 errors (0%)
[09:18:33] scan: 10 previews, 720x576, 25,000 fps, autocrop = 20/24/48/56, aspect 16:9, PAR 64:45
[09:18:33] libhb: scan thread found 1 valid title(s)
[09:18:33] starting job
[09:18:33] job configuration:
[09:18:33] * source
[09:18:33] + /home/robert/Videos/vlc-record-2016-09-11-21h10m31s-ABC.mpg
[09:18:33] + title 1, chapter(s) 1 to 1
[09:18:33] * destination
[09:18:33] + /home/robert/Videos/Converted/vlc-record-2016-09-11-21h10m31s-ABC.mp4
[09:18:33] + container: MPEG-4 (libavformat)
[09:18:33] * video track
[09:18:33] + decoder: mpeg2video
[09:18:33] + bitrate 9000 kbps
[09:18:33] + filters
[09:18:33] + Framerate Shaper (mode=1)
[09:18:33] + frame rate: 25,000 fps -> constant 25,000 fps
[09:18:33] + Crop and Scale (width=616:height=532:crop-top=20:crop-bottom=24:crop-left=48:crop-right=56)
[09:18:33] + source: 720 * 576, crop (20/24/48/56): 616 * 532, scale: 616 * 532
[09:18:33] + Output geometry
[09:18:33] + storage dimensions: 616 x 532
[09:18:33] + pixel aspect ratio: 64 : 45
[09:18:33] + display dimensions: 876 x 532
[09:18:33] + encoder: H.264 (libx264)
[09:18:33] + preset: medium
[09:18:33] + profile: main
[09:18:33] + level: 4.0
[09:18:33] + quality: 20,00 (RF)
[09:18:33] * audio track 1
[09:18:33] + decoder: Deutsch (AC3) (2.0 ch) (track 1, id 0x8000bd)
[09:18:33] + bitrate: 192 kbps, samplerate: 48000 Hz
[09:18:33] + mixdown: Stereo
[09:18:33] + encoder: AAC (libavcodec)
[09:18:33] + bitrate: 192 kbps, samplerate: 48000 Hz
[09:18:33] file is MPEG Program Stream
[09:18:33] Found program stream map
[09:18:33] Found program stream map
[09:18:33] Found program stream map
[09:18:33] Found program stream map
[09:18:33] Found program stream map
[09:18:33] sync: expecting 177816 video frames
[09:18:33] encx264: encoding at constant RF 20,000000
[09:18:33] encx264: unparsed options: level=4.0:8x8dct=0:vbv-maxrate=20000:vbv-bufsize=25000
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
x264 [info]: profile Main, level 4.0
[09:18:33] sync: first pts video is 0
Code: Select all
$ avprobe "$f"
ffprobe version 2.8.6-1ubuntu2 Copyright (c) 2007-2016 the FFmpeg developers
built with gcc 5.3.1 (Ubuntu 5.3.1-11ubuntu1) 20160311
configuration: --prefix=/usr --extra-version=1ubuntu2 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
WARNING: library configuration mismatch
avcodec configuration: --prefix=/usr --extra-version=1ubuntu2 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv --enable-version3 --disable-doc --disable-programs --disable-avdevice --disable-avfilter --disable-avformat --disable-avresample --disable-postproc --disable-swscale --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libvo_aacenc --enable-libvo_amrwbenc
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
[mpeg @ 0x128eac0] Could not find codec parameters for stream 1 (Video: mpeg2video, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpeg, from '/home/robert/Videos/vlc-record-2016-09-11-21h10m31s-ABC.mpg':
Duration: 01:59:17.60, start: 889.487578, bitrate: 7727 kb/s
Stream #0:0[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:1[0x1e0]: Video: mpeg2video, none, 90k tbn