当前位置:  技术问答>linux和unix

ubuntu10.10 gstreamer缺少插件问题

    来源: 互联网  发布时间:2016-11-19

    本文导语:  安装了gstreamer 以及plugins所有包,测试用的。以前装了mplayer,装完后gstreamer不能播放任何视频和音频,提示缺少插件,接着phythmbox也不能用了,也是提示gstreamer缺少插件,在网上看得解码器积累的都装了,还是不能...

安装了gstreamer 以及plugins所有包,测试用的。以前装了mplayer,装完后gstreamer不能播放任何视频和音频,提示缺少插件,接着phythmbox也不能用了,也是提示gstreamer缺少插件,在网上看得解码器积累的都装了,还是不能,大牛帮着解答一下吧

提示信息:
pop@pop-HP:~$ gst-launch playbin2 uri=file:///tmp/1.mp3 -v
设置暂停管道 ...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: download = FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "file:///tmp/1.mp3"
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: use-buffering = FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: source = (GstFileSrc) source
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = application/x-id3
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstID3Demux:id3demux0.GstPad:sink: caps = application/x-id3
管道正在 PREROLLING ...
警告:来自组件 /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0:找不到‘audio/mpeg, mpegversion=(int)1, layer=(int)3’类型可用的解码器。
额外的调试信息:
gsturidecodebin.c(756): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0
错误:来自组件 /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20:您的 GStreamer 安装缺少插件。
额外的调试信息:
gstdecodebin2.c(3135): gst_decode_bin_expose (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20:
no suitable plugins found
错误: 管道不需要 preroll.
设置 NULL 管道 ...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstID3Demux:id3demux0.GstPad:src: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstID3Demux:id3demux0.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = NULL
释放管道资源 ...


|
如果我是你,我会做如下事情:
gst-inspect | grep audio
然后看看有没有mpeg或者mp3相关的,如果没有,可以确定是没有装plugin。
既然你说都装了,不会装错位置了吧……configure的时候有没有加--prefix=/usr?你可以去/usr/local/lib/下面看看是不是装错地方了。
如果都没有,证明你确实没有装plugin,去官网上下载吧。具体下什么包,1楼仁兄说的很对去:看看gstreamer官网提供的各个插件说明,bad干啥,good干啥,ffmeg干啥的。你说是按照网上步骤装的,这样解决不了问题的,还是了解一下吧,缺什么装什么就行。
知道你装好 可以inspect到,那么就可以正常播放啦。

|
去看看gstreamer官网提供的各个插件说明,bad干啥,good干啥,ffmeg干啥的,看看都装完了么

|
http://blog.csdn.net/deng529828/archive/2011/01/17/6146690.aspx

    
 
 
 
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • Ubuntu 12.04长期支持版和最新版Ubuntu 13.10下载
  • vmware里装了Ubuntu后Ubuntu.vmdk文件大小和Ubuntu系统大小区别?
  • Ubuntu查看系统信息命令介绍
  • win7与Ubuntu双系统卸载ubuntu
  • Docker官方镜像将会使用Alpine Linux替换Ubuntu
  • 装ubuntu的时候选安装ubuntu与win7共存与选其他选项
  • Ubuntu查看硬盘,分区相关命令介绍
  • winxp+ubuntu32+ubuntu64是否可以这样装系统?
  • Ubuntu系统安装及升级命令
  • ubuntu能安装rpm包吗&&ubuntu的intel 945显卡驱动
  • Ubuntu Precise 12.04 (LTS) (64-bit)下面安装docker
  • 在win7下装ubuntu成功后进不去ubuntu!!??
  • Ubuntu Raring 13.04 和 Saucy 13.10 (64 bit)下面安装docker
  • 原来已安装好ubuntu,因系统崩溃,重装WINXP系统,如何再次登录ubuntu系统?
  • Ubuntu Trusty 14.04 (LTS) 下面安装docker及依赖关系检查
  • ubuntu10.10 和 ubuntu 10.04.1
  • Ubuntu Vivid 15.04 下面安装docker的详细步骤
  • Ubuntu 中的 ubuntu one 算不算的上云?
  • ubuntu系统中软件安装、卸载以及查询是否已经安装某个软件包的方法
  • 安装ubuntu11.04时,过了ubuntu的logo花屏,怎么解决
  • Ubuntu查看内存,进程相关命令介绍
  • 我想根据ubuntu官网上介绍的方法安装ubuntu,是否应该先分一块硬盘空间?


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,,E-mail:www_#163.com(请将#改为@)

    浙ICP备11055608号-3