Paul77nz 8 Posted November 26, 2018 Posted November 26, 2018 (edited) I am getting more 4K HDR files, and they look great when direct playing via the Emby app on my LG TV. However, when I transcode these for remote viewing on my iPhone X or Emby Theater (on Surface 5 Pro) the colours are very dull and washed out looking. The same happens if I transcode to the LG TV rather than direct-play (this is the same TV that they look great on when direct playing). The transcoded colours don't just look dull compared to the direct played HDR file, but also when compared to a native SDR version of the same movie. I assume that when transcoding it is outputting SDR (which is fine), but is there any way to make the output colours look better (i.e. more like the native SDR version)? At the moment I am having to keep two copies of each file (HDR and SDR), and this obviously takes up a lot more disk space, so I'd be keen to hear if there is a solution to this. Thanks Edited November 26, 2018 by Paul77nz
CBers 7121 Posted November 26, 2018 Posted November 26, 2018 When transcoding, HDR is lost. FFMPEG, which performs the transcoding, doesn't currently support HDR.
Paul77nz 8 Posted November 26, 2018 Author Posted November 26, 2018 When transcoding, HDR is lost. FFMPEG, which performs the transcoding, doesn't currently support HDR. Thanks for the quick reply. Do you have any knowledge if support is planned to be added, and whether that would be likely to improve the transcoding from HDR to SDR?
Paul77nz 8 Posted November 26, 2018 Author Posted November 26, 2018 (edited) Just did a little Googling, and apparently what I'm after is tonemapping of HDR to SDR. Is there already a feature request in place for this? Edited November 26, 2018 by Paul77nz
Guest asrequested Posted November 26, 2018 Posted November 26, 2018 Ffmpeg has the potential, but transcoding 4k takes a lot of processing, and then add tone mapping to that. Here's one person trying to figure it out. https://emby.media/community/index.php?/topic/65265-tonemapping-filter-pull-request/
Luke 40121 Posted November 26, 2018 Posted November 26, 2018 We plan to look at tone mapping with transcoding in a future update. Thanks. 2
Paul77nz 8 Posted November 26, 2018 Author Posted November 26, 2018 We plan to look at tone mapping with transcoding in a future update. Thanks. Thanks @@Luke
Gerrit507 24 Posted April 7, 2019 Posted April 7, 2019 Hi, I have gathered quite a lot of hevc hdr videos in my library now. When they are getting transcoded, for example because I watch them over a webbrowser, the colors look washed out. I've searched around and found this blog post, which exactly describes the issue: https://stevens.li/guides/video/converting-hdr-to-sdr-with-ffmpeg/ When transcoding hevc 10bit hdr content to avc, emby (or ffmpeg) just cuts off the additional colorspace. The blog also describes a method to convert BT.2020 to BT.709. It basically scales down the colors to the smaller colorspace. Is there a way that you can implement this into emby? I'd love to have that feature.
Guest asrequested Posted April 7, 2019 Posted April 7, 2019 It's planned https://github.com/MediaBrowser/Emby/issues/3480
Gerrit507 24 Posted April 9, 2019 Posted April 9, 2019 Well, is there any possibility that this gets implemented in the near future? Are pull requests required? I could try to implement it.
Luke 40121 Posted April 10, 2019 Posted April 10, 2019 I would think within the next 2-3 releases is realistic for this.
vlix 1 Posted May 14, 2019 Posted May 14, 2019 Hi Luke & ebr, Can you perhaps give us an update on progress (if any) on this feature? I for one have more and more UHD Bluray material on my Emby server, and it sucks that all that material is unwatchable on remote devices because of the washed out colours. Thanks!!!
Guest asrequested Posted May 14, 2019 Posted May 14, 2019 Hi Luke & ebr, Can you perhaps give us an update on progress (if any) on this feature? I for one have more and more UHD Bluray material on my Emby server, and it sucks that all that material is unwatchable on remote devices because of the washed out colours. Thanks!!! https://emby.media/community/index.php?/topic/72233-hdr-sdr-transcoding-washed-out-colors/
lightsout 156 Posted August 16, 2019 Posted August 16, 2019 (edited) double Edited August 16, 2019 by lightsout
lightsout 156 Posted August 16, 2019 Posted August 16, 2019 I would think within the next 2-3 releases is realistic for this. Any updates on this Luke?
Luke 40121 Posted August 17, 2019 Posted August 17, 2019 We haven't gotten to it yet, but it's on our list.
lightsout 156 Posted August 17, 2019 Posted August 17, 2019 We haven't gotten to it yet, but it's on our list. Ok thanks for the quick reply.
vdatanet 1586 Posted August 18, 2019 Posted August 18, 2019 I am also interested in this. My server has enough power to transcode 4K HDR, but since HDR is lost in this operation, I am required to keep two versions of my movies (1080p SDR and 4K HDR) for clients that do not support 4K HDR. As long as I have enough disk space, it's not a problem, and if my space runs out, I'll have to expand it.
MagicDoubleM 116 Posted October 8, 2019 Posted October 8, 2019 (edited) I'd want to add, that not always a full transcode from 4kHDR->SDR is the necessary way. Transcoding to lower resolution (or just lower bitrate 4k) while staying with HDR10 works nicely and keeps color-data intact. Leaving it to the client to convert to 8bit and do the tone-mapping, which most modern stuff can do (or just enjoying HDR even on a lower-res transcode!). Sure, some older clients might still not like 10bit HDR hevc and that needs a full conversation with tone-mapping on the other side, but i bet in lots of scenarios this isn't the case anymore (or easy to fix with a 4k firetv-stick when it's on sale again ;-) ). Edited October 8, 2019 by MagicDoubleM
SLMK 15 Posted October 24, 2019 Posted October 24, 2019 I also hope this isn't too far off, its literally the only feature I'm waiting on. 4K HDR is getting increasingly common in my collection and Ive got plenty of power for transcoding.
hooj1981 5 Posted November 16, 2019 Posted November 16, 2019 Same here. I'm having to keep two versions of HDR media for transcoding clients. This would be of great benefit. Any update Luke?
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