Jellyfin Forum
SOLVED: One MP3 Will Not Play - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: One MP3 Will Not Play (/t-solved-one-mp3-will-not-play)



One MP3 Will Not Play - Knox - 2024-09-18

I have 1 file in my music collection that should be 5:12 long and it is displayed as 17:55:59 and it plays for a quarter of a second. If I click on the file outside of Jellyfin the file plays correctly. I have checked the file properties outside of Jellyfin, edited the Metadata, and tried everything with this specific file I can think of, changing the filename, repair tools, but nothing appears wrong with the file. I am assuming there is a problem with the file, this is the only copy I have of the file. Any suggestions on what the problem could be? I am having trouble on what to search for in Google, the results that come up generally are for people who are having problems with all their files mine is just this one. Thanks!

I am running Jellyfin docker server version 10.9.11

From the logs:

[2024-09-18 12:03:40.555 -05:00] [INF] [8] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "user". EnableAudioPlaybackTranscoding: True
[2024-09-18 12:03:45.461 -05:00] [INF] [35] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Media Player" "1.11.1" playing "Concerto for Two Pianos, Strings and Continuo in C Major, BWV 1061: II. Adagio - Largo". Stopped at "311320" ms




RE: One MP3 Will Not Play - TheDreadPirate - 2024-09-18

99% certain there is an issue with the file itself.

What is the output of ffprobe on that file?

You could try remuxing the file. This would fix any issues with the container. If the problem is with the audio itself, your last resort would be to re-encode the file.

You would open a bash shell into the container if you don't have ffmpeg/ffprobe installed on the host.

Code:
docker exec -it jellyfin bash
/usr/lib/jellyfin-ffmpeg/ffprobe /path/to/music/file.mp3   # or whatever extension
/usr/lib/jellyfin-ffmpeg/ffmpeg -i "/path/to/music/file.mp3" -map 0 -codec copy newFile.mp3  # change the extension, if different



RE: One MP3 Will Not Play - Knox - 2024-09-18

Thank you for pointing me in the right direction! I used ffmpeg and still had some issues, ran the errors through ai. It kept saying there were header errors when mp3val and others said there was no error. Finally ran ffmpeg -f mp3 -i and it forced the formatting.