Page 1 of 1

Add UHD Label to Encode

Posted: 16 Dec 2019, 21:59
by cloak
With an encode that is sourced from a UHD BluRay, how can I preserve the UHD tag in my file renamed with FileBot? The original file details are as follows:

Movie Title 2019 1080p UHD BluRay HDR DD+7.1 x265-DON

Re: Add UHD Label to Encode

Posted: 16 Dec 2019, 22:06
by rednoah
The {hd} binding will give you UHD if the video resolution is high enough.

Re: Add UHD Label to Encode

Posted: 16 Dec 2019, 22:11
by cloak
The {hd} binding just returns HD. Mediainfo states the resolution as 1920x800 (2.40:1) so the {hd} binding appears to be returning correct information. However, to differentiate the source of this encode, is there a way to preserve UHD in the renamed file?

Re: Add UHD Label to Encode

Posted: 16 Dec 2019, 22:31
by rednoah
You can always matching something from the filename:

Code: Select all

{fn.match(/UHD/)}

Re: Add UHD Label to Encode

Posted: 17 Dec 2019, 02:46
by cloak
Thanks, that did the trick.