Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable httpsrc plug-in in my gstreamer?

I've tried to play an mp3 file or stream retrieved via http with the following command

gst-launch httpsrc location=http://domain.com/music.mp3 ! mad ! osssink

but a get the following error

ERREUR : le pipeline n'a pas pu être construit : pas d'élément « httpsrc ».

Which says that the pipeline could not be constructed due to the missing of httpsrc element.

After googling around I did not found how to enable/install httpsrc plug-ins

I've tried

sudo apt-get install gstreamer-httpsrc
sudo apt-get install gstreamer0.10-httpsrc

without success.

I'm using the default gstreamer installation which came with my Ubuntu 12.0.4 distribution.

Do i missing something or Is there any other way to do the same work even witout httpsrc

thanks for any reply !

like image 616
Fopa Léon Constantin Avatar asked Oct 30 '25 16:10

Fopa Léon Constantin


1 Answers

The element you want to use is called souphttpsrc. You can run gst-inspect | grep http to see all installed elements matching http.

like image 72
ensonic Avatar answered Nov 01 '25 06:11

ensonic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!