I can get duration with mkv but not with mp4 or ts. Is there a way to make that happen. Most my files are ts and mp4. I updated to the beta version and under scripts it says ok now. Thanks.
Does duration show up for the same files in Explorer?
If it doesn't work there either then something is wrong with the mp4 codecs/splitters on your system, or there's a problem related to the files themselves (e.g. something is blocking them from being opened, or they're not really mp4 and have the wrong extension).
Are you definitely looking at the Duration / Length column which the script provides, and not the one built-in to Opus?
Sorry if this is a bit unrelated, but is there any way to get the "Video Codec" to work with more file types, or is there another label that's compatible with more file types? Seems like it fails with a lot of containers (.mkv, .mp4, .m4v).
Is there a column in Explorer that shows the information you need for your files? I can add it to the script if there is.
We'll probably also improve the internal Video Codec column in the future, but that'll take longer. Adding more columns to the script can be done very quickly.
In Explorer, "Video Compression" almost always returns a value (if not always; a few of my files don't but that could just be my messed up videos). But the values are alphanumeric strings. They might correlate with codecs, I wasn't able to find much documentation at a glance.
Explorer doesn't have an Audio Tracks column here. It must be something added by a third-party component. It should be possible to import it, but I can't tell you the column/property names to use as it doesn't exist here and I don't know where it comes from.
I keep getting occasional errors with this script:
13/05/2019 23:54 Video Frame Columns: Object doesn't support this property or method (0x800a01b6)
13/05/2019 23:54 Video Frame Columns: Error at line 259, position 3
13/05/2019 23:54 Video Frame Columns: Object doesn't support this property or method (0x800a01b6)
13/05/2019 23:54 Video Frame Columns: Error at line 259, position 3
No, from a look at that line in the code. Can you give more detail on how to reproduce what you're seeing? Are there particular files, folders or actions that trigger it?
I am not sure how performant it would be, though. Extracting video duration is quite slow, and doing it for all files under multiple folders would be very slow. You would probably want some kind of caching system, which a script could do but which is also much more complicated.