bhelm 7 Posted July 5, 2017 Posted July 5, 2017 I think the latest (and also not so recent) firefox/chromium versions are able to play FLAC directly (quobuz music streaming service is doing this for example) is it possible to disable transcoding for FLAC? im running emby 3.2.20 on linux. Thank You.
Luke 42078 Posted July 5, 2017 Posted July 5, 2017 We already direct play when the browsers report that they can play flac. It sounds like they might not be doing that.
Luke 42078 Posted July 5, 2017 Posted July 5, 2017 If you open this page, what does it say? can you show screenshots? thanks. https://hpr.dogphilosophy.net/test/
bhelm 7 Posted July 6, 2017 Author Posted July 6, 2017 (edited) Im playing on linux (archlinux) Vivaldi 1.10, emby result: endless loading indicator, not playing. Fixed by installing ffmpeg propritary codecs, restult is now transcode ts aac Firefix 54, emby result: Transcode ts aac Chromium 59.0.3071.115-1, emby result: Transcode ts aac google-chrome-59.0.3071.115-1, emby result: Transcode ts aac ok, so it does not work on any of my Linux browsers. I have booted ob a Windows 7 VM and tried windows browsers too: Firefox 54 (32 bit) Windows, emby result: transcode ts aac Google Chrome 59.0.3071.115 (Official Build) (64-Bit) Windows, emby result: direct playback Interesting. So i actually found a browser where direct play works on emby, but on most of my browsers it does not while it is working on the audio test page. Let me know if i can provide more informations. Edit: also tested Vivaldi 1.10 windows version, emby result: transcode ts aac. so my linux version seems to be broken. Edit2: linux vivaldi is now playing by installing ffmpeg propritary codecs. Edited July 6, 2017 by bhelm
Luke 42078 Posted July 6, 2017 Posted July 6, 2017 Ok, thanks for that. Best thing to do is provide the server and ffmpeg logs of an example. you can learn how to do that here: https://emby.media/community/index.php?/topic/739-how-to-report-a-problem/ Thanks.
bhelm 7 Posted July 7, 2017 Author Posted July 7, 2017 ok digging the logs was a good idea (yes, it always is). 2017-07-07 10:01:53.8429 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Items/8b78d3c6aa0dbbefdb4f0046be84b14c/Images/Primary?tag=6addf89651f85c2faa776e3aaeebdb2e&quality=90. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:01:53.8429 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Items/f754c16c9636c16151faf5046ed001e1/Images/Primary?tag=5f4047ef8900e8fc5ce0afe16be5f844&quality=90. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:01:53.8429 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Items/aaf9f90a31dbcfeb5a773f387fe57174/Images/Primary?tag=bc8bb73bf78b56ac85942daa4520b4a4&quality=90. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:01:53.8627 Info HttpServer: HTTP Response 304 to 127.0.0.1. Time: 20ms. http://127.0.0.1:8096/emby/Items/aaf9f90a31dbcfeb5a773f387fe57174/Images/Primary?tag=bc8bb73bf78b56ac85942daa4520b4a4&quality=90 2017-07-07 10:01:53.8627 Info HttpServer: HTTP Response 304 to 127.0.0.1. Time: 20ms. http://127.0.0.1:8096/emby/Items/f754c16c9636c16151faf5046ed001e1/Images/Primary?tag=5f4047ef8900e8fc5ce0afe16be5f844&quality=90 2017-07-07 10:01:53.8627 Info HttpServer: HTTP Response 304 to 127.0.0.1. Time: 20ms. http://127.0.0.1:8096/emby/Items/8b78d3c6aa0dbbefdb4f0046be84b14c/Images/Primary?tag=6addf89651f85c2faa776e3aaeebdb2e&quality=90 2017-07-07 10:01:58.5940 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/System/Endpoint. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:01:58.6102 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 16ms. http://127.0.0.1:8096/emby/System/Endpoint 2017-07-07 10:02:02.3752 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Users/f434f472327642d08810c1332ee5d56a/Items/f754c16c9636c16151faf5046ed001e1. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:02:02.3951 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 20ms. http://127.0.0.1:8096/emby/Users/f434f472327642d08810c1332ee5d56a/Items/f754c16c9636c16151faf5046ed001e1 2017-07-07 10:02:02.4757 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Users/f434f472327642d08810c1332ee5d56a/Items?ParentId=f754c16c9636c16151faf5046ed001e1&Filters=IsNotFolder&Recursive=true&SortBy=SortName&MediaTypes=Audio%2CVideo&Limit=200&Fields=MediaSources%2CChapters&ExcludeLocationTypes=Virtual&EnableTotalRecordCount=false. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:02:02.5573 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 82ms. http://127.0.0.1:8096/emby/Users/f434f472327642d08810c1332ee5d56a/Items?ParentId=f754c16c9636c16151faf5046ed001e1&Filters=IsNotFolder&Recursive=true&SortBy=SortName&MediaTypes=Audio%2CVideo&Limit=200&Fields=MediaSources%2CChapters&ExcludeLocationTypes=Virtual&EnableTotalRecordCount=false 2017-07-07 10:02:02.6745 Info HttpServer: HTTP HEAD http://127.0.0.1:8096/emby/Audio/ceba9741c0dd46394f5b856fa49976dd/universal?UserId=f434f472327642d08810c1332ee5d56a&DeviceId=7bc7ac9ffac21857de6732ceab09ef52c7dbc871&MaxStreamingBitrate=1500000&Container=opus,mp3,aac,m4a,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1499414511305&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=true. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:02:02.7699 Info App: User policy for Bernd. EnableAudioPlaybackTranscoding: True 2017-07-07 10:02:02.7778 Info App: Bitrate exceeds DirectStream limit: media bitrate: 1792750, max bitrate: 1500000 2017-07-07 10:02:02.7868 Info App: Bitrate exceeds DirectStream limit: media bitrate: 1792750, max bitrate: 1500000 2017-07-07 10:02:02.8225 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 148ms. http://127.0.0.1:8096/emby/Audio/ceba9741c0dd46394f5b856fa49976dd/universal?UserId=f434f472327642d08810c1332ee5d56a&DeviceId=7bc7ac9ffac21857de6732ceab09ef52c7dbc871&MaxStreamingBitrate=1500000&Container=opus,mp3,aac,m4a,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1499414511305&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=true 2017-07-07 10:02:02.8965 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Users/f434f472327642d08810c1332ee5d56a/Items/f754c16c9636c16151faf5046ed001e1. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:02:02.9014 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 5ms. http://127.0.0.1:8096/emby/Users/f434f472327642d08810c1332ee5d56a/Items/f754c16c9636c16151faf5046ed001e1 2017-07-07 10:02:03.0459 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Audio/ceba9741c0dd46394f5b856fa49976dd/universal?UserId=f434f472327642d08810c1332ee5d56a&DeviceId=7bc7ac9ffac21857de6732ceab09ef52c7dbc871&MaxStreamingBitrate=1500000&Container=opus,mp3,aac,m4a,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1499414511305&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=true. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:02:03.0492 Info App: User policy for Bernd. EnableAudioPlaybackTranscoding: True 2017-07-07 10:02:03.0492 Info App: Bitrate exceeds DirectStream limit: media bitrate: 1792750, max bitrate: 1500000 2017-07-07 10:02:03.0493 Info App: Bitrate exceeds DirectStream limit: media bitrate: 1792750, max bitrate: 1500000 2017-07-07 10:02:03.0530 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 7ms. http://127.0.0.1:8096/emby/Audio/ceba9741c0dd46394f5b856fa49976dd/universal?UserId=f434f472327642d08810c1332ee5d56a&DeviceId=7bc7ac9ffac21857de6732ceab09ef52c7dbc871&MaxStreamingBitrate=1500000&Container=opus,mp3,aac,m4a,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1499414511305&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=true I did not notice that i have a bandwidth policy. I went to my user profile -> playback and changed the max streaming bitrate from "Auto" to 1080p. Now it is direct streaming. How is this max bandwidth thing working? What does "Auto" mean? emby server -> me is 100Mbit connection, so bandwith is no problem. i may have set the streaming bandwith on my firetv at home to 1500000, but i expected this to be a device/app setting rather than a profile setting.
mastrmind11 722 Posted July 7, 2017 Posted July 7, 2017 ok digging the logs was a good idea (yes, it always is). 2017-07-07 10:01:53.8429 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Items/8b78d3c6aa0dbbefdb4f0046be84b14c/Images/Primary?tag=6addf89651f85c2faa776e3aaeebdb2e&quality=90. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:01:53.8429 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Items/f754c16c9636c16151faf5046ed001e1/Images/Primary?tag=5f4047ef8900e8fc5ce0afe16be5f844&quality=90. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:01:53.8429 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Items/aaf9f90a31dbcfeb5a773f387fe57174/Images/Primary?tag=bc8bb73bf78b56ac85942daa4520b4a4&quality=90. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:01:53.8627 Info HttpServer: HTTP Response 304 to 127.0.0.1. Time: 20ms. http://127.0.0.1:8096/emby/Items/aaf9f90a31dbcfeb5a773f387fe57174/Images/Primary?tag=bc8bb73bf78b56ac85942daa4520b4a4&quality=90 2017-07-07 10:01:53.8627 Info HttpServer: HTTP Response 304 to 127.0.0.1. Time: 20ms. http://127.0.0.1:8096/emby/Items/f754c16c9636c16151faf5046ed001e1/Images/Primary?tag=5f4047ef8900e8fc5ce0afe16be5f844&quality=90 2017-07-07 10:01:53.8627 Info HttpServer: HTTP Response 304 to 127.0.0.1. Time: 20ms. http://127.0.0.1:8096/emby/Items/8b78d3c6aa0dbbefdb4f0046be84b14c/Images/Primary?tag=6addf89651f85c2faa776e3aaeebdb2e&quality=90 2017-07-07 10:01:58.5940 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/System/Endpoint. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:01:58.6102 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 16ms. http://127.0.0.1:8096/emby/System/Endpoint 2017-07-07 10:02:02.3752 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Users/f434f472327642d08810c1332ee5d56a/Items/f754c16c9636c16151faf5046ed001e1. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:02:02.3951 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 20ms. http://127.0.0.1:8096/emby/Users/f434f472327642d08810c1332ee5d56a/Items/f754c16c9636c16151faf5046ed001e1 2017-07-07 10:02:02.4757 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Users/f434f472327642d08810c1332ee5d56a/Items?ParentId=f754c16c9636c16151faf5046ed001e1&Filters=IsNotFolder&Recursive=true&SortBy=SortName&MediaTypes=Audio%2CVideo&Limit=200&Fields=MediaSources%2CChapters&ExcludeLocationTypes=Virtual&EnableTotalRecordCount=false. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:02:02.5573 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 82ms. http://127.0.0.1:8096/emby/Users/f434f472327642d08810c1332ee5d56a/Items?ParentId=f754c16c9636c16151faf5046ed001e1&Filters=IsNotFolder&Recursive=true&SortBy=SortName&MediaTypes=Audio%2CVideo&Limit=200&Fields=MediaSources%2CChapters&ExcludeLocationTypes=Virtual&EnableTotalRecordCount=false 2017-07-07 10:02:02.6745 Info HttpServer: HTTP HEAD http://127.0.0.1:8096/emby/Audio/ceba9741c0dd46394f5b856fa49976dd/universal?UserId=f434f472327642d08810c1332ee5d56a&DeviceId=7bc7ac9ffac21857de6732ceab09ef52c7dbc871&MaxStreamingBitrate=1500000&Container=opus,mp3,aac,m4a,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1499414511305&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=true. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:02:02.7699 Info App: User policy for Bernd. EnableAudioPlaybackTranscoding: True 2017-07-07 10:02:02.7778 Info App: Bitrate exceeds DirectStream limit: media bitrate: 1792750, max bitrate: 1500000 2017-07-07 10:02:02.7868 Info App: Bitrate exceeds DirectStream limit: media bitrate: 1792750, max bitrate: 1500000 2017-07-07 10:02:02.8225 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 148ms. http://127.0.0.1:8096/emby/Audio/ceba9741c0dd46394f5b856fa49976dd/universal?UserId=f434f472327642d08810c1332ee5d56a&DeviceId=7bc7ac9ffac21857de6732ceab09ef52c7dbc871&MaxStreamingBitrate=1500000&Container=opus,mp3,aac,m4a,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1499414511305&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=true 2017-07-07 10:02:02.8965 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Users/f434f472327642d08810c1332ee5d56a/Items/f754c16c9636c16151faf5046ed001e1. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:02:02.9014 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 5ms. http://127.0.0.1:8096/emby/Users/f434f472327642d08810c1332ee5d56a/Items/f754c16c9636c16151faf5046ed001e1 2017-07-07 10:02:03.0459 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Audio/ceba9741c0dd46394f5b856fa49976dd/universal?UserId=f434f472327642d08810c1332ee5d56a&DeviceId=7bc7ac9ffac21857de6732ceab09ef52c7dbc871&MaxStreamingBitrate=1500000&Container=opus,mp3,aac,m4a,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1499414511305&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=true. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 2017-07-07 10:02:03.0492 Info App: User policy for Bernd. EnableAudioPlaybackTranscoding: True 2017-07-07 10:02:03.0492 Info App: Bitrate exceeds DirectStream limit: media bitrate: 1792750, max bitrate: 1500000 2017-07-07 10:02:03.0493 Info App: Bitrate exceeds DirectStream limit: media bitrate: 1792750, max bitrate: 1500000 2017-07-07 10:02:03.0530 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 7ms. http://127.0.0.1:8096/emby/Audio/ceba9741c0dd46394f5b856fa49976dd/universal?UserId=f434f472327642d08810c1332ee5d56a&DeviceId=7bc7ac9ffac21857de6732ceab09ef52c7dbc871&MaxStreamingBitrate=1500000&Container=opus,mp3,aac,m4a,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1499414511305&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=true I did not notice that i have a bandwidth policy. I went to my user profile -> playback and changed the max streaming bitrate from "Auto" to 1080p. Now it is direct streaming. How is this max bandwidth thing working? What does "Auto" mean? emby server -> me is 100Mbit connection, so bandwith is no problem. i may have set the streaming bandwith on my firetv at home to 1500000, but i expected this to be a device/app setting rather than a profile setting. Auto means it tests your bw and sets the bitrate accordingly. It *is* a per app setting.
bhelm 7 Posted July 7, 2017 Author Posted July 7, 2017 Auto means it tests your bw and sets the bitrate accordingly. It *is* a per app setting. then obviously there is something wrong with it on the web player. all the browsertests above were done with the same machine/connection (just the windows tests from within a vm).
Luke 42078 Posted July 7, 2017 Posted July 7, 2017 Please attach the complete emby server log, thanks.
bhelm 7 Posted July 10, 2017 Author Posted July 10, 2017 ok server-63635018492.txt ffmpeg-transcode-cd8eb696-9b73-4e8a-8b85-9e3b1ad44ace.txt
Luke 42078 Posted July 10, 2017 Posted July 10, 2017 Try updating to the latest version of Emby Server.
bhelm 7 Posted July 10, 2017 Author Posted July 10, 2017 ok updated to 3.2.25 and i can see some improvements. currently for me it is direct playing. a other user (PHILIPP) is still transcoding the flac songs and he is on the same connection as me. i have made sure that he did a cachefree reload after the update. logs.zip
Luke 42078 Posted July 10, 2017 Posted July 10, 2017 Thanks for the feedback. For the other person, please just supply one log example. The zip file has too many so I don't know what I'm looking at. Thanks.
BloodyIron 24 Posted July 14, 2017 Posted July 14, 2017 (edited) Is there a way to tell when Emby is serving FLAC to the client? As you say, it _should_ be sending FLAC if it's supported (for example). But how can I conclusively tell that it _is_? Also, that playback testing site is pretty rad Edited July 14, 2017 by BloodyIron
Luke 42078 Posted July 14, 2017 Posted July 14, 2017 Is there a way to tell when Emby is serving FLAC to the client? As you say, it _should_ be sending FLAC if it's supported (for example). But how can I conclusively tell that it _is_? Also, that playback testing site is pretty rad Yes, check out the new features in the latest server release: https://emby.media/community/index.php?/blog/1/entry-382-emby-server-3224-released/
bhelm 7 Posted July 24, 2017 Author Posted July 24, 2017 (edited) i can report (after some weeks of daily use) that with 3.2.25 the direct play of flacs now works as expected. the transcoding of the other user did go away after a day or so and did not return yet. thank you, i love the direct support on this. Edited July 24, 2017 by bhelm
thegrunge 29 Posted February 13, 2020 Posted February 13, 2020 (edited) I would like to know if the function (auto) For the video quality is indeed according to the available bandwidth and if it readjusts itself during reading depending on the available bandwidth at the user Edited February 13, 2020 by thegrunge
Luke 42078 Posted February 13, 2020 Posted February 13, 2020 For the video quality is indeed according to the available bandwidth Yes ! readjusts itself during reading depending on the available bandwidth at the user Not currently during playback, it only measures before playback. It's something we plan to improve in future updates though. Thanks ! 1
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