- Log in to post comments
# download and extract Flowplayer
#wget http://flowplayer.org/releases/flowplayer/flowplayer-3.0.0.zip -P /tmp
wget http://flowplayer.org/releases/flowplayer/flowplayer-3.1.0.zip -P /tmp
unzip /tmp/flowplayer*.zip -d /tmp
# install
mkdir -p /var/www/video/player/
cp /tmp/flowplayer/*.swf /var/www/video/player/
cp /tmp/flowplayer/example/flowplayer-3.0.0.min.js /var/www/video/player/
# copy your videos to /var/www/video/
# add source to page
flowplayer("player", "/video/player/flowplayer-3.0.3.swf");
# Convert video to flv
sudo apt-get install -y ffmpeg
ffmpeg -i VIDEO_IN.avi -b 1024k -ar 22050 VIDEO_OUT.flv
ffmpeg -i VIDEO_IN.flv -s 960x540 -b 1500k -deinterlace -acodec copy VIDEO_OUT.flv
ffmpeg -i VTS_01_1.VOB -b 1024K -deinterlace -vcodec libx264 -vpre slow -acodec libmp3lame -ac 2 -ab 128000 -ar 44100 -s 960x576 VIDEO_OUT.flv
# LINKS
http://flowplayer.org/
http://ffmpeg.org/ffmpeg.html
http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html