Wednesday, July 25, 2012

ffmpeg installation


I follow this excellent guide:
 https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide

 There are couple of changes that I do, libfaac-dev is no longer part of debian package. and libaacplus is a better replacement.

 sudo apt-get install libfftw3-dev pkg-config autoconf automake libtool unzip wget http://217.20.164.161/~tipok/aacplus/libaacplus-2.0.2.tar.gz
 tar -xzf libaacplus-2.0.2.tar.gz cd libaacplus-2.0.2
./autogen.sh --enable-shared --enable-static
make
 sudo make install
 sudo ldconfig

I add libass, to enable hardsubbing in ffmpeg
 sudo apt-get install libass-dev

 cd
git clone --depth 1 git://source.ffmpeg.org/ffmpeg
cd ffmpeg
 ./configure --enable-gpl --enable-libaacplus --enable-libass --enable-libmp3lame --enable-libopencore-amrnb \ --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis \ --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
make
sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no \ --deldoc=yes --fstrans=no --default
hash x264 ffmpeg ffplay ffprobe

Monday, March 12, 2012

Food

I love cooking. Something simple. quick and tasty. The wait for the cooker to whistle and cool down, the waft of the dal that is cooked fills up the wait. The eager anticipation to get the first taste even before the food has reached a bearable temperature, most often resulting in a burnt tongue. The satisfaction and joy of a meal that tastes good. The best of all,leftovers. The knowledge that there more of the awesome tasting dish just enough for another meal. The comfort that there is food in the fridge that just needs to be reheated in the microwave and voila , another good meal. The trials and tribulations of cooking alone :)