2005-06-02 23:25

by Vasil Kolev

There’s a almost-ready agenda for What the Hack, full with fun stuff :)

Today we fought a bit more with mod_perl on zver.fsa, turns out that it always puts charset=ISO-8859-1, whatever we do with it, so inthe end we moved to CGI, and it worked (weird, there wasn’t such problem with apache 1.3).

All of the lectures from Stara Zagora are ready and uploaded, mirrored in Bulgaria and abroad, I also made separate audio files, for the people with slower links. For everyone who’s interested here’s the script I used (thanks again to Ivan Kalvachev):

#!/bin/sh

mkdir -p enc

for i in dvgrab*dv; do
         ~vasil/vid/FFMpeg-20050311/ffmpeg -y  -i $i -vcodec copy -acodec pcm_s16le  $i.avi
        mencoder -forceidx  $i.avi -ovc lavc -oac lavc -o enc/$i.avi \ 
		-lavcopts acodec=mp3:abitrate=96:vcodec=msmpeg4v2:mbd=2:vpass=1:turbo \ 
		-vf hqdn3d  -vf pp=li -vf scale=640:480 -af volnorm
        mencoder -forceidx  $i.avi -ovc lavc -oac lavc -o enc/$i.avi \ 
		-lavcopts acodec=mp3:abitrate=96:vcodec=msmpeg4v2:mbd=2:vpass=2 \ 
		-vf hqdn3d  -vf pp=li -vf scale=640:480 -af volnorm
        rm $i.avi
done

(the trick with ffmpeg is needed because mencoder/mplayer really don’t work well with the output files from dvgrab)

Leave a Reply