Ubuntu16.04下,Qt5.6 aml audio无声音

为什么80%的码农都做不了架构师?>>>   hot3.png

参考资料:https://forum.qt.io/topic/67338/qtmultimedia-work-with-gstreamer-1-0

https://sites.google.com/site/easylinuxtipsproject/multimedia 关于 sudo apt-get install ubuntu-restricted-extras 的,但问题依然没解决

控制台显示如下错误:defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

 

执行 $sudo apt install libqt5multimedia5-plugins,故障依然

sudo apt install libgstreamer1.0-0 故障依然

 

安装 $sudo apt install gstreamer0.10-plugins-base 上述错误消失,错误提示在点击播放按钮后提示:

GStreamer; Unable to pause - "http://media.shanbay.com/audio/uk/good.mp3"
GStreamer; Unable to pause - "http://media.shanbay.com/audio/us/good.mp3"
GStreamer; Unable to pause - "http://media.shanbay.com/audio/us/good.mp3"
Error: "No URI handler implemented for \"http\"."
Error: "No URI handler implemented for \"http\"."

 

$sudo apt install gstreamer0.10-plugins-good 后

Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
Warning: "No decoder available for type 'audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)2, layer=(int)3, rate=(int)16000, channels=(int)1, parsed=(boolean)true'."
Error: "Your GStreamer installation is missing a plug-in."
 

$ sudo apt install gstreamer0.10-qapt 

 

QML debugging is enabled. Only use this in a safe environment.

(ShanbayDict:6190): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed

(ShanbayDict:6190): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed

(ShanbayDict:6190): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed

(ShanbayDict:6190): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed
 

 

sudo add-apt-repository ppa:mc3man/gstffmpeg-keep
sudo apt-get update
sudo apt-get install gstreamer0.10-ffmpeg

转载于:https://my.oschina.net/lieefu/blog/683842

你可能感兴趣的:(c/c++)