I am using below code to add the DV profile info to the filename.
Code: Select all
{if (hdr=="Dolby Vision" && video[0].HDRformatprofile =~ "05")" [DV5] [WEB-DL]" else ""}
{if (hdr=="Dolby Vision" && video[0].HDRformatprofile =~ "06")" [DV6] [WEB-DL]" else ""}
{if (hdr=="Dolby Vision" && video[0].HDRformatprofile =~ "07")" [DV7] [UHD Remux]" else ""}
{if (hdr=="Dolby Vision" && video[0].HDRformatprofile =~ "08" && (bitrate.toInteger() / 1e6d).round(1)<27.0)" [DV8] [WEB-DL]" else ""}
{if (hdr=="Dolby Vision" && video[0].HDRformatprofile =~ "08" && (bitrate.toInteger() / 1e6d).round(1)>27.0)" [DV8] [UHD Hybrid Remux]" else ""}
Version 5.0.1 is fine
Version 5.0.2 is not picking up profile 8
This is the mediainfo output
Code: Select all
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5@Main
HDR format : Dolby Vision, Version 1.0, dvhe.08.07, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 57 min 6 s
Bit rate : 18.9 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.091
Stream size : 7.55 GiB (96%)
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 1119 cd/m2
Maximum Frame-Average Light Level : 145 cd/m2