Mengaktifkan format 3gp di Mplayer

[[[[ ini hasil copy paste dar ]]]]

This is a howto for ubuntu – but i guess it’d be easy to translate to a general debian distro.To enable audio in .3gp files in mplayer you need to recompile, but don’t worry – it’s done in a few simple steps.
First we need to get the mplayer source

sudo -s
cd /usr/src
mkdir -p mplayer
cd mplayer
apt-get source mplayer

Then we need to get the 3gp drivers to enable the amr_nb and amr_wb codecs in libavblockquotec, do this:


cd mplayer-1.0~rc1 # this directory may have a different name
mkdir libavblockquotec/amr_float
mkdir libavblockquotec/amrwb_float

cd libavblockquotec/amr_float
unzip /usr/src/mplayer/
cd ..

cd libavblockquotec/amrwb_float
unzip /usr/src/mplayer/

To keep apt from installing the old version of mplayer next time you update, we need to increment the version number. Open up /usr/src/mplayer/cd mplayer-1.0~rc1/debian/changelog

gedit /usr/src/mplayer/cd mplayer-1.0~rc1/debian/changelog

and change the first line from “mplayer (2:1.0~rc1-0ubuntu3) feisty; urgency=low” to “mplayer (3:1.0~rc1-0ubuntu3) feisty; urgency=low” – This line may look different on your ubuntu installation.

Now that the amr codecs is in the source tree, it’s time to compile our new mplayer

apt-get build-dep mplayer
cd /usr/src/mplayer/cd mplayer-1.0~rc1

After it has finished compiling, these debs will be available in /usr/src/mplayer

0 vishnu@vaio:/usr/src/mplayer> ls *.deb -c1

Install what you want – this is what i did:

dpkg -i mplayer_1.0\~rc1-0ubuntu3_i386.deb \
menblockquoter_1.0\~rc1-0ubuntu3_i386.deb \

And you’re done!
Now you can play your 3gp videos with sound!

ps. this howto was writting without checking for spelling errors, please let me know if something does not work.

[[[[ belum di praktekkan ]]]]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s