Ubuntu16.04下QT5.5 defaultServiceProvider::requestService(): no service found for - "org.qt-project.q

转载而来如有侵权请留言:http://www.codexiu.cn/Linux/blog/20140/

控制台显示如下错误: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
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值