Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
video:ffmpeg [2018/01/05 15:42]
smayr [Generate Video From Images]
video:ffmpeg [2018/01/05 15:43] (current)
smayr [Extract Video Frames]
Line 28: Line 28:
 </code> </code>
  
-<code batch> 
-REM --- Utility to generate video clips from frames --- 
  
-REM SET inputfile=%1 
-SET inputfile=video 
-MKDIR output 
- 
-REM Each video clip of still image will have a duration of 5 seconds (the inverse of 1/5 frames per second).  
-REM The video stream will have a frame rate of 30 fps by duplicating the frames accordingly: 
-REM C:\Apps\ffmpeg\bin\ffmpeg -framerate 1/5 -i img%%03d.png -c:v libx264 -r 30 -pix_fmt yuv420p output\%inputfile%.mp4 
-REM C:\Apps\ffmpeg\bin\ffmpeg -framerate 1/15 -i %inputfile%.png -c:v libx264 -r 24 -pix_fmt yuv420p output\%inputfile%.mp4 
-C:\Apps\ffmpeg\bin\ffmpeg -framerate 3 -start_number 0001 -i CAST-%%04d.jpg -c:v libx264 -r 24 -pix_fmt yuv420p output\%inputfile%.mp4 
-EXPLORER output 
-PAUSE 
-</code> 
  
 == Generate Video From Images == == Generate Video From Images ==