Error with Subtitling Preview

Hello Paul,

i followed the webinar, downloaded the plug-in and followed the steps listed. I do see the new file type and the Subtitling Preview option in the control pannel from the Editor view. However, when I clic on it, I have the error (see capture). I use a simple srt file. Is there something I am doing wrong?

Thank you

Valérie

Parents
  • Hi @Valérie

    I also had that once. I had to close down Studio, open it again and delete the source file that the video was associated with. In my case it had to do with how the video was encoded I think. I did not have to reset anything.

    Daniel

    EDIT: I looked this up in my log and I actually had a different error occur with a .wmv file:

    Error dialog box in SDL Trados Studio with message: Unable to return a TimeSpan property value for a Duration value of 'Automatic'. Check the HasTimeSpan property before requesting the TimeSpan property value from a Duration.

    I tried hard to reproduce it now, but did not manage. Here's my stacktrace:

    <SDLErrorDetails time="03-May-19 08:06:42">
      <ErrorMessage>Unable to return a TimeSpan property value for a Duration value of 'Automatic'. Check the HasTimeSpan property before requesting the TimeSpan property value from a Duration.</ErrorMessage>
      <Exception>
        <Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>PresentationCore</Source>
        <HResult>-2146233079</HResult>
        <StackTrace><![CDATA[   at System.Windows.Duration.get_TimeSpan()
       at StudioSubtitling.View.MediaElementView.MediaElement_OnMediaOpened(Object sender, RoutedEventArgs e)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
       at System.Windows.Controls.AVElementHelper.OnMediaOpened(Object sender, EventArgs args)
       at System.Windows.Media.UniqueEventHelper.InvokeEvents(Object sender, EventArgs args)
       at System.Windows.Media.MediaPlayerState.OnMediaOpened(Object sender, EventArgs args)
       at System.Windows.Media.UniqueEventHelper.InvokeEvents(Object sender, EventArgs args)
       at System.Windows.Media.MediaEventsHelper.OnMediaPrerolled(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
       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 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at Sdl.Desktop.Platform.Implementation.Studio.Run()
       at Sdl.TranslationStudio.Application.ApplicationStartup.RunApplication()
       at Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>15.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>15.1.2.48878</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Enterprise</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>danielhug</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>ABCD</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>12581868 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 10:50 AM (GMT 0) on 4 Mar 2024]
  • Hi

    I don't think this is related at all.  Can you reproduce this with your files and if you can are you able to share them with me?

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Sorry, but I can't reproduce this. This might have been fixed in an update or I just can't get the same video file parameters again - as you know there are tons... I'll get back to this if it pops up naturally again.

    Daniel

Reply Children
No Data