in reply to Sampling Video
And your perl question is?
This isn't really a perl related problem, but rather general. I am not aware of a perl module which plays videos and fulfills your requirements. But there are plenty of video players out there, and your question would be, it seems to me, how to interface with any such program to do what you want. There's e.g. mplayer which has the abiltiy to step through frames typing '.' (dot, or fullstop) at the terminal while the video is being played. Your task would be then to devise a method in perl to feed that dot command periodically to mplayer, so it does what you want. This, I guess, comprises connecting the STDOUT of your program with the STDIN of mplayer.
Other players may have different interfaces. There are many solutions which might fit.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sampling Video
by ephemeralx (Novice) on Nov 01, 2015 at 23:41 UTC | |
by Anonymous Monk on Nov 02, 2015 at 00:11 UTC | |
by Anonymous Monk on Nov 02, 2015 at 01:05 UTC |