Issue the command from the folder in which the files are located. Change the .avi file names to the relevant ones.
Using the following command one can remove the audio track from an AVI file.
mencoder -ovc copy -nosound video.avi -o video_nosound.avi
The following command will add a new track to the AVI file.
mencoder -ovc copy -audiofile soundtrack.mp3 -oac copy video_nosound.avi -o video_new.avi
Sunday, February 22, 2009
Thursday, February 12, 2009
How to Rotate a Video Taken by a Camera Using Mencoder
It was really essential to rotate a video before you post on to your blog or somewhere else if the video is taken in the other orientation from your camera. If you have mencoder, you can fire this command on the command line (I am considering Linux) from the place that you have your video file that you want to rotate.
mencoder -vf rotate=1 -ovc lavc -oac copy name_of_your_video_file.avi -o new_name_of_the_converted_file.avi
Change the names of the video file as described. Write the command continuously on the command line with relevant spaces.
If you don't have MPlayer or Mencoder you can download it from here.
http://www.mplayerhq.hu/design7/dload.html
mencoder -vf rotate=1 -ovc lavc -oac copy name_of_your_video_file.avi -o new_name_of_the_converted_file.avi
Change the names of the video file as described. Write the command continuously on the command line with relevant spaces.
If you don't have MPlayer or Mencoder you can download it from here.
http://www.mplayerhq.hu/design7/dload.html
Nautilus Scripts
Nautilus scripts are scripts embedded to nautilus file manager which is the official file manager in GNOME. These scripts can be run from the menu you get by right clicking somewhere, probably on a file so that you can fire an instant command on that file.
There were lacking some scripts for linux earlier but now it is not true anymore. These two scripts will be very useful to anyone who works with images and videos frequently.
1. nautilus-image-converter
You can just run this command on the command line
sudo apt-get install nautilus-image-converter
2. nautilus video converter
http://ubuntuforums.org/showthread.php?t=193754
Click on the link and follow the instructions given by the author carefully.
Enjoy the scripts.
Cheers
There were lacking some scripts for linux earlier but now it is not true anymore. These two scripts will be very useful to anyone who works with images and videos frequently.
1. nautilus-image-converter
You can just run this command on the command line
sudo apt-get install nautilus-image-converter
2. nautilus video converter
http://ubuntuforums.org/showthread.php?t=193754
Click on the link and follow the instructions given by the author carefully.
Enjoy the scripts.
Cheers
Lynda.com Ruby on Rails Training
Lynda.com provides multimedia learning experience to many computing subjects and I found that this Ruby on Rails training videos to be very interesting.
*Ruby on Rails Essential Training
*Ruby on Rails Beyond the Basics
cheers ;)
*Ruby on Rails Essential Training
*Ruby on Rails Beyond the Basics
cheers ;)
Subscribe to:
Posts (Atom)