Waldonnis 148 Posted May 18, 2018 Posted May 18, 2018 This may be an unpopular opinion but 4K HDR transcoding is not ready from primetime yet. This is no fault of Emby but rather a combination of factors. Do yourself a huge favor and convert your 4K HDR remuxes to a more proven format that will direct play on the devices that currently require transcoding and keep both copies. Emby already does a good job of handling multiple versions so the 4K HDR videos will direct play on the devices that support it and devices that don't can use the pre-converted version. I have made a second 5Mbps 1080p, h264, Rec.709, 2-channel aac and multichannel DD audio tracks version from all my 4K HDR movies. The average file size of the second version is about 6GB and they direct play on pretty much every device I have. I second this. Transcoding 4k HDR to 4k HDR isn't really hard to construct an ffmpeg command line for, but it's not as simple as 1080p 8-bit h.264...and HEVC is vastly more computationally "heavy" by comparison as well. Hardware can help a bit with this, but there are problems even there (metadata inclusion in the bitstream, mostly). Solutions outside of software encoding just don't seem to be "there" yet unless you're dealing with extremely simple scenarios (read: no metadata or HDR signalling). Going 10-bit to 8-bit isn't even all that easy since there isn't a universal "best tonemapping" setting that works well for every film.
Grom8 2 Posted May 19, 2018 Author Posted May 19, 2018 Thanks for the help guys, I will do some more messing around.
Grom8 2 Posted May 19, 2018 Author Posted May 19, 2018 I will focus on other problems later (fixing quality etc), my main issue is that I just want to get this working. A quick update, after a large amount of messing around with different drivers and versions of Emby, I went back to the newest driver and the got the latest beta of Emby which successfully got a run working with all settings on the FIRST time only. - Log 1 = All encoding/decoding options on, ran this for about 30min and I was getting 35% GPU load. This may have been a successful run but the fps/speed is so low im not sure. This is where I get the changing frame issue for the first time. - Log 2 = Only encoding on, stuck/loops at 10s - Log 3 = Now I go back and try all settings on again and now I'm back to being in a broken state where I'm stuck/looping at 10s - Log 4 = Only decoding on, this was by far the laggiest playback but it didn't get stuck, I could have watched the whole movie. - Log 5 = HEVC decoding on, encoding on. Not a surprise it gets stuck at 10s. - Log 6 = Back again to all settings on and stuck/loop at 10s The first test gave me hope but for some reason it only worked once, I was getting 20ish CPU load and 35ish GPU load which is to be expected but now it wont go back to this performance . Watching the GPU load for the other tests yeilds 5-10% GPU load and it constantly stops and start with load dropping to 0 for a second randomly on occasions.This is extremely frustrating because I'm not really sure where to go from here, for example some of the issues brought up in the logs aren't very common and its very hard to find a fix especially on windows as most discussion takes place with people on Linux machines. Most of the time its reinstalling drivers but I have already gone through 4 different versions. Also the fact that the ffmpeg logs I am getting are inconsistent with each other, an error will appear on one then when repeating the same test later I no longer get the error or its something different. Thanks again for your guys expertise on this, it means a lot. Helps me not pull my hair out Log 1 (All, played but laggy, left for a while).txt Log 2 (Only Encode, Laggy-Stuck at 10s).txt Log 3 (All again, stopped at 10s this time).txt Log 4 (Only Decode, Actually played but the laggiest, freezes every 3-5 seconds).txt Log 5 (Only HEVC Decode and Encode All, Laggy, freeze at 10s).txt Log 6 (All, froze at 10s).txt
PrincessClevage 175 Posted May 20, 2018 Posted May 20, 2018 I will focus on other problems later (fixing quality etc), my main issue is that I just want to get this working. A quick update, after a large amount of messing around with different drivers and versions of Emby, I went back to the newest driver and the got the latest beta of Emby which successfully got a run working with all settings on the FIRST time only. - Log 1 = All encoding/decoding options on, ran this for about 30min and I was getting 35% GPU load. This may have been a successful run but the fps/speed is so low im not sure. This is where I get the changing frame issue for the first time. - Log 2 = Only encoding on, stuck/loops at 10s - Log 3 = Now I go back and try all settings on again and now I'm back to being in a broken state where I'm stuck/looping at 10s - Log 4 = Only decoding on, this was by far the laggiest playback but it didn't get stuck, I could have watched the whole movie. - Log 5 = HEVC decoding on, encoding on. Not a surprise it gets stuck at 10s. - Log 6 = Back again to all settings on and stuck/loop at 10s The first test gave me hope but for some reason it only worked once, I was getting 20ish CPU load and 35ish GPU load which is to be expected but now it wont go back to this performance . Watching the GPU load for the other tests yeilds 5-10% GPU load and it constantly stops and start with load dropping to 0 for a second randomly on occasions. This is extremely frustrating because I'm not really sure where to go from here, for example some of the issues brought up in the logs aren't very common and its very hard to find a fix especially on windows as most discussion takes place with people on Linux machines. Most of the time its reinstalling drivers but I have already gone through 4 different versions. Also the fact that the ffmpeg logs I am getting are inconsistent with each other, an error will appear on one then when repeating the same test later I no longer get the error or its something different. Thanks again for your guys expertise on this, it means a lot. Helps me not pull my hair out Funny enough, tonight I attempted a 4K hvec play to Xbox one and all I get is 100%cpu with poor playback, this is with all nvidia HWA options enabled in Emby Server
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