intel / intel/media-driver

[Feature]: Retain HDR+10 metadata

Open
#1,908 0 comments 0 reactions 1 assignee Claimed by @XinfengZhang View on GitHub
Feature Request
Dominant language
C
Stars
1.2k
Forks
383
Avg merge
8d 18h
Merged PRs (30d)
4

Description

### What Feature?

```bash
$ ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -init_hw_device vaapi:/dev/dri/renderD129,driver=iHD -i before.hevc after.hevc &> /dev/null
$ mediainfo before.hevc | grep HDR
HDR format : SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
$ mediainfo after.hevc | grep HDR
HDR format : SMPTE ST 2086, HDR10 compatible
```

### What's the usage scenario would be benifited?

Transcode for media delivery

### What impacted?

Everytime Plex transcodes media you'll lose the HDR10+ metadata. It'd be nice if VA-API was able to retain the metadata but if that's not possible I'd also be willing to provide the info myself (`metadata.json`).

### Do you want to contribute a patch to develop this feature?

No.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.