Jaunty Jackalope is On

Yesterday Jaunty is really released. Now let's try it on and get the fastest Ubuntu boot with ext4.

welcome to utux-utux

The place where you can get any news, tipsn and tutorials about linux. I'cant explain any further informations about this site. Just open the tux image on the left side. ^_^

Install FFMPEG in Centos with yum

If you want to get FFmpeg on CentOS then go to the folder /etc/yum.repos.d, create a new text file called atrpms.repo and place inside it:

[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
enabled=1


Then give yum command
yum install ffmpeg

Player For PHPmotion

It's been a long time since my last posting. Now, I'm going to talk about ffmpeg. It's just the beginning, because I'm gonna tell you all in the next posting how to make our own Video Sharing Server with you tube clone engine, PHPmotion. Maybe any of you've heard bout that. So Let's start.

1. Create a directory to do our work in

mkdir ~/ffmpeg

cd ~/ffmpeg


2. Get all the source files


wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/ essential-20061022.tar.bz2

wget http://rubyforge.org/frs/download.php/9225/ flvtool2_1.0.5_rc6.tgz

wget http://easynews.dl.sourceforge.net/sourceforge/ lame/lame-3.97.tar.gz

wget http://superb-west.dl.sourceforge.net/sourceforge/ ffmpeg-php/ffmpeg-php-0.5.0.tbz2

wget http://downloads.xiph.org/releases/ ogg/libogg-1.1.3.tar.gz

wget http://downloads.xiph.org/releases/ vorbis/libvorbis-1.1.2.tar.gz


3. Extract all the source files


bunzip2 essential-20061022.tar.bz2; tar xvf essential-20061022.tar

tar zxvf flvtool2_1.0.5_rc6.tgz

tar zxvf lame-3.97.tar.gz

bunzip2 ffmpeg-php-0.5.0.tbz2; tar xvf ffmpeg-php-0.5.0.tar

tar zxvf libogg-1.1.3.tar.gz

tar zxvf libvorbis-1.1.2.tar.gz


4. Create the codecs directory & import them

mkdir /usr/local/lib/codecs/

mv essential-20061022/* /usr/local/lib/codecs/

chmod -R 755 /usr/local/lib/codecs/


5. Install SVN/Ruby (Depends on OS, this is for RHEL/CentOS)

yum install subversion

yum install ruby

yum install ncurses-devel


6. Get the latest FFMPEG/MPlayer from the subversion

svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg

svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer


7. Compile LAME

cd ~/ffmpeg/lame-3.97

./configure

make

make install


8. Compile libOGG

cd ~/ffmpeg/libogg-1.1.3

./configure

make

make install


9. Compile libVorbis


cd ~/ffmpeg/libvorbis-1.1.2

./configure

make

make install


10. Compile flvtool2

cd ~/ffmpeg/flvtool2_1.0.5_rc6

ruby setup.rb config

ruby setup.rb setup

ruby setup.rb install



11. Compile MPlayer

cd ~/ffmpeg/mplayer

./configure

make

make install


12. Compile FFMPEG

cd ~/ffmpeg/ffmpeg

./configure --enable-libmp3lame --enable-libogg --enable-libvorbis --disable-mmx --enable-shared

echo '#define HAVE_LRINTF 1' >> config.h


make

make install


13. Finalize the codec setups

ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50

ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51

ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49

ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0

ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51


14. Compile FFMPEG-PHP


cd ~/ffmpeg/ ffmpeg-php-0.5.0

phpize

./configure

make

make install


15. Install FFMPEG-PHP (make sure the php.ini path is correct.)

echo 'extension=/usr/local/lib/php/extensions/ no-debug-non-zts-20020429/ffmpeg.so' >> /usr/local/Zend/etc/php.ini


16. Restart Apache to load FFMPEG-PHP (Depends on OS, this is for RHEL/CentOS)


service httpd restart


17. Verify if it works

php -r 'phpinfo();' | grep ffmpeg


If you get a few lines such as

ffmpeg

ffmpeg support (ffmpeg-php) => enabled

ffmpeg-php version => 0.5.0


ffmpeg.allow_persistent => 0 => 0


Then everything is installed and working. FFMPEG, FFMPEG-PHP, MPlayer, MEncoder, flv2tool, LAME MP3 encoder & libOGG.

How To Check Disk Space

You can use command
df -h
to check how many disk space left.
 
du -h
To check how many size of file and folder.

Now, how does we know which file or folder uses the most space. Just type the command below
du -xskch * | sort -rn | head -n 10

How To Erase Your Linux

Actually I'm not interested in that topic and prefer to this "How To Erase Your Windows in Linux" but that's the only idea I had today. Maybe any of you will ask me the same question. I'll on it later =D.

Read this before, Linux isn't a software, so you can't take easy to uninstall it. It's an independent platform like your wind0ws XP. If you want to erase it, you need to remove the linux partition itself.

Last but not least, all you need to do are:
1. Format the linux partition from windows.
2. Fix the windows MBR with cd of xp. Get to the console and type fixmbr.

That's all you need to do.
Simple.
 

different paths

college campus lawn

wires in front of sky

aerial perspective

clouds

clouds over the highway

The Poultney Inn

apartment for rent