Kodi Community Forum

Full Version: Kodi won't play some MP3s
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sometimes Kodi fails to play MP3 files, even though I'm pretty sure I've played these same files in the past. Here is the relevant portion of the log, and I pasted the full debug log below. This is Kodibuntu 15.2.

Code:
DEBUG: FactoryCodec - Audio: FFmpeg - Opened
12:33:16 T:140005624203200   ERROR: ffmpeg[7F55997F47C0]: [mp3] Header missing
12:33:16 T:140005624203200   ERROR: Previous line repeats 1 times.
12:33:16 T:140005624203200    INFO: CDVDAudioCodecFFmpeg::GetChannelMap - FFmpeg reported 2 channels, but the layout contains 0 ignoring
12:33:16 T:140005624203200   DEBUG: SeekTime - seek ended up on time 0
12:33:16 T:140005624203200   DEBUG: Previous line repeats 1 times.
12:33:16 T:140005624203200   ERROR: ffmpeg[7F55997F47C0]: [mp3] Header missing
12:33:16 T:140005624203200   ERROR: Previous line repeats 1 times.
12:33:16 T:140005624203200   ERROR: CAudioDecoder: Error while decoding 1
12:33:16 T:140005624203200    INFO: PAPlayer::QueueNextFileEx - Error reading samples
12:33:16 T:140005624203200   DEBUG: OnQueueNextItem: play state was 1, starting 1
12:33:16 T:140005624203200   ERROR: Playlist Player: skipping unplayable item: 18, path [musicdb://songs/3355.mp3?albumid=354]
12:33:16 T:140005624203200   DEBUG: Playlist Player: one or more items failed to play... aborting playback

http://paste.ubuntu.com/14200751/

When I open the file directly in ffmpeg, it shows the following warnings, but it plays just fine:
Code:
[mp3 @ 0x7f8612807a00] Skipping 626 bytes of junk at 127044.f=0/0  
[mjpeg @ 0x7f8613018400] Changeing bps to 8
[mp3 @ 0x7f8612807a00] Estimating duration from bitrate, this may be inaccurate
Retry with a nightly ... 15.2 ships an old ffmpeg version.
I want to keep my system as stable as possible... Can I just replace the ffmpeg binary with a new one compiled from source instead of doing a nightly? My system has a few ffmpeg binaries in different places; does kodi use the one at /usr/bin/ffmpeg ?
No you can't. kodi is build against internal ffmpeg and kodi 15.2 won't receive anymore updates. You can build yourself against an external ffmpeg.