Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Audacious refuses to play certain mp3s [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
seatec
n00b
n00b


Joined: 05 Jul 2003
Posts: 50
Location: Munich.de

PostPosted: Mon Nov 06, 2006 12:28 pm    Post subject: Audacious refuses to play certain mp3s [SOLVED] Reply with quote

Hi

I just switched from Xmms to Audacious. In Xmms for quite a long time now I had the problem that more than a year ago it stopped displaying the track length for many of my mp3s. As it still played them though, I didn't care much. Now with Audacious, this player refuses to play or even enqueue these tracks. No error messages are given. Does anyone have any idea what might be wrong?
Cheers

seatec


Last edited by seatec on Thu Nov 09, 2006 4:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
nenolod
Apprentice
Apprentice


Joined: 03 Mar 2006
Posts: 199
Location: Tulsa, OK

PostPosted: Tue Nov 07, 2006 10:27 am    Post subject: Reply with quote

Your MP3s have a corrupted bitstream. XMMS did not care, but audacious does.

- nenolod
Back to top
View user's profile Send private message
seatec
n00b
n00b


Joined: 05 Jul 2003
Posts: 50
Location: Munich.de

PostPosted: Tue Nov 07, 2006 8:14 pm    Post subject: Reply with quote

Well what a relief that it cares. Xmms did play them at least. Now what...how to fix them?
Back to top
View user's profile Send private message
ryszardzonk
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 225
Location: Rzeszów, POLAND

PostPosted: Wed Nov 08, 2006 11:41 am    Post subject: Reply with quote

nenolod wrote:
Your MP3s have a corrupted bitstream. XMMS did not care, but audacious does.

- nenolod
That is interesting. I have two mp3 that audacious refused to even add to playlist. I always wondered why would it do that. Please offer a solution. Thanks
_________________
Sky is not the limit...
Back to top
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Wed Nov 08, 2006 12:37 pm    Post subject: Reply with quote

What if you compare the output of file a_working_file.mp3 and file a_broken_file.mp3? Or use some mp3 info showing program, such as mp3info?
_________________
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Back to top
View user's profile Send private message
seatec
n00b
n00b


Joined: 05 Jul 2003
Posts: 50
Location: Munich.de

PostPosted: Thu Nov 09, 2006 12:15 pm    Post subject: Reply with quote

mp3info just shows the id3 tag. If I rightclick the file in Konqueror, look for 'properties' and 'metainfo', I see the sampling freq and everything. I can even play it in the 'preview' tab. Audacious still refuses to play it. I was wondering whether those files that don't work possibly have an alternating bitrate, but that shouldnt be a reason for audacious not to play it, should it?
Back to top
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Thu Nov 09, 2006 12:19 pm    Post subject: Reply with quote

What USE flags you have enabled for Audacious? Maybe it's just missing some decoder.
_________________
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Back to top
View user's profile Send private message
seatec
n00b
n00b


Joined: 05 Jul 2003
Posts: 50
Location: Munich.de

PostPosted: Thu Nov 09, 2006 12:36 pm    Post subject: Reply with quote

[ebuild R ] media-sound/audacious-1.1.2-r1 USE="alsa arts gnome mp3 nls oss vorbis -aac -chardet -esd -flac -jack -lirc -mmx -modplug -musepack -sid -sndfile -timidity -wma" 0 kB

I'm running pretty much a default install, although it's more than 3 years old by now and like every other Gentoo had it's quirks and problems from time to time. I'm up to date with updates and everything.
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Thu Nov 09, 2006 12:45 pm    Post subject: Reply with quote

I don't think it's a bad idea to ignore corrupted mp3s.. I mean, they might contain malicious stuff trying to exploit a buffer overflow, etc. I think what you should look into is how to fix the mp3 rather than convincing any player to play the currupted file no matter what.

Is there any chance that you could re-encode the file again? I don't know any tools for that, maybe someone can suggest something. But there must be something to fix/reencode corrupted files
Back to top
View user's profile Send private message
seatec
n00b
n00b


Joined: 05 Jul 2003
Posts: 50
Location: Munich.de

PostPosted: Thu Nov 09, 2006 1:13 pm    Post subject: Reply with quote

I was considering reencoding as well. Problem is I don't know howto sort out the 'bad apples'. If I have to play a file first of all to notice audacious "doesn't like it" , and I'll have to reencode it, I'll be busy for years, running over one of the bad files once in a while.
Back to top
View user's profile Send private message
nenolod
Apprentice
Apprentice


Joined: 03 Mar 2006
Posts: 199
Location: Tulsa, OK

PostPosted: Thu Nov 09, 2006 1:41 pm    Post subject: Reply with quote

Run your mp3s through mp3check, that should be able to fix them.
Back to top
View user's profile Send private message
seatec
n00b
n00b


Joined: 05 Jul 2003
Posts: 50
Location: Munich.de

PostPosted: Thu Nov 09, 2006 4:40 pm    Post subject: Reply with quote

# mp3check -e Hampenberg\ -\ Last\ night.mp3
Hampenberg - Last night.mp3:
2865 bytes of junk before first frame header
valid id3 tag trailer v1.0 found
frame 7916/ 3:26: 2860 bytes of junk after last frame at 0x00328745

# mp3check --cut-junk-start Hampenberg\ -\ Last\ night.mp3
Hampenberg - Last night.mp3:
cut-junk-start: removing first 2865 bytes, retrying
cut-junk-start: no junk found
#


That did the trick. Audacious now plays the file. Thanks a lot everyone, especially nenolod.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum