Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mini-HOWTO: WebM support in GStreamer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Thu Jul 22, 2010 7:54 am    Post subject: Mini-HOWTO: WebM support in GStreamer Reply with quote

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
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Wed Jul 28, 2010 2:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Uzytkownik
Guru
Guru


Joined: 31 Oct 2004
Posts: 399
Location: Bay Area, US

PostPosted: Wed Jul 28, 2010 2:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 773

PostPosted: Fri Sep 24, 2010 8:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Sat Sep 25, 2010 1:57 am    Post subject: Reply with quote

Install gst-plugins-vp8 ?
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 773

PostPosted: Sat Sep 25, 2010 2:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Sat Sep 25, 2010 2:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum