Sure, I can help you with that. Here's a simple batch script that should accomplish the task:
@echo off
setlocal enabledelayedexpansion
set "ParentFolder=%~dp0"
set "OutputFile=%ParentFolder%scan_results.txt"
if not exist "%OutputFile%" (
echo Scanning for low-resolution video folders...
for /r "%ParentFolder%" %%I in (*) do (
if not "%%I"=="%OutputFile%" (
if not exist "%%I\video_list.txt" (
echo Processing %%I...
for /r "%%I" %%f in (*.mp4,*.mkv,*.avi,*.mov,*.wmv,*.flv) do (
set "FileExtension=%%~xf"
set "FileResolution=%%~dr"
if "!FileExtension!"==".mp4" (
set "FileResolution=%%~dr"
) else if "!FileExtension!"==".mkv" (
set "FileResolution=%%~dr"
) else if "!FileExtension!"==".avi" (
set "FileResolution=%%~dr"
) else if "!FileExtension!"==".mov" (
set "FileResolution=%%~dr"
) else if "!FileExtension!"==".wmv" (
set "FileResolution=%%~dr"
) else if "!FileExtension!"==".flv" (
set "FileResolution=%%~dr"
)
if "!FileResolution!"=="1080p" (
echo Not low-resolution: %%I\%%f
) else (
echo Low-resolution: %%I\%%f
)
)
echo Video list created: %%I\video_list.txt
echo.
)
)
)
) else (
echo Scan results already available: %OutputFile%
)
echo Scan complete.
This script will search all subfolders within the parent folder you specify and list all folders containing video files with a resolution less than 1080p. The results will be saved in a text file named "scan_results.txt" in the parent folder.
Please note that the script assumes that the video files are in .mp4, .mkv, .avi, .mov, .wmv, and .flv formats. If you have other video formats, you may need to modify the script accordingly.