HandBrake doesn't finish encoding while it reports 100,00% done
Posted: Tue Oct 13, 2015 12:26 pm
Please describe the problem in as much detail as possible:
When converting *.wtv-files (TV-recordings made by Windows Media Center) in a queue, sometimes HandBrake will hang at the end of a file. While the program reports the file was encoded 100,00%, it will not advance to the next job in the queue. I've had this problem a few times before, and even when letting the system sit for days it will not actually finish.
The only way to have the queue advance is by removing the job from the queue. The resulting file will usually play just fine.
What are the steps to reproduce this problem:
Add a bunch of *.wtv-files to the queue, and use these settings to transcode them. (It still happens when using different settings, but you'd want to be able rule out things, right?)
I usually transcode anywhere between 2 and 40 files at a time.
The file I'm trying to transcode can be downloaded here. Careful: it's about 3,5 GB.
What version of HandBrake you are running:
The About-pane reports "0.10.2.7286 - 64bit Version". There are no updates available.
What operating system and version and you running (e.g. OSX 10.11, Windows 7, Ubuntu 14):
Windows 7 Home Premium 64-bit + SP1
Please include the scan or encode log:
When converting *.wtv-files (TV-recordings made by Windows Media Center) in a queue, sometimes HandBrake will hang at the end of a file. While the program reports the file was encoded 100,00%, it will not advance to the next job in the queue. I've had this problem a few times before, and even when letting the system sit for days it will not actually finish.
The only way to have the queue advance is by removing the job from the queue. The resulting file will usually play just fine.
What are the steps to reproduce this problem:
Add a bunch of *.wtv-files to the queue, and use these settings to transcode them. (It still happens when using different settings, but you'd want to be able rule out things, right?)
I usually transcode anywhere between 2 and 40 files at a time.
The file I'm trying to transcode can be downloaded here. Careful: it's about 3,5 GB.
What version of HandBrake you are running:
The About-pane reports "0.10.2.7286 - 64bit Version". There are no updates available.
What operating system and version and you running (e.g. OSX 10.11, Windows 7, Ubuntu 14):
Windows 7 Home Premium 64-bit + SP1
Please include the scan or encode log:
Code: Select all
HandBrake 0.10.2.7286 - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz
Ram: 3063 MB,
GPU Information:
LogMeIn Mirror Driver - 7.1.542.0
Intel(R) G965 Express Chipset Family - 8.15.10.1930
VNC Mirror Driver - 1.8.0.0
Screen: 1600x900
Temp Dir: C:\Users\Daan Berg\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Daan Berg\AppData\Roaming\HandBrake\HandBrake\0.10.2.7286
-------------------------------------------
CLI Query: -i "E:\Batch 20151010\Airplane Repo_Discovery Channel_2015_10_08_02_25_00.wtv" -t 5 --angle 1 -c 1 -o "D:\Video\Series\Reality\Airplane Repo\Airplane Repo Discovery Channel 2015 10 08 02 25 00-5.m4v" -f mp4 --detelecine --decomb --nlmeans="strong" -w 720 --crop 66:72:10:16 --loose-anamorphic --modulus 16 -e x264 -q 12 --cfr -a 1 -E av_aac -6 dpl2 -R Auto -B 160 -D 0 --gain 0 --audio-fallback ac3 --markers="C:\Users\Daan Berg\AppData\Local\Temp\Airplane Repo Discovery Channel 2015 10 08 02 25 00-5-5-chapters.csv" --encoder-preset=veryfast --encoder-level="4.0" --encoder-profile=main --verbose=1
[23:02:26] hb_init: starting libhb thread
HandBrake 0.10.2 (2015060900) - MinGW x86_64 - https://handbrake.fr
4 CPUs detected
Opening E:\Batch 20151010\Airplane Repo_Discovery Channel_2015_10_08_02_25_00.wtv...
[23:02:26] CPU: Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz
[23:02:26] - logical processor count: 4
[23:02:26] OpenCL: library not available
[23:02:26] Intel Quick Sync Video support: no
[23:02:26] hb_scan: path=E:\Batch 20151010\Airplane Repo_Discovery Channel_2015_10_08_02_25_00.wtv, title_index=5
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening E:\Batch 20151010\Airplane Repo_Discovery Channel_2015_10_08_02_25_00.wtv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening E:\Batch 20151010\Airplane Repo_Discovery Channel_2015_10_08_02_25_00.wtv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(E:\Batch 20151010\Airplane Repo_Discovery Channel_2015_10_08_02_25_00.wtv) failed
[23:02:26] 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
[23:02:27] dvd: not a dvd - trying as a stream/file instead
[mpeg2video @ 000000000209ab40] Invalid frame dimensions 0x0.
Input #0, wtv, from 'E:\Batch 20151010\Airplane Repo_Discovery Channel_2015_10_08_02_25_00.wtv':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
Title : Airplane Repo
WM/SubTitleDescription: Nick Popovich en zijn team speuren vanaf diverse locaties in de VS naar miljoenen kostende vliegtuigen om ze terug te vorderen wegens het niet nakomen van betalingsverplichtingen.
genre : Documentaire;Varia
WM/OriginalReleaseTime: 0
WM/MediaCredits : ;;;
service_provider: Discovery Channel
service_name : Discovery Channel
WM/MediaOriginalChannel: 94
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
WM/MediaOriginalRunTime: 41927167969
WM/MediaIsStereo: false
WM/MediaIsRepeat: false
WM/MediaIsLive : false
WM/MediaIsTape : false
WM/MediaIsDelay : false
WM/MediaIsSubtitled: false
WM/MediaIsMovie : false
WM/MediaIsPremiere: false
WM/MediaIsFinale: false
WM/MediaIsSAP : false
WM/MediaIsSport : false
WM/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: false
WM/WMRVEncodeTime: 2015-10-08 00:25:07
WM/WMRVSeriesUID: !GenericSeries!Airplane Repo
WM/WMRVServiceID: !MCService!750743
WM/WMRVProgramID: !MCProgram!26087147
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 3
WM/WMRVOriginalSoftPrePadding: 900
WM/WMRVOriginalSoftPostPadding: 900
WM/WMRVHardPrePadding: -300
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: false
WM/WMRVDTVContent: false
WM/WMRVHDContent: false
Duration : 41941962890
WM/WMRVEndTime : 2015-10-08 01:35:01
WM/WMRVBitrate : 7.170184
WM/WMRVKeepUntil: 0
WM/WMRVActualSoftPrePadding: 892
WM/WMRVActualSoftPostPadding: 901
WM/WMRVContentProtected: false
WM/WMRVContentProtectedPercent: 0
WM/WMRVExpirationDate:
WM/WMRVExpirationSpan: 9223372036854775807
WM/WMRVInBandRatingSystem: 255
WM/WMRVInBandRatingLevel: 255
WM/WMRVInBandRatingAttributes: 0
WM/WMRVWatched : false
WM/MediaThumbWidth: 352
WM/MediaThumbHeight: 281
WM/MediaThumbStride: 1056
WM/MediaThumbRet: 0
WM/MediaThumbRatingSystem: 255
WM/MediaThumbRatingLevel: 255
WM/MediaThumbRatingAttributes: 0
WM/MediaThumbAspectRatioX: 4
WM/MediaThumbAspectRatioY: 3
WM/MediaThumbTimeStamp: 4650604816571236091
Duration: 01:09:51.75, start: 3.099641, bitrate: 7174 kb/s
Stream #0.0[0x1a3]: Subtitle: [0][0][0][0] / 0x0000
Stream #0.1[0x1a4]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 16:15 DAR 4:3], 7500 kb/s, 25 fps, 10000k tbn, 59.94 tbc
Stream #0.2[0x1a5]: Audio: mp2, 32000 Hz, stereo, s16p, 256 kb/s
[23:02:27] add_ffmpeg_subtitle: unknown subtitle stream type: 0x17007
[23:02:27] dxva2:DxFindVideoServiceConversion failed
[23:02:27] scan: decoding previews for title 1
Scanning title 1 of 1, preview 1, 0.00 %[mpeg2video @ 000000000203f840] Invalid frame dimensions 0x0.
[23:02:28] scan: audio 0x2: mp2, rate=32000Hz, bitrate=256000 Unknown (MPEG) (2.0 ch)
Scanning title 1 of 1, preview 7, 70.00 %[23:02:28] scan: 10 previews, 720x576, 25.000 fps, autocrop = 66/72/10/16, aspect 4:3, PAR 16:15
[23:02:28] libhb: scan thread found 1 valid title(s)
+ title 1:
+ stream: E:\Batch 20151010\Airplane Repo_Discovery Channel_2015_10_08_02_25_00.wtv
+ duration: 01:09:51
+ size: 720x576, pixel aspect: 16/15, display aspect: 1.33, 25.000 fps
+ autocrop: 66/72/10/16
+ support opencl: no
+ support hwd: no
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 01:09:51
+ audio tracks:
+ 1, Unknown (MPEG) (2.0 ch) (iso639-2: und)
+ subtitle tracks:
Reading chapter markers from file C:\Users\Daan Berg\AppData\Local\Temp\Airplane Repo Discovery Channel 2015 10 08 02 25 00-5-5-chapters.csv
[23:02:28] 1 job(s) to process
[23:02:28] starting job
[23:02:28] yadif thread started for segment 2
[23:02:28] yadif thread started for segment 1
[23:02:28] yadif thread started for segment 0
[23:02:28] yadif thread started for segment 3
[23:02:28] decomb filter thread started for segment 1
[23:02:28] decomb filter thread started for segment 0
[23:02:28] decomb filter thread started for segment 2
[23:02:28] decomb filter thread started for segment 3
[23:02:28] decomb check thread started for segment 0
[23:02:28] decomb check thread started for segment 1
[23:02:28] decomb check thread started for segment 2
[23:02:28] decomb check thread started for segment 3
[23:02:28] mask filter thread started for segment 2
[23:02:28] mask filter thread started for segment 1
[23:02:28] mask erode thread started for segment 1
[23:02:28] mask filter thread started for segment 3
[23:02:28] mask filter thread started for segment 0
[23:02:28] mask erode thread started for segment 0
[23:02:28] mask dilate thread started for segment 0
[23:02:28] mask erode thread started for segment 3
[23:02:28] mask dilate thread started for segment 1
[23:02:28] mask dilate thread started for segment 3
[23:02:28] mask erode thread started for segment 2
[23:02:28] mask dilate thread started for segment 2
[23:02:28] NLMeans Denoise thread started for segment 0
[23:02:28] NLMeans Denoise thread started for segment 1
[23:02:28] NLMeans Denoise thread started for segment 2
[23:02:28] NLMeans Denoise thread started for segment 3
[23:02:28] work: sanitizing track 1 mixdown Dolby Pro Logic II to Stereo
[23:02:28] sync: expecting 104793 video frames
[23:02:28] work: only 1 chapter, disabling chapter markers
[23:02:28] job configuration:
[23:02:28] * source
[23:02:28] + E:\Batch 20151010\Airplane Repo_Discovery Channel_2015_10_08_02_25_00.wtv
[23:02:28] + title 1, chapter(s) 1 to 1
[23:02:28] + container: wtv
[23:02:28] + data rate: 7174 kbps
[23:02:28] * destination
[23:02:28] + D:\Video\Series\Reality\Airplane Repo\Airplane Repo Discovery Channel 2015 10 08 02 25 00-5.m4v
[23:02:28] + container: MPEG-4 (libavformat)
[23:02:28] * video track
[23:02:28] + decoder: mpeg2video
[23:02:28] + bitrate 7500 kbps
[23:02:28] + filters
[23:02:28] + Detelecine (pullup) (default settings)
[23:02:28] + Decomb (default settings)
[23:02:28] + Framerate Shaper (1:27000000:1080000)
[23:02:28] + frame rate: 25.000 fps -> constant 25.000 fps
[23:02:28] + Denoise (nlmeans) (10.000000:1.000000:7:3:2:0:10.000000:1.000000:7:3:2:0)
[23:02:28] + Crop and Scale (720:464:66:72:10:16)
[23:02:28] + source: 720 * 576, crop (66/72/10/16): 694 * 438, scale: 720 * 464
[23:02:28] + loose anamorphic
[23:02:28] + storage dimensions: 720 * 464, mod 16
[23:02:28] + pixel aspect ratio: 65535 / 60169
[23:02:28] + display dimensions: 784 * 464
[23:02:28] + encoder: H.264 (libx264)
[23:02:28] + preset: veryfast
[23:02:28] + profile: main
[23:02:28] + level: 4.0
[23:02:28] + quality: 12.00 (RF)
[23:02:28] * audio track 1
[23:02:28] + decoder: Unknown (MPEG) (2.0 ch) (track 1, id 0x2)
[23:02:28] + bitrate: 256 kbps, samplerate: 32000 Hz
[23:02:28] + mixdown: Stereo
[23:02:28] + encoder: AAC (libavcodec)
[23:02:28] + bitrate: 160 kbps, samplerate: 32000 Hz
[mpeg2video @ 00000000043a7a20] Invalid frame dimensions 0x0.
[23:02:28] reader: first SCR 369151 id 0x1 DTS 369151
[23:02:28] encx264: encoding at constant RF 12.000000
[23:02:28] 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=65535/60169
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
x264 [info]: profile Main, level 4.0
[23:02:28] sync: first pts is 7200
[01:07:03] reader: done. 1 scr changes