In today's post I note how to extract pictures (JPG file
) from a video clip using mplayer
Please note that:
1 second of video = 25 frames,
So from a file of 10 seconds is potentially decomposable
JPG
corresponds to a single frame.
simply using the following command line will have the effect
- nosound
-vo
indicates the "Video Output" to be used, in this case jpeg
need to make faster encoding that otherwise would "expect" the audio
An alternative is instead use ffmpeg
:
mkdir
frames
-
the
tuo_video.avi
-
y
-
an
-
sameq
-
f
image
2
-
r
2 / 1
frames
08D.
jpg
command breaks the file into several video input images that compose it, Take 2
every second and by copying the directory
"
frames
"
0 comments:
Post a Comment