maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Screenshot of Video (https://talk.maemo.org/showthread.php?t=88675)

seanmcken 2013-01-15 10:46

Screenshot of Video
 
plz suggest an app that could take screenshot from video, and plz dont suggest smplayer cuz it sucks, it cant even play the damn video.

juiceme 2013-01-15 12:34

Re: Screenshot of Video
 
What platform?

seanmcken 2013-01-15 13:09

Re: Screenshot of Video
 
Maemo Nokia N900

anthonie 2013-01-15 13:27

Re: Screenshot of Video
 
Quote:

Originally Posted by seanmcken (Post 1315032)
plz suggest an app that could take screenshot from video, and plz dont suggest smplayer cuz it sucks, it cant even play the damn video.

Provided you have ffmpeg installed, it can easily be done from the command line using

Code:

$ ffmpeg -ss 00:05:00 -t 1 -s 800x480 -i <name_of_your_movie> -f mjpeg <name_of_your_screenshot.jpg>
This would take a screenshot at minute 5 of the movie and place it in the same directory as the movie is.

It's not an app, I know, but it shouldn't be too difficult to write a script around this code that takes more screenshots per movie, or searches for movies on your device that do not have screenshots just yet.

seanmcken 2013-01-15 14:26

Re: Screenshot of Video
 
@anthonie
how to take continuous screenshot?

anthonie 2013-01-15 15:18

Re: Screenshot of Video
 
What do you mean by a "continuous" screenshot? In essence, any given movies is just that, a continous stream of images, but that's not what you mean I suppose. You want a screenshot every x frames or?

seanmcken 2013-01-15 15:25

Re: Screenshot of Video
 
example - its 1 minute video so i want all images from that video

anthonie 2013-01-15 15:36

Re: Screenshot of Video
 
If that's all you want, no need for a script than...

Code:

ffmpeg -i name_of_video nameofimage%d.jpg
should do the trick for you.

This would, however, result in a lot of images if you would try this on a long movie, so you would need to start skipping frames.


All times are GMT. The time now is 20:20.

vBulletin® Version 3.8.8