參考資料:https://forum.qt.io/topic/67338/qtmultimedia-work-with-gstreamer-1-0linux
https://sites.google.com/site/easylinuxtipsproject/multimedia 關於 sudo apt-get install ubuntu-restricted-extras 的,但問題依然沒解決ubuntu
控制檯顯示以下錯誤:defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"socket
執行 $sudo apt install libqt5multimedia5-plugins,故障依然ide
sudo apt install libgstreamer1.0-0 故障依然this
安裝 $sudo apt install gstreamer0.10-plugins-base 上述錯誤消失,錯誤提示在點擊播放按鈕後提示:google
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\"."nuxt
$sudo apt install gstreamer0.10-plugins-good 後debug
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."
rest
$ sudo apt install gstreamer0.10-qapt code
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