Jump to content


Photo

Transcode unsupported Flac by Client Automatically?


  • Please log in to reply
5 replies to this topic

#1 mickle026 OFFLINE  

mickle026

    Advanced Member

  • Members
  • 95 posts
  • Local time: 02:16 AM

Posted 15 March 2019 - 07:19 PM

It took me a while but I've worked out that Firefox support of Flac files is limited to where the ID3 Tag is.

If the ID3 tag is infront of the Flac Audio Frames then Firefox simply cannot play it.

 

Files with the 4 byte header: fLaC are supported.

 

5c8c31257ddb3_supportedflac.png

 

Flac files with the Header: ID3 are UN - supported

 

5c8c31ab40e1e_unsupportedflac.png

 

These files that start the music frames after the ID3 Tag are NOT supported by Firefox and cause unsupported stream error in Emby)

 

5c8c31b84e175_unsupportedflac1.png

 

Is it possible to detect the requesting client - ie Firefox , check the Header and automatically transcode the unsupported file types to a supported type?

 

OR

 

Is it possible that Emby reporting to Firefox that the File is not a Flac file?? - I think the former - not supported as they play in MS Edge


Edited by mickle026, 15 March 2019 - 08:45 PM.


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 121725 posts
  • Local time: 10:16 PM

Posted 15 March 2019 - 11:55 PM

That's interesting. Thanks for the info. It's something we can look into. Hopefully there's a bug report filed to Firefox about this?

#3 mickle026 OFFLINE  

mickle026

    Advanced Member

  • Members
  • 95 posts
  • Local time: 02:16 AM

Posted 16 March 2019 - 05:14 AM

That's interesting. Thanks for the info. It's something we can look into. Hopefully there's a bug report filed to Firefox about this?

 

Actually when opening the file directly in Firefox address bar, playback is fine so I am assuming that its maybe embedded or Emby that has an issue?

 

So not sure is this is a Firefox bug or Emby ...

 

5c8cbdd6cbfb5_playbackok.jpg

 

So why is it making a difference in Emby ?

 

Its definitely the ID3 tag that's causing the fault report from Emby - removing the ID3 Tag it fixes the issue.

 

I have sample files if they are needed.


Edited by mickle026, 16 March 2019 - 05:17 AM.


#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 121725 posts
  • Local time: 10:16 PM

Posted 16 March 2019 - 12:03 PM

Yes please, thanks.

#5 mickle026 OFFLINE  

mickle026

    Advanced Member

  • Members
  • 95 posts
  • Local time: 02:16 AM

Posted 16 March 2019 - 01:32 PM

Yes please, thanks.

 

Sent via PM



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 121725 posts
  • Local time: 10:16 PM

Posted 19 March 2019 - 11:41 AM

Thanks.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users