Miro on FreeBSD 7.0
On my machine Miro 1.1 causes a segmentation fault when trying to play a video. While searching the net I found some forum threads dealing with this issue. The solution was to change the renderer vom gstreamer to xine.
What a pity: xine is the default renderer currently. I just tried the opposite way and changed the renderer to gstreamer and voila: Video! But no sound...
It turned out that a few gstreamer-plugins were missing, namely gstreamer-plugins-faad which contains a decoder for AAC. I just installed multimedia/gstreamer-plugins-all to take care of any other possible issue related to missing plugins.
To change the renderer used by Miro, edit /usr/local/lib/python2.5/site-packages/miro/frontend_implementation/VideoDisplay.py
Locate the following block:
Change to suite your needs...
PS: I upgraded from FreeBSD 6.3 to 7.0 without removing all ports, which seems to be the recommended way. Instead I did a portupgrade -afk --batch to update everything automatically. So it's possible that the segfault I encountered is just the result of a port that hasn't been rebuilt successfully.
PPS: Make sure to remove VideoDisplay.pyc and VideoDisplay.pyo after you edited VideoDisplay.py and start miro as root.
What a pity: xine is the default renderer currently. I just tried the opposite way and changed the renderer to gstreamer and voila: Video! But no sound...
It turned out that a few gstreamer-plugins were missing, namely gstreamer-plugins-faad which contains a decoder for AAC. I just installed multimedia/gstreamer-plugins-all to take care of any other possible issue related to missing plugins.
To change the renderer used by Miro, edit /usr/local/lib/python2.5/site-packages/miro/frontend_implementation/VideoDisplay.py
Locate the following block:
if values == None:
# using both renderers at once still sometimes causes problems
#self.add_renderer("xinerenderer")
self.add_renderer("gstrenderer")
else:
Change to suite your needs...
PS: I upgraded from FreeBSD 6.3 to 7.0 without removing all ports, which seems to be the recommended way. Instead I did a portupgrade -afk --batch to update everything automatically. So it's possible that the segfault I encountered is just the result of a port that hasn't been rebuilt successfully.
PPS: Make sure to remove VideoDisplay.pyc and VideoDisplay.pyo after you edited VideoDisplay.py and start miro as root.
cptsalek - 26. Jan, 23:52