代码相关(经常需要复制的内容)
-vsync 1 -async 1 -y -i /data/HDR10_1440P.mp4 -discontinuity_exit -channel_num 1 -telnet_port 1700 -filter_complex split=outputs=1:[proxy0];[proxy0]scale=1920:1080[out0] -rtpflags +latm -preset 2 -rc 1 -gpu 0 -maxrate 50000000 -minrate 0 -bufsize 50000000 -pix_fmt p010le -color_primaries bt2020 -color_trc bt2020_10bit -colorspace bt2020nc -b:v 8000000 -g 50 -rc-lookahead 8 -keyint_min 5 -refs 3 -mbd 0 -me_method hex -me_range 16 -sc_threshold 40 -qmax 46 -qmin 8 -qdiff 4 -c:v hevc_nvenc -map [out0]:v:0 -max_muxing_queue_size 1024 -codec:a:0 copy -map 0:a:0 -f mpegts /data/test_hdr.ts -loglevel verbose -stats
hdr=hdr10 colorspace=bt709 pixfmt=p010le master_display_green_high=13250 master_display_green_low=34500 master_display_blue_high=7500 master_display_blue_low=3000 master_display_red_high=34000 master_display_red_low=16000 master_display_wp_high=15635 master_display_wp_low=16450 master_display_light_high=10000000 master_display_light_low=500
可以用transcoder启动的HDR命令 -vsync 1 -async 1 -y -i /data/HDR10_1440P.mp4 -discontinuity_exit -channel_num 1 -telnet_port 1700 -filter_complex split=outputs=1:[proxy0];[proxy0]scale=1920:1080[out0] -rtpflags +latm -preset 2 -rc 1 -gpu 0 -maxrate 50000000 -minrate 0 -bufsize 50000000 -pix_fmt p010le -color_primaries bt2020 -color_trc smpte2084 -colorspace bt2020nc -b:v 8000000 -g 50 -rc-lookahead 8 -keyint_min 5 -refs 3 -mbd 0 -me_method hex -me_range 16 -sc_threshold 40 -qmax 46 -qmin 8 -qdiff 4 -c:v hevc_nvenc -map [out0]:v:0 -max_muxing_queue_size 1024 -codec:a:0 copy -map 0:a:0 -f mpegts /data/test_hdr.ts -loglevel verbose -state
x265 preset参数
ultrafast superfast verfast faster fast medium show slower verslow