Best method to make "video aspect quotient" as a single column in a filter?

If you are experiencing problems with "Everything", post here for assistance.
pein0saga
Posts: 13
Joined: Thu Mar 08, 2012 11:00 am

Best method to make "video aspect quotient" as a single column in a filter?

Post by pein0saga »

I don't need "video aspect ratio" like 16:9. Instead, I want to check whether the video is landscape or portrait. So I remembered I made a filter to show "video aspect quotient" column like 1.7777 in my filter in previous version. But I lost my configurations on day. I'm using latest beta but cannot find any simple way to achieve this. Maybe my memory is bad I remembered something wrong.

So How to make "video aspect quotient" as a single column in a filter ?

The custom column value set by using formulas and with macros ?
2026-10-23_10-29-59.jpg
You do not have the required permissions to view the files attached to this post.
void
Developer
Posts: 20362
Joined: Fri Oct 16, 2009 11:31 pm

Re: Best method to make "video aspect quotient" as a single column in a filter?

Post by void »

Please try changing the aspect ratio format first:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    aspect
  • Select: aspect_ratio_format
  • Set the value to: 1.777
  • Click OK.
Is this what you want? or are you after more control?
NotNull
Posts: 5991
Joined: Wed May 24, 2017 9:22 pm

Re: Best method to make "video aspect quotient" as a single column in a filter?

Post by NotNull »

... for example, by adding the following to the search in the VD filter:

Code: Select all

 addcol:A   A:=switch(LEFT($aspect-ratio:,2),"","?","0.","||","1","Square","==") 
Will show in a separate column:

Code: Select all

||     for portrait images
==     for landscape images
?      for unknown aspect ratios (offline files, for example)
Square for square images


For a textual representation, add the following instead:

Code: Select all

addcol:A   A:=switch(LEFT($aspect-ratio:,2),"","?","0.","Portrait","1","Square","Landscape")