PDA

View Full Version : ERROR: MP3Codec: Seek info unavailable


ikus060
2008-11-18, 04:44
Hi,

I'm new to XBMC and I experience some problem that I don't expect to have considering the popularity of XBMC and the maturity of the product.

First, I'm using XBMC to play some music (most of theme mp3). I didn't have any problem to play music with it, but I notice this week tha some album refused to be played !
Here the logs :
ERROR: MP3Codec: Seek info unavailable for file <musicdb://1/2/-1/97/1261.mp3> (corrupt?)

I experience the same problem on my laptop with the very same album & songs.

Also, I have some play back problem with DVD and Video. This one I don't experience it on my laptop. I'm still in process to acquired the logs for this problem. XBMC cause a crash of the computer (nothing respond).


Here the spec of the computer :
- Ubuntu 8.10 (uptodate)
- Gigabytes GA-8IPE1000-G
- ATI Radeon 9800

My latop
- Ubuntu 8.04
- ThniikPad T43 (with ATI Radeon Mobility)

jmarshall
2008-11-18, 04:50
Weird. Mind making one of those mp3's available?

Cheers,
Jonathan

ikus060
2008-11-18, 14:57
Here it is
https://www.entreprisesmd.homeip.net:8443/share/01%20-%20Inner%20sanctum.mp3

This is the first song of the album.

ikus060
2008-11-27, 02:50
Bump

Hi jmarshall,

Do you have the same problem playing this song ??

althekiller
2008-11-27, 09:04
The tags (and likely other parts of the file) are corrupt. If you crop them off it plays fine. The following does just that.
dd if=01\ -\ Inner\ sanctum.mp3 of=fixed.mp3 bs=1 skip=1972
ffplay barfs just the same so I didn't bother trying to figure out *what* was wrong with the tags.

Long story short, rerip the file.

ikus060
2008-11-27, 13:50
Hi althekiller,

Ok, great.

I can play this file without any problem using mplayer, rythmbox, xmms, etc. Weird that xbmc cannot play this file, no ?

Also, I have more then one hundred files with the same problem. Do you have a quick command line I can run on all of them ?

Thanks

arnova
2008-11-27, 14:14
Just use some kind of tool to strip off all the ID3v2 tags... You need some kind of app that understands ID3v2 tags because the tag-size is variable (different for each file). Maybe Amarok can do this.... Not sure...

althekiller
2008-11-28, 02:11
Well the fact that the tags are corrupt means it's pretty likely that even some app that does understand id3v2 tags will handle it properly (it seems that shorter tags were blindly written in the same space as a longer tag previously was). I just looked for a pretty obvious "end of tag" section in a hex editor (xxd) and then looked for the sync of the first mpeg header (either FF FX or FF EX where X can be anything) then converted the offset to decimal and used it for the skip flag of dd.

If you can code I'd just write an app that parses the ID3 header for the tag size, skips to that point then finds the first mpeg frame and starts copying from there.

TBH, your best bet is to just rerip the tracks.

ikus060
2008-12-04, 04:23
Hi All,

I have another solution. Is there any way to set mplayer as default music player. I never have any problem to play my music with it...

Thanks

arnova
2008-12-04, 09:42
Yep: use an SVN version of XBMC and create an Advancedsettings.xml (see wiki) with a section like this:
<audio>
<defaultplayer>mplayer</defaultplayer>
</audio>