How to sort Video files by Length (Duration)

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

I don't know if its possible, been trying so many things (also with the duration field) but nothing is working...

What I want to accomplish is this:
Video recording 1 - length 00:15 (in to folder lower than one minute)
Video recording 5 - length 01:00 (in to folder between one minute an 5)
Video recording 3 - length 34:00 (in to folder between 30 min and an hour)

Is this even possible?
and how!

Please help, cause photos is nice sorting by date,
but videos is also great if it can be sorted by length (duration)
deevinityplayfair
 
Posts: 8
Joined: Thu Feb 14, 2019 2:23 pm

Try creating a condition to filter on Duration.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Mr_Noodle wrote:Try creating a condition to filter on Duration.

Already tried that, that’s why I’m asking now on the forum..

If, kind is video
Than
Duration is lower than 50
Sort in to folder …

Doesn’t work
deevinityplayfair
 
Posts: 8
Joined: Thu Feb 14, 2019 2:23 pm

Try the troubleshooting guide here: https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/

Report back with the results.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Mr_Noodle wrote:Try the troubleshooting guide here: https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/

Report back with the results.


Thanks for the guid, I was forgot about that option! love it, but..

Ive tested it with the guide you gave.
no results. when using the duration field al the sub fields like: is, is not, between, ect. don't work
only the field: is blank... works...

So does that means that the duration field is not reading the length (duration) of (mp4) video files?
deevinityplayfair
 
Posts: 8
Joined: Thu Feb 14, 2019 2:23 pm

If you do Get Info on the file in Finder, you can see the metadata there. If it isn't there then you'll need to check your Spotlight settings/configuration.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

I've found the issue!
(THIS COULD BE FOR NAS USERS)

I think, the Mac don't read 'more info' from files on the nas
ive moved the files to the Mac hdd, than it was visible

So my work around in hazel is:
Move files to Mac hdd, so it can read the more info,
Add an hazel rule on the Mac hdd folder
So it transfer back to the Nas in sub folders on duration.

Normally I sort on my nas with hazel,
but this is my solution and it works!

much thanks to Mr_Noodle for the support!!!
deevinityplayfair
 
Posts: 8
Joined: Thu Feb 14, 2019 2:23 pm


Return to Support

cron