SeaDve / Mousai

Identify songs in seconds
GNU General Public License v3.0
1.01k stars 38 forks source link

mousai is not listen to any music #97

Closed smarthaleem closed 1 year ago

smarthaleem commented 1 year ago

Affected version

Bug summary

Steps to reproduce

Expected behavior

Relevant logs, screenshots, screencasts, etc.

SeaDve commented 1 year ago

Can you provide logs about what happened? The instructions on how to get them is in the issue template

SeaDve commented 1 year ago

Seeing that you are on Ubuntu core, I think you may have missing services and dependencies your system, like pulseaudio

soumyaDghosh commented 1 year ago

I got it. He is using the snap, and I have mentioned that playing the music is not supported in the snap. And though this is not entirely correct, but some extensions don't work, like mpeg.

2023-09-28T13:26:04.410507Z  WARN mousai::player: Received warning message: Error { domain: gst-play-error-quark, code: 0, message: "Warning from element /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: There is no codec present that can handle the stream's type.\nNo decoder available for type 'audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1210, rate=(int)44100, channels=(int)2'.\n../gst/playback/gsturidecodebin.c(960): unknown_type_cb (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0" } details=None
2023-09-28T13:26:04.410543Z ERROR mousai::player: Received error message: Error { domain: gst-play-error-quark, code: 0, message: "Error from element /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: Your GStreamer installation is missing a plug-in.\nYour GStreamer installation is missing a plug-in.\n../gst/playback/gsturidecodebin.c(1027): no_more_pads_full (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0:\nno suitable plugins found:\n../gst/playback/gstdecodebin2.c(4701): gst_decode_bin_expose (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:\nno suitable plugins found:\nMissing decoder: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1210, rate=(int)44100, channels=(int)2)\n" } state=Buffering details=None

This is the error log we get when I try to play mpeg songs. I haven't got any way to add the mpeg dependencies.

SeaDve commented 1 year ago

I got it. He is using the snap, and I have mentioned that playing the music is not supported in the snap. And though this is not entirely correct, but some extensions don't work, like mpeg.

2023-09-28T13:26:04.410507Z  WARN mousai::player: Received warning message: Error { domain: gst-play-error-quark, code: 0, message: "Warning from element /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: There is no codec present that can handle the stream's type.\nNo decoder available for type 'audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1210, rate=(int)44100, channels=(int)2'.\n../gst/playback/gsturidecodebin.c(960): unknown_type_cb (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0" } details=None
2023-09-28T13:26:04.410543Z ERROR mousai::player: Received error message: Error { domain: gst-play-error-quark, code: 0, message: "Error from element /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: Your GStreamer installation is missing a plug-in.\nYour GStreamer installation is missing a plug-in.\n../gst/playback/gsturidecodebin.c(1027): no_more_pads_full (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0:\nno suitable plugins found:\n../gst/playback/gstdecodebin2.c(4701): gst_decode_bin_expose (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:\nno suitable plugins found:\nMissing decoder: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1210, rate=(int)44100, channels=(int)2)\n" } state=Buffering details=None

This is the error log we get when I try to play mpeg songs. I haven't got any way to add the mpeg dependencies.

You probably need to package gst-plugins-good

SeaDve commented 1 year ago

I'll close this for now, but feel free to re-open once the needed information is given.