Creating a flash video player

http://www.macewan.org/videos/

[ update: I've made changes to an existing plugin to use the Flowplayer. Examples found on the videos section are being played with the new player.

Also using ffmpeg straight from local directory: 

ffmpeg -i mov00001.mpg -r 12 -b 100 Baby2.flv

]

My intention is to learn the steps involved in streaming Macromedia’s Flash Video. Since I"m not exactly the brightest bulb it took me a couple of weeks to wrap my head around the steps needed in converting an .mpegStreaming Flash Video of Ollie video into the appropriate file format for streaming. Actually – I didn’t know what the hell was involved – but I knew I wanted to stream video of Ollie (newest member of family) for Caroline and Jamie (family members).

Hopefully this works for everyone, if not drop me a line to let me know. Currently there is no sound with the video. Basicly there’s a lot of "grr, braaa biv" like sounds so you aren’t missing much without the audio.

I’m taking video in the .mpg format that was taken with a Sony Cybershot DSC-P73 and converting it to the Macromedia Flash Video .flv format. The playback comes from an flvplayer. Let’s get started.

[ Information below is outdated and not used as of 07-18-05

macewan@home:~ $ sudo apt-get install zlibc zziplib-bin zlib1g zlib-bin

macewan@home:~ $ wget http://www.lvp-site.nl/flv/fplayer.txt; \
mv fplayer.txt flplayer.pl; sudo mkdir /var/www/flv

macewan@home:~ $ wget http://search.cpan.org/CPAN/authors/ \
id/Y/YS/YSAS/Data-TemporaryBag-0.08.tar.gz

macewan@home:~ $ wget http://search.cpan.org/CPAN/authors/ \
id/Y/YS/YSAS/SWF-File-0.41.tar.gz

macewan@home:~ $ tar -xzvf Data*.gz; rm Data*.gz; cd Data*

macewan@home:~ $ perl Makefile.PL

macewan@home:~ $ make

macewan@home:~ $ make test

macewan@home:~ $ sudo make install

macewan@home:~ $ cd ~/

macewan@home:~ $ tar -xzvf SWF*.gz; rm SWF*.gz; cd SWF*

macewan@home:~ $ perl Makefile.PL

macewan@home:~ $ make

macewan@home:~ $ make test

macewan@home:~ $ sudo make install

macewan@home:~ $ cd ~/

macewan@home:~ $ perl fplayer.pl; sudo cp /var/www/player.swf . ; sudo chown macewan:macewan player.swf

  • StumbleUpon
  • Technorati
  • del.icio.us
  • Digg
  • Facebook
  • Google
  • Pownce
  • TwitThis