Archive for July, 2009
Create Flash video from DVD (DVD to FLV) with Ubuntu
All the steps below are valid for any Linux, not just Debian and Ubuntu. Simply use your distro’s package manager (YaST, Yum, Rpm, etc.) to install the necessary packages. Creating a flash video from a DVD will allow you to post it on Youtube or on your website.
1. Make sure that you have mencoder installed. Mencoder is Mplayer’s movie encoder and it can convert multiple video and audio formats.
If you have not yet installed it, do it now:
sudo apt-get install mencoder
This will install 4 packages: libfaac0 libmp3lame0 libx264-65 libxvidcore4 mencoder.
2. Run the command to convert the DVD file to FLV. This is a sample command, you will have to change the paths to the input and output files if necessary. In this case the input file is: /media/cdrom0/VIDEO_TS/VTS_01_1.VOB and the output file is video.flv, which is specified after the “-o” option:
mencoder /media/cdrom0/VIDEO_TS/VTS_01_1.VOB -o video.flv -of lavf -ovc lavc -oac mp3lame -lavcopts vcodec=flv:vbitrate=500:autoaspect:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:precmp=2:cmp=2:subcmp=2:preme=2:turbo:acodec=mp3:abitrate=56 -vf scale=320:240 -srate 22050 -af lavcresample=22050
As you can see, mencoder has a lot of options and you can control just about everything. Check out the man pages for mencoder for more information.
Search
Archive
Recent Comments
- Olivier on Dynamic Port Forwarding with SOCKS over SSH
- Ld7 on How to connect your Android phone to Ubuntu to do development, testing, installations or tethering
- get more Info on How to get Picasa images using the Image Picker on Android devices running any OS version
- Casper on How to detect a user pan/touch/drag on Android Map v2
- Install SSH as socks proxy for dynamic port forwarding | Steve Constine on Dynamic Port Forwarding with SOCKS over SSH
Categories
Blogroll
Online Tools
Other
BLOG ARCHIVE
- April 2013 (1)
- November 2012 (2)
- August 2012 (1)
- May 2012 (1)
- March 2012 (1)
- November 2011 (1)
- August 2011 (1)
- April 2011 (1)
- January 2011 (2)
- September 2010 (1)
- August 2010 (2)
- July 2010 (2)
- June 2010 (2)
- May 2010 (1)
- January 2010 (2)
- December 2009 (2)
- November 2009 (3)
- October 2009 (1)
- September 2009 (3)
- July 2009 (1)
- May 2009 (1)
- March 2009 (1)
- February 2009 (2)
- January 2009 (2)
- December 2008 (1)
- November 2008 (4)
- October 2008 (5)