View previous topic :: View next topic |
Author |
Message |
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Thu Jul 22, 2010 7:54 am Post subject: Mini-HOWTO: WebM support in GStreamer |
|
|
VLC has had WebM support for a while (ffmpeg-0.5_p22846, vlc-1.1.0). This capability is now in GStreamer.
Two steps:
* Version bump from gst-plugins-good-0.10.22 to gst-plugins-good-0.10.23 (bug #329387)
* Version bump from gst-plugins-bad-0.10.18 to gst-plugins-bad-0.10.19 (bug #325171)
To find WebM content on YouTube, add "&webm=1" to the URL for search results (example). I can play such videos in Midori.
Parole-0.2.0.2 (the XFCE media player) doesn't want to play the WebM sample video on my hard disk. However, the following works from the command line:
Code: | gst-launch-0.10 -v filesrc location=sample.webm ! matroskademux name=demuxer demuxer. ! queue ! vp8dec ! xvimagesink fullscreen=1 demuxer. ! queue ! vorbisdec ! audioconvert ! audioresample ! alsasink |
Happy patent-unencumbered viewing! _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Wed Jul 28, 2010 2:13 pm Post subject: |
|
|
Uzytkownik wrote: | Code: | WARNING: erroneous pipeline: no element "vp8dec" |
|
Do you have gst-plugins-bad-0.10.19 installed? This provides the vp8dec element, in the file
Code: | /usr/lib/gstreamer-0.10/libgstvp8.so |
_________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
Uzytkownik Guru
Joined: 31 Oct 2004 Posts: 399 Location: Bay Area, US
|
Posted: Wed Jul 28, 2010 2:15 pm Post subject: |
|
|
Hypnos wrote: | Uzytkownik wrote: | Code: | WARNING: erroneous pipeline: no element "vp8dec" |
|
Do you have gst-plugins-bad-0.10.19 installed? This provides the vp8dec element, in the file
Code: | /usr/lib/gstreamer-0.10/libgstvp8.so |
|
I thought I had. However I put files in /usr/local/portage/media-libs/media-libs/ instead of /usr/local/portage/media-libs. _________________ I've probably left my head... somwhere. Please wait untill I find it. |
|
Back to top |
|
|
Progman3K l33t
Joined: 03 Jan 2004 Posts: 773
|
Posted: Fri Sep 24, 2010 8:54 pm Post subject: |
|
|
I have the required versions of the libs installed but when I open a webm video with Movie Player, I get
Quote: | The playback of this movie requires a video/x-vp8 decoder plugin which is not installed. |
Code: | emerge -pvD gst-plugins-good gst-plugins-bad
[...]
[ebuild R ] media-libs/gst-plugins-good-0.10.23 USE="-debug" 2,815 kB
[ebuild R ] media-libs/gst-plugins-bad-0.10.19 USE="-debug" 2,939 kB
|
I have ogg in my USE flags... Is there some other flag I am missing? |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
|
Back to top |
|
|
Progman3K l33t
Joined: 03 Jan 2004 Posts: 773
|
Posted: Sat Sep 25, 2010 2:05 pm Post subject: |
|
|
Hypnos wrote: | Install gst-plugins-vp8 ? |
D'oh!
Yup, that would be the way.
But I don't understand why I have to manually do that, I thought that the USE flags would cause that to get pulled in...
Thanks for your help, Hypnos! |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Sat Sep 25, 2010 2:13 pm Post subject: |
|
|
In principle, the USE flags applied to this or that media player (e.g., totem) should pull in the necessary gstreamer plugins, but not every possible USE flag is in the ebuild. For example, I have to install gst-plugins-soup manually to be able to listen to HTTP streams with totem or parole. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
|