Filehost.ro - gazduire fisiere
Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Nou pe simpatie:
beatrice17 din Bucuresti
Femeie
25 ani
Bucuresti
cauta Barbat
25 - 80 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[VIDEO] Convert Video File to Images (extract frames)

Pagini: 1 Moderat de TRaP, TonyTzu
#1
Mrrrr
AdMiN
Postari: 2388
You need ffmpeg for this: https://ffmpeg.org/ or the latest build https://github.com/BtbN/FFmpeg-Builds/r ... tag/latest
To run the following command you must add the video to the same folder as ffmpeg, or you can refer to a path between " and ".

Simply add the following command to CMD:

ffmpeg -i in.mp4 -vf fps=1/5 img%04d.jpg


-i in.mp4 input video file
-vf fps=1/5 create one image every 5 seconds of video
img%04d.jpg output image name template (will look like "img0001.jpg, img0002.jpg...")

If you are using powershell you might need to add .\ in front of the above command:

.\ffmpeg -i in.mp4 -vf fps=1/5 img%04d.jpg


Source:
https://onelinerhub.com/ffmpeg/convert-video-to-images


_______________________________________


 
   
Pagini: 1  
Mergi la