Hi all. This is the problem. I have 890Gb of mp4 files (from DAHUA surveillance) and i need img files so i can build time laps. If i try to convert it it will gona take a long time, i just need to use ffmpeg on Windows10, so i can extract every 10 min in one img, and i need it to do it in a batch for all files in directory, around 160 files, each about 1.4 Gb. I just found out about ffmpeg, i try googleing out but with no luck, I found the code that extract images but no luck with batch, also i saw -Ultra fast command, if you can get thin in i would be so thankful.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 6 of 6
Thread
-
-
To batch process it use:
Code:for %%F in (*.mp4) do (put your ffmpeg command line here between the open and close parenthesis)
For example, if your files are 25 fps:
Code:for %%F in (*.mp4) do (ffmpeg -y -i "%%F" -r 0.1 -pix_fmt yuvj420p "%%~dpnF.%%5d.jpg")
Last edited by jagabo; 8th Jun 2020 at 09:03.
-
jagabo i am soo thankful you help me out .. just one more thing if you can help me. What is command to extract every 10 minutes form video file to 1 image? Thanks
-
10 minutes is 600 seconds. 1/600 = 0.001667. So replace the "-r 0.1" with "-r 0.001667". Though when I tried it the images weren't evenly spaced at the start. The first image was at 00:00:00.000, the second at 00:00:00.041, then 00:08:59.997, 00:18.59.972, 00:28:59.988, etc.
-
jagabo you are my life saver everything works! Is it too much of me if i just ask you how to put all this images in folder names "Output". Thank you so much for all help!
Similar Threads
-
FFMPEG: how to batch extract all audio streams into separate mono files?
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 14th Aug 2019, 15:21 -
Batch extract audio
By Aludin in forum Newbie / General discussionsReplies: 6Last Post: 3rd Jul 2019, 10:31 -
Ffmpeg print video file fps every sec
By Summer in forum Video ConversionReplies: 5Last Post: 9th Oct 2018, 13:24 -
ffmpeg: most efficient way to extract frame ranges?
By chconnor in forum Video ConversionReplies: 6Last Post: 27th Feb 2018, 02:16 -
Use ffmpeg to replace frame with previous frame if frames are X % different
By dkrichards16 in forum Video ConversionReplies: 0Last Post: 29th Apr 2017, 16:27