Tuesday, October 1, 2013

Extracting Images from Video

In order to extract the images(Frames) from videos, we can use avconv. It very easy just get the video and then run the following command on video

Let say I have a following video named p.MPG and i want images to make



Open the command prompt









and then write the following command

 avconv -i p.MPG p1%d.jpg


Here p.MPG is the video name while the images name will be starting from p11 and so on. We can keep other names like WeddingPictures1 and so on

avconv used in generating images "avconv -i x.mpg p%d.jpg
avconv used in generating images "avconv -i x.mpg p%d.jpg


 







thus we will get the images as shown in the picture below


No comments:

Post a Comment