When trying to encode wmv file using preset SHQ 1080P or SHQ720P, it will give result=5 which to say with 1 error. Wonder what can cause this error code.
Thank you
Steps to reproduce the problem (If Applicable):
try several wmv files and encode them using SHQ 1080P or SHQ720P
HandBrake version (e.g., 1.0.0):
1.1.2
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
windows 10
HandBrake Activity Log ***required*** (see How-to get an activity log)
Code: Select all
HandBrake 1.1.2 (2018090500) - 64bit
OS: Microsoft Windows NT 10.0.17763.0 - 64bit
CPU: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
Ram: 7117 MB,
GPU Information:
NVIDIA GeForce GTX 970 - 25.21.14.1634
Intel(R) HD Graphics 4600 - 20.19.15.5058
Screen: 3840x2160
Temp Dir: C:\Users\potte\AppData\Local\Temp\
Install Dir: D:\_Tools\HandBrake
Data Dir: C:\Users\potte\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[13:44:14] hb_init: starting libhb thread
[13:44:14] 1 job(s) to process
[13:44:14] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": 65536,
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 48000,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
1073807360,
1073743872,
1074003968,
1073750016,
1090519040,
1074790400,
1074266112,
1107296256
],
"FallbackEncoder": 2048
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "G:\\Videos\\input-1.mkv",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": 2097152
},
"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": 11,
"Settings": {
"crop-bottom": "0",
"crop-left": "16",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1904"
}
},
{
"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": "G:\\Videos\\input.wmv"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": 65536,
"Level": "4.0",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "ref=5:bframes=5",
"Preset": "veryslow",
"Profile": "high",
"Quality": 18.0,
"HWDecode": false,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[13:44:14] CPU: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
[13:44:14] - Intel microarchitecture Haswell
[13:44:14] - logical processor count: 4
[13:44:14] Intel Quick Sync Video support: yes
[13:44:14] - Intel Media SDK hardware: API 1.20 (minimum: 1.3)
[13:44:14] - H.264 encoder: yes
[13:44:14] - preferred implementation: hardware (any) via D3D11
[13:44:14] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[13:44:14] - H.265 encoder: no
[13:44:14] hb_scan: path=G:\Videos\input.wmv, title_index=1
src/libbluray/disc/disc.c:323: failed opening UDF image G:\Videos\input\input.wmv
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
[13:44:14] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[13:44:14] dvd: not a dvd - trying as a stream/file instead
Input #0, asf, from 'G:\Videos\input.wmv':
Metadata:
creation_time : 2014-02-22 07:11:07
Title :
Author :
Copyright :
Duration: 02:36:32.69, start: 0.000000, bitrate: 6012 kb/s
Stream #0:0: Audio: wmapro [b[1][0][0] / 0x0162]
44100 Hz, stereo, fltp, 256 kb/s
Metadata:
IsVBR : 0
DeviceConformanceTemplate: M1
WM/WMADRCPeakReference: 32767
WM/WMADRCPeakTarget: 32767
WM/WMADRCAverageReference: 1892
WM/WMADRCAverageTarget: 1892
Stream #0:1: Video: vc1 (Advanced) [WVC1 / 0x31435657]
yuv420p, 1920x1080
29.97 fps, 1k tbn
Metadata:
IsVBR : 0
DeviceConformanceTemplate: AP@L3
[13:44:14] scan: decoding previews for title 1
[13:44:14] scan: audio 0x0: wmapro, rate=44100Hz, bitrate=256032 Unknown (wmapro) (2.0 ch)
av_read_frame error (-1052488119): Invalid data found when processing input
av_read_frame error (-1052488119): Invalid data found when processing input
[13:44:14] Warning: Could not read data for preview 8, skipped
[13:44:14] scan: 7 previews, 1920x1080, 29.970 fps, autocrop = 0/0/16/0, aspect 16:9, PAR 1:1
[13:44:14] libhb: scan thread found 1 valid title(s)
[13:44:15] starting job
[13:44:15] decomb filter thread started for segment 0
[13:44:15] decomb filter thread started for segment 1
[13:44:15] decomb filter thread started for segment 2
[13:44:15] decomb filter thread started for segment 3
[13:44:15] decomb check thread started for segment 0
[13:44:15] decomb check thread started for segment 1
[13:44:15] decomb check thread started for segment 2
[13:44:15] mask filter thread started for segment 3
[13:44:15] mask filter thread started for segment 0
[13:44:15] mask filter thread started for segment 1
[13:44:15] mask filter thread started for segment 2
[13:44:15] decomb check thread started for segment 3
[13:44:15] mask erode thread started for segment 0
[13:44:15] mask erode thread started for segment 1
[13:44:15] mask erode thread started for segment 2
[13:44:15] mask dilate thread started for segment 3
[13:44:15] mask dilate thread started for segment 0
[13:44:15] mask dilate thread started for segment 1
[13:44:15] mask dilate thread started for segment 2
[13:44:15] mask erode thread started for segment 3
[13:44:15] yadif thread started for segment 0
[13:44:15] work: track 1, dithering not supported by codec
[13:44:15] yadif thread started for segment 1
[13:44:15] yadif thread started for segment 2
[13:44:15] yadif thread started for segment 3
[13:44:15] work: only 1 chapter, disabling chapter markers
[13:44:15] job configuration:
[13:44:15] * source
[13:44:15] + G:\Videos\input.wmv
[13:44:15] + title 1, chapter(s) 1 to 1
[13:44:15] + container: asf
[13:44:15] + data rate: 6012 kbps
[13:44:15] * destination
[13:44:15] + G:\Videos\input-1.mkv
[13:44:15] + container: Matroska (libavformat)
[13:44:15] * video track
[13:44:15] + decoder: vc1
[13:44:15] + filters
[13:44:15] + 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)
[13:44:15] + Decomb (mode=39)
[13:44:15] + Framerate Shaper (mode=0)
[13:44:15] + frame rate: same as source (around 29.970 fps)
[13:44:15] + Crop and Scale (width=1904:height=1080:crop-top=0:crop-bottom=0:crop-left=16:crop-right=0)
[13:44:15] + source: 1920 * 1080, crop (0/0/16/0): 1904 * 1080, scale: 1904 * 1080
[13:44:15] + Output geometry
[13:44:15] + storage dimensions: 1904 x 1080
[13:44:15] + pixel aspect ratio: 1 : 1
[13:44:15] + display dimensions: 1904 x 1080
[13:44:15] + encoder: H.264 (libx264)
[13:44:15] + preset: veryslow
[13:44:15] + options: ref=5:bframes=5
[13:44:15] + profile: high
[13:44:15] + level: 4.0
[13:44:15] + quality: 18.00 (RF)
[13:44:15] * audio track 1
[13:44:15] + decoder: Unknown (wmapro) (2.0 ch) (track 1, id 0x0)
[13:44:15] + bitrate: 256 kbps, samplerate: 44100 Hz
[13:44:15] + mixdown: Stereo
[13:44:15] + encoder: AAC (libavcodec)
[13:44:15] + bitrate: 160 kbps, samplerate: 48000 Hz
[13:44:15] sync: expecting 281499 video frames
[13:44:15] encx264: min-keyint: 30, keyint: 300
[13:44:15] encx264: encoding at constant RF 18.000000
[13:44:15] encx264: unparsed options: ref=4:bframes=5:level=4.0:b-adapt=2:direct=auto:analyse=all:me=umh:merange=24:subme=10:trellis=2:vbv-bufsize=31250:vbv-maxrate=25000:rc-lookahead=60
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile High, level 4.0
[13:44:15] sync: first pts video is 0
[13:44:15] sync: "Chapter 1" (1) at frame 1 time 0
[13:44:16] sync: first pts audio 0x0 is 0
# Encode Paused
# Encode Resumed
[23:22:13] reader: done. 1 scr changes
[23:22:18] work: average encoding speed for job is 8.186787 fps
[23:22:18] comb detect: heavy 1806 | light 10337 | uncombed 269356 | total 281499
[23:22:18] decomb: deinterlaced 1806 | blended 10337 | unfiltered 269356 | total 281499
[23:22:18] vfr: lost time: 0 (0 frames)
[23:22:18] vfr: gained time: 0 (0 frames) (0 not accounted for)
[23:22:18] wmapro-decoder done: 202254 frames, 0 decoder errors
[23:22:18] vc1-decoder done: 281499 frames, 0 decoder errors
[23:22:18] sync: got 281499 frames, 281499 expected
[23:22:18] sync: framerate min 29.970 fps, max 30.303 fps, avg 29.970 fps
x264 [info]: frame I:974 Avg QP:15.51 size:100265
x264 [info]: frame P:163388 Avg QP:19.17 size: 35294
x264 [info]: frame B:117137 Avg QP:20.42 size: 18310
x264 [info]: consecutive B-frames: 40.6% 0.7% 37.5% 14.7% 5.7% 0.7%
x264 [info]: mb I I16..4: 15.3% 76.1% 8.7%
x264 [info]: mb P I16..4: 5.0% 11.5% 0.5% P16..4: 59.3% 10.2% 5.7% 0.0% 0.0% skip: 7.8%
x264 [info]: mb B I16..4: 1.6% 4.9% 0.1% B16..8: 52.7% 6.8% 0.8% direct: 3.8% skip:29.2% L0:66.7% L1:26.6% BI: 6.7%
x264 [info]: 8x8 transform intra:69.1% inter:77.9%
x264 [info]: direct mvs spatial:100.0% temporal:0.0%
x264 [info]: coded y,uvDC,uvAC intra: 40.2% 61.2% 11.7% inter: 15.1% 22.7% 0.7%
x264 [info]: i16 v,h,dc,p: 28% 24% 26% 22%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 19% 39% 3% 2% 3% 3% 3% 4%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 19% 15% 4% 5% 7% 5% 4% 4%
x264 [info]: i8c dc,h,v,p: 34% 34% 25% 7%
x264 [info]: Weighted P-Frames: Y:0.2% UV:0.1%
x264 [info]: ref P L0: 76.3% 7.5% 11.2% 3.6% 1.4% 0.0%
x264 [info]: ref B L0: 88.6% 9.7% 1.7%
x264 [info]: ref B L1: 98.2% 1.8%
x264 [info]: kb/s:6821.52
[23:22:18] mux: track 0, 281499 frames, 8008999575 bytes, 6821.41 kbps, fifo 1024
[23:22:18] mux: track 1, 440286 frames, 188240209 bytes, 160.33 kbps, fifo 2048
[23:22:18] libhb: work result = 5
# Encode Completed ...