test399 0 Posted June 26, 2019 Share Posted June 26, 2019 (edited) Still new to Emby, ive been a premire member for about 9 mo. i read somewhere if i got a better cpu that i could transcode on the fly better. So i got an i5-8400. So i tried playing this vid streaming in my home network (windows 10) to S7 at 1080p 20mbps Subs off and it played, but the CPU was at 100% constantly. Should vid this be putting that kind of strain on my cpu? Format : Matroska Format version : Version 4 File size : 53.4 GiB Duration : 2 h 29 min Overall bit rate mode : Variable Overall bit rate : 51.2 Mb/s Movie name : iFT Encoded date : UTC 2018-08-07 20:22:42 Writing application : mkvmerge v22.0.0 ('At The End Of The World') 64-bit Writing library : libebml v1.3.5 + libmatroska v1.4.8 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L5.1@High HDR format : SMPTE ST 2086, HDR10 compatible Codec ID : V_MPEGH/ISO/HEVC Duration : 2 h 29 min Bit rate : 45.9 Mb/s Width : 3 840 pixels Height : 2 160 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 (Type 2) Bit depth : 10 bits Bits/(Pixel*Frame) : 0.231 Stream size : 47.9 GiB (90%) Writing library : ATEME Titan File 3.8.16 (4.8.16.0) Default : Yes Forced : No Color range : Limited Color primaries : BT.2020 Transfer characteristics : PQ Matrix coefficients : BT.2020 non-constant Mastering display color primaries : Display P3 Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2 Audio #1 ID : 2 Format : MLP FBA 16-ch Format/Info : Meridian Lossless Packing FBA with 16-channel presentation Commercial name : Dolby TrueHD with Dolby Atmos Codec ID : A_TRUEHD Duration : 2 h 29 min Bit rate mode : Variable Bit rate : 4 534 kb/s Maximum bit rate : 6 930 kb/s Channel(s) : 8 channels Channel layout : L R C LFE Ls Rs Lb Rb Sampling rate : 48.0 kHz Frame rate : 1 200.000 FPS (40 SPF) Compression mode : Lossless Stream size : 4.73 GiB (9%) Language : English Default : Yes Forced : No Number of dynamic objects : 13 Bed channel count : 1 channel Bed channel configuration : LFE Audio #2 ID : 3 Format : AC-3 Format/Info : Audio Coding 3 Commercial name : Dolby Digital Codec ID : A_AC3 Duration : 2 h 29 min Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Bit depth : 16 bits Compression mode : Lossy Stream size : 684 MiB (1%) Title : AC3 embedded Language : English Service kind : Complete Main Default : No Forced : No Text #1 ID : 4 Format : PGS Muxing mode : zlib Codec ID : S_HDMV/PGS Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs Duration : 1 s 126 ms Bit rate : 87.8 kb/s Count of elements : 2 Stream size : 12.1 KiB (0%) Title : foreign parts only Language : English Default : Yes Forced : No Edited June 26, 2019 by test399 Link to comment Share on other sites More sharing options...
rbjtech 4262 Posted June 26, 2019 Share Posted June 26, 2019 You do not have throttling enabled - Emby will attempt to transcode the file as fast as it can - so 100% is normal. Enabling throttling to reduce CPU load only enough to keep up with playback. 3 Link to comment Share on other sites More sharing options...
test399 0 Posted June 26, 2019 Author Share Posted June 26, 2019 (edited) Thats it? Ok i will try that. But shouldnt there be something under Preffered Hardware Encoders for H265? I thought UHD 630 would add an encoder for this Another quick think on this. I have a GTX 1050 2gb and RX590 sitting around. Will adding either of these cards help take load of CPU? (regardless of throttling enabled/disabled) Edited June 26, 2019 by test399 Link to comment Share on other sites More sharing options...
Happy2Play 8282 Posted June 26, 2019 Share Posted June 26, 2019 (edited) Thats it? Ok i will try that. But shouldnt there be something under Preffered Encoders for H265? I thought UHD 630 would add an encoder for this Another quick think on this. I have a GTX 1050 2gb and RX590 sitting around. Will adding either of these cards help take load of CPU? (regardless of throttling enabled/disabled) No as Emby does currently encode to h265. There is a feature request for this. https://emby.media/community/index.php?/topic/48529-transcode-in-h265/ And PSG subtitle will be another issue also. Edited June 26, 2019 by Happy2Play Link to comment Share on other sites More sharing options...
Luke 37064 Posted June 26, 2019 Share Posted June 26, 2019 Thats it? Yes that is it but keep in mind, your system has to be able to transcode fast enough for throttling to even be utilized. Otherwise it will be the same as what you are currently seeing. And burning in PGS subtitles is a costly process for even a powerful system. It's generally something you want to avoid, which means one of the following: Use an emby app that can direct play the pgs subtitles without transcoding (emby theater, android, ios, etc). Web browsers do not support PGS subtitles, so they'll need to be burned in with transcoding. Use external text subtitles instead, such as .srt files Turn off the subtitles Link to comment Share on other sites More sharing options...
test399 0 Posted June 26, 2019 Author Share Posted June 26, 2019 And burning in PGS subtitles is a costly process for even a powerful system I can do all of that above, no subtitles. Rarely will i need the vids transcoded on the fly. But in that rare instance i'd like to be able to do it with 1 stream, HEVC 50MB/s file . Can you help me determine what else i would need to get a powerful system if i dont already have one? Would i need a CPU with a higher passmark score?Or Add a graphics card like I have a GTX 1050 2gb and RX590.? Would the RX590 even trancode?Or run this on my Xpenology (i5-8400 as well) inside of a docker maybe? Whats the best scenario with my server hardware? Link to comment Share on other sites More sharing options...
Luke 37064 Posted June 26, 2019 Share Posted June 26, 2019 The cpu you have now is pretty capable. Of course you can always upgrade, but was the video not playing smoothly? That is the most important thing. Link to comment Share on other sites More sharing options...
Happy2Play 8282 Posted June 26, 2019 Share Posted June 26, 2019 You would need to post the ffmpeg log to see why HWA was not being used. Do you have Emby Premiere? Link to comment Share on other sites More sharing options...
test399 0 Posted June 26, 2019 Author Share Posted June 26, 2019 You would need to post the ffmpeg log to see why HWA was not being used. Do you have Emby Premiere? How can i post the ffmpeg log? Yes i have emby premiere Link to comment Share on other sites More sharing options...
Luke 37064 Posted June 26, 2019 Share Posted June 26, 2019 How can i post the ffmpeg log? Yes i have emby premiere Click more reply options next to the Post button. thanks. Link to comment Share on other sites More sharing options...
test399 0 Posted June 26, 2019 Author Share Posted June 26, 2019 (edited) i dont see the code option here. I did upload the txt file though, can that be used? ffmpeg transcode.txt Edited June 26, 2019 by test399 Link to comment Share on other sites More sharing options...
Happy2Play 8282 Posted June 26, 2019 Share Posted June 26, 2019 (edited) i dont see the code option here. I did upload the txt file though, can that be used? Did you hit the "attach this file" button? Previous post updated. Edited June 26, 2019 by Happy2Play Link to comment Share on other sites More sharing options...
test399 0 Posted June 26, 2019 Author Share Posted June 26, 2019 (edited) Did you hit the "attach this file" button? I thought i did but didnt. but edited and hit attach this file. Thanks Will this file be sufficient? ffmpeg transcode.txt Edited June 26, 2019 by test399 Link to comment Share on other sites More sharing options...
Luke 37064 Posted June 27, 2019 Share Posted June 27, 2019 Was there a problem during this playback session? This log looks good to me. Link to comment Share on other sites More sharing options...
Happy2Play 8282 Posted June 27, 2019 Share Posted June 27, 2019 (edited) Only issue I see is why was there no HWA detected? Is HWA Yes or Advance on Transcoding option? May have to post your hardware_detection log. Edited June 27, 2019 by Happy2Play Link to comment Share on other sites More sharing options...
ebr 14913 Posted June 27, 2019 Share Posted June 27, 2019 Hi. Keep in mind that "100%" CPU utilization in today's multi-core processors could be as little as 1/8th or even 1/16th of your actual CPU power... If there was no problem during playback, then you probably don't have one . Did playback not go smoothly? Link to comment Share on other sites More sharing options...
test399 0 Posted June 28, 2019 Author Share Posted June 28, 2019 (edited) Only issue I see is why was there no HWA detected? Is HWA Yes or Advance on Transcoding option? May have to post your hardware_detection log. To the others Yes playback seemed to be perfect, and also i can understand why one might shy away from the hardware detection logs. Geez that log looks like an Ancient Egyptian Dictionary. i didnt think windows used HWA, or VAAPI. Right? Thanks @@Happy2Play for taking a look, you are a great guy no matter WHAT anyone says about you. hardware detection log.txt @ Luke and Ebr Are you alluding to the fact that windows task manager doesn't correctly report? Edited June 28, 2019 by test399 Link to comment Share on other sites More sharing options...
Solution Luke 37064 Posted June 28, 2019 Solution Share Posted June 28, 2019 Did you follow our hardware acceleration setup guide? 1 Link to comment Share on other sites More sharing options...
test399 0 Posted June 30, 2019 Author Share Posted June 30, 2019 I did. So what this system is, is just a test to see if i could get transcoding working to implement on my Xpenology. I did get it working on windows but at very high cpu usage. When i took this mobo and i5-8400 and moved it to my Xpenology that i already had in place, i was able to transcode on the fly, the very same 50MB/s 4k Hevc video at 2-4% cpu usage! Thanks for all the help. Windows Emby - Hevc Cpu at 100% Xpenology Emby (VAAPI) - Hevc Cpu at 2-4% Link to comment Share on other sites More sharing options...
Luke 37064 Posted June 30, 2019 Share Posted June 30, 2019 Thanks for the feedback ! 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