Jump to content

Emby won't stream one FLAC file which is not corrupted.


Recommended Posts

Posted

VLC Player plays it ok, but Emby just tells "Playback Error: No compatible streams are currently available. Please try again later or contact your system administrator for details."

Nothing useful in log file. PM me if you want to get that FLAC file.

Posted

I don't really have that much time for playing with Emby, but if anyone wants FLAC file to examine, I will give it.

Happy2Play
Posted

Sure you can PM it to me, but still need information on what client along with the server and possible ffmpeg log for this file.  As playback for me and you can be totally different.

Posted

4.7.9.0  Linux 64bit

Client is Chrome web browser 107.0.5304.121, also Linux 64bit

Happy2Play
Posted

Still looking at the file but appears to be embedded metadata related as stripping tags file plays fine drag and drop into Chrome where original will not play.

  • Thanks 1
Happy2Play
Posted (edited)

Further testing appears specific to the embedded image and not tags, as soon as I removed the image it played.

But reapplying the same extracted image still worked so to me there is something wonky with the way it was created.  

 

Note my drag and drop test method actually eliminates Emby and shows it is a file or browser issue.  But should be as easy as removing covers and readding covers.

Edited by Happy2Play
Happy2Play
Posted

Follow up even though programs see the image ffprobe throws an error on mimetype but does not when image is extracted and readded.

original

C:\Users\Media\AppData\Roaming\Emby-Server\system>ffprobe -i "C:\Users\Media\Downloads\Thalamus - Ramen Jacuzzi - 03 - Garlic Cheese Naan - Copy.flac"
ffprobe version 5.1-emby_2022_10_18 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
  built with gcc 10.3.0 (Rev5, Built by MSYS2 project)
[flac @ 000002243f96adc0] Could not read mimetype from an attached picture.
Input #0, flac, from 'C:\Users\Media\Downloads\Thalamus - Ramen Jacuzzi - 03 - Garlic Cheese Naan - Copy.flac':
  Metadata:
    artist          : Thalamus
    album           : Ramen Jacuzzi
    disc            : 1
    genre           : Dance & Trance
    album_artist    : Thalamus
    composer        : Gael Dufour
    bpm             : 0
    length          : 556
    isrc            : CH6542283508
    title           : Garlic Cheese Naan
    DATE            : 2022/10/26
    ORGANIZATION    : ADN MUSIC
    track           : 3
  Duration: 00:09:16.14, start: 0.000000, bitrate: 1000 kb/s
  Stream #0:0: Audio: flac, 44100 Hz, stereo, s16

removed/reattached image in mp3tag

C:\Users\Media\AppData\Roaming\Emby-Server\system>ffprobe -i "C:\Users\Media\Downloads\Thalamus - Ramen Jacuzzi - 03 - Garlic Cheese Naan - Copy.flac"
ffprobe version 5.1-emby_2022_10_18 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
  built with gcc 10.3.0 (Rev5, Built by MSYS2 project)
Input #0, flac, from 'C:\Users\Media\Downloads\Thalamus - Ramen Jacuzzi - 03 - Garlic Cheese Naan - Copy.flac':
  Metadata:
    bpm             : 0
    length          : 556
    isrc            : CH6542283508
    TITLE           : Garlic Cheese Naan
    ARTIST          : Thalamus
    ALBUM           : Ramen Jacuzzi
    GENRE           : Dance & Trance
    album_artist    : Thalamus
    COMPOSER        : Gael Dufour
    disc            : 1
    DATE            : 2022/10/26
    ORGANIZATION    : ADN MUSIC
    track           : 3
  Duration: 00:09:16.14, start: 0.000000, bitrate: 1000 kb/s
  Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
  Stream #0:1: Video: mjpeg (Progressive), yuvj420p(pc, bt470bg/unknown/unknown), 1200x1200 [SAR 96:96 DAR 1:1], 90k tbr, 90k tbn (attached pic)
    Metadata:
      comment         : Cover (front)

 

Posted

Thanks for finding out what caused it! Still, Emby could be a bit more robust and if it can't read picture data, that shouldn't be the cause the audio can't be played, don't you think? :)

Happy2Play
Posted (edited)
3 minutes ago, xphorm said:

Thanks for finding out what caused it! Still, Emby could be a bit more robust and if it can't read picture data, that shouldn't be the cause the audio can't be played, don't you think? :)

True but @Lukewould have to comment on that, but in the end the browser itself chokes on the file.  Not sure if failing over to transcode would make a difference.

Not seeing any errors in server log but get "Playback Error: No compatible streams are currently available" with original file trying to play in Emby.

embyserver.txt

Fixing the embedded image plays in Emby.

Only tested in browser.

 

Edited by Happy2Play
Posted

BTW, file plays in Safari, so finally everything boils down to robustness. I think saying that this is not Emby's problem hurts this fantastic project. At least, Emby could warn user some content can't be played before attempt to play it.

Happy2Play
Posted
1 minute ago, xphorm said:

BTW, file plays in Safari, so finally everything boils down to robustness. I think saying that this is not Emby's problem hurts this fantastic project. At least, Emby could warn user some content can't be played before attempt to play it.

True but player capabilities are browser specific.  But can say Edge and Chrome have issues with the file but Firefox will play it.  Emby does not control how robust the browser play is just report back when the player itself chokes on the file.

Posted

Ah ok, somehow I concluded the problem is strictly not just in browser. Anyways, somwthing can be done to increase robustness and if malformed file is detected than it may be transcoded to something else.

  • 2 weeks later...
Posted
On 12/1/2022 at 4:25 AM, xphorm said:

Anyways, somwthing can be done to increase robustness and if malformed file is detected than it may be transcoded to something else.

Hi, we do already have this for video but it hasn't been extended to audio yet. Thanks.

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...