Jump to content

some flac songs not playing in Firefox


gabrielballot

Recommended Posts

gabrielballot

Hello,

 

Some flac songs are not playing in Firefox (they are well playing in iOS app). An error message appears :

 

Erreur de lecture
Aucun flux compatible n'est actuellement disponible. Veuillez réessayer plus tard ou contactez votre administrateur système pour plus de détails.
 
 
I am using the 4.2.0.40 version of the server but the problem already occured with the 4.1 version.
I am using Firefox 68.0.1 (64 bits) on MacOS
 
At principle I thought it was because the server was direct streaming 24bits flac songs but it seems the one is not 24bits... there is the output of ffprobe on this song that is making this issue :
 
ffprobe version 3.2.12-1~deb9u1 Copyright (c) 2007-2018 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --prefix=/usr --extra-version='1~deb9u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Input #0, flac, from 'Losing It (Extended) - Fisher.flac':
  Metadata:
    DATE            : 2018;2018
    ARTIST          : Fisher;Fisher
    album_artist    : Fisher
    CONTENTGROUP    : CR001B;CR001B
    ENCODER         : X Lossless Decoder 20160920;X Lossless Decoder 20160920
    RATING          : 0
    TITLE           : Losing It (Extended);Losing It (Extended)
    ALBUM           : Losing It - Single;Losing It - Single
    GENRE           : Tech House;Tech House
    track           : 01
  Duration: 00:06:40.51, start: 0.000000, bitrate: 922 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 500x500 [SAR 72:72 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : Cover (front)

This one doesn't work as well :
 
ffprobe version 3.2.12-1~deb9u1 Copyright (c) 2007-2018 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --prefix=/usr --extra-version='1~deb9u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Input #0, flac, from '01 Astral Projection.flac':
  Metadata:
    album_artist    : Enrico Sangiuliano
    ARTIST          : Enrico Sangiuliano;Enrico Sangiuliano
    ENCODER         : X Lossless Decoder 20160920;X Lossless Decoder 20160920
    RATING          : 0
    DATE            : 2017;2017
    ALBUM           : Astral Projection;Astral Projection
    GENRE           : Techno;Techno
    TITLE           : Astral Projection (Original Mix);Astral Projection (Original Mix)
  Duration: 00:08:03.96, start: 0.000000, bitrate: 860 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 500x500 [SAR 72:72 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : Cover (front)

 
 
You will find attached the server logs
 
Thank you

embyserver.txt

Edited by gabrielballot
Link to comment
Share on other sites

gabrielballot

After a few investigation I believe it is because of the integrated image as stream 0:1...

Should I delete them or wait for an update compatible with it ?

Link to comment
Share on other sites

gabrielballot

I did make the test :

ffmpeg -i Losing\ It\ \(Extended\)\ -\ Fisher.flac -map 0:0 -c copy Losing\ It\ \(Extended\)2.flac

and the new song plays well without the image

Link to comment
Share on other sites

So Firefox doesn't support that? I guess we'll have to add a transcoding condition for that.

Link to comment
Share on other sites

gabrielballot

Yes Firefox desn't support that. When could I expect the changes in transcoding policy to take effects ?

Link to comment
Share on other sites

  • 3 months later...
gabrielballot

So Firefox doesn't support that? I guess we'll have to add a transcoding condition for that.

It still doesn't work with the new release...

Link to comment
Share on other sites

  • 3 years later...
stevenfoxhound

This issue still exist in 2023. Any FLAC files with embedded image (album cover). Play without issues on Safari, Chrome, Opera...

Link to comment
Share on other sites

On 1/9/2023 at 12:35 PM, stevenfoxhound said:

This issue still exist in 2023. Any FLAC files with embedded image (album cover). Play without issues on Safari, Chrome, Opera...

Hi, yes it's a workaround we'll need to add for firefox to force it to have the server transcode the file in these situations.

  • Agree 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...