Handbrake: Detelecine "skip-top=0" crashes HandBrake

Created on 4 Jan 2020  Â·  1Comment  Â·  Source: HandBrake/HandBrake

Problem description:

Using Detelecine > Custom > filter: "skip-top=0" crashes HandBrake
With SD content, crashes about 2/3 of the time. With HD content, always crashes.
"skip-top" values ≥ 1 seem to work. All other "skip-___" filters work with values ≥ 0.

_(I originally thought the issue was with HB's handling of SD DVD content because I'd never had a HD telecine source to re-encode before. However, I stumbled upon the true cause when I found the need to detelecine what appears to be VFR HD PAL content.)_

HandBrake version (e.g., 1.3.0):

1.3.0 (install & standalone), plus all nightlies since (up to 20200104-d6b65cc30).
Also present in at least 1.2.2 (and probably further back than that).

Operating system and version (e.g., Ubuntu 19.10, macOS 10.15 Catalina, Windows 10 1909):

Windows 10 Pro 1909 x64 (build 18363.535).

Error message text and/or screenshot:

On crash, system just shows a generic "HandBrake has stopped working" plus "reporting to Windows" dialog.

Windows Event Log

_.NET Runtime, event ID: 1026_

Application: HandBrake.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 000000006F38C1DB

_Application Error, event ID: 1000, task category: (100)_

Faulting application name: HandBrake.exe, version: 1.3.0.0, time stamp: 0x5dc73718
Faulting module name: hb.DLL, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x000000000008c1db
Faulting process id: 0x1c04
Faulting application start time: 0x01d5b68cc88aba24
Faulting application path: C:\Program Files\Handbrake\1.3.0\HandBrake.exe
Faulting module path: C:\Program Files\Handbrake\1.3.0\hb.DLL
Report Id: 16fb89bd-5405-4101-bdf2-9bf865bd532b
Faulting package full name:
Faulting package-relative application ID: 

HandBrake Activity Log:

HandBrake Nightly 20191229213216-0b089e9-master (2019122901)
OS: Microsoft Windows NT 6.2.9200.0
CPU: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Ram: 8169 MB, 
GPU Information:
  NVIDIA GeForce GTX 460M - 23.21.13.8857
Screen: 1920x1080
Temp Dir: C:\Users\David\AppData\Local\Temp\
Install Dir: X:\Installers\HandBrake-20191229-0b089e9d1_x86_64-Win_GUI
Data Dir: C:\Users\David\AppData\Roaming\HandBrake\Nightly

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


# Starting Encode ...

[04:27:53] base preset: HD Detel (Modified)
[16:27:53] hb_init: starting libhb thread
[16:27:53] Starting work at: Sat Jan 04 16:27:53 2020
[16:27:53] 1 job(s) to process
[16:27:53] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0.0,
        "Encoder": "copy",
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "X:\\TEST.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 2,
        "Settings": {
          "skip-bottom": "0",
          "skip-left": "0",
          "skip-right": "0",
          "skip-top": "0"
        }
      },
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "N:\\Music\\-----\\----------.mpg"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "rc-lookahead=60:bframes=5:ref=3:merange=64:analyse=all:trellis=2",
    "Preset": "medium",
    "Profile": "auto",
    "Quality": 16.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[16:27:53] CPU: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
[16:27:53]  - Intel microarchitecture Sandy Bridge
[16:27:53]  - logical processor count: 8
[16:27:53] Intel Quick Sync Video support: no
[16:27:53] hb_scan: path=N:\Music\-----\----------.mpg, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image N:\Music\-----\----------.mpg
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(N:\Music\-----\----------.mpg\) failed
[16:27:53] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
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
[16:27:53] dvd: not a dvd - trying as a stream/file instead
[16:27:53] file is MPEG Program Stream
[16:27:53] Probing 1 unknown stream
[16:27:53]     Probe: Found stream mpegvideo. stream id 0xe0-0x0
[16:27:53] Found the following streams
[16:27:53]     Video Streams :
[16:27:53]       0xe0-0x0 type MPEG2 (0x2)
[16:27:53]     Audio Streams :
[16:27:53]       0xbd-0x80 type AC3 (0x81)
[16:27:53]     Subtitle Streams :
[16:27:53]     Other Streams :
[16:27:53] stream id 0xbd (type 0x81 substream 0x80) audio 0x8000bd
[16:27:53] scan: decoding previews for title 1
[16:27:53] file is MPEG Program Stream
[16:27:53] Probing 1 unknown stream
[16:27:53]     Probe: Found stream mpegvideo. stream id 0xe0-0x0
[16:27:53] scan: audio 0x8000bd: ac3, rate=48000Hz, bitrate=256000 Unknown (AC3) (2.0 ch) (256 kbps)
[16:27:54] stream: 343 good frames, 0 errors (0%)
[16:27:54] scan: 10 previews, 1920x1080, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[16:27:54] libhb: scan thread found 1 valid title(s)
[16:27:54] Starting Task: Encoding Pass
[16:27:54] Skipping crop/scale filter
[16:27:54] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP3, FLAC
[16:27:54] Auto Passthru: fallback is AC3
[16:27:54] Auto Passthru: using AC3 Passthru for track 1
[16:27:54] work: only 1 chapter, disabling chapter markers
[16:27:54] job configuration:
[16:27:54]  * source
[16:27:54]    + N:\Music\-----\----------.mpg
[16:27:54]    + title 1, chapter(s) 1 to 1
[16:27:54]  * destination
[16:27:54]    + X:\TEST.mkv
[16:27:54]    + container: Matroska (libavformat)
[16:27:54]  * video track
[16:27:54]    + decoder: mpeg2video
[16:27:54]      + bitrate 200 kbps
[16:27:54]    + filters
[16:27:54]      + Detelecine (pullup) (skip-left=0:skip-right=0:skip-top=0:skip-bottom=0)
[16:27:54]      + Framerate Shaper (mode=0)
[16:27:54]        + frame rate: same as source (around 29.970 fps)
[16:27:54]    + Output geometry
[16:27:54]      + storage dimensions: 1920 x 1080
[16:27:54]      + pixel aspect ratio: 1 : 1
[16:27:54]      + display dimensions: 1920 x 1080
[16:27:54]    + encoder: H.264 (libx264)
[16:27:54]      + preset:  medium
[16:27:54]      + options: rc-lookahead=60:bframes=5:ref=3:merange=64:analyse=all:trellis=2
[16:27:54]      + profile: auto
[16:27:54]      + level:   auto
[16:27:54]      + quality: 16.00 (RF)
[16:27:54]      + color profile: 1-1-1
[16:27:54]  * audio track 1
[16:27:54]    + decoder: Unknown (AC3) (2.0 ch) (256 kbps) (track 1, id 0x8000bd)
[16:27:54]      + bitrate: 256 kbps, samplerate: 48000 Hz
[16:27:54]    + AC3 Passthru
[16:27:54] file is MPEG Program Stream
[16:27:54] Probing 1 unknown stream
[16:27:54]     Probe: Found stream mpegvideo. stream id 0xe0-0x0
[16:27:54] sync: expecting 123052 video frames
[16:27:54] encx264: min-keyint: 30, keyint: 300
[16:27:54] encx264: encoding at constant RF 16.000000
[16:27:54] encx264: unparsed options: rc-lookahead=60:bframes=5:merange=64:analyse=all:trellis=2
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.0, 4:2:0, 8-bit
[16:27:54] sync: first pts video is 0
[16:27:54] sync: first pts audio 0x8000bd is 0

_End of log since HandBrake crashes here._

EDIT: I just realized the build versions I used are different between Windows log (1.3.0) and HandBrake log (nightly). However, the substance of both logs is identical except for the versions numbers.

Bug

Most helpful comment

Reproduced Here. Marked as Bug

>All comments

Reproduced Here. Marked as Bug

Was this page helpful?
0 / 5 - 0 ratings