Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/c/69.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C 无法获取Gstreamer1.0插件/功能_C_Gstreamer_Multimedia - Fatal编程技术网

C 无法获取Gstreamer1.0插件/功能

C 无法获取Gstreamer1.0插件/功能,c,gstreamer,multimedia,C,Gstreamer,Multimedia,我在使用gstreamer1.0时遇到问题 gst-launch-1.0 filesrc location=test.mp3 ! mad ! autoaudiosink ERROR: pipeline could not be constructed: no element "filesrc". 这是gst inspect提供的 $gst-inspect-1.0 staticelements: bin: Generic bin staticelements: pip

我在使用gstreamer1.0时遇到问题

  gst-launch-1.0 filesrc location=test.mp3 ! mad ! autoaudiosink

  ERROR: pipeline could not be constructed: no element "filesrc".
这是gst inspect提供的

  $gst-inspect-1.0 
  staticelements:  bin: Generic bin
  staticelements:  pipeline: Pipeline object

 Total count: 1 plugin, 2 features
我尝试用以下命令重新安装

 sudo apt-get install --reinstall gstreamer1.0-alsa gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-pulseaudio libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0 libgstreamer1.0-0
但这没什么帮助


我遗漏了什么…

您有多个版本的gstreamer吗?你以前有没有用gstreamer进行过黑客攻击?尝试定位gstreamer注册表-运行
定位注册表.dat
-它应该位于目录gstreamer中的某个位置-然后删除此文件并运行gst-inspect-1.0,如果出现任何错误,它将向您发出一些警告。。还可以尝试使用
gst-inspect-1.0-b
显示黑名单插件,还可以检查环境变量gst\u PLUGIN\u PATH是否设置为奇怪的值。