Handbrake stops at 99% every time.

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
quackyman
Posts: 5
Joined: Tue Jun 30, 2020 2:52 am

Handbrake stops at 99% every time.

Post by quackyman »

Description of problem or question:

Handbrake stops at 99% every time. Will not do batches because of this. Finished file is good and useable, but can only complete one file at a time.




Steps to reproduce the problem (If Applicable):

Tried input/output many types of formats and uninstall/reinstall handbrake. Installed new V1.3.3 and same problem.




HandBrake version (e.g., 1.0.0):

V1.2.2 and V1.3.3.




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

HP Pavillion All-In_One, 12G RAM, 64 bit
Windows 10 Home V1903, OS Build 18362.900 - 8/29/2019




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

Code: Select all

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.18362.0
CPU: Intel(R) Core(TM) i7-8700T CPU @ 2.40GHz
Ram: 12091 MB, 
GPU Information:
  Intel(R) UHD Graphics 630 - 26.20.100.7325
Screen: 1920x1080
Temp Dir: C:\Users\carlc\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\carlc\AppData\Roaming\HandBrake

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


# Starting Encode ...

[09:22:20] base preset: Fast 720p30
[09:22:20] hb_init: starting libhb thread
[09:22:20] Starting work at: Tue Jun 30 09:22:20 2020
[09:22:20] 1 job(s) to process
[09:22:20] 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\\carlc\\Desktop\\Smeagol\\Ancient_Aliens\\S05E02_Aliens_And_Cover-Ups.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "2",
          "crop-top": "0",
          "height": "720",
          "width": "1278"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\carlc\\Desktop\\Tralfaz\\Ancient_Aliens\\S05E02_Aliens_And_Cover-Ups.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "3.1",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "main",
    "Quality": 21.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[09:22:20] CPU: Intel(R) Core(TM) i7-8700T CPU @ 2.40GHz
[09:22:20]  - Intel microarchitecture Kaby Lake
[09:22:20]  - logical processor count: 12
[09:22:20] Intel Quick Sync Video support: yes
[09:22:20]  - Intel Media SDK hardware: API 1.30 (minimum: 1.3)
[09:22:20]  - H.264 encoder: yes
[09:22:20]     - preferred implementation: hardware (any) via D3D11
[09:22:20]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[09:22:20]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[09:22:20]     - preferred implementation: hardware (any) via D3D11
[09:22:20]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[09:22:20] hb_scan: path=C:\Users\carlc\Desktop\Tralfaz\Ancient_Aliens\S05E02_Aliens_And_Cover-Ups.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\carlc\Desktop\Tralfaz\Ancient_Aliens\S05E02_Aliens_And_Cover-Ups.mkv
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\carlc\Desktop\Tralfaz\Ancient_Aliens\S05E02_Aliens_And_Cover-Ups.mkv\) failed
[09:22:20] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.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
[09:22:20] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Users\carlc\Desktop\Tralfaz\Ancient_Aliens\S05E02_Aliens_And_Cover-Ups.mkv':
  Metadata:
    encoder         : libebml v1.3.4 + libmatroska v1.4.5
    creation_time   : 2017-03-10T03:59:53.000000Z
    Encoding Gui    : Hybrid 2017.03.06.1
  Duration: 00:43:59.47, start: 0.000000, bitrate: 1865 kb/s
    Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709/unknown/unknown), 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) (forced)
    Metadata:
      BPS             : 1606059
      BPS-eng         : 1606059
      DURATION        : 00:43:59.345000000
      DURATION-eng    : 00:43:59.345000000
      NUMBER_OF_FRAMES: 63281
      NUMBER_OF_FRAMES-eng: 63281
      NUMBER_OF_BYTES : 529868137
      NUMBER_OF_BYTES-eng: 529868137
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-03-10 03:59:53
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-03-10 03:59:53
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1: Audio: aac (LC), 48000 Hz, 5.1, fltp (default)
    Metadata:
      BPS             : 257045
      BPS-eng         : 257045
      DURATION        : 00:43:59.445000000
      DURATION-eng    : 00:43:59.445000000
      NUMBER_OF_FRAMES: 123724
      NUMBER_OF_FRAMES-eng: 123724
      NUMBER_OF_BYTES : 84807151
      NUMBER_OF_BYTES-eng: 84807151
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-03-10 03:59:53
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-03-10 03:59:53
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2: Subtitle: subrip
    Metadata:
      BPS             : 170
      BPS-eng         : 170
      DURATION        : 00:43:56.736000000
      DURATION-eng    : 00:43:56.736000000
      NUMBER_OF_FRAMES: 678
      NUMBER_OF_FRAMES-eng: 678
      NUMBER_OF_BYTES : 56282
      NUMBER_OF_BYTES-eng: 56282
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-03-10 03:59:53
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-03-10 03:59:53
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[09:22:20] scan: decoding previews for title 1
[09:22:20] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 Unknown (AAC LC) (5.1 ch)
[09:22:21] scan: 10 previews, 1280x720, 23.976 fps, autocrop = 0/0/0/2, aspect 16:9, PAR 1:1
[09:22:21] scan: supported video decoders: avcodec qsv
[09:22:21] libhb: scan thread found 1 valid title(s)
[09:22:21] Skipping subtitle scan.  No suitable subtitle tracks.
[09:22:21] Starting Task: Encoding Pass
[09:22:21] work: only 1 chapter, disabling chapter markers
[09:22:21] job configuration:
[09:22:21]  * source
[09:22:21]    + C:\Users\carlc\Desktop\Tralfaz\Ancient_Aliens\S05E02_Aliens_And_Cover-Ups.mkv
[09:22:21]    + title 1, chapter(s) 1 to 1
[09:22:21]    + container: matroska,webm
[09:22:21]    + data rate: 1865 kbps
[09:22:21]  * destination
[09:22:21]    + C:\Users\carlc\Desktop\Smeagol\Ancient_Aliens\S05E02_Aliens_And_Cover-Ups.mp4
[09:22:21]    + container: MPEG-4 (libavformat)
[09:22:21]      + align initial A/V stream timestamps
[09:22:21]  * video track
[09:22:21]    + decoder: hevc
[09:22:21]    + filters
[09:22:21]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[09:22:21]      + Decomb (mode=39)
[09:22:21]      + Framerate Shaper (mode=2:rate=27000000/900000)
[09:22:21]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[09:22:21]      + Crop and Scale (width=1278:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=2)
[09:22:21]        + source: 1280 * 720, crop (0/0/0/2): 1278 * 720, scale: 1278 * 720
[09:22:21]    + Output geometry
[09:22:21]      + storage dimensions: 1278 x 720
[09:22:21]      + pixel aspect ratio: 1 : 1
[09:22:21]      + display dimensions: 1278 x 720
[09:22:21]    + encoder: H.264 (libx264)
[09:22:21]      + preset:  fast
[09:22:21]      + profile: main
[09:22:21]      + level:   3.1
[09:22:21]      + quality: 21.00 (RF)
[09:22:21]      + color profile: 1-1-1
[09:22:21]  * audio track 1
[09:22:21]    + decoder: Unknown (AAC LC) (5.1 ch) (track 1, id 0x1)
[09:22:21]      + samplerate: 48000 Hz
[09:22:21]    + mixdown: Stereo
[09:22:21]    + dither: none
[09:22:21]    + encoder: AAC (libavcodec)
[09:22:21]      + bitrate: 160 kbps, samplerate: 48000 Hz
[09:22:21] sync: expecting 63283 video frames
[09:22:21] encx264: min-keyint: 24, keyint: 240
[09:22:21] encx264: encoding at constant RF 21.000000
[09:22:21] encx264: unparsed options: level=3.1:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=14000:vbv-maxrate=14000:rc-lookahead=30
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 3.1, 4:2:0, 8-bit
[09:22:21] sync: first pts video is 0
[09:22:21] sync: "Chapter 1" (1) at frame 1 time 0
[09:22:21] sync: first pts audio 0x1 is 0
[09:34:17] reader: done. 1 scr changes
[09:34:18] work: average encoding speed for job is 88.277092 fps
[09:34:18] comb detect: heavy 5150 | light 5251 | uncombed 52880 | total 63281
[09:34:18] decomb: deinterlaced 5150 | blended 5251 | unfiltered 52880 | total 63281
[09:34:18] vfr: 63281 frames output, 0 dropped and 0 duped for CFR/PFR
[09:34:18] vfr: lost time: 0 (0 frames)
[09:34:18] vfr: gained time: 0 (0 frames) (0 not accounted for)
[09:34:18] aac-decoder done: 123724 frames, 0 decoder errors
[09:34:18] hevc-decoder done: 63281 frames, 0 decoder errors
[09:34:18] sync: got 63281 frames, 63283 expected
[09:34:18] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:454   Avg QP:16.63  size: 61476
x264 [info]: frame P:19108 Avg QP:20.38  size: 26144
x264 [info]: frame B:43719 Avg QP:22.23  size:  6484
x264 [info]: consecutive B-frames:  5.3%  6.1%  5.2% 83.4%
x264 [info]: mb I  I16..4: 34.0%  0.0% 66.0%
x264 [info]: mb P  I16..4: 11.0%  0.0%  8.4%  P16..4: 37.5% 15.6%  8.5%  0.0%  0.0%    skip:19.0%
x264 [info]: mb B  I16..4:  5.3%  0.0%  1.0%  B16..8: 23.0%  5.2%  0.5%  direct:13.0%  skip:51.9%  L0:40.4% L1:46.6% BI:13.1%
x264 [info]: coded y,uvDC,uvAC intra: 35.2% 52.1% 8.1% inter: 14.8% 22.2% 0.3%
x264 [info]: i16 v,h,dc,p: 40% 23% 19% 19%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 20% 20%  6%  7%  6%  7%  5%  5%
x264 [info]: i8c dc,h,v,p: 61% 18% 17%  4%
x264 [info]: Weighted P-Frames: Y:16.2% UV:10.4%
x264 [info]: ref P L0: 75.0% 25.0%
x264 [info]: ref B L0: 85.0% 15.0%
x264 [info]: ref B L1: 96.0%  4.0%
x264 [info]: kb/s:2457.95
[09:34:18] mux: track 0, 63281 frames, 810905057 bytes, 2457.78 kbps, fifo 2048
[09:34:18] mux: track 1, 123725 frames, 53048591 bytes, 160.79 kbps, fifo 4096
[09:34:18] Finished work at: Tue Jun 30 09:34:18 2020
[09:34:18] libhb: work result = 0

# Encode Completed ...

# Sending output file to: System.Diagnostics.ProcessStartInfo, with arguments:  "C:\Users\carlc\Desktop\Smeagol\Ancient_Aliens\S05E02_Aliens_And_Cover-Ups.mp4" 


User avatar
Rodeo
HandBrake Team
Posts: 12608
Joined: Tue Mar 03, 2009 8:55 pm

Re: Handbrake stops at 99% every time.

Post by Rodeo »

Whatever action to set in Settings for "when done" is not completing.
quackyman
Posts: 5
Joined: Tue Jun 30, 2020 2:52 am

Re: Handbrake stops at 99% every time.

Post by quackyman »

Set to "Do nothing" default. Never changed and always completed before V1.2.2.
Woodstock
Veteran User
Posts: 3802
Joined: Tue Aug 27, 2013 6:39 am

Re: Handbrake stops at 99% every time.

Post by Woodstock »

# Sending output file to: System.Diagnostics.ProcessStartInfo, with arguments: "C:\Users\carlc\Desktop\Smeagol\Ancient_Aliens\S05E02_Aliens_And_Cover-Ups.mp4"
But the log disagrees.
quackyman
Posts: 5
Joined: Tue Jun 30, 2020 2:52 am

Re: Handbrake stops at 99% every time.

Post by quackyman »

Yes, the file does complete and is viewable. But Handbrake does not move past 99% or start next file in queue. This may be obvious to some, but I can't seem to figure out why...
User avatar
Rodeo
HandBrake Team
Posts: 12608
Joined: Tue Mar 03, 2009 8:55 pm

Re: Handbrake stops at 99% every time.

Post by Rodeo »

Try changing it to something else, then back to "do nothing"?
User avatar
s55
HandBrake Team
Posts: 9830
Joined: Sun Dec 24, 2006 1:05 pm

Re: Handbrake stops at 99% every time.

Post by s55 »

See the When Done option in preferences. It's separate from the system action drop down.
quackyman
Posts: 5
Joined: Tue Jun 30, 2020 2:52 am

Re: Handbrake stops at 99% every time.

Post by quackyman »

Tried a couple settings under "When Done:". Still stops at 99%. -Seems Handbrake doesn't realize that it is done...?
User avatar
s55
HandBrake Team
Posts: 9830
Joined: Sun Dec 24, 2006 1:05 pm

Re: Handbrake stops at 99% every time.

Post by s55 »

It's not any of the when done options that's firing here.

It's the Send File To feature in Preferences that's triggering. (Tools Menu -> Preferences -> When Done -> Disable "Send file to"
quackyman
Posts: 5
Joined: Tue Jun 30, 2020 2:52 am

Re: Handbrake stops at 99% every time.

Post by quackyman »

THANK YOU so much s55!!! This seems to have worked! I've been dealing with one file at a time for over a year now. And to be so simple as unchecking a box... (Duh) I'm running a queue now with several files and it's working. You have my sincerest gratitude!
Woodstock
Veteran User
Posts: 3802
Joined: Tue Aug 27, 2013 6:39 am

Re: Handbrake stops at 99% every time.

Post by Woodstock »

(now you know why some of us use the command line interface and batch files... fewer hidden features to find/combat.)
Post Reply