Change Video Playback from xine to gstreamer

From Miro User Documentation

Jump to: navigation, search

PAGE NOT COMPLETE - If you want to make these changes then check out this forum topic first here: Miro Forums topic 220

Contents

Introduction

The default video playback engine that Miro uses for the Linux version is Xine. Xine is a free (gpl-licensed) high-performance, portable and reusable multimedia playback engine(1)]. GStreamer is a library that allows the construction of graphs of media-handling components, ranging from simple Ogg/Vorbis playback to complex audio (mixing) and video (non-linear editing) processing.(2).

Why Change?

Here are some of the reasons why a user would want to change from xine to gstreamer:

  • There are some videos that cause xine to crash, and presently when xine crashes so does Miro. Then the only way to get Miro to launch again is to delete the video that is causing xine to crash.

Known issues with Change

Here are some of the issues that you will face once you make this change:

  • Length of videos will not be displayed in Miro
  • Thumbnails of videos will not be displayed in Miro

Making the Changes on Version 1.2 and Newer

As of version 1.2 the switching between gstreamer and xine for the video rendering can be done through the graphical Miro preferences.

To change simply click: Video --> Options --> Playback tab. Then select either gstreamer or xine as the renderer to play videos. Then close and restart Miro for the changes to take effect.

Making the Changes on Older Versions

  • Open gconf-editor
  • open /apps/miro
  • Add a list key named "renderers" and set it to ["gstrenderer"]

If this doesn't work

  • sudo vi /usr/share/python-support/miro/miro/frontend_implementation/VideoDisplay.py
 change
           self.add_renderer("xinerenderer")
           #self.add_renderer("gstrenderer")
 to 
           #self.add_renderer("xinerenderer")
           self.add_renderer("gstrenderer")
Personal tools