如何在我的gstreamer中启用httpsrc插件? [英] How to enable httpsrc plug-in in my gstreamer?

查看:667
本文介绍了如何在我的gstreamer中启用httpsrc插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用以下命令播放通过http检索的mp3文件或流

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

但是得到以下错误

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

其中说由于缺少 httpsrc而无法构建管道元素。

谷歌搜索后我没有找到如何启用/安装 httpsrc 插件

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

我试过

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

没有成功。

我正在使用我的 Ubuntu 12.0.4 发行版附带的默认gstreamer安装。

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

我是否遗漏了某些东西或是否还有其他办法可以做同样的工作,即使没有 httpsrc

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

感谢您的回复!

推荐答案

您要使用的元素称为souphttpsrc。你可以运行gst-inspect | grep http查看匹配http的所有已安装元素。

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

这篇关于如何在我的gstreamer中启用httpsrc插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆