[FFmpeg-user] How to get HDR metadata inside my AV1 video?

Robin van der Linden linden at venom.one
Thu Dec 1 15:25:22 EET 2022

Hey folks,

I'm trying to reencode a 10 Bit HEVC to 10 Bit AV1 while keeping the HDR 
metadata intact.
Sadly, I don't see any HDR metadata with VLC at the reencoded AV1 clip. 
The only thing I see are very cold looking colors, have a look at my 
encode command:

/usr/bin/ffmpeg -i "/tmp/VODProcessing/Test (2022) - [2160p UHD].m4v"  
-map 0:0 -c:v libsvtav1 -b:v 7864320 -maxrate:v 8257536 -bufsize 
31457280 -vf zscale=width=3840:height=2160 -svtav1-params 
-pix_fmt yuv420p10le -color_trc smpte2084 -max_muxing_queue_size 1024 
-profile:v main -preset 6 -crf 16 -strict experimental -bf 0 -tune 
fastdecode -force_key_frames "expr:gte(t,n_forced*2)" -keyint_min 48 
-use_timeline 1 -use_template 1 -map_metadata -1 -map_chapters -1 
-sc_threshold 0 -f hls -seg_duration 4 -hls_time 4 -streaming 1 
-hls_list_size 0 -hls_segment_filename "/tmp/VODProcessing/output/Test 
(2022) - [2160p UHD]/v-av01-2160p-av01.0.12H.10/f-%04d.m4s"  
-hls_fmp4_init_filename "init-v-av01-2160p-av01.0.12H.10.m4s"  
-hls_segment_type fmp4 -hls_playlist_type vod -movflags 
-hls_flags independent_segments "/tmp/VODProcessing/output/Test (2022) - 
[2160p UHD]/v-av01-2160p-av01.0.12H.10/master.m3u8"

Can somebody give me a hint why the SVT-AV1 encoder does not take the 

Grüße / Kind regards,

Robin van der Linden

More information about the ffmpeg-user mailing list