Video sort is a command line tool to organize your videos by portrait or landscape. You may want to edit a home video and avoid importing portrait and landscapes into your video project. This solution is here for you. Additonally, you may want to edit only footage that can be used on Tik-Tok or Instagram reels from your saved videos.
Clone the project
git clone https://github.com/edgarh92/Video-Sort.git
Go to the project directory
cd Video-Sort
Install dependencies
brew install ffprobe
Run the script
python3 video_sort.py -f directory/