Handbrake Stopping during encoding

HandBrake for Windows 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
amatthew382
New User
Posts: 1
Joined: Thu May 21, 2020 5:20 pm

Handbrake Stopping during encoding

Post by amatthew382 »

Description of problem or question:
I need some help figuring out why handbrake isn't encoding video. It stops at the same point every attempt (about 20 minutes into a 2.5 hour file). I'm at a complete loss here. any help is appreciated!



Steps to reproduce the problem (If Applicable):




HandBrake version (e.g., 1.0.0):
13.2



Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
windows 10 1909


HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

HandBrake 1.3.2 (2020050300)
OS: Microsoft Windows NT 10.0.18363.0
CPU: AMD Ryzen 5 1600X Six-Core Processor           
Ram: 32715 MB, 
GPU Information:
  NVIDIA GeForce GTX 1070 - 26.21.14.4250
  Microsoft Remote Display Adapter - 10.0.18362.693
Screen: 1280x800
Temp Dir: C:\Users\Aaron\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Aaron\AppData\Roaming\HandBrake

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


# Starting Encode ...

[12:17:00] base preset: Very Fast 1080p30 (Modified)
[12:17:00] hb_init: starting libhb thread
[12:17:00] Starting work at: Thu May 21 12:17:00 2020
[12:17:00] 1 job(s) to process
[12:17:00] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "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": true,
    "File": "C:\\Users\\Aaron\\Videos\\Black Panther (2018)-1.m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "800",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/1126125"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\Aaron\\Desktop\\Black Panther (2018).mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "veryfast",
    "Profile": "main",
    "Quality": 22.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[12:17:00] CPU:
[12:17:00]  - logical processor count: 12
[12:17:00] Intel Quick Sync Video support: no
[12:17:00] hb_scan: path=C:\Users\Aaron\Desktop\Black Panther (2018).mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\Aaron\Desktop\Black Panther (2018).mp4
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(C:\Users\Aaron\Desktop\Black Panther (2018).mp4\) failed
[12:17:00] bd: not a bd - trying as a stream/file instead
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.BUP.
[12:17:00] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\Aaron\Desktop\Black Panther (2018).mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.2.103
  Duration: 02:14:33.20, start: 0.000000, bitrate: 261 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], 2149 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 147 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
[12:17:00] scan: decoding previews for title 1
[12:17:00] scan: audio 0x1: aac, rate=48000Hz, bitrate=147791 Unknown (AAC LC) (2.0 ch) (147 kbps)
[12:17:00] Warning: Could not read data for preview 3, skipped
[12:17:00] scan: 2 previews, 1920x800, 23.976 fps, autocrop = 0/0/0/0, aspect 2.40:1, PAR 1:1
[12:17:00] scan: supported video decoders: avcodec qsv
[12:17:00] libhb: scan thread found 1 valid title(s)
[12:17:00] Skipping subtitle scan.  No suitable subtitle tracks.
[12:17:00] Starting Task: Encoding Pass
[12:17:00] Skipping crop/scale filter
[12:17:00] work: only 1 chapter, disabling chapter markers
[12:17:00] job configuration:
[12:17:00]  * source
[12:17:00]    + C:\Users\Aaron\Desktop\Black Panther (2018).mp4
[12:17:00]    + title 1, chapter(s) 1 to 1
[12:17:00]    + container: mov,mp4,m4a,3gp,3g2,mj2
[12:17:00]    + data rate: 261 kbps
[12:17:00]  * destination
[12:17:00]    + C:\Users\Aaron\Videos\Black Panther (2018)-1.m4v
[12:17:00]    + container: MPEG-4 (libavformat)
[12:17:00]      + align initial A/V stream timestamps
[12:17:00]  * video track
[12:17:00]    + decoder: h264
[12:17:00]      + bitrate 2149 kbps
[12:17:00]    + filter
[12:17:00]      + Framerate Shaper (mode=2:rate=27000000/1126125)
[12:17:00]        + frame rate: 23.976 fps -> peak rate limited to 23.976 fps
[12:17:00]    + Output geometry
[12:17:00]      + storage dimensions: 1920 x 800
[12:17:00]      + pixel aspect ratio: 1 : 1
[12:17:00]      + display dimensions: 1920 x 800
[12:17:00]    + encoder: H.264 (libx264)
[12:17:00]      + preset:  veryfast
[12:17:00]      + profile: main
[12:17:00]      + level:   4.0
[12:17:00]      + quality: 22.00 (RF)
[12:17:00]      + color profile: 1-1-1
[12:17:00]  * audio track 1
[12:17:00]    + decoder: Unknown (AAC LC) (2.0 ch) (147 kbps) (track 1, id 0x1)
[12:17:00]      + bitrate: 147 kbps, samplerate: 48000 Hz
[12:17:00]    + mixdown: Stereo
[12:17:00]    + dither: none
[12:17:00]    + encoder: AAC (libavcodec)
[12:17:00]      + bitrate: 160 kbps, samplerate: 48000 Hz
[12:17:00] sync: expecting 193563 video frames
[12:17:00] encx264: min-keyint: 24, keyint: 240
[12:17:00] encx264: encoding at constant RF 22.000000
[12:17:00] encx264: unparsed options: level=4.0:ref=1:8x8dct=0:weightp=1:subme=2:mixed-refs=0:trellis=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[12:17:00] sync: first pts video is 0
[12:17:00] sync: "Chapter 1" (1) at frame 1 time 0
[12:17:00] sync: first pts audio 0x1 is 0
[12:19:27] reader: done. 1 scr changes
[12:19:28] work: average encoding speed for job is 166.184113 fps
[12:19:28] vfr: 24471 frames output, 0 dropped and 0 duped for CFR/PFR
[12:19:28] vfr: lost time: 0 (0 frames)
[12:19:28] vfr: gained time: 0 (0 frames) (0 not accounted for)
[12:19:28] aac-decoder done: 47839 frames, 0 decoder errors
[12:19:28] h264-decoder done: 24471 frames, 1 decoder errors
[12:19:28] sync: got 24471 frames, 193563 expected
[12:19:28] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:444   Avg QP:16.37  size: 73231
x264 [info]: frame P:9050  Avg QP:19.37  size: 18819
x264 [info]: frame B:14977 Avg QP:20.59  size:  4477
x264 [info]: consecutive B-frames:  9.6% 22.7% 11.0% 56.7%
x264 [info]: mb I  I16..4: 53.8%  0.0% 46.2%
x264 [info]: mb P  I16..4: 26.0%  0.0%  5.2%  P16..4: 29.2%  9.4%  3.8%  0.0%  0.0%    skip:26.3%
x264 [info]: mb B  I16..4:  2.3%  0.0%  0.4%  B16..8: 14.5%  2.8%  0.2%  direct: 5.0%  skip:74.9%  L0:40.2% L1:51.1% BI: 8.6%
x264 [info]: coded y,uvDC,uvAC intra: 21.1% 48.3% 9.0% inter: 4.2% 12.6% 0.1%
x264 [info]: i16 v,h,dc,p: 46% 26% 16% 12%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 20% 21%  6%  7%  6%  7%  5%  4%
x264 [info]: i8c dc,h,v,p: 53% 21% 22%  4%
x264 [info]: Weighted P-Frames: Y:2.6% UV:1.6%
x264 [info]: kb/s:2115.37
[12:19:28] mux: track 0, 24471 frames, 269866821 bytes, 2115.27 kbps, fifo 2048
[12:19:28] mux: track 1, 47840 frames, 20428673 bytes, 160.12 kbps, fifo 4096
[12:19:28] Finished work at: Thu May 21 12:19:28 2020
[12:19:28] libhb: work result = 0

# Encode Completed ...


Woodstock
Veteran User
Posts: 4619
Joined: Tue Aug 27, 2013 6:39 am

Re: Handbrake Stopping during encoding

Post by Woodstock »

[12:19:28] sync: got 24471 frames, 193563 expected
Your source ends unexpectedly. Are you sure the file isn't damaged?
sandgren
New User
Posts: 1
Joined: Tue Jun 02, 2020 12:53 pm

Re: Handbrake Stopping during encoding

Post by sandgren »

I have the same issue, but afaics it's only for my James Bond collection. Could be an issue with poor quality dvd's?
Post Reply