Basic idea would be...
get height
get filename
combine height & filename in a format useful to "Named Pairs"
Some utilities to get height.
Getting video dimension from ffmpeg -iHow can I get the resolution (width and height) for a video file from a linux command line?{pseudo-code}
- Code: Select all
ffprobe.exe -v error -show_entries stream=height -of default=noprint_wrappers=1 "My SD Video.mp4"
That gives you:
- Code: Select all
height=360
Then you'd have to parse that to get it in to the format you want.
s/.*=/[/
s/$/] /
Gives you (with a space appended to the ] ):
- Code: Select all
[360]
Combine that with the filename:
- Code: Select all
[360] My SD Video.mp4
namedpairvideofiles.TXT
- Code: Select all
My SD Video.mp4|[360] My SD Video.mp4
That could be automated... but you'd have to work out the details...
(A GUI utility that can display file resolutions,
PlayTime.)