命令: $ gst-play-1.0 /home/username/test/baby.mp3
结果:
Press 'k' to see a list of keyboard shortcuts.
Now playing /home/whiteknight/NXP_test/baby.mp3
WARNING No decoder available for type 'application/x-id3'.
WARNING debug information: gsturidecodebin.c(931): unknown_type_cb (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0
ERROR Your GStreamer installation is missing a plug-in. for file:///home/whiteknight/NXP_test/baby.mp3
ERROR debug information: gsturidecodebin.c(998): no_more_pads_full (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0:
no suitable plugins found:
gstdecodebin2.c(4600): gst_decode_bin_expose (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:
no suitable plugins found:
Missing decoder: ID3 tag (application/x-id3)
Reached end of play list.
如何解决?
答案 0 :(得分:1)
sudo apt install gstreamer1.0-plugins-good
所以它必须是gst-plugins-good的一部分。
https://packages.ubuntu.com/xenial/amd64/gstreamer1.0-plugins-good/filelist
...
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstgoom2k1.so
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsticydemux.so
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstid3demux.so
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstimagefreeze.so
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstinterleave.so
...
答案 1 :(得分:0)
我遇到了gmusicbrowser的问题,该浏览器在chromebook上安装了Ubuntu / Xenial的Crouton中运行。
我通过从apt安装gstreamer1.0-plugins-ugly,gstreamer1.0-plugins-bad,gstreamer1.0-plugins-good和gstreamer1.0-pulseaudio来解决此问题。
我还为flac解码器安装了ubuntu-restricted-extras apt软件包。
gmusicbrowser然后可以播放mp3和flac。