Fluxcompensator 0 Posted 2 hours ago Posted 2 hours ago Description: I found what appears to be an issue with codec detection or playback profile matching in Emby Server 4.9.5.0. Environment: Emby Server: 4.9.5.0 Platform: ReadyNAS (Linux) Client: Emby Web Browser: Sony Vewd Browser (OMI) User-Agent: Mozilla/5.0 (Linux; Android 12; BRAVIA 4K VH22) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.6533.120 Safari/537.36 OMI/4.25.1.92.StableAVB_Sony.1 Problem: The Sony Vewd browser is unable to play FLAC audio. However, Emby does not transcode FLAC to AAC (or another supported codec). Instead, it serves the original FLAC file directly, causing playback to fail. Audio transcoding is enabled for the user. Expected behavior: Since the browser does not support FLAC playback, Emby should automatically transcode the audio to AAC (or another supported format). Actual behavior: The playback request is made through the UniversalAudioService with: AudioCodec=aac but the server responds with: Content-Type: audio/flac The original FLAC stream is sent instead of a transcoded AAC stream. Relevant log excerpts: User policy: EnableAudioPlaybackTranscoding: True GET /emby/Audio/.../universal ... AudioCodec=aac Response: Content-Type: audio/flac Additional information: The issue only occurs with the Sony Vewd browser. Other clients (Android TV app, desktop browsers, etc.) work as expected. It appears that Emby incorrectly assumes that the Vewd browser supports FLAC playback, or the browser's playback profile incorrectly advertises FLAC support. Could this be a bug in the Vewd browser device profile or codec detection logic? embyserver_sanitized.txt
Luke 42733 Posted 2 hours ago Posted 2 hours ago Hi that’s odd. The browser must be reporting that it supports it. The next release will have a section in settings to force transcoding of certain formats so you can use that.
Fluxcompensator 0 Posted 1 hour ago Author Posted 1 hour ago But I want FLAC to be played by default. I don't want to have to convert the format every time just because of a browser.
visproduction 363 Posted 1 hour ago Posted 1 hour ago Which browser supports flac https://caniuse.com/flac
Luke 42733 Posted 32 minutes ago Posted 32 minutes ago 1 hour ago, Fluxcompensator said: But I want FLAC to be played by default. I don't want to have to convert the format every time just because of a browser. But that's not what you said in the expected behavior section of your original posting.
Fluxcompensator 0 Posted 9 minutes ago Author Posted 9 minutes ago Yes, if the browser doesn't support FLAC, it should be transcoded. But I don't want FLAC to be transcoded for all browsers in general.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now