SynesthesiaBruh 1 Posted December 20, 2016 Share Posted December 20, 2016 (edited) Hey so I have Emby Server installed on my NAS and Emby installed on my Samsung TV. Here is a layout of my home network: https://c1.staticflickr.com/1/743/31636364036_d7ca5cc2ee_b.jpg I made that for a question I had on reddit but it should suffice here My TV is connected to my router via wifi, and my NAS is connected to my router through an unmanaged switch via ethernet cables. I am able to play 1080P content. Cosmos ASO (1080P) is an AVC file (x264) around 32 Mb/s and I'm able to play that no problem. The Revenant (4k) is also AVC (x264) at around 40 Mb/s. My TV is a Samsugn KS8000: http://www.samsung.com/us/televisions-home-theater/tvs/4k-suhd-tvs/55-class-ks8000-8-series-4k-suhd-tv-2016-model-un55ks8000fxza/ Anyone know how I can troubleshoot/know what's wrong? EDIT: I've tried playing multiple 4k movies multiple times and all I get is a loading circle. Edited December 20, 2016 by SynesthesiaBruh Link to comment Share on other sites More sharing options...
Luke 37113 Posted December 20, 2016 Share Posted December 20, 2016 What exactly is the problem? Link to comment Share on other sites More sharing options...
SynesthesiaBruh 1 Posted December 20, 2016 Author Share Posted December 20, 2016 What exactly is the problem? Oh sorry... I'm an idiot. I just get a loading circle. I've tried playing multiple 4k files multiple times. Made it about 20 minutes one time. never got any of them to work. Link to comment Share on other sites More sharing options...
SamES 891 Posted December 20, 2016 Share Posted December 20, 2016 I've seen this. @@Luke we need to up the bitrate limit as it's trying to decode if >40Mbs and ffmpeg seems to crash when transcoding 4k. I'll see if I can work this out tonight. Can it be done with some of rule based capabilities to provide different bitrate limits for different codecs? 2 Link to comment Share on other sites More sharing options...
SynesthesiaBruh 1 Posted December 20, 2016 Author Share Posted December 20, 2016 I've seen this. @@Luke we need to up the bitrate limit as it's trying to decode if >40Mbs and ffmpeg seems to crash when transcoding 4k. I'll see if I can work this out tonight. Can it be done with some of rule based capabilities to provide different bitrate limits for different codecs? Hey no rush! You guys can take all the time you need, I was just thinking this was an issue specific to my network or something. Link to comment Share on other sites More sharing options...
Luke 37113 Posted December 20, 2016 Share Posted December 20, 2016 Can you please provide the transcoding log: https://emby.media/community/index.php?/topic/739-how-to-report-a-problem/ Thanks ! Link to comment Share on other sites More sharing options...
SynesthesiaBruh 1 Posted December 20, 2016 Author Share Posted December 20, 2016 (edited) Can you please provide the transcoding log: https://emby.media/community/index.php?/topic/739-how-to-report-a-problem/ Thanks ! I uploaded the two files that have the most recent save date (today 1:50am EST). I opened Emby and then tried playing The Revenant around 1:50am EST and then waited about 5 minutes. Let me know if you need anything else. EDIT: Wait I thought no transcoding happens unless the file codec/container isn't supported by the playback device? ffmpeg-transcode-3066af6f-3e43-4efa-a9c1-a7a7896f4f2f.txt server-63617788800.txt Edited December 20, 2016 by SynesthesiaBruh Link to comment Share on other sites More sharing options...
Adam86 0 Posted January 4, 2017 Share Posted January 4, 2017 Comparing your log with mine, I appear to be having the same issue using a fresh installation of Emby and The Samsung Tizen App. This is what appears in my logs with 4K content: 2017-01-04 17:53:14.7374 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 25146063, max bitrate: 20000000 2017-01-04 17:53:14.7374 Info App: Profile: Unknown Profile, Path: D:\MediaPortal\TV-Series\The Crown\The Crown S01E10 2160p.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: False 2017-01-04 17:53:14.7531 Info App: Profile: VideoCodecProfile, DirectPlay=false. Reason=Unknown Profile.VideoLevel Condition: LessThanEqual. ConditionValue: 41. IsRequired: True. Path: D:\MediaPortal\TV-Series\The Crown\The Crown S01E10 2160p.mkv 2017-01-04 17:53:14.7687 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 25146063, max bitrate: 20000000 2017-01-04 17:53:14.7687 Info App: Profile: Unknown Profile, Path: D:\MediaPortal\TV-Series\The Crown\The Crown S01E10 2160p.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: False 2017-01-04 17:53:14.7687 Info App: Profile: VideoCodecProfile, DirectPlay=false. Reason=Unknown Profile.VideoLevel Condition: LessThanEqual. ConditionValue: 41. IsRequired: True. Path: D:\MediaPortal\TV-Series\The Crown\The Crown S01E10 2160p.mkv 2017-01-04 17:53:14.7687 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 25146063, max bitrate: 20000000 2017-01-04 17:53:14.7687 Info App: Profile: Unknown Profile, Path: D:\MediaPortal\TV-Series\The Crown\The Crown S01E10 2160p.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: False 2017-01-04 17:53:14.7687 Info App: Profile: VideoCodecProfile, DirectPlay=false. Reason=Unknown Profile.VideoLevel Condition: LessThanEqual. ConditionValue: 41. IsRequired: True. Path: D:\MediaPortal\TV-Series\The Crown\The Crown S01E10 2160p.mkv I went into the player settings within the App and changed the video playback from Auto to the very highest setting that was available 1080 60mbps but it made no difference. Thanks Link to comment Share on other sites More sharing options...
Luke 37113 Posted January 4, 2017 Share Posted January 4, 2017 The next update to the app will improve this, thanks. 1 Link to comment Share on other sites More sharing options...
SynesthesiaBruh 1 Posted February 13, 2017 Author Share Posted February 13, 2017 (edited) Comparing your log with mine, I appear to be having the same issue using a fresh installation of Emby and The Samsung Tizen App. This is what appears in my logs with 4K content: 2017-01-04 17:53:14.7374 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 25146063, max bitrate: 20000000 2017-01-04 17:53:14.7374 Info App: Profile: Unknown Profile, Path: D:\MediaPortal\TV-Series\The Crown\The Crown S01E10 2160p.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: False 2017-01-04 17:53:14.7531 Info App: Profile: VideoCodecProfile, DirectPlay=false. Reason=Unknown Profile.VideoLevel Condition: LessThanEqual. ConditionValue: 41. IsRequired: True. Path: D:\MediaPortal\TV-Series\The Crown\The Crown S01E10 2160p.mkv 2017-01-04 17:53:14.7687 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 25146063, max bitrate: 20000000 2017-01-04 17:53:14.7687 Info App: Profile: Unknown Profile, Path: D:\MediaPortal\TV-Series\The Crown\The Crown S01E10 2160p.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: False 2017-01-04 17:53:14.7687 Info App: Profile: VideoCodecProfile, DirectPlay=false. Reason=Unknown Profile.VideoLevel Condition: LessThanEqual. ConditionValue: 41. IsRequired: True. Path: D:\MediaPortal\TV-Series\The Crown\The Crown S01E10 2160p.mkv 2017-01-04 17:53:14.7687 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 25146063, max bitrate: 20000000 2017-01-04 17:53:14.7687 Info App: Profile: Unknown Profile, Path: D:\MediaPortal\TV-Series\The Crown\The Crown S01E10 2160p.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: False 2017-01-04 17:53:14.7687 Info App: Profile: VideoCodecProfile, DirectPlay=false. Reason=Unknown Profile.VideoLevel Condition: LessThanEqual. ConditionValue: 41. IsRequired: True. Path: D:\MediaPortal\TV-Series\The Crown\The Crown S01E10 2160p.mkv I went into the player settings within the App and changed the video playback from Auto to the very highest setting that was available 1080 60mbps but it made no difference. Thanks The next update to the app will improve this, thanks. Hi, I am still unable to play any of my 4k content. Any help? NO RUSH. I tried playing 3:10 to Yuma (1080P, ~30.1Mb/s, MKV, Video: VC-1, Audio: PCM) at 3:44PM and was unable to play it. Also, I was unable to play The Martian (4K, ~48Mb/s, MKV, Video: AVC, Audio: DTS) at 3:53PM. I was also unable to play The Revenant in 4K (~38Mb/s, MKV, Video: AVC, Audio: FLAC apparently) but did not include a log. Logs are attached, I edited the end of the log files to contain the names of the films I was trying to play. My TV is wired into a 100Mb/s unmanaged switch and my Windows NAS is also wired into the switch. So, because 3:10 to Yuma was only ~30.1Mb/s (~48Mb/s for The Martian 4k, ~38Mb/s for The Revenant) and no other data was coming/going from any device on my network, the switch should be fine I'm assuming. Now the TV does not support LPCM audio, however I am assuming Emby Server would then transcode the audio to something the TV could play, no? I was able to play 3:10 to Yuma via Samsung Smart Connect (audio and everything). My home network for reference: 32731025252_0c8144ca28_b.jpg Emby server is up to date btw, 3.2.1, and I'm assuming it's up to date on my TV but can't confirm (not sure how to). Let me know if you need anything. Thanks! EDIT: Oh wait, I realized something. My NAS has a wicked slow CPU, Intel Pentium G630T (Sandy Bridge dual core, 2.3GHz, 3MB cache), 8GB DDR3 dual channel ~2k MHz RAM, and 2 6TB 5400 RPM 64MB cache HDDs in Raid 0. Ram should be fine, HDDs are slow but in Raid 0 so should be fine, (when transferring from computer to NAS or vice versa a full 50GB movie transfers in maybe 30 mins so I'm assuming the switch is fine it's just the CPU). I was able to play The Martian (4k) via Samsung Smart connect HOWEVER, it took 20-30 seconds to start playing and was constantly buffering. So I'm assuming it's not Emby, but rather just a hardware bottleneck. If you guys think it's the CPU, what CPU would you recommend for up to 50Mb/s 4k video? I'm assuming a G2140 Pentium 3.3GHz 3MB cache Ivy Bridge would suffice? Thanks! ffmpeg-transcode-7ad533f8-4e7d-495c-8de0-203de597bde0 310 To Yuma.txt ffmpeg-transcode-fdaba182-7c07-4e31-a370-ba1cca3abeec The Martian.txt server-63622540799 310 To Yuma.txt server-63622540799 The Martian.txt Edited February 13, 2017 by SynesthesiaBruh Link to comment Share on other sites More sharing options...
SamES 891 Posted February 13, 2017 Share Posted February 13, 2017 I think we may need to add some additional support for these codecs/containers, I will check tonight Link to comment Share on other sites More sharing options...
FrostByte 5052 Posted February 13, 2017 Share Posted February 13, 2017 (edited) FLAC isn't supported within video on my KS9500 so guessing that should be converted to AC3 and remuxed for all models. Also, according to the manual LPCM is supported, but it's only supported for stereo (like in DVDs). The manual doesn't exactly say stereo, but I chatted with Samsung support tech and was given that information Edited February 13, 2017 by FrostByte 1 Link to comment Share on other sites More sharing options...
SamES 891 Posted February 14, 2017 Share Posted February 14, 2017 For 3:10 to Yuma, I think it's the audio that is the issue. For The Martian, it looks like the network speed is the problem. From the log "Bitrate exceeds DirectPlay limit: media bitrate: 48680170, max bitrate: 29767442" Can you confirm whether 3:10 to Yuma will play via a USB device connected direct to the TV? Link to comment Share on other sites More sharing options...
dnacore 0 Posted February 16, 2017 Share Posted February 16, 2017 Me too using KS7000, can confirm that there are problems with 4k content. When I check the CPU usage it is appear that transcoding did happens with 4k content while direct play is supported. Is there anyway to disable transcoding for 4k or HDR content? Link to comment Share on other sites More sharing options...
Luke 37113 Posted February 16, 2017 Share Posted February 16, 2017 The next release of the app will improve this, thanks. 1 Link to comment Share on other sites More sharing options...
SynesthesiaBruh 1 Posted February 16, 2017 Author Share Posted February 16, 2017 (edited) For 3:10 to Yuma, I think it's the audio that is the issue. For The Martian, it looks like the network speed is the problem. From the log "Bitrate exceeds DirectPlay limit: media bitrate: 48680170, max bitrate: 29767442" Can you confirm whether 3:10 to Yuma will play via a USB device connected direct to the TV? Thanks Just put 3:10 on my external HDD, plugged it into my TV and it was able to play audio/video. Under information, I get "Format: mkv/pcm_s16le" so I'm assuming it isn't transcoding the audio and that my tv does in fact support pcm. Also, you're saying that the max supported bitrate is ~29Mb/s, right? I've played movies/TV that are higher bitrates than that, I was able to play Kubo and the Two Strings (49.7Mb/s, 1080P, DTS), so I would assume the bitrate limit is at least ~50Mb/s. If ~29Mb/s is the limit, do yo know what would be limiting this? My NAS's NIC is 1Gb, the switch is 1000Mb/s, and both ethernet cables are Cat6/7. Perhaps the ethernet coupler? The coupler is supposed to support CAT6 speeds or so says it's description on Amazon. EDIT: I'm an idiot, I have a 1000 Mb/s switch... Edited February 17, 2017 by SynesthesiaBruh Link to comment Share on other sites More sharing options...
SamES 891 Posted February 16, 2017 Share Posted February 16, 2017 Thanks. I think we'll have to look at adding mkv/pcm_s16le. Not sure about the network speed, that was just the message from the log. You may have just had some network congestion on the day? Does it always fail? You can check the server log for "Bitrate exceeds DirectPlay limit:" to determine if it consistently this problem. 1 Link to comment Share on other sites More sharing options...
SynesthesiaBruh 1 Posted February 17, 2017 Author Share Posted February 17, 2017 Thanks. I think we'll have to look at adding mkv/pcm_s16le. Not sure about the network speed, that was just the message from the log. You may have just had some network congestion on the day? Does it always fail? You can check the server log for "Bitrate exceeds DirectPlay limit:" to determine if it consistently this problem. Actually, I'm an idiot... 1: I have a *1000 Mb/s* network switch, not 100 Mb/s switch... But I just realized something. Kubo is the movie with the highest bitrate of any 1080P film I have and it's only 49.7 Mb/s. So that means of the theoretical maximum bitrate my network can achieve 1000 Mb/s (or 125 MB/s), the film is only using 49.7 Mb/s (or 6.2125 MB/s) of bandwidth. So I should theoretically be able to play 20 streams of the movie, correct? Or am I taking crazy pills? I've been a computer geek for ~10 years and bites vs bytes still confuse me... 2: Also according to the KS8000's manual, it does support LPCM: 32099792624_28732a0bd4_b.jpg --------- I can't think of anything that would have congested my network. Unless Windows 10 decided to run another pesky update... But even then my max download speed from my ISP is 60 Mb/s (and yes that's bits lol) so that shouldn't have caused too much congestion. Just tried playing 3:10 again for the firth or sixth time now and I am still unable to play it. So after realizing that I should have more than enough bandwidth, I'm assuming the issue does in fact lie with the audio codec. Link to comment Share on other sites More sharing options...
FrostByte 5052 Posted February 17, 2017 Share Posted February 17, 2017 (edited) I remux a lot of Blu-ray discs and never had an issue with them. They usually run below 40 Mbps though. I'll have to see if I can find something higher and test it out Edited February 17, 2017 by FrostByte 1 Link to comment Share on other sites More sharing options...
Scott D 62 Posted February 17, 2017 Share Posted February 17, 2017 Input from a cable guy. My daytime job (for past 32 years) is network infrastructure. I would take a close look at the cat6 to cat7 connection. The best you will get from any link is the lowest rating. Cat6 connected to Cat7 to a 100BaseT will get you 100BaseT. Throw a Cat3 patch cord in there and you have a nice telephone connection...maybe. If you can eliminate the cat6 to cat7 coupling, that would be the first thing to do. Next, if you have the capability, test (or certify) the cabling if possible. I see far too often cabling that has Cat5/5e/6/7/? stamped on the side, but when improperly installed and terminated can barely pass Cat3 standards. Twist is key. Untwist too much and you have problems. Check for interference on the cabling. A/C compressors, fluorescent lighting, fans, microwaves, etc. Cabling "certification" will identify these problems, if you can get it done. Next, if your switch is getting older, consider upgrading/replacing it. I have found that things start to degrade after about 2 years. Especially with consumer grade equipment. Same thing with routers. If I can assist any further with infrastructure, feel free to reach out to me. 2 Link to comment Share on other sites More sharing options...
SamES 891 Posted February 18, 2017 Share Posted February 18, 2017 Thanks. I think we'll have to look at adding mkv/pcm_s16le. Not sure about the network speed, that was just the message from the log. You may have just had some network congestion on the day? Does it always fail? You can check the server log for "Bitrate exceeds DirectPlay limit:" to determine if it consistently this problem. I've add pcm_s16le and pcm_s24le for DirectPlay. I'm not sure if there is a pending release with Samsung but it should be in the next release submitted to the store. 3 Link to comment Share on other sites More sharing options...
SynesthesiaBruh 1 Posted March 8, 2017 Author Share Posted March 8, 2017 Thanks. I think we'll have to look at adding mkv/pcm_s16le. Not sure about the network speed, that was just the message from the log. You may have just had some network congestion on the day? Does it always fail? You can check the server log for "Bitrate exceeds DirectPlay limit:" to determine if it consistently this problem. 3:10 to Yuma now plays! Thank you! 4k stuff still won't play yet though. Link to comment Share on other sites More sharing options...
Luke 37113 Posted March 9, 2017 Share Posted March 9, 2017 @@SynesthesiaBruh can you describe the issue in more detail? what exactly happens? Link to comment Share on other sites More sharing options...
SamES 891 Posted March 9, 2017 Share Posted March 9, 2017 (edited) I have a hunch from this post that there might be two problems https://emby.media/community/index.php?/topic/42750-im-unable-to-play-my-4k-content/&do=findComment&comment=404181 (and the post prior to it) Firstly, these are level 5.1 files and would currenlty be (falsely) failing direct play. @@Luke, you can confirm but I expect this is fixed in the next release Secondly, I expect ffmpeg might be crashing on transcoding 4k files. @SynesthesiaBruh, on the sever running emby, in a dos cmd window, can you please run this command and let me know if it fails quickly with any error messages? C:\Users\Matt\AppData\Roaming\Emby-Server\ffmpeg\20160410\ffmpeg.exe -i file:"Z:\1 Video\1 Movies\The Revenant 2015\The Revenant 2015 2160P FLAC 7.1.mkv" -map_metadata -1 -threads 2 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset veryslow -crf 0 -b:v 25579812 -maxrate 25579812 -bufsize 51159624 -vsync -1 -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -flags -global_header -copyts -codec:a:0 ac3 -ab 192000 -af "adelay=1,aresample=async=1" -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -hls_time 3 -start_number 0 -hls_list_size 0 -y "C:\Users\Matt\AppData\Roaming\Emby-Server\transcoding-temp\665150ea9f50252485e36b486f238628.m3u8" Then please try this command, I expect it will spend some time creating the transcoded file and won't fail quickly. C:\Users\Matt\AppData\Roaming\Emby-Server\ffmpeg\20160410\ffmpeg.exe -i file:"Z:\1 Video\1 Movies\The Revenant 2015\The Revenant 2015 2160P FLAC 7.1.mkv"-probesize 10M -map_metadata -1 -threads 2 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset veryslow -crf 0 -b:v 25579812 -maxrate 25579812 -bufsize 51159624 -vsync -1 -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -flags -global_header -copyts -codec:a:0 ac3 -ab 192000 -af "adelay=1,aresample=async=1" -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -hls_time 3 -start_number 0 -hls_list_size 0 -y "C:\Users\Matt\AppData\Roaming\Emby-Server\transcoding-temp\665150ea9f50252485e36b486f238628.m3u8" Please confirm Edited March 9, 2017 by SamES 2 Link to comment Share on other sites More sharing options...
Luke 37113 Posted May 3, 2017 Share Posted May 3, 2017 The latest updates to the app have resolved this, thanks guys. 2 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