System.OverflowException

Jun 1, 2014 at 10:57 PM
Edited Jun 1, 2014 at 11:04 PM
Hi, I'm getting the follow error log when trying to convert a 1080p flac mkv video file. I'm on win7 x64 unsing the latest vidcoder beta version:

System.OverflowException: TimeSpan overflowed because the duration is too long.
at System.TimeSpan.Interval(Double value, Int32 scale)
at VidCoder.ViewModel.Components.ProcessingViewModel.OnEncodeProgress(Object sender, EncodeProgressEventArgs e) in d:\docs\projects\VidCoder\VidCoder\ViewModel\Components\ProcessingViewModel.cs:line 1469
at VidCoder.RemoteEncodeProxy.<>c__DisplayClass1c.<OnEncodeProgress>b__1b() in d:\docs\projects\VidCoder\VidCoder\Services\EncodeProxy\RemoteEncodeProxy.cs:line 306
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Coordinator
Jun 2, 2014 at 3:12 AM
Thanks for the report. I'll look into it.
Jun 2, 2014 at 4:02 PM
I found the following in the logs folder if it might help:

VidCoder 1.5.22.0 (x86)

Starting job 1/1

Path: C:\Users\zub\Downloads[CMS] The World God Only Knows II [BD][1080p-FLAC][CMS] The World God Only Knows II - 01.mkv

Title: 1

Range: All

Worker ready: Service state is Opened on pipe VidCoderWorker.9affb263-8b93-47c1-bc29-818098a810f5

Connecting to process 5520 on pipe VidCoderWorker.9affb263-8b93-47c1-bc29-818098a810f5

[23:40:40] hb_init: starting libhb thread
[23:40:40] CPU: Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz
[23:40:40] - Intel microarchitecture Sandy Bridge
[23:40:40] - logical processor count: 4
[23:40:40] OpenCL: library not available
[23:40:40] Intel Quick Sync Video support: no
[23:40:40] hb_scan: path=C:\Users\zub\Downloads[CMS] The World God Only Knows II [BD][1080p-FLAC][CMS] The World God Only Knows II - 01.mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\zub\Downloads[CMS] The World God Only Knows II [BD][1080p-FLAC][CMS] The World God Only Knows II - 01.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\zub\Downloads[CMS] The World God Only Knows II [BD][1080p-FLAC][CMS] The World God Only Knows II - 01.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(C:\Users\zub\Downloads[CMS] The World God Only Knows II [BD][1080p-FLAC][CMS] The World God Only Knows II - 01.mkv) failed
[23:40:40] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.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
[23:40:40] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Users\zub\Downloads[CMS] The World God Only Knows II [BD][1080p-FLAC][CMS] The World God Only Knows II - 01.mkv':
Duration: 00:23:38.75, start: 0.000000, bitrate: 4190 kb/s
Chapter #0.0: start 0.000000, end 0.000000
Metadata:
  title           : Part A
Chapter #0.1: start 94.011000, end 0.000000
Metadata:
  title           : Opening
Chapter #0.2: start 183.975000, end 0.000000
Metadata:
  title           : Part B
Chapter #0.3: start 645.937000, end 0.000000
Metadata:
  title           : Part C
Chapter #0.4: start 1311.544000, end 0.000000
Metadata:
  title           : Ending
Chapter #0.5: start 1401.650000, end 0.000000
Metadata:
  title           : Preview
Stream #0.0(jpn): Video: h264 (High 10), yuv420p10le, 1920x1080, PAR 1:1 DAR 16:9, 23.98 fps, 1k tbn, 47.95 tbc (default)
Stream #0.1(jpn): Audio: flac, 48000 Hz, stereo, s16 (default)
Stream #0.2(eng): Subtitle: ass (default)
Stream #0.3: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : Andyb.TTF
  mimetype        : application/x-truetype-font
Stream #0.4: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : arial.ttf
  mimetype        : application/x-truetype-font
Stream #0.5: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : ARLRDBD.TTF
  mimetype        : application/x-truetype-font
Stream #0.6: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : ASTRONAU.TTF
  mimetype        : application/x-truetype-font
Stream #0.7: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : BADABB_.TTF
  mimetype        : application/x-truetype-font
Stream #0.8: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : BD_Cartoon_Shout.ttf
  mimetype        : application/x-truetype-font
Stream #0.9: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : Blazed.ttf
  mimetype        : application/x-truetype-font
Stream #0.10: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : boopee_bold.ttf
  mimetype        : application/x-truetype-font
Stream #0.11: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : boopee_regular.ttf
  mimetype        : application/x-truetype-font
Stream #0.12: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : Bubblegum.ttf
  mimetype        : application/x-truetype-font
Stream #0.13: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : BurstMyBubble.ttf
  mimetype        : application/x-truetype-font
Stream #0.14: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : DanteMTStd-Bold.otf
  mimetype        : application/x-truetype-font
Stream #0.15: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : edosz.ttf
  mimetype        : application/x-truetype-font
Stream #0.16: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : English.ttf
  mimetype        : application/x-truetype-font
Stream #0.17: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : FONTSHUI.TTF
  mimetype        : application/x-truetype-font
Stream #0.18: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : GillSansStd.otf
  mimetype        : application/x-truetype-font
Stream #0.19: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : GillSansStd-Bold.otf
  mimetype        : application/x-truetype-font
Stream #0.20: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : PIE4MAP.TTF
  mimetype        : application/x-truetype-font
Stream #0.21: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : pixelmix.ttf
  mimetype        : application/x-truetype-font
Stream #0.22: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : SLNTHLC.TTF
  mimetype        : application/x-truetype-font
Stream #0.23: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : starthings.ttf
  mimetype        : application/x-truetype-font
Stream #0.24: Attachment: [0][0][0][0] / 0x0000
Metadata:
  filename        : TWINPINE.ttf
  mimetype        : application/x-truetype-font
[23:40:40] scan: decoding previews for title 1
[23:40:40] scan: audio 0x1: flac, rate=48000Hz, bitrate=1 Japanese (FLAC) (2.0 ch)
[23:40:41] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[23:40:41] libhb: scan thread found 1 valid title(s)
[23:40:42] 1 job(s) to process
[23:40:42] starting job
[23:40:42] work: sanitizing track 1 mixdown Dolby Pro Logic II to Stereo
[23:40:42] sync: expecting 0 video frames
[23:40:42] job configuration:
[23:40:42] * source
[23:40:42] + C:\Users\zub\Downloads[CMS] The World God Only Knows II [BD][1080p-FLAC][CMS] The World God Only Knows II - 01.mkv
[23:40:42] + title 1, chapter(s) 1 to 6
[23:40:42] + container: matroska,webm
[23:40:42] + data rate: 4190 kbps
[23:40:42] * destination
[23:40:42] + C:\Users\zub\Downloads\hobbit[CMS] The World God Only Knows II - 01.mkv
[23:40:42] + container: Matroska (libavformat)
[23:40:42] * video track
[23:40:42] + decoder: h264
[23:40:42] + filters
[23:40:42] + Framerate Shaper (0:27000000:1126125)
[23:40:42] + frame rate: same as source (around 23.976 fps)
[23:40:42] + Crop and Scale (1920:1080:0:0:0:0)
[23:40:42] + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[23:40:42] + loose anamorphic
[23:40:42] + storage dimensions: 1920 * 1080, mod 2
[23:40:42] + pixel aspect ratio: 1 / 1
[23:40:42] + display dimensions: 1920 * 1080
[23:40:42] + encoder: H.264 (libx264)
[23:40:42] + preset: veryfast
[23:40:42] + profile: main
[23:40:42] + level: 4.0
[23:40:42] + quality: 20.00 (RF)
[23:40:42] * subtitle track 1, English (track 2, id 0x2) Text [SSA] -> Passthrough, Default
[23:40:42] * audio track 1
[23:40:42] + decoder: Japanese (FLAC) (2.0 ch) (track 2, id 0x1)
[23:40:42] + samplerate: 48000 Hz
[23:40:42] + mixdown: Stereo
[23:40:42] + encoder: AAC (libavcodec)
[23:40:42] + bitrate: 160 kbps, samplerate: 48000 Hz
[23:40:42] reader: first SCR 0 id 0x0 DTS 0
[23:40:42] encx264: min-keyint: 24, keyint: 240
[23:40:42] encx264: encoding at constant RF 20.000000
[23:40:42] 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
x264 [info]: profile Main, level 4.0
[23:40:42] h264: "Preview" (6) at frame 12 time 15030

Worker process exited unexpectedly with code 1. This may be due to a HandBrake engine crash.

Encode failed.

Job completed (Elapsed Time: 20s)

Coordinator
Jun 11, 2014 at 6:33 AM
Fixed in 1.5.23 Beta.