Encoding freezes at 7.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
JosephGregory
Posts: 6
Joined: Fri Nov 10, 2017 5:20 pm

Encoding freezes at 7.99% every time.

Post by JosephGregory »

Trying to convert to constant frame rate, tried multiple times with different settings and tried vidcoder, both stop encoding at 7.99%

Handbrake 1.0.7 and tried previous versions too, same result. Windows 10.

No error displayed.

Code: Select all

 HandBrake 1.0.7 (2017040900) - 64bit
OS: Microsoft Windows NT 10.0.16299.0 - 64bit
CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
Ram: 16321 MB, 
GPU Information:
  NVIDIA GeForce GTX 760 - 22.21.13.8569
Screen: 1920x1080
Temp Dir: C:\Users\User\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\User\AppData\Roaming\HandBrake Team\HandBrake\1.0.7.0

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


# Starting Encode ...

[17:06:12] hb_init: starting libhb thread
[17:06:12] 1 job(s) to process
[17:06:12] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "File": "C:\\Users\\User\\Desktop\\Projects\\Clink!\\Clink! #003 (TV)\\Test.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 131072
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "80",
          "block-width": "16",
          "filter-mode": "1",
          "mode": "0",
          "motion-thresh": "2",
          "spatial-metric": "2",
          "spatial-thresh": "3"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "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\\User\\Desktop\\Projects\\Clink!\\Clink! #003 (TV)\\Video 5.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "veryfast",
    "Profile": "main",
    "Quality": 24.0,
    "OpenCL": false,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[17:06:12] CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[17:06:12]  - Intel microarchitecture Haswell
[17:06:12]  - logical processor count: 8
[17:06:12] Intel Quick Sync Video support: no
[17:06:12] hb_scan: path=C:\Users\User\Desktop\Projects\Clink!\Clink! #003 (TV)\Video 5.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image C:\Users\User\Desktop\Projects\Clink!\Clink! #003 (TV)\Video 5.mp4
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[17:06:12] 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
[17:06:12] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\User\Desktop\Projects\Clink!\Clink! #003 (TV)\Video 5.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 1970-01-01 00:00:00
    encoder         : Lavf52.64.2
  Duration: 02:15:18.61, start: 0.000000, bitrate: 3466 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) [avc1 / 0x31637661]
      yuvj420p, pc, 1920x1080 [PAR 1:1 DAR 16:9], 3359 kb/s
      18 fps, 90k tbn (default)
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) [mp4a / 0x6134706D]
      48000 Hz, stereo, fltp, 100 kb/s (default)
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : SoundHandler
[17:06:12] scan: decoding previews for title 1
[17:06:12] scan: audio 0x1: aac, rate=48000Hz, bitrate=100167 Unknown (AAC) (2.0 ch)
[17:06:12] scan: 10 previews, 1920x1080, 29.926 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[17:06:12] scan: supported video decoders: avcodec qsv
[17:06:12] libhb: scan thread found 1 valid title(s)
[17:06:12] Skipping subtitle scan.  No suitable subtitle tracks.
[17:06:12] starting job
[17:06:12] decomb filter thread started for segment 0
[17:06:12] decomb filter thread started for segment 1
[17:06:12] decomb check thread started for segment 4
[17:06:12] decomb filter thread started for segment 3
[17:06:12] yadif thread started for segment 2
[17:06:12] decomb filter thread started for segment 5
[17:06:12] yadif thread started for segment 7
[17:06:12] work: track 1, dithering not supported by codec
[17:06:12] work: only 1 chapter, disabling chapter markers
[17:06:12] job configuration:
[17:06:12] decomb filter thread started for segment 7
[17:06:12]  * source
[17:06:12]    + C:\Users\User\Desktop\Projects\Clink!\Clink! #003 (TV)\Video 5.mp4
[17:06:12]    + title 1, chapter(s) 1 to 1
[17:06:12]    + container: mov,mp4,m4a,3gp,3g2,mj2
[17:06:12]    + data rate: 3466 kbps
[17:06:12]  * destination
[17:06:12]    + C:\Users\User\Desktop\Projects\Clink!\Clink! #003 (TV)\Test.mp4
[17:06:12]    + container: MPEG-4 (libavformat)
[17:06:12]  * video track
[17:06:12]    + decoder: h264
[17:06:12]      + bitrate 3359 kbps
[17:06:12]    + filters
[17:06:12] decomb check thread started for segment 0
[17:06:12]      + Comb Detect (mode=0:spatial-metric=2:motion-thresh=2:spatial-thresh=3:filter-mode=1:block-thresh=80:block-width=16:block-height=16)
[17:06:12]      + Decomb (mode=39)
[17:06:12]      + Framerate Shaper (mode=2:rate=27000000/900000)
[17:06:12]        + frame rate: 29.926 fps -> peak rate limited to 30.000 fps
[17:06:12] decomb check thread started for segment 1
[17:06:12]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[17:06:12]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[17:06:12]    + Output geometry
[17:06:12] decomb check thread started for segment 2
[17:06:12]      + storage dimensions: 1920 x 1080
[17:06:12]      + pixel aspect ratio: 1 : 1
[17:06:12]      + display dimensions: 1920 x 1080
[17:06:12]    + encoder: H.264 (libx264)
[17:06:12]      + preset:  veryfast
[17:06:12]      + profile: main
[17:06:12]      + level:   4.0
[17:06:12]      + quality: 24.00 (RF)
[17:06:12]  * audio track 1
[17:06:12]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x1)
[17:06:12]      + bitrate: 100 kbps, samplerate: 48000 Hz
[17:06:12]    + mixdown: Stereo
[17:06:12] decomb check thread started for segment 3
[17:06:12]    + encoder: AAC (libavcodec)
[17:06:12]      + bitrate: 160 kbps, samplerate: 48000 Hz
[17:06:12] decomb filter thread started for segment 2
[17:06:12] decomb check thread started for segment 5
[17:06:12] decomb check thread started for segment 6
[17:06:12] decomb check thread started for segment 7
[17:06:12] yadif thread started for segment 0
[17:06:12] yadif thread started for segment 1
[17:06:12] decomb filter thread started for segment 4
[17:06:12] yadif thread started for segment 3
[17:06:12] yadif thread started for segment 4
[17:06:12] yadif thread started for segment 6
[17:06:12] yadif thread started for segment 5
[17:06:12] decomb filter thread started for segment 6
[17:06:13] sync: expecting 242954 video frames
[17:06:13] encx264: min-keyint: 30, keyint: 300
[17:06:13] encx264: encoding at constant RF 24.000000
[17:06:13] encx264: unparsed options: level=4.0:ref=1:8x8dct=0:mixed-refs=0:weightp=1:subme=2: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 AVX2 LZCNT BMI2
x264 [info]: profile Main, level 4.0
[17:06:13] sync: first pts video is 0
[17:06:13] sync: "Chapter 1" (1) at frame 1 time 0
[17:06:13] sync: first pts audio 0x1 is 0
rollin_eng
Veteran User
Posts: 4854
Joined: Wed May 04, 2011 11:06 pm

Re: Encoding freezes at 7.99% every time.

Post by rollin_eng »

Is it just this file or any that freeze?

Does the whole computer freeze or just HB?
JosephGregory
Posts: 6
Joined: Fri Nov 10, 2017 5:20 pm

Re: Encoding freezes at 7.99% every time.

Post by JosephGregory »

Only that file.

Neither 'freezes' completely, just won't go above 7.99% - have tried other programs and they can all encode the file fine but none have the option to change to constant frame rate for Premiere Pro editing.
User avatar
s55
HandBrake Team
Posts: 10357
Joined: Sun Dec 24, 2006 1:05 pm

Re: Encoding freezes at 7.99% every time.

Post by s55 »

IN all likely hood, there is an error in the file that's tripping us up that other apps can handle. Are you able to share a sample that reproduces?

Have you tried the nightly build? (see download page)
JosephGregory
Posts: 6
Joined: Fri Nov 10, 2017 5:20 pm

Re: Encoding freezes at 7.99% every time.

Post by JosephGregory »

The file is over 2 hours long so can't really share? I'm happy to pm someone the file through google drive if anyone wants to try it on their machine.

Tried the nightly build, instead of stopping at 7.99% it just said it was done but the finished file was only 10 minutes long.

I've tried so many different programs and they all suck compared to Handbrake and none of them seem to be able to change to constant frame rate which is the one thing I need so I can edit in Premiere. Is there a program I've missed that has that capability?
rollin_eng
Veteran User
Posts: 4854
Joined: Wed May 04, 2011 11:06 pm

Re: Encoding freezes at 7.99% every time.

Post by rollin_eng »

Can you post the log from the nightly build?
JosephGregory
Posts: 6
Joined: Fri Nov 10, 2017 5:20 pm

Re: Encoding freezes at 7.99% every time.

Post by JosephGregory »

Code: Select all

 HandBrake Nightly 20171107192220-8f7da9e-master (2017110901) - 64bit
OS: Microsoft Windows NT 10.0.16299.0 - 64bit
CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
Ram: 16321 MB, 
GPU Information:
  NVIDIA GeForce GTX 760 - 22.21.13.8569
Screen: 1920x1080
Temp Dir: C:\Users\User\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\User\AppData\Roaming\HandBrake Team\HandBrake\1.1.0.0

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


# Starting Encode ...

[18:17:29] hb_init: starting libhb thread
[18:17:29] 1 job(s) to process
[18:17:29] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "C:\\Users\\User\\Desktop\\Projects\\Clink!\\Clink! #003 (TV)\\Nightly test.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 131072
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "80",
          "block-width": "16",
          "filter-mode": "1",
          "mode": "0",
          "motion-thresh": "2",
          "spatial-metric": "2",
          "spatial-thresh": "3"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1",
          "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\\User\\Desktop\\Projects\\Clink!\\Clink! #003 (TV)\\Video 5.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "veryfast",
    "Profile": "main",
    "Quality": 24.0,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[18:17:29] CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[18:17:29]  - Intel microarchitecture Haswell
[18:17:29]  - logical processor count: 8
[18:17:29] Intel Quick Sync Video support: no
[18:17:29] hb_scan: path=C:\Users\User\Desktop\Projects\Clink!\Clink! #003 (TV)\Video 5.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\User\Desktop\Projects\Clink!\Clink! #003 (TV)\Video 5.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
[18:17:29] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
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
[18:17:29] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\User\Desktop\Projects\Clink!\Clink! #003 (TV)\Video 5.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 1970-01-01 00:00:00
    encoder         : Lavf52.64.2
  Duration: 02:15:18.61, start: 0.000000, bitrate: 3466 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) [avc1 / 0x31637661]
      yuvj420p, pc, 1920x1080 [PAR 1:1 DAR 16:9], 3359 kb/s
      18 fps, 90k tbn (default)
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) [mp4a / 0x6134706D]
      48000 Hz, stereo, fltp, 100 kb/s (default)
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : SoundHandler
[18:17:29] scan: decoding previews for title 1
[18:17:29] scan: audio 0x1: aac, rate=48000Hz, bitrate=100167 Unknown (AAC) (2.0 ch)
[18:17:29] scan: 10 previews, 1920x1080, 29.926 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[18:17:29] scan: supported video decoders: avcodec qsv
[18:17:29] libhb: scan thread found 1 valid title(s)
[18:17:30] Skipping subtitle scan.  No suitable subtitle tracks.
[18:17:30] starting job
[18:17:30] decomb filter thread started for segment 0
[18:17:30] decomb filter thread started for segment 1
[18:17:30] decomb filter thread started for segment 2
[18:17:30] decomb filter thread started for segment 3
[18:17:30] decomb filter thread started for segment 4
[18:17:30] yadif thread started for segment 6
[18:17:30] work: track 1, dithering not supported by codec
[18:17:30] work: only 1 chapter, disabling chapter markers
[18:17:30] job configuration:
[18:17:30]  * source
[18:17:30] decomb filter thread started for segment 5
[18:17:30]    + C:\Users\User\Desktop\Projects\Clink!\Clink! #003 (TV)\Video 5.mp4
[18:17:30]    + title 1, chapter(s) 1 to 1
[18:17:30]    + container: mov,mp4,m4a,3gp,3g2,mj2
[18:17:30]    + data rate: 3466 kbps
[18:17:30]  * destination
[18:17:30]    + C:\Users\User\Desktop\Projects\Clink!\Clink! #003 (TV)\Nightly test.mp4
[18:17:30]    + container: MPEG-4 (libavformat)
[18:17:30]  * video track
[18:17:30]    + decoder: h264
[18:17:30]      + bitrate 3359 kbps
[18:17:30]    + filters
[18:17:30] decomb filter thread started for segment 7
[18:17:30]      + Comb Detect (mode=0:spatial-metric=2:motion-thresh=2:spatial-thresh=3:filter-mode=1:block-thresh=80:block-width=16:block-height=16)
[18:17:30] decomb check thread started for segment 0
[18:17:30]      + Decomb (mode=39)
[18:17:30]      + Framerate Shaper (mode=1:rate=27000000/900000)
[18:17:30]        + frame rate: 29.926 fps -> constant 30.000 fps
[18:17:30] decomb check thread started for segment 1
[18:17:30]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[18:17:30]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[18:17:30]    + Output geometry
[18:17:30]      + storage dimensions: 1920 x 1080
[18:17:30]      + pixel aspect ratio: 1 : 1
[18:17:30]      + display dimensions: 1920 x 1080
[18:17:30] decomb check thread started for segment 2
[18:17:30]    + encoder: H.264 (libx264)
[18:17:30]      + preset:  veryfast
[18:17:30]      + profile: main
[18:17:30]      + level:   4.0
[18:17:30]      + quality: 24.00 (RF)
[18:17:30] decomb check thread started for segment 3
[18:17:30]  * audio track 1
[18:17:30]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x1)
[18:17:30]      + bitrate: 100 kbps, samplerate: 48000 Hz
[18:17:30]    + mixdown: Stereo
[18:17:30]    + encoder: AAC (libavcodec)
[18:17:30]      + bitrate: 160 kbps, samplerate: 48000 Hz
[18:17:30] decomb check thread started for segment 4
[18:17:30] decomb check thread started for segment 5
[18:17:30] decomb check thread started for segment 6
[18:17:30] decomb check thread started for segment 7
[18:17:30] yadif thread started for segment 1
[18:17:30] yadif thread started for segment 0
[18:17:30] yadif thread started for segment 2
[18:17:30] yadif thread started for segment 3
[18:17:30] yadif thread started for segment 4
[18:17:30] yadif thread started for segment 5
[18:17:30] yadif thread started for segment 7
[18:17:30] decomb filter thread started for segment 6
[18:17:30] sync: expecting 242954 video frames
[18:17:30] encx264: min-keyint: 30, keyint: 300
[18:17:30] encx264: encoding at constant RF 24.000000
[18:17:30] 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 AVX2 LZCNT BMI2
x264 [info]: profile Main, level 4.0
[18:17:30] sync: first pts video is 0
[18:17:30] sync: "Chapter 1" (1) at frame 1 time 0
[18:17:30] sync: first pts audio 0x1 is 0
hb_audio_resample_update: avresample_open() failed (Error number -22 occurred)
[18:21:29] decavcodec: hb_audio_resample_update() failed
[18:21:30] reader: done. 1 scr changes
[18:21:30] work: average encoding speed for job is 98.042191 fps
[18:21:30] comb detect: heavy 0 | light 0 | uncombed 19429 | total 19429
[18:21:30] decomb: deinterlaced 0 | blended 0 | unfiltered 19429 | total 19429
[18:21:30] vfr: 19555 frames output, 0 dropped and 126 duped for CFR/PFR
[18:21:30] vfr: lost time: 0 (0 frames)
[18:21:30] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:21:30] aac-decoder done: 293250 frames, 276 decoder errors
[18:21:30] h264-decoder done: 19429 frames, 0 decoder errors
[18:21:30] sync: got 19429 frames, 242954 expected
[18:21:30] sync: framerate min 12.500 fps, max 62.413 fps, avg 29.806 fps
x264 [info]: frame I:66    Avg QP:18.88  size: 56439
x264 [info]: frame P:4898  Avg QP:21.60  size: 11454
x264 [info]: frame B:14591 Avg QP:23.39  size:  3069
x264 [info]: consecutive B-frames:  0.4%  0.0%  1.1% 98.5%
x264 [info]: mb I  I16..4: 72.8%  0.0% 27.2%
x264 [info]: mb P  I16..4: 14.5%  0.0%  0.1%  P16..4: 35.0%  4.8%  1.2%  0.0%  0.0%    skip:44.4%
x264 [info]: mb B  I16..4:  0.5%  0.0%  0.0%  B16..8:  4.4%  0.4%  0.0%  direct:14.7%  skip:80.0%  L0:46.8% L1:50.5% BI: 2.7%
x264 [info]: coded y,uvDC,uvAC intra: 3.9% 71.4% 15.0% inter: 0.6% 21.8% 0.2%
x264 [info]: i16 v,h,dc,p: 66% 20%  9%  5%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 20% 20%  4%  5%  6%  4%  5%  4%
x264 [info]: i8c dc,h,v,p: 54% 21% 22%  3%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: kb/s:1283.88
[18:21:30] mux: track 0, 19555 frames, 104606527 bytes, 133.35 kbps, fifo 2048
[18:21:30] mux: track 1, 294166 frames, 38273478 bytes, 48.79 kbps, fifo 262144
[18:21:30] libhb: work result = 0

# Encode Completed ...

 
rollin_eng
Veteran User
Posts: 4854
Joined: Wed May 04, 2011 11:06 pm

Re: Encoding freezes at 7.99% every time.

Post by rollin_eng »

Do you have the same issue if you pass through the audio?
JosephGregory
Posts: 6
Joined: Fri Nov 10, 2017 5:20 pm

Re: Encoding freezes at 7.99% every time.

Post by JosephGregory »

Just tried with Auto Passthru, same result.

Code: Select all

 HandBrake Nightly 20171107192220-8f7da9e-master (2017110901) - 64bit
OS: Microsoft Windows NT 10.0.16299.0 - 64bit
CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
Ram: 16321 MB, 
GPU Information:
  NVIDIA GeForce GTX 760 - 22.21.13.8569
Screen: 1920x1080
Temp Dir: C:\Users\User\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\User\AppData\Roaming\HandBrake Team\HandBrake\1.1.0.0

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


# Starting Encode ...

[18:34:26] hb_init: starting libhb thread
[18:34:26] 1 job(s) to process
[18:34:26] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0.0,
        "Encoder": 1125984256,
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "C:\\Users\\User\\Desktop\\Projects\\Clink!\\Clink! #003 (TV)\\Nightly Audio Pass Test.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 131072
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "80",
          "block-width": "16",
          "filter-mode": "1",
          "mode": "0",
          "motion-thresh": "2",
          "spatial-metric": "2",
          "spatial-thresh": "3"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1",
          "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\\User\\Desktop\\Projects\\Clink!\\Clink! #003 (TV)\\Video 5.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "veryfast",
    "Profile": "main",
    "Quality": 24.0,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[18:34:26] CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[18:34:26]  - Intel microarchitecture Haswell
[18:34:26]  - logical processor count: 8
[18:34:26] Intel Quick Sync Video support: no
[18:34:26] hb_scan: path=C:\Users\User\Desktop\Projects\Clink!\Clink! #003 (TV)\Video 5.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\User\Desktop\Projects\Clink!\Clink! #003 (TV)\Video 5.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
[18:34:26] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
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
[18:34:26] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\User\Desktop\Projects\Clink!\Clink! #003 (TV)\Video 5.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 1970-01-01 00:00:00
    encoder         : Lavf52.64.2
  Duration: 02:15:18.61, start: 0.000000, bitrate: 3466 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) [avc1 / 0x31637661]
      yuvj420p, pc, 1920x1080 [PAR 1:1 DAR 16:9], 3359 kb/s
      18 fps, 90k tbn (default)
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) [mp4a / 0x6134706D]
      48000 Hz, stereo, fltp, 100 kb/s (default)
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : SoundHandler
[18:34:26] scan: decoding previews for title 1
[18:34:26] scan: audio 0x1: aac, rate=48000Hz, bitrate=100167 Unknown (AAC) (2.0 ch)
[18:34:26] scan: 10 previews, 1920x1080, 29.926 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[18:34:26] scan: supported video decoders: avcodec qsv
[18:34:27] libhb: scan thread found 1 valid title(s)
[18:34:27] Skipping subtitle scan.  No suitable subtitle tracks.
[18:34:27] starting job
[18:34:27] decomb filter thread started for segment 0
[18:34:27] decomb check thread started for segment 0
[18:34:27] decomb check thread started for segment 3
[18:34:27] decomb check thread started for segment 5
[18:34:27] decomb filter thread started for segment 4
[18:34:27] decomb filter thread started for segment 5
[18:34:27] decomb filter thread started for segment 7
[18:34:27] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP3, FLAC
[18:34:27] Auto Passthru: fallback is AC3
[18:34:27] Auto Passthru: using AAC Passthru for track 1
[18:34:27] decomb filter thread started for segment 6
[18:34:27] work: only 1 chapter, disabling chapter markers
[18:34:27] job configuration:
[18:34:27]  * source
[18:34:27]    + C:\Users\User\Desktop\Projects\Clink!\Clink! #003 (TV)\Video 5.mp4
[18:34:27]    + title 1, chapter(s) 1 to 1
[18:34:27]    + container: mov,mp4,m4a,3gp,3g2,mj2
[18:34:27]    + data rate: 3466 kbps
[18:34:27]  * destination
[18:34:27]    + C:\Users\User\Desktop\Projects\Clink!\Clink! #003 (TV)\Nightly Audio Pass Test.mp4
[18:34:27]    + container: MPEG-4 (libavformat)
[18:34:27] decomb filter thread started for segment 1
[18:34:27]  * video track
[18:34:27]    + decoder: h264
[18:34:27]      + bitrate 3359 kbps
[18:34:27]    + filters
[18:34:27]      + Comb Detect (mode=0:spatial-metric=2:motion-thresh=2:spatial-thresh=3:filter-mode=1:block-thresh=80:block-width=16:block-height=16)
[18:34:27]      + Decomb (mode=39)
[18:34:27] decomb check thread started for segment 1
[18:34:27]      + Framerate Shaper (mode=1:rate=27000000/900000)
[18:34:27]        + frame rate: 29.926 fps -> constant 30.000 fps
[18:34:27]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[18:34:27]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[18:34:27] decomb check thread started for segment 2
[18:34:27]    + Output geometry
[18:34:27]      + storage dimensions: 1920 x 1080
[18:34:27]      + pixel aspect ratio: 1 : 1
[18:34:27]      + display dimensions: 1920 x 1080
[18:34:27]    + encoder: H.264 (libx264)
[18:34:27]      + preset:  veryfast
[18:34:27]      + profile: main
[18:34:27]      + level:   4.0
[18:34:27]      + quality: 24.00 (RF)
[18:34:27]  * audio track 1
[18:34:27]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x1)
[18:34:27]      + bitrate: 100 kbps, samplerate: 48000 Hz
[18:34:27]    + AAC Passthru
[18:34:27] decomb filter thread started for segment 2
[18:34:27] decomb check thread started for segment 4
[18:34:27] decomb filter thread started for segment 3
[18:34:27] decomb check thread started for segment 7
[18:34:27] decomb check thread started for segment 6
[18:34:27] yadif thread started for segment 0
[18:34:27] yadif thread started for segment 1
[18:34:27] yadif thread started for segment 2
[18:34:27] yadif thread started for segment 3
[18:34:27] yadif thread started for segment 4
[18:34:27] yadif thread started for segment 5
[18:34:27] yadif thread started for segment 7
[18:34:27] yadif thread started for segment 6
[18:34:27] sync: expecting 242954 video frames
[18:34:27] encx264: min-keyint: 30, keyint: 300
[18:34:27] encx264: encoding at constant RF 24.000000
[18:34:27] 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 AVX2 LZCNT BMI2
x264 [info]: profile Main, level 4.0
[18:34:27] sync: first pts video is 0
[18:34:27] sync: "Chapter 1" (1) at frame 1 time 0
[18:34:27] sync: first pts audio 0x1 is 0
[18:38:20] reader: done. 1 scr changes
[18:38:21] work: average encoding speed for job is 99.655525 fps
[18:38:21] comb detect: heavy 0 | light 0 | uncombed 19429 | total 19429
[18:38:21] decomb: deinterlaced 0 | blended 0 | unfiltered 19429 | total 19429
[18:38:21] vfr: 19555 frames output, 0 dropped and 126 duped for CFR/PFR
[18:38:21] vfr: lost time: 0 (0 frames)
[18:38:21] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:38:21] aac-decoder done: 378631 frames, 463 decoder errors
[18:38:21] h264-decoder done: 19429 frames, 0 decoder errors
[18:38:21] sync: got 19429 frames, 242954 expected
[18:38:21] sync: framerate min 12.500 fps, max 62.413 fps, avg 29.806 fps
x264 [info]: frame I:66    Avg QP:18.88  size: 56439
x264 [info]: frame P:4898  Avg QP:21.60  size: 11454
x264 [info]: frame B:14591 Avg QP:23.39  size:  3069
x264 [info]: consecutive B-frames:  0.4%  0.0%  1.1% 98.5%
x264 [info]: mb I  I16..4: 72.8%  0.0% 27.2%
x264 [info]: mb P  I16..4: 14.5%  0.0%  0.1%  P16..4: 35.0%  4.8%  1.2%  0.0%  0.0%    skip:44.4%
x264 [info]: mb B  I16..4:  0.5%  0.0%  0.0%  B16..8:  4.4%  0.4%  0.0%  direct:14.7%  skip:80.0%  L0:46.8% L1:50.5% BI: 2.7%
x264 [info]: coded y,uvDC,uvAC intra: 3.9% 71.4% 15.0% inter: 0.6% 21.8% 0.2%
x264 [info]: i16 v,h,dc,p: 66% 20%  9%  5%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 20% 20%  4%  5%  6%  4%  5%  4%
x264 [info]: i8c dc,h,v,p: 54% 21% 22%  3%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: kb/s:1283.88
[18:38:21] mux: track 0, 19555 frames, 104606527 bytes, 103.60 kbps, fifo 2048
[18:38:21] mux: track 1, 378631 frames, 101138889 bytes, 100.17 kbps, fifo 65536
[18:38:21] libhb: work result = 0

# Encode Completed ...

 
User avatar
JohnAStebbins
HandBrake Team
Posts: 5723
Joined: Sat Feb 09, 2008 7:21 pm

Re: Encoding freezes at 7.99% every time.

Post by JohnAStebbins »

rollin_eng wrote: Fri Nov 10, 2017 6:31 pm Do you have the same issue if you pass through the audio?
The audio error didn't cause it to terminate. The reader finished "normally". I.e. the reader thinks it got an EOF. My guess is the audio error is a symptom of a corrupted file that is also causing the demuxer to just give up at the same point.
JosephGregory
Posts: 6
Joined: Fri Nov 10, 2017 5:20 pm

Re: Encoding freezes at 7.99% every time.

Post by JosephGregory »

Fixed it by running it through AVC and then back through Handbrake. Thanks all.
Post Reply