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.
perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
| [reply] [Watch: Dir/Any] [d/l] |
I generally use perl for reading, parsing, and manipulation of text, but I know that some are available for reading and parsing binary information and even streaming information, so I wondered if anyone knew of a module (or yes some complete application somewhere) which might be used to generate an audio-synchronized slideshow experience from video.
| [reply] [Watch: Dir/Any] |
[ddg://perl slideshow audio-synchronized], [google://perl slideshow au
+dio-synchronized]
[ddg://site:search.cpan.org perl slideshow audio-synchronized]
[cpan://slideshow audio-synchronized]
perl slideshow audio-synchronized, perl slideshow audio-synchronized
site:search.cpan.org perl slideshow audio-synchronized
slideshow audio-synchronized
not a lot of search results :)
http://michalfapso.blogspot.com/2010/12/how-to-create-photo-slideshow.html
http://www.w3.org/AudioVideo/
http://search.cpan.org/~cdawson/Smil-0.898/lib/Smil.pm
Flash slideshow with audio | [reply] [Watch: Dir/Any] [d/l] |
in WxPerl, you have MediaCtrl, but I am not sure if this does everything you need. I know it will play the video file, but I do not think it will do any kind of converting. When you say "convert in real time" do you mean transcoding? | [reply] [Watch: Dir/Any] |