VLC playback errors out under specified conditions

Issue #950 resolved
Michael Mullins created an issue

Ok, Jason. I'm sure you're well aware of this one as I've been poking at it for more than a couple weeks and I think I've got enough to collate into a full(er) report. I looked for an equivalent report, but didn't find it. I'll add all my supporting information here.

Behavior description:

  • Video playback in BB triggers a "could not find" error only after entering and exiting an emulator.

Version:

  • 6 beta 13, through 6.2

Original error text:

System.IO.FileNotFoundException: Not found: Videos\Super Nintendo (SNES)\Ultima VI - The False Prophet (USA).mp4
File name: 'Videos\Super Nintendo (SNES)\Ultima VI - The False Prophet (USA).mp4'
at Meta.Vlc.Wpf.VlcPlayer.LoadMedia(String path)
at (<>c__DisplayClass4_0 )
at BigBox.Views.ImageVideoView.<>c__DisplayClass4_0.<PlayVlcVideo>b__0()
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback)
at BigBox.Views.ImageVideoView.PlayVlcVideo(String filePath, ChildViewModelBase parentViewModel)
at (ImageVideoViewModel , Object )
at BigBox.ViewModels.ImageVideoViewModel.set_VideoPath(Object value)
at (ImageVideoViewModel , String , String , Transition , ChildViewModelBase )
at BigBox.ViewModels.ImageVideoViewModel.Init(String imagePath, String videoPath, Transition transition, ChildViewModelBase parentViewModel)
at (GamesViewModelBase )
at BigBox.ViewModels.GamesViewModelBase.<selectionChangedTimer_Elapsed>b__99_0()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

Current handling text:

Video could not be played. It may be corrupt or incompatible with VLC

Not found: Videos\Super Nintendo (SNES)\Ultima VI - The False Prophet (USA).mp4

Conditions:

  • Playback set to VLC
  • Video manually associated with game in edit menu, not during import (this appears to be key; all other videos automatically associated with the entry play correctly all the time)
  • Any emulator entered then exited
  • Error triggered only in BigBox mode
  • In Launchbox mode, grey window instead of error. Clicking on different platform then back causes playback to work again.

Further details:

  • Error does not occur when playback set to WMP
  • Error will persist when playback set back to VLC
  • Error will not persist after exiting and entering the frontend
  • To replicate the error after rebooting the frontend, enter and exit an emulator as above.
  • Game file and video are set to Hyperspin database nomenclature
  • Launchbox install directory and rom/data directories are in D:\Games\Emulators\

System information:

  • Windows 10, updated and current
  • Kodi 16.1 used to launch BB, but testing has been done with Kodi not running
  • Several memory resident programs running including: AnyDVDHD, Controller Companion, Keepass 2.x
  • nVidia 660gtx gpu, driver updated and current
  • VLC installed separately, updated and current

Comments (3)

  1. Jason Carr repo owner

    Thank you very much, Michael. I really appreciate the details and effort you've put into helping me with this. This should really help me get this fixed. Hoping to fix it today after I wrap up the image restructuring. Thanks!

  2. Michael Mullins reporter

    No problemo. I think I've finally shot my wad on this one. I can't think of any other reasonably plausible conditions affecting this.

  3. Log in to comment