FFMPEG version SVN-r24734 Autoinstaller

Filed Under (FFMPEG) by Milind on 06-02-2012

FFmpeg is a open source project that produces libraries and programs for handling multimedia data and publishes them online. The most popular components of FFmpeg are libavcodec, an audio/video codec library used by several other projects, libavformat, an audio/video container mux and demux library, and the ffmpeg command line program for transcoding multimedia files.

FFMPEG can be installed manually using detailed steps given on the eUKHost forum thread but if you don’t want to do manual work and need to get it installed automatically then this thread is for you. If you go through above given thread you will find an autoinstaller script which will also install FFMPEG but it will install the older version of FFMPEG. Now you can install Latest FMMPEG SVN-r24734 version using steps given below.

Download FMMPEG SVN-r24734 auto-installer Script
Login to the server and download file using wget.

root@server [~]# wget http://eitwebguru.com/soft/ffmpeginstaller.tar.gz

Extract the downloaded file

root@server [~]# tar -zxvf ffmpeginstaller.tar.gz


Go to Extracted folder

root@server [~]# cd ffmpeginstaller


Run Autoinstaller

root@server [~]# ./install


Now follow the steps and press enter…now its time to have a cup of coffee.

How to Install MP4Box on Linux Server

Filed Under (FFMPEG, Installations, Linux Tips, Softwares) by Milind on 09-09-2011

MP4Box is a MP4 multiplexer, which 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. MP4Box is a command line tool, but can be used with graphical user interfaces such as YAMB or my MP4box GUI.

1) Download MP4Box
Execute Following commands on Shell to Download the MP4Box Source

[root@server ~]# cd /usr/local/src/
[root@server src]# wget http://nchc.dl.sourceforge.net/project/gpac/GPAC/GPAC%200.4.5/gpac-0.4.5.tar.gz
[root@server src]# wget http://nchc.dl.sourceforge.net/project/gpac/GPAC%20extra%20libs/GPAC%20extra%20libs%200.4.5/gpac_extra_libs-0.4.5.tar.gz


gpac-0.4.5.tar.gz” is Main Source for MP4Box where as “gpac_extra_libs-0.4.5.tar.gz” contains Extra Libraries which will enhance the functionality of MP4Box.

2) Extract the Downloaded sources
Extract both the downloaded files using Tar

[root@server src]# tar -zxvf gpac-0.4.5.tar.gz
[root@server src]# tar -zxvf gpac_extra_libs-0.4.5.tar.gz


3) Copy the Additional Libraries from “gpac_extra_libs” to “gpac” folder

[root@server src]# cd gpac_extra_libs
[root@server gpac_extra_libs]# cp -r * /usr/local/src/gpac/extra_lib
[root@server gpac_extra_libs]# cd ..


4) Install GPac or MP4Box

Execute following Commands on the Shell of your Linux Server one after one (Make sure it doesn’t throw any Error)

[root@server src]# cd gpac
[root@server gpac]# ./configure
[root@server gpac]# make lib
[root@server gpac]# make apps
[root@server gpac]# make install lib
[root@server gpac]# make install


5)
Once GPAC get installed Properly, copy the gpac .so file from gpac directory to System libraries

[root@server gpac]# cp bin/gcc/libgpac.so /usr/lib


Thats all
. you can verify if the MP4Box is installed or not using following Command.

[root@server gpac]# which MP4Box
/usr/local/bin/MP4Box
[root@server gpac]#


Problems Faced While installation.

I have faced two problems while installation of MP4Box

1) Permission of “./Configure” was not set; I have corrected it by setting permission of the file to 755

[root@server gpac]# ./configure
-bash: ./configure: Permission denied
[root@server gpac]# chmod 755 configure


2) Error on 64 Bit OS. Following Error was thrown. This Error can be fixed by creating an symbolic link of /usr/lib64/libglut.so.3 to /usr/lib64/libglut.so

ERROR:-

/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status

FIX:-

[root@server gpac]#ls /usr/lib64 |grep glut
libglut.so.3
[root@server gpac]# ln -s /usr/lib64/libglut.so.3 /usr/lib64/libglut.so

FIX:- make: *** [libavdevice/v4l.o] Error 1

Filed Under (FFMPEG, Softwares) by Milind on 06-09-2011

ERROR:

While installing FFMPEG on a server when we run “make” after “./configure” it gives following error:

math-errno       -c -o libavdevice/v4l.o libavdevice/v4l.c
In file included from libavdevice/v4l.c:32:
/usr/include/linux/videodev.h:56: error: syntax error before "ulong"
/usr/include/linux/videodev.h:72: error: syntax error before '}' token
libavdevice/v4l.c: In function `grab_read_header':
libavdevice/v4l.c:77: error: storage size of 'tuner' isn't known
libavdevice/v4l.c:141: error: invalid application of `sizeof' to incomplete type `video_tuner'
libavdevice/v4l.c:148: error: invalid application of `sizeof' to incomplete type `video_tuner'
libavdevice/v4l.c:77: warning: unused variable `tuner'
make: *** [libavdevice/v4l.o] Error 1

SOLUTION:

This problem can be fixed by disabling v41 and v42 for FFMPEG. This can be done when we run “./configure” for FFMPEG

./configure --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared --disable-demuxer=v4l --disable-demuxer=v4l2

Once this has been completed run “make” and “make install” to install FFMPEG.

Follow US

Enter your email address:


I'm listed in Technology

Sponsors

Advertisement

Become Fan

tag cloud