I have many videos from web and sometimes, fps is not standard, some times that leads to out of sync subtitles i try to add on them.
So is there way to to list all mkv files and their fps so i can get rid of those non standard framerate ones and try to seek replace.
example c:\learning has multiple how_to_do_stuff.mkv and i want to get just txt file that has files name and framerate of all mkvs.
I know i can manually use mediainfo but that takes time as some folders has many videos.
+ Reply to Thread
Results 1 to 2 of 2
@echo off SETLOCAL set "Mediainfo=G:\Program Files\MediainfoCLI\Mediainfo.exe" set "temp_folder=C:\Temp" if not exist "%mediainfo%" echo mediainfo path was not properly defined or weird characters in filename are present& ENDLOCAL& pause& goto :eof if not exist "%temp_folder%" MD "%temp_folder%" break>list.txt for %%a in ("*.mp4","*.mkv","*.avi") do call :make_list "%%a" ENDLOCAL&echo press any key to exit&pause>nul&exit :make_list <filename> "%Mediainfo%" --Inform=Video;%%FrameRate%% "%~1" > "%temp_folder%\temp.tmp" set /p framerate=<"%temp_folder%\temp.tmp" echo %~nx1 ....... %framerate% echo %~nx1 ....... %framerate% >>list.txt goto :eof
ww.hevc.qsv.mp4 ....... 23.976 ww.hevc10.qsv.mkv ....... 23.976 ww.mkv ....... 23.976
Your whole premise about non-standard frame rates and subtitle sync is wrong though.