
ATEME is the writing library. It should parse the codec for HEVC or pull the format.



Code: Select all
video[0].FormatThat's technically correct, but {vc} yields the value that (most) users expect to see, and not necessarily the video codec value that is technically correct. Just like how {vf} would yield 720p instead 680i for 1000x680-interlaced.techmattr wrote: 05 Jun 2021, 03:30 It's not my files that are an issue its that library isn't the correct field for identifying the codec. As its the software used to encode the file. Not the codec itself. It's like x264 vs H.264/AVC. x264 isn't the codec its the library.
{vc} is based on one of the following MediaInfo properties, whichever one exists, in order of priority:techmattr wrote: 05 Jun 2021, 03:30 Does it fallback to Format when it doesn't find Encoded_Library_Name?
Code: Select all
"Encoded_Library_Name", "Encoded_Library/Name", "CodecID/Hint", "Format"Best to just use video[0].Format in your custom format. Some users prefer how {vc} works. Some users prefer {video[0].Format}. "correctness" is ultimately a personal preference in this case.techmattr wrote: 05 Jun 2021, 03:30 I've yet to come across a file that didn't have the correct codec in the Format field though.
Code: Select all
{n} ({y})/{if (ext == 'idx') 'Subs/'}{if (ext == 'sub') 'Subs/'}{if (ext == 'srt') 'Subs/'}{n} ({y}) - {''+hdr+'.'}{vf}.{source}{'.'+fn.match(/REMUX/)}.{video[0].Format}.{aco}.{channels}.{group}