Jump to content


Photo

Transcoding movies with 10 bit color, faded colors

10bit color faded vaapi

  • Please log in to reply
3 replies to this topic

#1 ZiemaF OFFLINE  

ZiemaF

    Member

  • Members
  • 20 posts
  • Local time: 02:37 PM
  • LocationPoland

Posted 19 August 2019 - 07:26 AM

Hi,
I have a server on UnRaid, Docker is running on this server.
EMBY works on Docker, with HW transcoding (VAAPI Intel i5-8600k), generally works great.
I have a problem with films with 10bit color.
If I play the movie directly (without transcoding) the colors are ok.
If I turn on transcoding (to any resolution), the colors are so faded.
Can i do something about it?
 
Thank you for your help


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138124 posts
  • Local time: 08:37 AM

Posted 19 August 2019 - 12:38 PM

Hi, we haven't yet implemented any tone mapping for hdr to sdr transcoding. It's planned for the future. Thanks.

#3 ZiemaF OFFLINE  

ZiemaF

    Member

  • Members
  • 20 posts
  • Local time: 02:37 PM
  • LocationPoland

Posted 20 August 2019 - 01:39 AM

Thank you for the information.
Do you already have a deadline or are you planning tests?
I will gladly take part in it.
Here I found a solution to the problem https://stevens.li/g...dr-with-ffmpeg/
Theoretically, my Intel i5-8600k should be able to handle hardware conversion of hdr (10bit) to sdr (8bit)


#4 Jdiesel OFFLINE  

Jdiesel

    Advanced Member

  • Members
  • 2682 posts
  • Local time: 06:37 AM
  • LocationRegina, SK

Posted 20 August 2019 - 02:45 AM


Thank you for the information.
Do you already have a deadline or are you planning tests?
I will gladly take part in it.
Here I found a solution to the problem https://stevens.li/g...dr-with-ffmpeg/
Theoretically, my Intel i5-8600k should be able to handle hardware conversion of hdr (10bit) to sdr (8bit)


Are you sure about that? Did you catch the last paragraph of that article.

"The tone-mapping algorithm place 100% load on a single CPU core. Null output of our tone-mapping setup results in an average playback speed of about 4.3 frames per second on an AMD Ryzen 7 1800X CPU running at 3.8 GHz."

Zscale is single threaded, even a 1800x can only manage 4.3 frames per second which is nowhere near the minimum of 24 frames per second for real-time transcoding. ffmpeg will need to introduce a more efficient way of doing this, preferably hardware accelerated, before this is feasible.





Also tagged with one or more of these keywords: 10bit, color, faded, vaapi

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users