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
-
-
This:
Code:@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
Code: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.
Similar Threads
-
Converting multiple video files to MKV using MKVToolnix
By pcmacbob in forum Newbie / General discussionsReplies: 5Last Post: 7th Sep 2022, 13:24 -
Multiple MKV files required to be in same folder to play properly
By AgKwo in forum Video ConversionReplies: 4Last Post: 8th May 2020, 06:34 -
Remove dual audio to multiple mkv files
By hisaishi in forum EditingReplies: 9Last Post: 19th May 2019, 19:23 -
Batch Adding Chapters to Multiple MKV Files
By Shady in forum Newbie / General discussionsReplies: 15Last Post: 2nd Jun 2018, 09:34 -
Batch Remove Cover From Multiple MKV Files
By MohamedYousri in forum Newbie / General discussionsReplies: 4Last Post: 5th Oct 2017, 13:27