![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Desktop Environments Support for your Ubuntu desktop. Including Gnome, KDE and XFCE. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Jan 2006
Beans: 43
|
HandBrake 0.7.1 CLI "howto"
Well... there are a handful of howto's spread around the net for building HandBrake in Ubuntu Linux... but as I have a rather nasty habit of tinkering and (attempting to) tweaking my Linux installs until something breaks horrendously enough for me to need to re-install the OS...
I am hoping to put togther an Ubuntu HOWTO for HandBrake to include some of the "unexpected" cases. Much of it is derived from Mayank Sharma's tutorial at http://www.linux.com/article.pl?sid=06/04/13/2139238 entitled "CLI Magic: Porting DVDs with HandBrake", but as I ran into a few rough bumps with it... Here is what I did (again, this is pieced together from a few different HOWTOs) to get it running on my aging machine running Dapper: -1. Download the source tarball: Code:
wget -c http://download.m0k.org/handbrake/HandBrake-0.7.1.tar.gz Code:
sudo aptitude update sudo aptitude install jam build-essential nasm libdvdcss2 Code:
tar xvf HandBrake-0.7.1.tar.gz Code:
mv HandBrake-0.7.1 HandBrake Code:
cd HandBrake Code:
./configure Code:
sudo nano ~./HandBrake/libhb/Jamfile Code:
ObjectCcFlags $(LIBHB_SRC) : -I$(TOP)/contrib/include ; Code:
ObjectCcFlags $(LIBHB_SRC) : -I$(TOP)/contrib/include -I$(TOP)/contrib/mpeg4ip/lib/mp4v2 ; -9. Jam it all together (requires installation of Jam, see #2 above) Code:
jam Code:
cp HBTest /usr/local/bin/handbrake For the record, this rips movies/DVDs to a suitable *.avi or *.mpg slightly faster on my old Compaq Presario running Dapper than the full-on GUI version does in Mac OSX on my fresh-from-the-Apple Store MacBook. Credits go to Peter James Bui, jbird123 from the Ubuntu forums, and Mayank Sharma as mentioned above. And of course, the coders who put HandBrake together.
__________________
---------------------------------------------------------------------- - Onos "...a waste is a terrible thing to mind." |
|
|
|
|
|
#2 |
|
Spilled the Beans
![]() Join Date: Apr 2007
Beans: 13
|
Re: HandBrake 0.7.1 CLI "howto"
hi
thanks for the howto. just one question, i ran jam before modifying the jamfile w nano etc. what are some of the possible repercussions? do i need to re-install? thanks |
|
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() Join Date: Oct 2007
Beans: 22
|
Re: HandBrake 0.7.1 CLI "howto"
Just thought I would mention for n00bs like me....
The line that states "sudo nano ~./HandBrake/libhb/Jamfile" did not allow me to edit the file from the current path and instead created a new file. The command "sudo nano ./libhb/Jamfile" worked for me as I was already in my /home/xxxx/HandBrake folder. Thank You for this writeup, definitely moved me along to handbraking! |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|