Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
video:ffmpeg [2016/03/01 08:36] smayr [Extract Video Frames] |
video:ffmpeg [2018/01/05 15:43] (current) smayr [Extract Video Frames] |
||
---|---|---|---|
Line 28: | Line 28: | ||
</ | </ | ||
- | <code batch> | ||
- | REM --- Utility to Extract video frames into image files --- | ||
- | REM SET inputfile=%1 | ||
- | SET inputfile=video | ||
- | MKDIR output | ||
- | |||
- | REM Each 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: | ||
- | REM C: | ||
- | C: | ||
- | EXPLORER output | ||
- | PAUSE | ||
- | </ | ||
== Generate Video From Images == | == Generate Video From Images == | ||
<code batch> | <code batch> | ||
- | REM --- Utility to Extract | + | REM --- Utility to generate |
SET inputfile=%1 | SET inputfile=%1 | ||
MKDIR output | MKDIR output | ||
- | REM Each image will have a duration of 5 seconds (the inverse of 1/5 frames per second). | + | REM ### Each video clip from 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 ### The video stream will have a frame rate of 30 fps by duplicating the frames accordingly: |
REM C: | REM C: | ||
+ | |||
+ | REM ### Eg: 15 sec video clips ### | ||
C: | C: | ||
+ | |||
+ | REM ### View Clips ### | ||
EXPLORER output | EXPLORER output | ||
</ | </ |