Closed robotrono closed 8 years ago
I can reproduce this issue.
It needs multiverse gstreamer package also see #43
apt-get install gstreamer0.10 gstreamer0.10-plugins-bad gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer1.0 gstreamer0.10-plugins-bad
Same problem...
Installing a gstreamer1.0 package won't help.
I have Pafy 0.3.74 so...
gstreamer0.10-plugins-*-multiverse, btw codecs that are included in your installation is totally dependent on package maintainer and excluding some plugins(as they are called) is not uncommon.
after that:
gst-inspect | grep opus
opus: opusenc: Opus audio encoder
opus: opusdec: Opus audio decoder
opus: opusparse: Opus audio parser
opus: rtpopusdepay: RTP Opus packet depayloader
opus: rtpopuspay: RTP Opus payloader
# gst-inspect-0.10 | grep opus
opus: opusenc: Opus audio encoder
opus: opusdec: Opus audio decoder
opus: opusparse: Opus audio parser
opus: rtpopusdepay: RTP Opus packet depayloader
opus: rtpopuspay: RTP Opus payloader
# gst-inspect-1.0 | grep opus
opus: opusenc: Opus audio encoder
opus: opusdec: Opus audio decoder
opus: opusparse: Opus audio parser
opus: rtpopusdepay: RTP Opus packet depayloader
opus: rtpopuspay: RTP Opus payloader
libav: avdec_cllc: libav Canopus Lossless Codec decoder
There is a possibility that your pafy installation is in getting lost in ubuntu's dist vs site packges system. Part of my solution for #43 was copying the site packages installation directory (the place where pip installs pafy) to the distutils location. e.g.
rm -rf /usr/lib/python2.7/dist-packages/pafy
cp -rf /usr/local/lib/python2.7/site-packages/pafy /usr/lib/python2.7/dist-packages/pafy
Nope same error
Mopidy works fine, the problem is with some videos, anyway I installed Mopidy on a VPS with Ubuntu 14.04 LTS and I have the same problem.
+1
This happens on debian/jessie as well, pafy version: 0.4.3 and gstreamer0.10-plugins-bad installed as from instal instructions. Getting the same old:
2016-01-30 13:17:23,028 WARNING [880:MainThread] mopidy.audio.actor: Could not find a audio/x-unknown decoder to handle media.
2016-01-30 13:17:23,051 WARNING [880:MainThread] mopidy.audio.gst: There is no codec present that can handle the stream's type.
2016-01-30 13:17:23,062 ERROR [880:MainThread] mopidy.audio.gst: Your GStreamer installation is missing a plug-in.
and @jodal this is by all means a bug, not a question :D Just saying :P
I'm getting the same error with https://www.youtube.com/watch?v=rJR-fymJ_Pw
.
I have the same problem
I can reproduce this with @StephanMeijer URL, Mopidy 1.1.2 and Mopidy-YouTube 2.0.2, even if gst-inspect-0.10 | grep opus
shows that both opusparse
and opusdec
are available.
However, if I try with Mopidy 2.0.0 (to be released today), we get a much newer GStreamer, and I get to listen to David Bowie.
Based on this, I'm closing this as fixed by the newer GStreamer version required by Mopidy 2.0.0.
as this is still the first thing that google forwards to when people search for this error, here a solution for Mopidy 2 and gstreamer 1:
apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad
I get this error when mopidy play this video https://youtu.be/uISfZEdqdAM
Ubuntu 14.04 x64 Pafy 0.3.74 Plugins: