Log in

View Full Version : x265 3.0 Dolby Vision encoding


Pages : 1 [2]

quietvoid
6th August 2021, 20:02
No way currently, but it could be possible with reference XML and binary RPU.
Sol Levante only comes with one of those, since Netflix doesn't openly distribute the transcoded files.

Same answer for HDR10+, but that's more complicated.

I'm not sure how your usecase has Dolby Vision support in Resolve (requiring a license), but not the DEE.
Maybe they come separately.

Blue_MiSfit
7th August 2021, 02:02
You could use a public cloud offering like AWS MediaConvert or Hybrik to do this indirectly. Either would produce final Dolby Vision Profile 5 elementary streams (with the RPU included). You could dump that data if you just wanted the RPU.

quietvoid
12th August 2021, 16:30
Actually, Netflix does make some of their experiments available as both XML and encoded metadata.
So it could be done pretty simply, if someone does the work.

Balling
13th August 2021, 03:44
Actually, Netflix does make some of their experiments available as both XML and encoded metadata.
So it could be done pretty simply, if someone does the work.

Yeah, for that this patch should be applied, but the speed of the devs, oogh! https://patchwork.ffmpeg.org/project/ffmpeg/patch/CAGKSLywdGwJ=B1fa_1Ns5Ac-ZaxecB7PUFuiTYnNFA9=+NYF-A@mail.gmail.com/

Blue_MiSfit
14th August 2021, 00:00
This patch is so important I can't even :) ^^

quietvoid
25th August 2021, 06:43
Hi all,

Is there a way to convert plain-text XML (from DaVinci) to binary RPU file metadatas without using the expensive Dolby Encoding Engine software?

Or maybe a way to convert a JSON file from HDR10+ to this binary RPU?

Thanks.

I've started working on this, you can find a test build here: https://github.com/quietvoid/dovi_tool/pull/43
edit: Feature is in 0.5.0: https://github.com/quietvoid/dovi_tool/releases/tag/0.5.0

So far L2 trim values seem to be different for Netflix's Sparks encoded RPU.
I don't really know why.

Also, I recently added partial generation from HDR10+, essentially just using the analysed L1 metadata.

Edit: now supports both CMv2.9 and CMv4.0 for L1/L2/L3/L6 metadata.

Balling
26th August 2021, 17:55
Patch applied: https://github.com/FFmpeg/FFmpeg/commit/16102cada5a7c6e0a2aa07b1d2ac24dabc2095d9 and previous.

Lucius Snow
28th August 2021, 13:41
Great news! I'll give it a try.

Balling
11th September 2021, 09:29
Vimeo turned on HLG Dolby Vision. https://vimeo.com/601088734

https://www.engadget.com/vimeo-dolby-vision-support-171019651.html
https://vimeo.zendesk.com/hc/en-us/articles/11501530…tching-HDR-Videos


Our HDR playback files are created using the HEVC (H.265) video codec, so make sure that you are using a supported video player and HDR10 supported viewing hardware. We recommend using the nightly build of VLC (https://nightlies.videolan.org/) or mpv (https://mpv.io/installation/).

Only apple devices are supported and Youtube-dl ;)

код выделить копировать
youtube-dl.exe -F https://vimeo[.]com/601088734
[vimeo] 601088734: Downloading webpage
[vimeo] 601088734: Downloading JSON metadata
[vimeo] 601088734: Downloading JSON metadata
WARNING: Unable to download JSON metadata: HTTP Error 403: Forbidden
[vimeo] 601088734: Downloading fastly_skyfire m3u8 information
[vimeo] 601088734: Downloading fastly_skyfire m3u8 information
[vimeo] 601088734: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 601088734: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 601088734: Downloading fastly_skyfire MPD information
WARNING: Unknown codec dvh1.08.01
WARNING: Unknown codec dvh1.08.01
WARNING: Unknown codec dvh1.08.03
WARNING: Unknown codec dvh1.08.01



In practice you can open https://player.vimeo.com/video/601092670/config?autopause=1&byline=0&collections=1&context=Vimeo%5CController%5CClipController.main&default_to_hd=1&h=c59cb319eb&outro=nothing&portrait=0&share=1&speed=1&title=0&watch_trailer=0&aee456af_1631451035

config in F12 dev tools of Crome and extract URL of DV.
ffmpeg.exe -i "https://skyfire.vimeocdn.com/1631354504-0xbd668e04dbe3ae33c2a16af5d504a6b185427992/168ed075-c7e9-49d2-a58a-ae0f4e22cc38/sep/video/76a4dc18,9806faf5,4cb30f17,6daf3a1d,641ee4b5,609c3410,cf77e251/audio/100781af,8fd81468/master.m3u8?query_string_ranges=1&f=dash" -strict unofficial -c copy dv85.mp4

It will work. strict unofficial needed to write DoVi sidedata. FFmpeg/FFmpeg@b8243b3