albertz / music-player

Music player - endlessly plays your music
http://albertz.github.io/music-player/
BSD 2-Clause "Simplified" License
492 stars 59 forks source link

sometimes ffmpeg fails to open files #29

Closed albertz closed 11 years ago

albertz commented 11 years ago
MusicPlayer 1.0 from 2013-03-06 03:51:54 +0000 git-ref dc8acb4812 on MacOSX (darwin)
startup on 2013-03-06 03:52:01 +0000
...
(GiorgioMoroder-Evolution.mp3) avformat_find_stream_info (mp3) failed
(GiorgioMoroder-Evolution.mp3) fallback open succeeded (mp3)
(E-ZRollers-Movin'On.mp3) avformat_find_stream_info (mp3) failed
(E-ZRollers-Movin'On.mp3) fallback open succeeded (mp3)
(SpacemonkeyzVs.Gorillaz-AFistfulOfPeanuts.mp3) avformat_find_stream_info (mp3) failed
(SpacemonkeyzVs.Gorillaz-AFistfulOfPeanuts.mp3) fallback open succeeded (mp3)
(02 Archangel.mp3) avformat_find_stream_info (mp3) failed
(02 Archangel.mp3) fallback open succeeded (mp3)

This might be because ffmpeg file opening is not multithreading-safe.

Which functions of ffmpeg aren't?

albertz commented 11 years ago

Hopefully, commit 7bfeaa6 fixes this. Some related FFmpeg discussion is here.