Tuesday, March 25, 2008
~ Video encoding using Mencoder
mencoder in.dat -oac mp3lame -lameopts preset=128 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200 -ofps 25 -of avi -o out.avi
Tuesday, January 29, 2008
~ To add SRT Subtitles to AVI files
Software used: Mencoder
mencoder -sub vid_name.srt -subcp iso-8857-9 -ovc xvid -xvidencopts bitrate=687 -oac copy -o reqd_name.avi vid_name.avi
mencoder -sub vid_name.srt -subcp iso-8857-9 -ovc xvid -xvidencopts bitrate=687 -oac copy -o reqd_name.avi vid_name.avi
Thursday, December 27, 2007
~ Installing Source Files in Ubuntu
Most of the source files are in tar.gz or .gz format. To install from these source files, first u need to compile them. So u need to install build-essentials frm Synaptic package manager. Or else, type in terminal:
sudo aptitude install build-essentials
Suppose you have a source file abc.tar.gz
1) Extract the source file.
2) Navigate to the folder to which the source file was extracted.
3) Type the following:
./configure
make
sudo make install
clean install
4) Done
Explanation
./configure checks whether required dependencies are available.
make compiles source code.
make install installs the compiled source code.
clean install removes temporary files created during installation process.
* If it asks for an installation location it is recommended to install all the source to /usr/src
sudo aptitude install build-essentials
Suppose you have a source file abc.tar.gz
1) Extract the source file.
2) Navigate to the folder to which the source file was extracted.
3) Type the following:
./configure
make
sudo make install
clean install
4) Done
Explanation
./configure checks whether required dependencies are available.
make compiles source code.
make install installs the compiled source code.
clean install removes temporary files created during installation process.
* If it asks for an installation location it is recommended to install all the source to /usr/src
Sunday, October 21, 2007
~ Installing files in Ubuntu thru Command Line
~ Installing via Terminal
To install anything which is available in the Ubuntu Repositories, first make sure all repositories are enabled in Synaptic package manager settings or by manually editing /etc/apt/sources.list
To search from the command line (like in Synaptic package manager)
sudo apt-cache search abc
To install a software abc (say).
sudo apt-get install abc
To remove abc
sudo apt-get remove abc
Complete removal (including configuration files)
sudo apt-get remove --purge abc
~ Installing a package manually
Suppose u have a debian package (abc.deb) and u want to install it. To do that, type in:
dpkg -i abc.deb
Suppose the package is in rpm format (abc.rpm)
For installing RPM packages, u need to have alien installed. Alien is available from the Ubuntu repositories.
sudo apt-get install alien (this is a one time procedure, do it only before ur first .rpm installation)
After u have successfully installed alien, install abc.rpm by typing in:
alien -i abc.rpm
To install anything which is available in the Ubuntu Repositories, first make sure all repositories are enabled in Synaptic package manager settings or by manually editing /etc/apt/sources.list
To search from the command line (like in Synaptic package manager)
sudo apt-cache search abc
To install a software abc (say).
sudo apt-get install abc
To remove abc
sudo apt-get remove abc
Complete removal (including configuration files)
sudo apt-get remove --purge abc
~ Installing a package manually
Suppose u have a debian package (abc.deb) and u want to install it. To do that, type in:
dpkg -i abc.deb
Suppose the package is in rpm format (abc.rpm)
For installing RPM packages, u need to have alien installed. Alien is available from the Ubuntu repositories.
sudo apt-get install alien (this is a one time procedure, do it only before ur first .rpm installation)
After u have successfully installed alien, install abc.rpm by typing in:
alien -i abc.rpm
~ Spicing up ur Ubuntu
This post tells u how to install Multimedia codecs, Video players, Audio players, Flash plugin, Java runtime etc..
IMPORTANT: Any step in dis post requires u to add the appropriate Medibuntu repository depending on ur distro.
~ Installing Multimedia Codecs
To Install the package type the following command in the terminal window(assuming repositories are in order and they are set up correctly as described above )
sudo aptitude install w32codecs
and to install addition more plugins type the following command in the terminal window .
sudo aptitude install libxine-extracodecs gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-pitfdll
~ Installing Video Players
Popular media players like Xine,Mplayer and VLC can b installed using the following command
sudo aptitude install libxine-extracodecs xine-ui mplayer mplayer-skins vlc vlc-plugin-* mozilla-plugin-vlc
~ Installing Audio players
Type the following command in the terminal windows (Application -> Accesories -> Terminal)
sudo aptitude install xmms xmms-mad xmms-skins xmms-wma mpg123 banshee amarok
sudo apt-get install beep-media-player
sudo apt-get install beep-extra-plugins
sudo apt-get install beep-media-player-dev
sudo apt-get install nasm
sudo apt-get install libgtk+2.0
sudo apt-get install libglib2.0-dev
~ Installing Macromedia Flash-Plugin
sudo aptitude install flashplugin-nonfree
After completing above step restart Firefox to make changes take place permanently and type about:plugins in the address bar to see if plug is installed correctly.
~ Installing Java Runtime environment v6.0 With Mozilla Firefox plugin
sudo aptitude install sun-java6-jre sun-java6-plugin sun-java6-fonts
After downloading is over you will get a screen like this just accept this license by pressing ¨Yes¨ button to complete installation, after this restart Firefox and type about:plugins to check whether sun java plugin is correctly installed.
~ Installing Real Player and Adobe Reader
Download the .rpm setup file from here.
~ Installing Adobe Reader
The following command would only work if Medibuntu repositories are configured properly.
sudo aptitude install acroread
~ Installing Microsoft True Type Fonts
sudo aptitude install msttcorefonts
IMPORTANT: Any step in dis post requires u to add the appropriate Medibuntu repository depending on ur distro.
~ Installing Multimedia Codecs
To Install the package type the following command in the terminal window(assuming repositories are in order and they are set up correctly as described above )
sudo aptitude install w32codecs
and to install addition more plugins type the following command in the terminal window .
sudo aptitude install libxine-extracodecs gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-pitfdll
~ Installing Video Players
Popular media players like Xine,Mplayer and VLC can b installed using the following command
sudo aptitude install libxine-extracodecs xine-ui mplayer mplayer-skins vlc vlc-plugin-* mozilla-plugin-vlc
~ Installing Audio players
Type the following command in the terminal windows (Application -> Accesories -> Terminal)
sudo aptitude install xmms xmms-mad xmms-skins xmms-wma mpg123 banshee amarok
sudo apt-get install beep-media-player
sudo apt-get install beep-extra-plugins
sudo apt-get install beep-media-player-dev
sudo apt-get install nasm
sudo apt-get install libgtk+2.0
sudo apt-get install libglib2.0-dev
~ Installing Macromedia Flash-Plugin
sudo aptitude install flashplugin-nonfree
After completing above step restart Firefox to make changes take place permanently and type about:plugins in the address bar to see if plug is installed correctly.
~ Installing Java Runtime environment v6.0 With Mozilla Firefox plugin
sudo aptitude install sun-java6-jre sun-java6-plugin sun-java6-fonts
After downloading is over you will get a screen like this just accept this license by pressing ¨Yes¨ button to complete installation, after this restart Firefox and type about:plugins to check whether sun java plugin is correctly installed.
~ Installing Real Player and Adobe Reader
Download the .rpm setup file from here.
~ Installing Adobe Reader
The following command would only work if Medibuntu repositories are configured properly.
sudo aptitude install acroread
~ Installing Microsoft True Type Fonts
sudo aptitude install msttcorefonts
Saturday, October 20, 2007
~ Adding Medibuntu Repository in Ubuntu 7.10 (Gutsy Gibbon)
- sudo gedit /etc/apt/sources.list
or
Go to system > administration > synaptic package manager > settings > repositories.
- Add the Medibuntu repoitory (Third party software tab)
- Close synaptic package manager.
- Open Terminal, type in the following:
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
sudo apt-get install non-free-codecs
- Done !
Monday, July 23, 2007
~ Get Counted
If u r a Linux user, register at http://counter.li.org/ and get urself a Linux register number. Mine is 449948.
If u r an Ubuntu user, register at http://ubuntucounter.geekosophical.net/.
If u r an Ubuntu user, register at http://ubuntucounter.geekosophical.net/.
Subscribe to:
Posts (Atom)