almaster 2 Posted September 19, 2022 Share Posted September 19, 2022 I have a problem playing FLAC music via DLNA for my Yamaha AVR. For some strange reason, with the default profile, Emby always transcode to MP3 despite FLAC being widely supported by my receiver. On the other hand by correctly setting a DLNA profile with direct playback for FLAC, Emby only accesses the songs available in MP3 (the songs in FLAC become unavailable). Paradoxically, if I set the transcoding in FLAC, Emby does the transcoding from FLAC to FLAC and the receiver plays the music. In the DLNA profile I also added parameters to the protocol info (http-get:*:audio/flac:*,http-get:*:audio/x-flac:*) but nothing changes. This problem only occurs with Emby, I have already tested the DLNA of Plex and Jellyfin and they work perfectly without any transcoding. I provide server log, FLAC to MP3 transcoding log and FLAC to FLAC transcoding log. Hope someone can help me solve the problem. Thanks embyserver.txt ffmpeg-transcode-07f19094-3309-46fb-880e-f0639b0e8121_1.txt ffmpeg-transcode-9c4b258d-b822-44a4-8bd8-7e6e13b95640_1.txt Link to comment Share on other sites More sharing options...
Luke 37273 Posted September 21, 2022 Share Posted September 21, 2022 Hi, are you sure the main emby server log file is complete? Link to comment Share on other sites More sharing options...
almaster 2 Posted September 21, 2022 Author Share Posted September 21, 2022 Sorry, i've uploaded the emby server log while trying to play FLAC with my custom profile (setting direct play for all audio codec/container), but Emby does not allow playback with this profile. Now I send the log with the default dlna profile that does the transcoding. I hope it can be fixed quickly. Thanks. embyserver.txt ffmpeg-transcode-cdad7b7e-7ec7-4bd6-96e3-3ebf22e37bcf_1.txt Link to comment Share on other sites More sharing options...
almaster 2 Posted September 25, 2022 Author Share Posted September 25, 2022 Anyone who can help me? Link to comment Share on other sites More sharing options...
almaster 2 Posted October 2, 2022 Author Share Posted October 2, 2022 (edited) After some tests, I found that there is no problem playing a song directly from the navigator of the Yamaha AVR; both FLACs and MP3s play correctly without transcoding by appropriately creating the DLNA profile. Problems arise when I try to play songs from Android apps like "Hi-Fi Cast" or "BubbleUPNP" with casting to the Yamaha receiver; navigation with these apps works correctly, but as soon as I send the play for a song, everything stops with the message "Access error". Looking in the Emby logs, I encounter this problem: "Error Server: Access token is invalid or expired." By reproducing on the mobile phone (therefore without casting) everything works correctly. It therefore appears that the generated url is invalid when using a UPNP control point external to the renderer. I attach the server log using "Hi-Fi Cast" on Android to first play a song directly on the smartphone and everything works correctly; then finally i played a song by setting the yamaha receiver as renderer and it fails. I hope someone can help me understand the problem, because I have an annual subscription but practically not used. Thanks embyserver.txt Edited October 2, 2022 by almaster Link to comment Share on other sites More sharing options...
almaster 2 Posted October 4, 2022 Author Share Posted October 4, 2022 (edited) I have encountered the same error using other home theater receivers which are dlna certified as well. For now I have solved it using Kodi on the same server where Emby is installed and connected via the Emby-next-gen plugin in native mode (sharing the path); after syncing the library, i enabled dlna server on Kodi and everything works perfectly (and without the nightmare of transcoding)! I'm sorry that the dlna server of Emby is so buggy and I hope they fix the problem soon. Edited October 4, 2022 by almaster Link to comment Share on other sites More sharing options...
rav302953 1 Posted January 29, 2023 Share Posted January 29, 2023 hi i encountered the same error with marantz system Hifi certified DLNA Link to comment Share on other sites More sharing options...
Luke 37273 Posted February 21, 2023 Share Posted February 21, 2023 Apologies for the delay. I've finally tracked down this issue and it will be resolved in the upcoming Emby Server 4.8 release. If you need immediate relief, the fix will be in the Emby Server beta channel later this week. Link to comment Share on other sites More sharing options...
Luke 37273 Posted March 24, 2023 Share Posted March 24, 2023 @almaster @rav302953 Apologies for the delay. The new beta with the fix is currently rolling out. If you need immediate relief, please try it out and report your experience. Thanks ! Link to comment Share on other sites More sharing options...
rav302953 1 Posted March 25, 2023 Share Posted March 25, 2023 Good morning, I installed the beta version 4.8.0.26 the sound still does not arrive on my marantz. Is it because I have a free version of Emby? Link to comment Share on other sites More sharing options...
Luke 37273 Posted March 25, 2023 Share Posted March 25, 2023 42 minutes ago, rav302953 said: Good morning, I installed the beta version 4.8.0.26 the sound still does not arrive on my marantz. Is it because I have a free version of Emby? Hi, can you please attach the Emby server log? Thanks. Link to comment Share on other sites More sharing options...
rav302953 1 Posted March 25, 2023 Share Posted March 25, 2023 The emby server log embyserver_20230325.txt Link to comment Share on other sites More sharing options...
Luke 37273 Posted April 10, 2023 Share Posted April 10, 2023 @rav302953are you still seeing this with 4.8.0.29? Link to comment Share on other sites More sharing options...
rav302953 1 Posted May 9, 2023 Share Posted May 9, 2023 Hi it still does not work Link to comment Share on other sites More sharing options...
Luke 37273 Posted May 9, 2023 Share Posted May 9, 2023 5 hours ago, rav302953 said: Hi it still does not work @rav302953can you please provide a new server log example using the latest 4.8.0.34 build? Thanks ! Link to comment Share on other sites More sharing options...
rav302953 1 Posted May 17, 2023 Share Posted May 17, 2023 Hi Here is attached the logs with version 4.8.0.35 embyserver.txt Link to comment Share on other sites More sharing options...
rav302953 1 Posted June 4, 2023 Share Posted June 4, 2023 Hi no solution to my problem??? Link to comment Share on other sites More sharing options...
Luke 37273 Posted June 4, 2023 Share Posted June 4, 2023 11 minutes ago, rav302953 said: Hi no solution to my problem??? Have you updated to the latest build? Link to comment Share on other sites More sharing options...
rav302953 1 Posted June 4, 2023 Share Posted June 4, 2023 II just tested in 4.8.0.38 still the same thembyserver (2).txting impossible to play music on my marantz Link to comment Share on other sites More sharing options...
Luke 37273 Posted June 6, 2023 Share Posted June 6, 2023 Has the latest update to the Emby dlna plug-in helped? Link to comment Share on other sites More sharing options...
spielhuus 0 Posted June 6, 2023 Share Posted June 6, 2023 I also have a Marantz SR receiver. just tested the 4.8.0.39 beta and still have the same problem. Flac files are not playing and the error message is: Error Server: Access token is invalid or expired. Link to comment Share on other sites More sharing options...
rav302953 1 Posted June 6, 2023 Share Posted June 6, 2023 Hi I updated to 4.8.0.39 the DLNA extension is 1.2.4.0 There is still no sound coming out but in the dashboard I see the reading whereas before it closes immediately embyserver.txt Link to comment Share on other sites More sharing options...
Luke 37273 Posted June 6, 2023 Share Posted June 6, 2023 Does it support direct playback of flac? Link to comment Share on other sites More sharing options...
spielhuus 0 Posted June 7, 2023 Share Posted June 7, 2023 Yes the Marantz SR supports flac playing and it is working with minidlna. I tried to trace the network communication, Everything looks fine until the client fetches the file. GET /audio/1679/stream.flac?DeviceProfileId=61c829640dac4fa9b048f7caf7ae9445&DeviceId=uuid:5f9ec1b3-ff59-19bb-8530-0006781f2833&MediaSourceId=27b99af85380c3f74813cc944e39db6d&Static=true&PlaySessionId=a7d7ed6ab7794aa296110f3c8facdf39&api_key=KEY HTTP/1.1 The Server responds with 401 Unauthorized to this request. The request for mp3 file looks the same. Just with stream.mp3 and a different DeviceProfileId Link to comment Share on other sites More sharing options...
rav302953 1 Posted June 7, 2023 Share Posted June 7, 2023 Hi Yes flac is supported up to 24 bit 96KHz I had not done a test with MP3 but suddenly it works For information I use the standard profile (I don't know how to create personalized profiles) Link to comment Share on other sites More sharing options...
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