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 .mpeg
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








Pascal
on July 16th, 2005
Hey macwan. I’ve got my a Suse system (RPMs), but I could not pass up the loveliness of apt, so I installed apt4rpm. Just wondering – you little howto – is it distro specific? Also, flash video-player – what do you mean with this exactly?
Cheers,
Pascal
macewan
on July 17th, 2005
Perl is perl so I’m not sure there would be a problem running it on SuSE. But yes, my intention was a howto create a working flashvideo player on a Ubuntu box. My wife uses SuSE so I do know that instead of using a sudo you’ll su during the make installs for the perl modules.
Pascal
on July 18th, 2005
Thanks, now it’s a lot clearer, concerning what that mini howto was concerning. Thanks, and kudos.
Pascal