No Sound from Clementine

Hi all,

I switched to HDMI for video and sound. Everything plays sound except Clementine. I’ve tried everything I can think of, including installing gstreamer-0_10-fluendo-mp3-21-5.3.1s86_64.rpm. I’d really prefer to use Clementine over Amorak, unless there is a compelling reason not to, like it just won’t work. Thoughts? What other info can I supply?

Thanks,
Mike

I do not use Clementine.

Still, I think it worth asking, did you try installing pavucontrol and check to see if pulse audio is routing sound to your HDMI device and not still setup to route sound to your analog device ?
.

Hi,

Yes, I have verified sound is routing to HDMI. In fact, I’m listening to music now via Amarok. But just would like to use Clementine. Any thoughts anyone? This doesn’t seem to be a “popular” issue.

Thanks,
Mike

Which desktop? KDE the 0.1 gstreameres are used in Gnome the 1.0 gstreamears are used.

By that answer I assume you understanding that pulse audio can route sound on an application basis. ie if you have your speakers plugged in to the analog port, at the same time as you have HDMI connected, you could have sound playing from Amarok via HDMI and sound playing from, say smplayer via analog out (speakers) both at the same time. ie HDMI sound and analog sound both at the same time with different applications. So just because Amarok sound comes out of HDMI does not mean Clementine will come out of HDMI.

That is why I asked if you had configured pavucontrol to route the HDMI sound for clementine - and my apologies for doubting you but your answer provided me no confidence that you understood the specifics of my recommendation. pavucontrol provides this level of application control.

Assuming your HDMI is properly configured for Clementine (and I don’t yet have that confidence), but assuming it is , then you could test this to see if pulse audio is the cause, trying something like:


pasuspender -- clementine

where I assume ‘clementine’ is an executeable to launch that player (I could be wrong there). Note the synax with space before the “–” and a space after the “–” before ‘clementine’.

Let me clarify my setup. I have the monitor plugged into the computer via HDMI. The speakers are actually plugged into the monitor, hence the sound coming via the HDMI. I can assure you, that your lack of confidence is spot on, because I sincerely doubt I have Clementine properly configured.

I run PulseAudio Manager…

  • On the devices tab, underneath Sinks, I see the alsa_output.pci-0000_00_1b.0.hdmi-stereo. Underneath that I have a #5, and the song that I’m trying to run.
  • On the clients tab, among other things, I have Clementine listed.

When I run the pasuspender – clementine (after closing the program), it opens Clementine, but I get a lot get a lot of lines, many of which say “TagLib: MPEG::Header::parse() – Invalid sample rate.”
When I attempt to play a song, I get this “20:15:31.481 DEBUG MainWindow:1143 position 0 scrobble point 72 status 0”. The song doesn’t actually play.
When I stop the song, I get the following two lines: “20:16:23.031 DEBUG Database:687 Starting database integrity check” & “20:16:23.086 DEBUG Database:747 Starting database backup”.
And finally, when I hit CTRL-c, it ends and Clementine closes.

Hopefully this helps in the troubleshooting. Also, I’m using KDE.

Thanks,
Mike

The error we see with ‘pasuspender’ suggests to me that this is not a pulse audio problem, as that command performs a (current boot) execution of clementine with pulse audio suspended. When one does a search for clemintine and ‘sample rate’ one does get some hits suggesting clementine is very sensitive to the rate setup in media files and also on one’s gnu/linux os. I read one user post claiming without gstreamer-alsa that clementine would have problems. Also, note gogalthorp’s comment.

of course there is no specific ‘gstreamer-alsa’ for openSUSE. I dislike being in the realm of speculation in trying to help, yet thats where I find that I am. I would be curious to see what gstreamer apps you have installed. For example in my case (when I run the rpm command 'rpm -qa ‘gstreamer*’ I get:


oldcpu@linux-mtpj:~> rpm -qa 'gstreamer*'                                               
gstreamer-0_10-plugins-fluendo_mpegmux-0.10.4-46.2.x86_64                               
gstreamer-plugins-base-1.4.5-54.22.x86_64                                               
gstreamer-0_10-plugins-base-0.10.36-15.1.x86_64                                         
gstreamer-plugins-libav-1.4.5-1.2.x86_64                                                
gstreamer-0_10-0.10.36-20.3.x86_64                                                      
gstreamer-plugins-qt-1.2.0-2.2.4.x86_64                                                 
gstreamer-fluendo-mp3-21-5.3.1.x86_64                                                   
gstreamer-plugin-gstclutter-2.0.14-2.4.2.x86_64                                         
gstreamer-0_10-plugin-esd-0.10.31-85.5.x86_64                                           
gstreamer-plugins-ugly-1.4.5-50.4.x86_64                                                
gstreamer-plugins-good-extra-1.4.5-64.1.x86_64                                          
gstreamer-0_10-plugins-bad-0.10.23-172.16.x86_64                                        
gstreamer-0_10-plugin-gnomevfs-0.10.36-11.1.5.x86_64                                    
gstreamer-lang-1.4.5-60.20.noarch                                                       
gstreamer-plugins-bad-1.4.5-83.2.x86_64                                                 
gstreamer-0_10-plugins-ugly-orig-addon-0.10.19-15.2.x86_64                              
gstreamer-0_10-utils-0.10.36-20.3.x86_64                                                
gstreamer-0_10-plugins-bad-orig-addon-0.10.23-172.16.x86_64                             
gstreamer-0_10-plugins-fluendo_mpegdemux-0.10.71-2.2.x86_64                             
gstreamer-plugins-bad-orig-addon-1.4.5-83.2.x86_64                                      
gstreamer-0_10-plugins-good-0.10.31-85.5.x86_64                                         
gstreamer-0_10-plugins-ugly-0.10.19-15.2.x86_64                                         
gstreamer-0_10-plugins-ffmpeg-0.10.13-2000.2.x86_64                                     
gstreamer-0_10-plugins-fluendo_mp3-0.10.18-3.1.x86_64                                   
gstreamer-plugins-good-1.4.5-64.1.x86_64                                                
gstreamer-1.4.5-60.20.x86_64                                                            
gstreamer-plugins-ugly-orig-addon-1.4.5-50.4.x86_64                                     
gstreamer-0_10-plugins-good-extra-0.10.31-85.5.x86_64 

although I also note I don’t have clementine installed, so I may have the same problem.

Further, surfing on our forum suggests to play ‘mp3’ with clementine one needs the application " gstreamer-0_10-fluendo-mp3 "

and another thread along same lines: https://forums.opensuse.org/showthread.php/507751-Clementine-Won-t-Play?highlight=clementine where " gstreamer-0_10-fluendo-mp3 " and another solution was to install " gstreamer-0_10-plugins-ugly-orig-addon "

I’ve also read clementine is sensitive to file names, where this thread goes into one user’s solution: https://forums.opensuse.org/showthread.php/509987-KDE-5-and-foreign-characters-in-file-names?p=2731883#post2731883 … but I don’t think that is your problem based on the ‘pasuspender’ error. Instead ‘sample rate’ appears to be the problem.

As noted, I’m in the realm of speculation here (which may not be so helpful), so if you have the appropriate gstreamer apps, and if this still does not work for you , then I think we now need someone who actually uses clementine to help (and not me).

Best wishes and good luck on this.