There are a number of Youtube channels that I archive using a daily cron script that runs youtube-dl. However, in checking over the videos to make sure my script is working, I noticed for one of the channels I archive, a couple of the most recent videos was being downloaded in 360p instead of 1080p60. I checked the video on Youtube and it was indeed 360p. A few days later, the video finished processing and was at 1080p60.
How can I list all videos in a folder that are under 1080p in resolution so that I can delete them and redownload once Youtube has finished processing?
Is there a way to scipt this with ffmpeg or some other tool?
If there are any suggestions for how to not have this issue in the future, that would be appreciated too.