This project is read-only.
1
Vote

Startup crash - VidCoder-1.5.9-Beta-x64-Portable.exe - Win7 x64 HomePremium SP1

description

Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "VidCoder.Services.IUpdater", name = "(none)".
Exception occurred while: Calling constructor VidCoder.Services.Updater().
Exception is: ResolutionFailedException - Resolution of the dependency failed, type = "VidCoder.Services.ILogger", name = "(none)".
Exception occurred while: Calling constructor VidCoder.Services.Logger().
Exception is: TypeInitializationException - The type initializer for 'HandBrake.Interop.HandBrakeUtils' threw an exception.
-----------------------------------------------
At the time of the exception, the container was:

  Resolving VidCoder.Services.Logger,(none) (mapped from VidCoder.Services.ILogger, (none))
  Calling constructor VidCoder.Services.Logger()

-----------------------------------------------
At the time of the exception, the container was:

  Resolving VidCoder.Services.Updater,(none) (mapped from VidCoder.Services.IUpdater, (none))
  Calling constructor VidCoder.Services.Updater()
 ---> Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "VidCoder.Services.ILogger", name = "(none)".
Exception occurred while: Calling constructor VidCoder.Services.Logger().
Exception is: TypeInitializationException - The type initializer for 'HandBrake.Interop.HandBrakeUtils' threw an exception.
-----------------------------------------------
At the time of the exception, the container was:

  Resolving VidCoder.Services.Logger,(none) (mapped from VidCoder.Services.ILogger, (none))
  Calling constructor VidCoder.Services.Logger()
 ---> System.TypeInitializationException: The type initializer for 'HandBrake.Interop.HandBrakeUtils' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'hb.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at HandBrake.Interop.HbLib.HBFunctions.hb_global_init()
   at HandBrake.Interop.HandBrakeUtils..cctor() in d:\docs\projects\HandBrakeSVN\win\CS\HandBrake.Interop\HandBrakeInterop\HandBrakeUtils.cs:line 64
   --- End of inner exception stack trace ---
   at HandBrake.Interop.HandBrakeUtils.add_MessageLogged(EventHandler`1 value)
   at VidCoder.Services.Logger..ctor(ILogger parent, String baseFileName) in d:\docs\projects\VidCoder\VidCoder\Services\Logger.cs:line 37
   at BuildUp_VidCoder.Services.Logger(IBuilderContext )
   at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
   at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
   at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
   --- End of inner exception stack trace ---
   at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
   at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, String name, IEnumerable`1 resolverOverrides)
   at Microsoft.Practices.Unity.UnityContainerExtensions.Resolve[T](IUnityContainer container, ResolverOverride[] overrides)
   at VidCoder.Services.Updater..ctor() in d:\docs\projects\VidCoder\VidCoder\Services\Updater.cs:line 59
   at BuildUp_VidCoder.Services.Updater(IBuilderContext )
   at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
   at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
   at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
   --- End of inner exception stack trace ---
   at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
   at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, String name, IEnumerable`1 resolverOverrides)
   at Microsoft.Practices.Unity.UnityContainerExtensions.Resolve[T](IUnityContainer container, ResolverOverride[] overrides)
   at VidCoder.App.OnStartup(StartupEventArgs e) in d:\docs\projects\VidCoder\VidCoder\App.xaml.cs:line 122
   at System.Windows.Application.<.ctor>b__1(Object unused)
   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)

file attachments

comments

RandomEngy wrote Oct 23, 2013 at 3:59 PM

You're missing OpenCL.dll, which is causing HandBrake to crash. It might get fixed when I pick up this change: https://trac.handbrake.fr/changeset/5844

allcoder wrote Feb 28, 2014 at 12:48 PM

I'm experiencing the same problem about hb.dll.
Anytime I try to encode a dvd Windows opens the error window and says VidCoder needs to be closed.

allcoder wrote Mar 1, 2014 at 12:13 AM

Also Clone DVD Mobile complained about not being able to deal with the audio stream.
DVD Shrink reduced the dvd disc to half its original size without problems.

VidCoder 1.5.16.0 Beta X64, please check the attached log file.

allcoder wrote Mar 1, 2014 at 12:15 AM

I don't see the attachment so here is the log result:

VidCoder 1.5.16.0 (x64)

Starting job 1/1

Path: K:\

Title: 1

Range: All

Worker ready: Service state is Opened on pipe VidCoderWorker.2ec02e48-691f-4334-a926-41ab672b7a5c

Connecting to process 4660 on pipe VidCoderWorker.2ec02e48-691f-4334-a926-41ab672b7a5c

[10:20:13] hb_init: starting libhb thread
[10:20:13] CPU: Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz
[10:20:13] - logical processor count: 2
[10:20:13] OpenCL device #1: NVIDIA Corporation GeForce GTX 460
[10:20:13] - OpenCL version: 1.1 CUDA
[10:20:13] - driver version: 296.10
[10:20:13] - device type: GPU
[10:20:13] - supported: no
[10:20:13] Intel Quick Sync Video support: no
[10:20:13] hb_scan: path=K:\, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening K:\/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening K:\/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(K:) failed
[10:20:13] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open O:\ for reading
libdvdread: Device O:\ inaccessible, CSS authentication not available.
*** Zero check failed in src/ifo_read.c:572
for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
libdvdnav: Unable to open device file O:.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open O:\ for reading
libdvdread: Device O:\ inaccessible, CSS authentication not available.
*** Zero check failed in src/ifo_read.c:572
for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
[10:20:13] scan: DVD has 9 title(s)
[10:20:13] scan: scanning title 1
[10:20:13] scan: opening IFO for VTS 1
[10:20:13] scan: duration is 01:01:37 (3697120 ms)
[10:20:13] pgc_id: 1, pgn: 1: pgc: 0000000000966960
[10:20:13] scan: vts=1, ttn=1, cells=0->5, blocks=0->1105880, 1105881 blocks
[10:20:13] scan: checking audio 1
[10:20:13] scan: id=0xc0, lang=Italiano (MPEG), 3cc=ita ext=0
[10:20:13] scan: title 1 has 6 chapters
[10:20:13] scan: chap 1 c=0->0, b=0->30508 (30509), 104080 ms
[10:20:13] scan: chap 2 c=1->1, b=30509->524237 (493729), 1648800 ms
[10:20:13] scan: chap 3 c=2->2, b=524238->891880 (367643), 1228800 ms
[10:20:13] scan: chap 4 c=3->3, b=891881->981028 (89148), 298560 ms
[10:20:13] scan: chap 5 c=4->4, b=981029->1038515 (57487), 191520 ms
[10:20:13] scan: chap 6 c=5->5, b=1038516->1105880 (67365), 225360 ms
[10:20:13] scan: aspect = 1.33333
[10:20:13] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[10:20:13] scan: title angle(s) 1
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
[mp2 @ 0000000020ebba00] Header missing
[10:20:13] scan: audio 0xc0: mp2, rate=0Hz, bitrate=200000 Italiano (MPEG) (2.0 ch)
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
[10:20:13] scan: 10 previews, 720x576, 25.000 fps, autocrop = 0/0/8/16, aspect 4:3, PAR 16:15
[10:20:13] libhb: scan thread found 1 valid title(s)
[10:20:13] 1 job(s) to process
[10:20:13] starting job
[10:20:13] do_job: QSV: possible CopyFrame bug, using encode-only path
[10:20:13] Passthru requested and input codec is not the same as output codec for track 2, dropping track
[10:20:13] work: sanitizing track 1 unsupported samplerate 0 Hz to 8 kHz
[10:20:13] work: sanitizing track 1 mixdown Dolby Pro Logic II to Stereo
[10:20:13] sync: expecting 92428 video frames
[10:20:13] job configuration:
[10:20:13] * source
[10:20:13] + O:\
[10:20:13] + title 1, chapter(s) 1 to 6
[10:20:13] * destination
[10:20:13] + U:\Software Arbore.mp4
[10:20:13] + container: MPEG-4 (avformat)
[10:20:13] * video track
[10:20:13] + decoder: mpeg2video
[10:20:13] + bitrate 8000 kbps
[10:20:13] + filters
[10:20:13] + Deinterlace (0)
[10:20:13] + Framerate Shaper (0:27000000:1080000)
[10:20:13] + frame rate: same as source (around 25.000 fps)
[10:20:13] + Crop and Scale (696:576:0:0:8:16)
[10:20:13] + source: 720 * 576, crop (0/0/8/16): 696 * 576, scale: 696 * 576
[10:20:13] + loose anamorphic
[10:20:13] + storage dimensions: 696 * 576, mod 2
[10:20:13] + pixel aspect ratio: 16 / 15
[10:20:13] + display dimensions: 742 * 576
[10:20:13] + encoder: H.264 (x264)
[10:20:13] + x264 preset: medium
[10:20:13] + h264 profile: high
[10:20:13] + h264 level: 4.1
[10:20:13] + quality: 20.00 (RF)
[10:20:13] * audio track 1
[10:20:13] + decoder: Italiano (MPEG) (2.0 ch) (track 1, id 0xc0)
[10:20:13] + bitrate: 200 kbps, samplerate: 0 Hz
[10:20:13] + mixdown: Stereo
[10:20:13] + encoder: AAC (avcodec)
[10:20:13] + bitrate: 64 kbps, samplerate: 8000 Hz
libdvdnav: Using dvdnav version 5.0.0
libdvdread: Encrypted DVD support unavailable.
[10:20:13] Fast Deinterlace thread started for segment 1
[10:20:13] Fast Deinterlace thread started for segment 0
libdvdread: Can't open O:\ for reading
libdvdread: Device O:\ inaccessible, CSS authentication not available.
*** Zero check failed in src/ifo_read.c:572
for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
libdvdnav: Unable to open device file O:.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open O:\ for reading
libdvdread: Device O:\ inaccessible, CSS authentication not available.
*** Zero check failed in src/ifo_read.c:572
for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
[10:20:13] reader: first SCR 146 id 0xe0 DTS 21600
[10:20:13] encx264: encoding at constant RF 20.000000
[10:20:13] encx264: unparsed options: level=4.1:vbv-bufsize=78125:vbv-maxrate=62500
x264 [info]: using SAR=16/15
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
x264 [info]: profile High, level 4.1
[10:20:13] mpeg2video: "Chapter 1" (1) at frame 0 time 3600
[10:20:13] sync: audio 0xc0 src_process failed
[10:20:13] sync: audio 0xc0 src_process failed
[10:20:13] sync: audio 0xc0 src_process failed
[10:20:13] sync: adding 72 ms of silence to audio 0xc0 start 6480, next 0
[10:20:13] sync: first pts is 3600
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***

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

Encode failed.

Job completed (Elapsed Time: 12s)

RandomEngy wrote Mar 3, 2014 at 11:24 PM

It looks like something might be wrong with the source. Did you try this in HandBrake? Or with VC 1.5.17? There is a known crashing bug in hb.dll in 1.5.16.

allcoder wrote Mar 4, 2014 at 9:32 PM

VidCoder 1.5.17 x86: "Encode succeeded but error(s) were reported during the encode".

Internet was switched off so I don't know how could it submit the error, though it would be nice to have this option in the program settings.

By reading the log file this time it doesn't say anything specific.
The source it's a dvd image (from bluray disc) mounted in Daemon Tools.

RandomEngy wrote Mar 4, 2014 at 10:26 PM

Does the file still play? Does HandBrake have the same behavior?

allcoder wrote Mar 7, 2014 at 7:09 AM

The disc image plays although sometimes I could see there are some corrupted frame sequences with problems (less than a second) that Windows Media Player can deal with.