Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

DllNotFoundException: gstreamer_playbin

Help
adamax
2010-03-12
2013-04-30
  • adamax
    adamax
    2010-03-12

    Hi! I have built gnome-subtitles from the latest sources (1.0) successfully, but when I try to run mono gnome-subtitles.exe in the terminal I get the following output:

    (gnome-subtitles.exe:20501): GLib-WARNING **: g_set_prgname() called multiple times
    Got 7 languages.

    Unhandled Exception: System.DllNotFoundException: gstreamer_playbin
      at (wrapper managed-to-native) GStreamer.Playbin:gst_binding_init (ulong)
      at GStreamer.Playbin.Initiate (UInt64 x_window_id) 
      at GnomeSubtitles.Ui.VideoPreview.Player.InitializePlaybin () 
      at GnomeSubtitles.Ui.VideoPreview.Player..ctor (Gtk.AspectFrame aspectFrame) 
      at GnomeSubtitles.Ui.VideoPreview.Video.InitializePlayer () 
      at GnomeSubtitles.Ui.VideoPreview.Video..ctor () 
      at GnomeSubtitles.Ui.MainUi..ctor (GnomeSubtitles.Core.EventHandlers handlers, Glade.XML& glade) 
      at GnomeSubtitles.Core.Base.Init (GnomeSubtitles.Execution.ExecutionContext newExecutionContext) 
      at GnomeSubtitles.Core.Base.Run (GnomeSubtitles.Execution.ExecutionContext executionContext) 
      at GnomeSubtitles.Execution.Executable.Main (System.String args) 

    Am I missing some dependency here? Thanks.

     
  • Pedro Castro
    Pedro Castro
    2010-03-15

    HI,

    When building from sources without installing Gnome Subtitles, you need to copy gstreamer_playbin to the build dir.  This should do it:
    $cp src/.libs/libgstreamer_playbin.so build

    I should add this to the docs!

    Regards

     
  • adamax
    adamax
    2010-03-15

    Thanks, it worked!