I have hundreds of videos and I want to extract the FPS of each one to a text file, or an excel, or anything that I can work with.
How would I go about doing this?
I'm sensing I'll need to use ffmpeg command line along with a batch script or something, but I'm not that good with either.
Thanks in advance
I have managed to find this
and it worksCode:ffprobe -v 0 -of csv=p=0 -select_streams v:0 -show_entries stream=r_frame_rate filename.mp4
but how do i go about automating for all files in a specific folder
to export them to a .txt file/table anything
+ Reply to Thread
Results 1 to 3 of 3
Last edited by [ss]vegeta; 13th Feb 2019 at 17:32.
Put a batch file like this in the folder:
del fpslist.txt for %%F in (*.mp4) do ( echo %%F >>fpslist.txt "g:\program files\ffmpeg\bin\ffprobe.exe" -v 1 -of csv=p=0 -select_streams v:0 -show_entries stream=r_frame_rate "%%F" >>fpslist.txt ) pause
filename1.mp4 25/1 filename2.mp4 30000/1001
If you want the name and fps on the same line replace the echo line with:
echo | set /p="%%F " >>fpslist.txt
Last edited by jagabo; 13th Feb 2019 at 20:26.