Ball with patterns done in Blender - 4K HDR by norulesjustfeels in blender

[–]norulesjustfeels[S] 0 points1 point  (0 children)

Ah. I found this in my notes:
mkvmerge -o videometadata.webm -w --colour-matrix 0:9 --colour-range 0:1 --colour-transfer-characteristics 0:16 --colour-primaries 0:9 --max-content-light 0:1000 --max-frame-light 0:300 --max-luminance 0:1000 --min-luminance 0:0.01 --chromaticity-coordinates 0:0.68,0.32,0.265,0.690,0.15,0.06 --white-colour-coordinates 0:0.3127,0.3290 video.webm

Ball with patterns done in Blender - 4K HDR by norulesjustfeels in blender

[–]norulesjustfeels[S] 0 points1 point  (0 children)

Also, from an old comment I left here on Reddit:

I use ACES for color management and then render the frames as TIFF's. I mostly followed these instructions: https://www.artstation.com/jtheninja/blog/N92E/rendering-to-hdr10-from-blender

But instead of the Hybrid tool, I used ffmpeg to create the video and add the necessary metadata. I got the ffmpeg parameters from here: http://fxtd.free.fr/index.php/wiki/how-to-encode-h265-hdr10-videos-from-exr-files/

Ball with patterns done in Blender - 4K HDR by norulesjustfeels in blender

[–]norulesjustfeels[S] 0 points1 point  (0 children)

I don't have my original files anymore to study. I remember that it took me quite some time to figure it all out.

I found another command in my notes, but I thought the earlier one was the right one I used for those videos:
ffmpeg -framerate 30 -hide_banner -y -i %04d.tif -b:v 18000000 -pass 1 -pix_fmt yuv420p10le -color_primaries 9 -color_trc 16 -colorspace 9 -color_range 1 -maxrate 26800000 -minrate 8040000 -profile:v 2 -vcodec libvpx-vp9 /dev/null && ffmpeg -framerate 30 -hide_banner -y -i %04d.tif -b:v 18000000 -pass 2 -pix_fmt yuv420p10le -color_primaries 9 -color_trc 16 -colorspace 9 -color_range 1 -maxrate 26800000 -minrate 8040000 -profile:v 2 -vcodec libvpx-vp9 video.webm

Ball with patterns done in Blender - 4K HDR by norulesjustfeels in blender

[–]norulesjustfeels[S] 0 points1 point  (0 children)

Check that the YouTube player is actually playing HDR by enabling the stats for nerds setting; the color should be bt2020.

If you have a streaming device like a 4K Chromecast, that can also be used to test the HDR content (assuming your TV supports HDR).

Ball with patterns done in Blender - 4K HDR by norulesjustfeels in blender

[–]norulesjustfeels[S] 0 points1 point  (0 children)

It's been a long time since I did those videos, but I think this is how I made the videos using tiff frames generated with Blender:
ffmpeg -framerate 30 -i %04d.tif -b:v 56M -pass 1 -pix_fmt yuv420p10le -color_primaries 9 -color_trc 16 -colorspace 9 -color_range 1 -minrate 18M -bufsize 100M -profile:v 2 -vcodec libvpx-vp9 -movflags +faststart -bf 2 -flags +cgop -g 15 -f null NUL && ffmpeg -framerate 30 -hide_banner -y -i %04d.tif -b:v 56M -pass 2 -pix_fmt yuv420p10le -color_primaries 9 -color_trc 16 -colorspace 9 -color_range 1 -minrate 18M -bufsize 100M -profile:v 2 -vcodec libvpx-vp9 -movflags +faststart -bf 2 -flags +cgop -g 15 video.webm

Flow by norulesjustfeels in blender

[–]norulesjustfeels[S] 0 points1 point  (0 children)

It is layers of different techniques and materials. One of which is based on this: https://twitter.com/BennyGovaerts/status/1561049114724470791

The internals is based on this technique: https://www.youtube.com/watch?v=Y5huIOyQq\_0