Code: Select all
{
def GetFPSafe = {if(self.audio[it].FormatProfile != null) audio[it].FormatProfile else "NoFormatProfile"};
def sTotalString = "";
//Check all audio streams, show info
sTotalString = "There are " + audio.size + " audio streams, with Codec_Formats: ";
for (iCnt = 0; iCnt < audio.size ; iCnt++){
sTotalString += audio[iCnt].Codec_Profile + ",";
}
sTotalString
//sTotalString.matches(/(?i).+Atmos.+/) ? "TrueHD+Atmos" : ""
}
Code: Select all
sTotalString += audio[iCnt].Codec_Profile + ",";
Code: Select all
sTotalString += audio[iCnt].Codecid+ ",";
I know, rednoah, that you have given me one-liners before so maybe this is no different?
