cirkator 2 Posted August 13, 2015 Posted August 13, 2015 Hi, let me start by how much i like Emby and Emby for Kodi. Although not perfect yet, it makes syncing content on multiple platforms so easy! Thank you for your dedication! Now to my problem. Every video file i play in Kodi via the Emby for Kodi plugin, the sound quality is very poor. By poor I mean it sounds "metalic" as when playing a mp3 with a very low bitrate. My Emby for Kodi settings are "Play from http instead of SMB" [enabled] and "Video Quality" [2.0Mbps] (I tried changing the quality to a higher value, but it didnt change my problem) What seems to happen is that while transcoding the audio bitrate is lowered significantly resulting in my described poor audio quality. When I am playing the video locally in Kodi via the Emby for Kodi plugin its sounds great. The Emby mediainfo for the file in question shows a bitrate of 375 kbps while the audio stream in Kodi only shows 130 kbps. (See screenshots attached) When I am playing the same videofile over the WebApp it sounds good. I guess that is because it shows me 384 kbps for the audio (See screenshot) On a sidenote, I dont get how a file has 375kbps and then when i play it on the WebApp it suddenly has 384 kbps... I also have attached a screenshot of the mouse-over menu in the Serversettings while I am playing the file via the WebApp I am running Win7 with Kodi 15.0 and Emby for Kodi Stable Repo 1.1.13 and Emby Server Version 3.0.5675.1. I have attached a kodi.log and a screenshot of my audiosettings in Kodi. Any help in fixing that would be highly appreciated. kodi.log
Angelblue05 4131 Posted August 13, 2015 Posted August 13, 2015 (edited) And if you change from wasapi output to direct sound? Honestly never looked at the transcoding options. We convert the audio stream to aac or ac3. Sent from my iPhone using Tapatalk Edited August 13, 2015 by Angelblue05
cirkator 2 Posted August 13, 2015 Author Posted August 13, 2015 I forgot to mention that I am using a Laptop with its built in speakers. These are the available options I can choose from (see screenshot) I tried all four options, even restarted Kodi after each change, but the problem still persists. Always 130 kbps and it sounds thin and metalic.
Diedrich 368 Posted August 13, 2015 Posted August 13, 2015 (edited) You don't have pass-through enabled do you? (Kodi) Edited August 13, 2015 by dvgmar
Cirkator01 1 Posted August 13, 2015 Posted August 13, 2015 No, I do not. Since I am just using my laptop speakers and no HDMI to AVR there isn't even the option to enable passthrough.
Cirkator01 1 Posted August 14, 2015 Posted August 14, 2015 Is there anything more I can do to help resolve this issue? Debug log? Open a bug report?
Angelblue05 4131 Posted August 14, 2015 Posted August 14, 2015 Can you tell me if you see this is happening with all content? I do not have this problem when transcoding. Can you leave your speakers on direct sound? start playback, on the video osd, you'll see a speaking icon or similar. Make sure passthrough is not enabled. I believe the setting is right where you can select the audio and subtitle tracks. When transcoding, there's no choice of the codec used currently. Audio tracks are converted to aac I believe. Sent from my iPhone using Tapatalk
cirkator 2 Posted August 15, 2015 Author Posted August 15, 2015 (edited) So i have tried a variety of movies and tv shows, with 2.0 and 5.1 audio tracks. Different formats, .avi, .mkv. But all the files played in Kodi have the weird metalic sound. You can listen to it, but it just sounds wrong. I have and had passtrough disabled in Kodi. I then tried to play all the movies and tv shows via the webapp and they sound as they are supposed to. I have found something interesting. Maybe it is supposed to be this way, i dont know. Look at the first line in the two pics. One shows 127kb/s and the other one 9kb/s. They stay at this value. But the second line, which i think shows the current audiobitrate is in both pics around 130kb/s. Do you want a log of me playing the different files in Kodi? EDIT: Just to verify that i am not imaging the bad sound, i listened to Kodi and the webapp with headphones, and with headphones the bad sound is even more noticable in Kodi... Edited August 15, 2015 by cirkator
cirkator 2 Posted August 19, 2015 Author Posted August 19, 2015 (edited) I found something interesting. I have tested some more and i am quite confident in saying that the problem seems related to the number of audio channels. Stereo sounds good and normal. 5.1 sounds thin and metalic. I found 3 tv shows (sure that i could find more) that had one season in 2.0 and the other season in 5.1 Every episode with 5.1 sounded wrong, every one with Stereo sounded right. In the meantime i completely uninstalled Kodi and deleted the Roaming folder. Reinstalled Kodi 15.1 and tried both the stable and beta repo. That changed nothing, unfortunately. I sent you (AngelBlue05) a PM with the logs and a link to a short YouTube video were you can listen to the difference. The logs are transcoding logs with debugging enabled and Kodi logs with debugging and Emby for Kodi debugging setting enabled. Pictures of the mediainfo of the files are included aswell. I hope you can find something in these logs Edit: I have uninstalled the Audio Driver and reinstalled a earlier one. But that didnt help and i have changed the audio settings according to this chart: http://kodi.wiki/view/Audio_quickstart_guide I used the PC Speaker 2.0 setup. But again, changing the settings to e.g. resample quality "high" doesnt change anything with my problem. Edited August 19, 2015 by cirkator 1
Angelblue05 4131 Posted August 19, 2015 Posted August 19, 2015 (edited) @@cirkator when did you send me the PM? Edit, as I said that, I received the PM so nvm Edited August 19, 2015 by Angelblue05
Solution Angelblue05 4131 Posted August 19, 2015 Solution Posted August 19, 2015 Fix for this issue is resolved next beta version, 1.1.35. 1
cirkator 2 Posted August 19, 2015 Author Posted August 19, 2015 AngelBlue05 in his infinite wisdom changed the transcoding audio codec from aac to ac3 which completely resolved the issue for me. Finally I can enjoy Emby and Kodi to the fullest. Thank you for the quick fix and the friendly and helpful replies AngelBlue! 1
Recommended Posts