Bug 190576

Summary: Warn when codec not available
Product: [Applications] amarok Reporter: ray <xaos11>
Component: PlaybackAssignee: Amarok Bugs <amarok-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: tuomas
Priority: NOR    
Version First Reported In: 2.1-SVN   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ray 2009-04-25 01:15:38 UTC
Version:           2 (using KDE 4.2.2)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-11-generic
Installed from:    Ubuntu Packages

On a fresh install of Ubuntu, I tried playing a shoutcast stream. The title would show up for the info of the song playing, but no sound. So I then spent 15 minutes searching and trying to figure out how to change the audio server amarok 2 uses (the last release of amarok had a lot more configuration options), and googling and looking through bug reports.(BTW I would've realized it was the ffmpeg missing to begin with if the song info did not display but I guess I just assumed) I then tried playing an mp3 in case it just wasn't playing streams and I noticed an output in the terminal in which I was running amarok:

TagLib: MPEG::Header::parse() -- Invalid sample rate.

So then I realized I hadn't installed libxine1 and it worked fine.

You would think that there would be an error in the terminal about not having ffmpeg...

Would it be possible to put at least some kind of codec error somewhere in the application? Almost all other audio players I have used give some kind of error when codecs are not installed, not to mention one made by M$
Comment 1 Tuomas Nurmi 2024-10-20 18:53:20 UTC
Something like this happened in 2011 https://apachelog.wordpress.com/2011/01/05/phonon-loves-codecs/ and the relevant code seems to be still there in the archived phonon-gstreamer code. On the other hand, phonon-vlc: codec problems have probably never been a thing with anything vlc. Maybe it's time to close this.