Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

Is it possible to use perl as a media player where the online user can slow down the speed of a video? I'd like to also slow down the audio without dropping the pitch. The idea would be to have a guitar tutorial where the user could slow down the video speed while playing along.


Thanks for your suggestions!

Replies are listed 'Best First'.
Re: Online MPEG with Perl
by zentara (Cardinal) on Jan 02, 2009 at 15:39 UTC
    Just for ideas, you might want to look at Perl/Tk front-end to mplayer. Your best bet from Perl, is to run mplayer in slave mode. There are some things to hack around,, but you may be able to set the frame rate.

    I'm not really a human, but I play one on earth Remember How Lucky You Are
Re: Online MPEG with Perl
by DStaal (Chaplain) on Jan 02, 2009 at 14:38 UTC

    Sure it is. A look through CPAN shows a fair number of modules related to audio playing and reading, as well as a fair amount of video manipulation tools. So, I'm sure a good programmer could get something working.

    Good luck!