Jump to content

Using libplacebo to Fix the Dolby Vision Profile 5 Transcoding Tonemapping Issue


Recommended Posts

Posted

The current version cannot transcode DV Profile 5 content correctly. The transcoded video looks like this:

Screenshot_20251201204021.thumb.png.806b3bcc1486572d016ba2b412951d97.png

And it should be:

vlcsnap-2025-12-01-20h44m23s435.thumb.png.32fbf02ff8228b9e8bec7ecf86ad79b4.png

ffmpeg 5.0 support libplacebo to transcode DV Profile 5 to SDR correctly.

Command example:

ffmpeg -init_hw_device vulkan=vulkan -filter_hw_device vulkan -i ${VIDEO_FILE} -c:v hevc -crf 18 -c:a aac -b:a 320k -vf "hwupload,libplacebo=format=yuv420p:colorspace=bt709:color_primaries=bt709:color_trc=bt709,hwdownload,format=yuv420p,subtitles=${SUBTITLE_FILE}" ${OUTPUT}

 

Posted

Hi, thanks. This is on our to do list for review. Thanks.

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...