klownboy wrote:binocular222 wrote:it seems windows shell is faster than piping through Mediainfo
Thanks binocular222. I had assumed there was no "property" or "special property" available for video size based on what Huidong said in the first post of this tread, "...Custom Columns / Scripted Columns. I like it very much that image dimensions can now be displayed in a column, but not video dimensions." So, I never bothered to look fo myself.

In a little CC script this will give the height and width.
Code: Select all
return property("#283", <cc_item>) . "x" . property("#285", <cc_item>);
Thanks,
Ken
Thanks for pointing that out!
I should say the advantage of using MediaInfo however is two-fold:
1. Extensive video format support independent of the presence of codecs in the system. The frame height / width properties will work only if the corresponding codecs are installed system wide, which I wouldn't prefer doing for all sorts of other video files that Windows doesn't support out of the box, e.g. flash, mkv, webm, qt, even legacy real media, and so on, I wouldn't want to install any messy codec packs. That's why I only use a portable media player that is independent of system codecs as well.
2. Video dimensions is a tiny fraction of the info you can get out of the tool, for example, you also get to know bit rate, frame rate, the codec used, the writing library, the duration, etc, that you can't find natively via XY. So basically we just take the advantage of the expertise of third-party utilities. (Well, Don did that for Zip integration already, oh, and IFilters for full-text search, etc.)
Now beyond MediaInfo, how about pdfinfo? Or whatever other file types you work with often, you don't expect XY to always support them out of the box. Now with runret coming, it truly opens up a new world to bring whatever expertise from external power tools into XY without any hacking around, and you just do scripting from there. Normally I could imagine only developers enjoy the privilege of doing this level of things, but now pretty much all regular XY users can do it as long as they reading the Scripting documentation a little. What an excitement!