[GH-ISSUE #664] Koel cant play some songs #475

Closed
opened 2026-02-26 02:33:19 +03:00 by kerem · 7 comments
Owner

Originally created by @gerroon on GitHub (Oct 13, 2017).
Original GitHub issue: https://github.com/koel/koel/issues/664

Hi

Sometimes Koel is not able to play some songs, I have no idea why naturally but I hit another one just a min ago and I was able to get the ffprobe, hopefully this will give the devs some idea about it might fail.

Koel normally plays songs but some of them just do not produce any sound.

thanks



ffprobe version 3.3.4 Copyright (c) 2007-2017 the FFmpeg developers
  built with gcc 7 (Debian 7.2.0-4)
  configuration: --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-mips32r2 --disable-mips32r6 --disable-mips64r6 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-libopencv --disable-podpages --disable-stripping --enable-avfilter --enable-avresample --enable-gcrypt --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opengl --enable-openssl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --enable-libwebp --incdir=/usr/include/x86_64-linux-gnu --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --disable-opencl --enable-libmfx --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libavresample   3.  5.  0 /  3.  5.  0
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Input #0, mp3, from '17 - Josef Anton Riedl - Leonce und Lena (1963) - Nr.4,1.MP3':
  Metadata:
    title           : Leonce und Lena (1963) - Nr.4,1
    artist          : Josef Anton Riedl
    album           : Unknown Title
    track           : 17
    comment         : Track 17
    encoded_by      : Exact Audio Copy   (Secure mode)
  Duration: 00:02:15.86, start: 0.025057, bitrate: 193 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s
    Metadata:
      encoder         : LAME3.93 

Originally created by @gerroon on GitHub (Oct 13, 2017). Original GitHub issue: https://github.com/koel/koel/issues/664 Hi Sometimes Koel is not able to play some songs, I have no idea why naturally but I hit another one just a min ago and I was able to get the ffprobe, hopefully this will give the devs some idea about it might fail. Koel normally plays songs but some of them just do not produce any sound. thanks ``` ffprobe version 3.3.4 Copyright (c) 2007-2017 the FFmpeg developers built with gcc 7 (Debian 7.2.0-4) configuration: --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-mips32r2 --disable-mips32r6 --disable-mips64r6 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-libopencv --disable-podpages --disable-stripping --enable-avfilter --enable-avresample --enable-gcrypt --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opengl --enable-openssl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --enable-libwebp --incdir=/usr/include/x86_64-linux-gnu --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --disable-opencl --enable-libmfx --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu libavutil 55. 58.100 / 55. 58.100 libavcodec 57. 89.100 / 57. 89.100 libavformat 57. 71.100 / 57. 71.100 libavdevice 57. 6.100 / 57. 6.100 libavfilter 6. 82.100 / 6. 82.100 libavresample 3. 5. 0 / 3. 5. 0 libswscale 4. 6.100 / 4. 6.100 libswresample 2. 7.100 / 2. 7.100 libpostproc 54. 5.100 / 54. 5.100 Input #0, mp3, from '17 - Josef Anton Riedl - Leonce und Lena (1963) - Nr.4,1.MP3': Metadata: title : Leonce und Lena (1963) - Nr.4,1 artist : Josef Anton Riedl album : Unknown Title track : 17 comment : Track 17 encoded_by : Exact Audio Copy (Secure mode) Duration: 00:02:15.86, start: 0.025057, bitrate: 193 kb/s Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s Metadata: encoder : LAME3.93 ```
kerem closed this issue 2026-02-26 02:33:19 +03:00
Author
Owner

@X-Ryl669 commented on GitHub (Oct 13, 2017):

Is it koel or your browser that's not playing the song (is the UI making progress while playing) ?
Did you try to download the song and play it with your browser ? Does it work ?

<!-- gh-comment-id:336516001 --> @X-Ryl669 commented on GitHub (Oct 13, 2017): Is it koel or your browser that's not playing the song (is the UI making progress while playing) ? Did you try to download the song and play it with your browser ? Does it work ?
Author
Owner

@gerroon commented on GitHub (Oct 13, 2017):

@X-Ryl669

I am not sure if it is my browser or not, my Emby server never did that to me. I will try with Emby to see if it has the same issue with the same song.

I also see that playing some songs never fire ffmpeg ( I watched the running tasks) which I suspect it could be the main issue. Because some songs actually piped through ffmpeg as I watched the task manager. However I am not a dev so it is hard to debug this.

I will also try downloading.

<!-- gh-comment-id:336552492 --> @gerroon commented on GitHub (Oct 13, 2017): @X-Ryl669 I am not sure if it is my browser or not, my Emby server never did that to me. I will try with Emby to see if it has the same issue with the same song. I also see that playing some songs never fire ffmpeg ( I watched the running tasks) which I suspect it could be the main issue. Because some songs actually piped through ffmpeg as I watched the task manager. However I am not a dev so it is hard to debug this. I will also try downloading.
Author
Owner

@gerroon commented on GitHub (Oct 14, 2017):

@X-Ryl669

I was able to download the songs that Koel did not play. Also Koel seems to refuse to play them right away and move to next song(I do not see any transcoding done). And like I saif fffmpeg was never fired for these songs on the server side.

I believe I have that xsend file setup and ffmpeg in place( I can see it becomes active with the songs played)

Here are some songs that did not play, I downloaded them over Koel. I think these are the original files not transcoded.

I am using Debian Testing Nodev6.11.4 Apache/2.4.27 (Debian) mariadb Ver 15.1 Distrib 10.1.26-MariaDB,

Please feel free to test them

http://www.filedropper.com/koel-download-59e17194e9337
thanks

<!-- gh-comment-id:336603095 --> @gerroon commented on GitHub (Oct 14, 2017): @X-Ryl669 I was able to download the songs that Koel did not play. Also Koel seems to refuse to play them right away and move to next song(I do not see any transcoding done). And like I saif fffmpeg was never fired for these songs on the server side. I believe I have that xsend file setup and ffmpeg in place( I can see it becomes active with the songs played) Here are some songs that did not play, I downloaded them over Koel. I think these are the original files not transcoded. I am using Debian Testing Nodev6.11.4 Apache/2.4.27 (Debian) mariadb Ver 15.1 Distrib 10.1.26-MariaDB, Please feel free to test them http://www.filedropper.com/koel-download-59e17194e9337 thanks
Author
Owner

@X-Ryl669 commented on GitHub (Oct 16, 2017):

If the source is a MP3, then there's no reason to transcode. Thus, you should not have ffmpeg process if your collection is mp3 only (and likely also flac recently). When I said downloading, I meant: store the mp3 file in some of the accessible web root hierarchy, point your browser to this url like: http://yourserver/path/to/your/file.mp3 and if it works, you should get a player (browser based, at least on chrome and firefox).
Hitting play will tell you if the file is an issue or the browser.
If it does not play correctly, then there is nothing that can be done => fix your file.
If it does play correctly, then I would suspect ffmpeg issue, you can disable transcoding in the configuration file, and check if it works.

<!-- gh-comment-id:336853722 --> @X-Ryl669 commented on GitHub (Oct 16, 2017): If the source is a MP3, then there's no reason to transcode. Thus, you should not have ffmpeg process if your collection is mp3 only (and likely also flac recently). When I said downloading, I meant: store the mp3 file in some of the accessible web root hierarchy, point your browser to this url like: `http://yourserver/path/to/your/file.mp3` and if it works, you should get a player (browser based, at least on chrome and firefox). Hitting play will tell you if the file is an issue or the browser. If it does not play correctly, then there is nothing that can be done => fix your file. If it does play correctly, then I would suspect ffmpeg issue, you can disable transcoding in the configuration file, and check if it works.
Author
Owner

@gerroon commented on GitHub (Oct 16, 2017):

I have convert to 128 on mobile enabled. And I still cant get all songs play on mobile. The server has access to songs no problem also my Emby server can play the same song.

<!-- gh-comment-id:336924468 --> @gerroon commented on GitHub (Oct 16, 2017): I have convert to 128 on mobile enabled. And I still cant get all songs play on mobile. The server has access to songs no problem also my Emby server can play the same song.
Author
Owner

@dsrukmana commented on GitHub (Feb 4, 2018):

@gerroon did you fix your problem on mobile browser? mine everything works just fine only doesn't work on mobile browser the song refuse to play

<!-- gh-comment-id:362880243 --> @dsrukmana commented on GitHub (Feb 4, 2018): @gerroon did you fix your problem on mobile browser? mine everything works just fine only doesn't work on mobile browser the song refuse to play
Author
Owner

@gerroon commented on GitHub (Feb 4, 2018):

@dsrukmana I actually stop using Koel, so I cant answer that :(

<!-- gh-comment-id:362924938 --> @gerroon commented on GitHub (Feb 4, 2018): @dsrukmana I actually stop using Koel, so I cant answer that :(
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#475
No description provided.