photoprism/photoprism

Videos: Transcode HDR10+ to SDR

Open

#3,295 opened on Mar 18, 2023

View on GitHub
 (5 comments) (3 reactions) (0 assignees)Go (2,263 forks)batch import
help wantedideathumbnailsvideo

Repository metrics

Stars
 (39,670 stars)
PR merge metrics
 (Avg merge 4d) (26 merged PRs in 30d)

Description

Describe what problem this solves and why this would be valuable to many users

Modern phone cameras can record video in HDR10+ and Dolby Vision. These videos (at least the HDR10+ ones I can test) look grey and washed out when viewed in Photoprism.

Describe the solution you'd like

It would be great if HDR10+ and Dolby Vision videos were converted to SDR as part of the transcoding process so that they can be viewed in a web browser properly.

Additional context

The video on the left is a normal SDR video recorded on the same phone (Xiaomi 12 Pro) as the video on the right which is HDR10+ The colours on the left look vibrant and 'normal' whereas the colours in the video on the right are washed out.

image

I'm unable to test Dolby Vision but I imagine the results are similar.

Contributor guide