Jump to content

crash caused by subtitles


techywarrior

Recommended Posts

techywarrior

I'm getting an app crash with some videos that have subtitles. The same files play fine in VLC. In this case the file is MKV with h.264 video, mp4a audio, and ssa subtitle.

Sequence: 83
Date/time: 2014-12-17T07:52:46.2609857+00:00
Level: FATAL
Thread: 3
Logger: Application
------------------------
The application crashed: Invalid WebVTT cue start time
------------------------
System.Exception: Invalid WebVTT cue start time
   at Microsoft.Media.WebVTT.WebVTTParser.ParseDocument(StringReader reader, TimeSpan timeOffset)
   at Microsoft.Media.WebVTT.WebVTTParser.ParseDocument(String content, TimeSpan startTime, TimeSpan endTime)
   at Microsoft.PlayerFramework.WebVTT.WebVTTPlugin.<>c__DisplayClass12.<LoadWebVTTDocument>b__11()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- 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 Microsoft.PlayerFramework.WebVTT.WebVTTPlugin.<LoadWebVTTDocument>d__14.MoveNext()
--- 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 Microsoft.PlayerFramework.WebVTT.WebVTTPlugin.<LoadWebVTT>d__1d.MoveNext()
--- 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 Microsoft.PlayerFramework.WebVTT.WebVTTPlugin.<EnqueueTask>d__2c.MoveNext()
--- 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 Microsoft.PlayerFramework.WebVTT.WebVTTPlugin.<RefreshCaption>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__4(Object state)
   at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore()
------------------------
Session: {"PackageArchitecture":"Neutral","PackageFullName":"436337Illusions.com.MediaBrowser_3.0.6.170_neutral__77hd5e1v1hqs4","PackagePublisher":"CN=CA9FBA89-9B8C-4501-9177-37B89E41D3FF","PackagePublisherId":"77hd5e1v1hqs4","PackageResourceId":"","PackageVersion":"3.0.6.170","InstallationId":"5197ca9f-d5e4-4909-8122-6aca50cd93bb"}

I'm not sure why the app is reporting that the start time is invalid since it works in VLC. And even if it is, shouldn't that be caught and not crash the app?

Link to comment
Share on other sites

7illusions

It's an issue with the player framework and the error can't be caught.

BUT I know what the problem is and will build my own version from source. It will be fixed in next version.

  • Like 1
Link to comment
Share on other sites

techywarrior

Cool.

 

Will that fix some of the other player issues? I also sometimes see that there is a slight stutter in playback (less then half a second) that doesn't happen if I play in VLC or the MS Video app.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...