Saturday, December 18, 2010

Installing Titanium at Ubuntu 10.04 (64bit)

Well you tried to install Titanium Development and you get the followind?

antonis@machete:~/Downloads/Titanium Developer-1.2.2$ ./Titanium\ Developer
./Titanium Developer: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol: g_malloc_n


Don't worry, there is an easy workaround:
You need to remove a number of libraries in the runtime dir
rm ~/.titanium/runtime/linux/1.0.0/libgobject-2.0.*
rm ~/.titanium/runtime/linux/1.0.0/libglib-2.0.*
rm ~/.titanium/runtime/linux/1.0.0/libgio-2.0.*
rm ~/.titanium/runtime/linux/1.0.0/libgthread-2.0.*
 
 Happy Coding!!!
 

Monday, November 8, 2010

Install MP4Box in Fedora 12

MP4Box can import MPEG-4 video, DivX, XviD, 3ivx, h264 etc, audio streams and subtitles into the .mp4 container. The end result is a compliant MP4 stream. It can also extract streams from a .mp4. 
zlib is a software library used for data compression. zlib was written by Jean-Loup Gailly and Mark Adler and is an abstraction of the DEFLATE compression algorithm used in their gzip file compression program.

Download MP4Box and Libraries
#cd /root
#wget http://nchc.dl.sourceforge.net/project/gpac/GPAC/GPAC%200.4.5/gpac-0.4.5...
#wget http://nchc.dl.sourceforge.net/project/gpac/GPAC%20extra%20libs/GPAC%20e...

Installing Zlib
#yum install zlib*

Extract and Compiling MP4Box
#tar -zxf gpac-0.4.5.tar.gz
#tar -zxf gpac_extra_libs-0.4.5.tar.gz
#cd gpac_extra_libs
#cp -r * ../gpac/extra_lib
#cd ../gpac
#chmod +x configure
#./configure
#make lib
#make apps
#make install lib
#make install
#cp bin/gcc/libgpac.so /usr/lib

If everything goes smoothly.
You can verify it with the command below :

#/usr/bin/MP4Box -version
MP4Box - GPAC version 0.4.5 (build 33)
GPAC Copyright: (c) Jean Le Feuvre 2000-2005
                (c) ENST 2005-200X

This tutorial is working with any 64 bit O/s but not working in 32 bit O/s