Tormented12 wrote: ↑Tue Oct 26, 2021 4:26 pm
I have a question regarding encoding a file to 1920x1080p and add the Dolby Vision later. Somehow, I don't get the right file after RPU insertion.
I have encoded a Game of Thrones Episode (4K REMUX, which is Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU). I encoded it without cropping, (which I do for every encode, also movies, I just resize it from 3840x2160 to 1920x1080).
It got me an 1080p episode, which is HDR10. I used the following command to change the .mkv file to hevc:
ffmpeg -y -i GOT.S01E01.mkv -an -c:v copy -f hevc GOT.S01E01.hevc
After this, I use the command to extract the RPU from the HEVC with mode 2:
dovi_tool -m 2 extract-rpu GOT.S01E01.hevc, which gives me an RPU.bin, which, I think should be converted to profile 8.
After this, I use the ffmpeg command to change the re-encoded file from .mkv file to hevc.file. I then usethe following command to inject the RPU into the re-encoded HEVC.file:
dovi_tool inject-rpu -i GOT.S01E01.HDR.hevc --rpu-in RPU.bin -o injected_output.hevc
But somehow, I doesn't work for me. It keeps begin SMPTE 2086, HDR10. Dolby Vision won't be visible in the hevc output file. When I mux the hevc.file to .mkv, then it still is only HDR10, and not Dolby Vision.
What is the part where I screw up? I'm doing it somewhere, but I just can't put my finger on it. Or is it a cropping thing? Some help with this would be very appreciated!
Regards,
Tormented12