How to enable httpsrc plug-in in my gstreamer?

▼魔方 西西 提交于 2019-12-12 14:17:54

问题


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 !


回答1:


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



来源:https://stackoverflow.com/questions/14261122/how-to-enable-httpsrc-plug-in-in-my-gstreamer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!