Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Linux, Mac OS X, & Co

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st August 2005, 23:45   #1  |  Link
six6
"HTML is not allowed"
 
Join Date: Jan 2003
Location: In Adamantine Chains and penal Fire
Posts: 67
Script to get newest MPlayer, XviD, and x264 from cvs/svn

Hi all:

Currently, this is experimental. Use at your own risk.

I wrote a small shell script that should work on all linux systems that downloads, builds, and installs MPlayer (and all binary codecs), x264, and XviD from cvs or subversion (depending on what that software's repository is). You also have the option to install the stable MPlayer instead of cvs. On debian based systems it also downloads the dependencies needed for compilation, but on other systems you must manually get the software it needs (run the script to see what software you might need).

It's included with bitterbpp to help those that need to get these softwares to operate bitterbpp, but also works well if you just want the latest mentioned stuff.

Anyway, here it is:

download: bitterbpp-refresh (updated Feb 5 2006)
read on-line: bitterbpp-refresh.txt

Directions:
1. If you implicitly trust me, run the script as root . If you are uncomfortable running a script from the internet (you should be!), read it to see what it does. If you can't read bash/perl scripts, well hmm, I guess you'll have to trust me if you want to run it .
2. The first time through, don't "run quietly" if you want to see what's going on!

That's all! Anytime you want to update to the latest stuff, you can just rerun the script.

I'd appreciate if people give suggestions, etc!

Edit: If the MPlayer CVS gives you funny problems (doesn't download, aborts the login, etc), re-run the script using MPlayer stable. If you want to get the CVS, try again in a few hours (or days...) and hopefully the MPlayer devs will have the CVS fixed by then

Last edited by six6; 5th February 2006 at 20:33.
six6 is offline   Reply With Quote
Old 2nd August 2005, 13:25   #2  |  Link
GraDy
Registered User
 
Join Date: Jul 2005
Posts: 24
Thanks a lot! Gonna try this on Ubuntu Hoary and report back!
GraDy is offline   Reply With Quote
Old 2nd August 2005, 18:43   #3  |  Link
six6
"HTML is not allowed"
 
Join Date: Jan 2003
Location: In Adamantine Chains and penal Fire
Posts: 67
I just updated that script (same link, always will be), and if you use the old one MPlayer may not be compiled with libavcodec support.

Edit: Also, as of today cvs downloading from MPlayer has some issues (right after I ask people to test this script, go figure ). This brings up a good point though: Sometimes this script will not work because the software is broken in cvs/svn! Being on the cuttting edge of software availability has it's drawbacks,

Last edited by six6; 2nd August 2005 at 18:50.
six6 is offline   Reply With Quote
Old 3rd August 2005, 11:14   #4  |  Link
GraDy
Registered User
 
Join Date: Jul 2005
Posts: 24
When I get to the step where the script fetches the deps, I get this error: 'E: Malformed line 34 in source list /etc/apt/sources.list (dist parse)'
Here's my sources.list:
## Uncomment the following two lines to fetch updated software from the network
deb http://us.archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary main restricted

## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu hoary universe
deb-src http://us.archive.ubuntu.com/ubuntu hoary universe

deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

deb http://security.ubuntu.com/ubuntu hoary-security universe
deb-src http://security.ubuntu.com/ubuntu hoary-security universe

deb http://archive.ubuntu.com/ubuntu hoary multiverse
deb-src http://archive.ubuntu.com/ubuntu hoary multiverse

## Backports
deb http://ubuntu-backports.mirrormax.net/ hoary-backports main universe multiverse restricted
deb http://ubuntu-backports.mirrormax.net/ hoary-extras main universe multiverse restricted

## bitterbpp
deb http://www.bunkus.org/ubuntu hoary
deb ftp://ftp.nerim.net/debian-marillat unstable main

I'm sure I'm doing some stupid misstake but I can't figure out what I'm doing wrong .
GraDy is offline   Reply With Quote
Old 3rd August 2005, 18:15   #5  |  Link
six6
"HTML is not allowed"
 
Join Date: Jan 2003
Location: In Adamantine Chains and penal Fire
Posts: 67
@GraDy
Hmm, irreproducible even with your sources.lst. Try the new script that I just uploaded.

Last edited by six6; 3rd August 2005 at 21:59.
six6 is offline   Reply With Quote
Old 3rd August 2005, 18:26   #6  |  Link
GraDy
Registered User
 
Join Date: Jul 2005
Posts: 24
Yeah, I'm suing the newst script. I get this error in synaptic or if I run apt-get install <something> from the cli. If I remove the 'deb http://www.bunkus.org/ubuntu hoary' i get no errors. Strange, might be something ubuntu-related (or GraDy-related )
GraDy is offline   Reply With Quote
Old 3rd August 2005, 18:33   #7  |  Link
six6
"HTML is not allowed"
 
Join Date: Jan 2003
Location: In Adamantine Chains and penal Fire
Posts: 67
Oh, I see what's wrong now. Change your "deb http://www.bunkus.org/ubuntu hoary" to "deb http://www.bunkus.org/ubuntu/hoary/ ./" (Notice the extra "./").
six6 is offline   Reply With Quote
Old 3rd August 2005, 21:10   #8  |  Link
GraDy
Registered User
 
Join Date: Jul 2005
Posts: 24
Thanks! That worked nicely! Now I have another problem :P When configuring lsdvd I get this

I'll be configuring lsdvd now. Enter your ./configure arguments, enter N for none, or press enter to accept the default []:
rdbi_software.sh: line 236: ./configure: No such file or directory
GraDy is offline   Reply With Quote
Old 3rd August 2005, 21:58   #9  |  Link
six6
"HTML is not allowed"
 
Join Date: Jan 2003
Location: In Adamantine Chains and penal Fire
Posts: 67
@GraDy

Again, irreproducible. Do you have the lsdvd directory (with the lsdvd program files inside) in the directory you're running the script? If so, it has to be the one bundled with bitterbpp (or the one downloaded from sourceforge). If you don't have either, the script can't configure lsdvd (because unlike the rest of the software, the script doesn't download lsdvd).

Anyway, I wouldn't worry about it unless you're using bitterbpp (otherwise you most likely don't need lsdvd), and even if you are, you can actually install lsdvd via apt if you have Marillat's debian repository in your sources.lst.
six6 is offline   Reply With Quote
Old 4th August 2005, 12:14   #10  |  Link
GraDy
Registered User
 
Join Date: Jul 2005
Posts: 24
I have to appologize for my stupidity, of course I had forgotten that! Now the script worked nicely, thanks!
GraDy is offline   Reply With Quote
Old 5th August 2005, 01:16   #11  |  Link
six6
"HTML is not allowed"
 
Join Date: Jan 2003
Location: In Adamantine Chains and penal Fire
Posts: 67
@GraDy

I'm glad it worked. Did you try the CVS MPlayer or stable? If you used stable you can't encode with x264; and CVS seems to be working now. If you want to update, just rerun the script in the same directory
six6 is offline   Reply With Quote
Old 5th August 2005, 09:43   #12  |  Link
GraDy
Registered User
 
Join Date: Jul 2005
Posts: 24
I think I used CVS :P The default of the script anyways. Haven't had enough time to encode anything yet, but mplayer playes files fine at least .
GraDy is offline   Reply With Quote
Old 12th August 2005, 04:22   #13  |  Link
dwflo
Stoned
 
dwflo's Avatar
 
Join Date: Apr 2003
Location: At the foot of the Sandias
Posts: 110
RPM package

There is an RPM package for those that use them at http://rpm.livna.org/
It includes mencoder and a gui.

Dave
__________________
"A stupid question is better than none at all"
AMD64 3000+, 1G DDR333, ATIRadeon9600Pro-128DDR, 240GIG HD, BenQ DVD DD DW1620, Fedora Core 4 x86_64,
:stupid:
dwflo is offline   Reply With Quote
Old 13th August 2005, 22:47   #14  |  Link
six6
"HTML is not allowed"
 
Join Date: Jan 2003
Location: In Adamantine Chains and penal Fire
Posts: 67
I released a new version of bitterbpp, and updated this script too. You may download it from the links above or with the bitterbpp package.
six6 is offline   Reply With Quote
Old 2nd September 2005, 06:05   #15  |  Link
six6
"HTML is not allowed"
 
Join Date: Jan 2003
Location: In Adamantine Chains and penal Fire
Posts: 67
New version, minor bugfixes (relating to installing/removing codecs).
six6 is offline   Reply With Quote
Old 10th September 2005, 09:24   #16  |  Link
six6
"HTML is not allowed"
 
Join Date: Jan 2003
Location: In Adamantine Chains and penal Fire
Posts: 67
New version. Now we're back to running the script as root, and you no longer install/worry about lsdvd. This is in anticipation of bitterbpp_v1.5.2beta, which will be released as a deb package with this script, bitterbpp-refresh (formerly rdbi_software.sh), packaged with it.
six6 is offline   Reply With Quote
Old 24th September 2005, 21:23   #17  |  Link
TSO COBOL
Registered User
 
TSO COBOL's Avatar
 
Join Date: Jan 2003
Location: France
Posts: 25
marillat is out, so there is a problem with your script
TSO COBOL is offline   Reply With Quote
Old 25th September 2005, 07:11   #18  |  Link
six6
"HTML is not allowed"
 
Join Date: Jan 2003
Location: In Adamantine Chains and penal Fire
Posts: 67
@TSO COBOL

Not sure what you mean.
six6 is offline   Reply With Quote
Old 25th September 2005, 12:33   #19  |  Link
TSO COBOL
Registered User
 
TSO COBOL's Avatar
 
Join Date: Jan 2003
Location: France
Posts: 25
marillat repository dont work so your script cant install x264
TSO COBOL is offline   Reply With Quote
Old 5th February 2006, 20:37   #20  |  Link
six6
"HTML is not allowed"
 
Join Date: Jan 2003
Location: In Adamantine Chains and penal Fire
Posts: 67
Updated.
six6 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.