Posts

Showing posts from February, 2012

Inject metadata on all videos

Had a good luck with pseudo streaming with apache. It works nicely with flowplayer solution. Now I have to inject metadata into every single flv video. There is a classic tool named flvtool2 but it is very slow and memory consuming is much. Luckily there is cool new tool named Yamdi appeared recently. With Yamdi you can inject metadata into very big flv file in a just few seconds while flvtool2 does that job about 10 mins. Installing yamdi was very simple All I did was wget yamdi from  http://yamdi.sourceforge.net/ gcc yamdi.c -o yamdi -O2 -Wall mv yamdi /usr/bin/ There is older versions on yum repos but only recent version (1.8) has -w option that replaces original file with injected file. And here is bash script that scans folder for *.flv and injects it with metadata and replaces with original file. #!/bin/bash VIDEOS_DIR=/webdir/videodir for i in $VIDEOS_DIR/*.flv do yamdi -w -i $i -o ${i}.tmp echo "conversion done on" $i done save above as so...

FLV streamint through Apache

Had to change red5 to pseudo streaming. So did some homework and found  http://flowplayer.org/forum/5/51322 In case of something lost, What I did was downloaded http://people.apache.org/~pquerna/modules/mod_flvx.c installed httpd-devel and gcc compiled with  apxs -i -a -c mod_flvx.c added handler  AddHandler flv-stream .flv (load module allready been added while compiling) here is flowplayer pseudo http://flowplayer.org/plugins/streaming/pseudostreaming.html and jwplayer pseudo http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12534/video-delivery-http-pseudo-streaming

New server

Got new server and this time am using virtualmin and webmin This is how I installed virtualmin  http://www.virtualmin.com/documentation/installation And webmin  http://www.webmin.com/rpm.html Also I've added this repo addition to jasonlitka wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt rpm --import RPM-GPG-KEY.dag.txt cd /tmp wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm rpm -ivh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm and installed phpmyadmin with alias. http://www.khattam.info/howto-install-phpmyadmin-in-centos-5-2010-09-25.html

htaccess php error show

just add this line to .htaccess php_flag display_errors on done.