Finished encoding with error

  • Throughout the month of April 2024, participate in the FileJoker Thread Contest OPEN TO EVERYONE!

    From 1st to 30th of April 2024, members can earn cash rewards by posting Filejoker-Exclusive threads in the Direct-Downloads subforums.

    There are $1000 in prizes, and the top prize is $450!

    For the full rules and how to enter, check out the thread
  • Akiba-Online is sponsored by FileJoker.

    FileJoker is a required filehost for all new posts and content replies in the Direct Downloads subforums.

    Failure to include FileJoker links for Direct Download posts will result in deletion of your posts or worse.

    For more information see
    this thread.

iceking786

Member
Jun 8, 2016
99
12
I was encoding MP4 with H264 Codec to M4V with H265 Codec. After it finished it shows the encoding is complete with error, i tried to play the video and skip to the end of the video and it looks normal, i'm want to remove the original files so i can save some space, so i want to make sure there is no problem with the output files thanks

this is the error that keep showing up

av_read_frame error (-1052488119): Invalid data found when processing input
av_read_frame error (-1052488119): Invalid data found when processing input
[09:56:35] Warning: Could not read data for preview 9, skipped

heres the full log content
HandBrake 1.1.1 (2018061800) - 64bit
OS: Microsoft Windows NT 10.0.17134.0 - 64bit
CPU: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
Ram: 8102 MB,
GPU Information:
Intel(R) HD Graphics Family - 20.19.15.4531
Screen: 1920x1080
Temp Dir: C:\Users\Ekubo856\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Ekubo856\AppData\Roaming\HandBrake Team\HandBrake\1.1.1.0

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


# Starting Encode ...

[09:56:34] hb_init: starting libhb thread
[09:56:34] 1 job(s) to process
[09:56:34] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": 512,
"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": "C:\\Users\\Ekubo856\\Videos\\Handbrake\\Djac-001-1.m4v",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": 131072
},
"Filters": {
"FilterList": [
{
"ID": 11,
"Settings": {
"crop-bottom": "0",
"crop-left": "64",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1920"
}
},
{
"ID": 6,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "D:\\New folder\\Yuzu Kitagawa\\DJAC-001.wmv"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": 4096,
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "medium",
"Profile": "main",
"Quality": 22.0,
"HWDecode": false,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[09:56:34] CPU: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
[09:56:34] - Intel microarchitecture Haswell
[09:56:34] - logical processor count: 4
[09:56:34] Intel Quick Sync Video support: yes
[09:56:34] - Intel Media SDK hardware: API 1.19 (minimum: 1.3)
[09:56:34] - H.264 encoder: yes
[09:56:34] - preferred implementation: hardware (any) via D3D11
[09:56:34] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[09:56:34] - H.265 encoder: no
[09:56:34] hb_scan: path=D:\New folder\Yuzu Kitagawa\DJAC-001.wmv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\New folder\Yuzu Kitagawa\DJAC-001.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
[09:56:34] 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
[09:56:34] dvd: not a dvd - trying as a stream/file instead
Input #0, asf, from 'D:\New folder\Yuzu Kitagawa\DJAC-001.wmv':
Metadata:
creation_time : 2017-06-15 09:09:02
WMFSDKNeeded : 0.0.0.0000
WMFSDKVersion : 12.0.7601.17514
MediaFoundationVersion: 1.112
Duration: 02:17:54.48, start: 5.000000, bitrate: 6010 kb/s
Stream #0:0(jpn): Video: vc1 (Advanced) [WVC1 / 0x31435657]
yuv420p, 1920x1080, 5744 kb/s, PAR 1:1 DAR 16:9
29.97 fps, 1k tbn
Metadata:
DeviceConformanceTemplate: AP@L3
Stream #0:1(jpn): Audio: wmapro [b[1][0][0] / 0x0162]
44100 Hz, stereo, fltp, 256 kb/s
Metadata:
DeviceConformanceTemplate: M1
WM/WMADRCAverageReference: 3488
WM/WMADRCAverageTarget: 3488
WM/WMADRCPeakReference: 20921
WM/WMADRCPeakTarget: 20921
[09:56:34] scan: decoding previews for title 1
[09:56:35] scan: audio 0x1: wmapro, rate=44100Hz, bitrate=256032 ??? (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
[09:56:35] Warning: Could not read data for preview 9, skipped
[09:56:35] scan: 8 previews, 1920x1080, 29.970 fps, autocrop = 0/0/64/0, aspect 16:9, PAR 1:1
[09:56:35] libhb: scan thread found 1 valid title(s)
[09:56:35] starting job
[09:56:35] work: compression level not specified, track 1 setting compression level 2.00
[09:56:35] work: track 1, dithering not supported by codec
[09:56:35] work: only 1 chapter, disabling chapter markers
[09:56:35] job configuration:
[09:56:35] * source
[09:56:35] + D:\New folder\Yuzu Kitagawa\DJAC-001.wmv
[09:56:35] + title 1, chapter(s) 1 to 1
[09:56:35] + container: asf
[09:56:35] + data rate: 6010 kbps
[09:56:35] * destination
[09:56:35] + C:\Users\Ekubo856\Videos\Handbrake\Djac-001-1.m4v
[09:56:35] + container: MPEG-4 (libavformat)
[09:56:35] * video track
[09:56:35] + decoder: vc1
[09:56:35] + bitrate 5744 kbps
[09:56:35] + filters
[09:56:35] + Framerate Shaper (mode=1)
[09:56:35] + frame rate: 29.970 fps -> constant 29.970 fps
[09:56:35] + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=64:crop-right=0)
[09:56:35] + source: 1920 * 1080, crop (0/0/64/0): 1856 * 1080, scale: 1920 * 1080
[09:56:35] + Output geometry
[09:56:35] + storage dimensions: 1920 x 1080
[09:56:35] + pixel aspect ratio: 1 : 1
[09:56:35] + display dimensions: 1920 x 1080
[09:56:35] + encoder: H.265 (libx265)
[09:56:35] + preset: medium
[09:56:35] + profile: main
[09:56:35] + quality: 22.00 (RF)
[09:56:35] * audio track 1
[09:56:35] + decoder: ??? (wmapro) (2.0 ch) (track 1, id 0x1)
[09:56:35] + bitrate: 256 kbps, samplerate: 44100 Hz
[09:56:35] + mixdown: Stereo
[09:56:35] + encoder: MP3 (libmp3lame)
[09:56:35] + bitrate: 160 kbps, samplerate: 48000 Hz
[09:56:35] + compression level: 2.00
[09:56:35] sync: expecting 247986 video frames
x265 [info]: HEVC encoder version 2.6
x265 [info]: build info [Windows][GCC 7.3.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 2 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 30 / 300 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-22.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 rskip signhide tmvp strong-intra-smoothing
x265 [info]: tools: lslices=6 deblock sao
[09:56:36] sync: first pts audio 0x1 is 0
[09:56:36] sync: first pts video is 450360
[09:56:36] sync: "Chapter 1" (1) at frame 1 time 450360
[02:09:57] reader: done. 1 scr changes
[02:10:18] work: average encoding speed for job is 4.242574 fps
[02:10:18] vfr: 247837 frames output, 0 dropped and 0 duped for CFR/PFR
[02:10:18] vfr: lost time: 0 (0 frames)
[02:10:18] vfr: gained time: 0 (0 frames) (0 not accounted for)
[02:10:18] wmapro-decoder done: 178177 frames, 0 decoder errors
[02:10:18] vc1-decoder done: 247987 frames, 0 decoder errors
[02:10:18] sync: got 247837 frames, 247986 expected
[02:10:18] sync: framerate min 29.970 fps, max 30.303 fps, avg 29.970 fps
x265 [info]: frame I: 1112, Avg QP:19.62 kb/s: 15542.11
x265 [info]: frame P: 61217, Avg QP:21.58 kb/s: 7210.74
x265 [info]: frame B: 185508, Avg QP:26.64 kb/s: 1843.23
x265 [info]: Weighted P-Frames: Y:0.5% UV:0.4%
x265 [info]: consecutive B-frames: 1.3% 1.1% 5.8% 81.9% 9.8%
encoded 247837 frames in 58423.67s (4.24 fps), 3230.50 kb/s, Avg QP:25.36
[02:10:18] mux: track 0, 247837 frames, 3340313404 bytes, 3229.45 kbps, fifo 2048
[02:10:18] mux: track 1, 344776 frames, 165492480 bytes, 160.00 kbps, fifo 4096
[02:10:19] libhb: work result = 5

# Encode Completed ...
 

SamKook

Grand Wizard
Staff member
Super Moderator
Uploader
May 10, 2009
3,560
4,927
Seems like it failed to read 149 frames(so about 5 sec) from the original video, likely due to corruption in the wmv, so those will be missing in the output, but those likely don't read properly in the original video either.

Especially pay attention to the audio sync near the end of the newly encoded video, a very common problem when the original video has corruption is that the new one will be out of sync.
 
  • Like
Reactions: iceking786

iceking786

Member
Jun 8, 2016
99
12
Seems like it failed to read 149 frames(so about 5 sec) from the original video, likely due to corruption in the wmv, so those will be missing in the output, but those likely don't read properly in the original video either.

Especially pay attention to the audio sync near the end of the newly encoded video, a very common problem when the original video has corruption is that the new one will be out of sync.
Thanks i will check the output file