LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-22-2002, 06:29 PM   #1
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
automatic DVD ripping script.... Try it!


hiiiiiiiiiiidy ho

I've been learning perl, and my first project is in a beta stage! hurrah! I've made a wrapping script for mencoder / mplayer which will automatically rip the main title from any dvd you want to stick in a dvd drive. auto bitrate, auto cropping blah blah blah. all you need is mplayer / mencoder, and libdvdread (for two utilities, ifo_dump and title_info).

If anyone tries it i'd love some feedback. I plan to abstract it to a backend package and then build a gtk frontend as well as a terminal version as it is.

http://thirtythreeandathird.net/acidrip/acidrip

ciao!
 
Old 09-23-2002, 06:00 PM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Hey Chris, I downloaded the file: acidrip, and tried running it:
./acidrip
perl acidrip
Where ./acidrip gives me:
bash-2.05a$ ./acidrip
bash: ./acidrip: /usr/bin/perl: bad interpreter: Permission denied

And perl acidrip gives me:
bash-2.05a$ perl acidrip
acidrip - Reading general disc information...error running title_info! is it on your path?


Obviously I have no idea what I am doing, so an idea on how to get started would be cool.

Thanks!
 
Old 09-23-2002, 06:03 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Original Poster
Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
well firstly, change the shebang line to point to your perl. and like i said, it needs libdvdread...
 
Old 09-23-2002, 06:47 PM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Here ya go Chris, I perl in the location that you have specified in the "shebang" (at least it would appear so from the lines below) and I also have libdvdread installed...

Code:
bash-2.05a$ whereis perl
perl: /usr/bin/perl /usr/man/man1/perl.1.gz /usr/share/man/man1/perl.1.gz
bash-2.05a$ whereis libdvdread
libdvdread: /usr/local/lib/libdvdread.so /usr/local/lib/libdvdread.la /usr/local/lib/libdvdread.a
bash-2.05a$ ./acidrip
bash: ./acidrip: /usr/bin/perl: bad interpreter: Permission denied
bash-2.05a$ perl acidrip
acidrip - Reading general disc information...error running title_info! is it on your path?
bash-2.05a$
So any other ideas?
 
Old 09-23-2002, 07:11 PM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
acid, does it work with libdvdread supplied with mplayer, or it works with libdvdread found at any DVD related sites, but mplayer? Just curious, I haven't tried it yet, and what perl version it was interpreted with, I have 5.8.0, so I'll give you my feedback when I get home.
See you.
 
Old 09-24-2002, 04:42 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Original Poster
Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
i'm using 5.6.1.

You do actaully need dvdread specifically, as it's that that contains the two handy utilities, mplayer have streamlined their own hack, which is reasonable enough. Actually it was Arpi, the MPlayer author, that told me about them. There's nothing else that that dvdread inparticular is used for, no css or anything, and it won't interfere with mplayer at all. you do need it from source, as they're not in any of the rpms.

MasterC, well looks like title_info is not in your path! my handy error messages! It might be, that's the only error message it knows from there, but something involving title_info didn't work, if it runs from a command line, i'm in trouble.. otherwise, it'll be a path issue.

Last edited by acid_kewpie; 10-02-2002 at 07:40 AM.
 
Old 10-02-2002, 07:39 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Original Poster
Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
Right, i've been away (whilst still being here of course) and have rewritten my script, to turn in into a fully automated GTK application, which is *nearly* ready for a beta version, huge thanks to TheLinuxDuck among others for helping me learn Perl. I should be able to create an rpm for it in a few days, and i'd love anyone who feels like it to test it. And i utterly promise to fully answer any questions that might arise, however trivial i would normally think they were!!

I'll hopefully be getting a sourceforge project for it as well in the near future.
 
Old 10-02-2002, 08:29 AM   #8
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Acid, would it be helpful, or you've alredy scourched this one
http://www.exit1.org/dvdrip/
 
Old 10-02-2002, 09:12 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Original Poster
Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
yeah i've seen some of that. that one is based around transcode, which i've always considered to be pretty gruesome, from a users point of view at least. One benefit of that is that it doesn't need ANYTHING else except transcode (as it's a huuuuuge collection of tiny utilities that get piped together) whereas mine uses the dvdread library utiltites as well. i'll also need to create an rpm to include the dvdread utilities, as they're not included in the standard rpms for libdvdread, just the source.
 
Old 10-02-2002, 09:35 AM   #10
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Acid, sorry for givin' a promise to test drive your code and not doing it, I am now on a freshly installed slackware machine, so after I get everything in place I surely will test drive it. Thanks.
 
Old 10-02-2002, 05:08 PM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Original Poster
Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
tra la la.. things coming along today....

http://sourceforge.net/projects/acidrip
http://acidrip.thirtythreeandathird.net
 
Old 10-02-2002, 05:29 PM   #12
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Rep: Reputation: 30
i'd like to check it out, but it seems as though the only file oyu have for download is .pl. i dont know what to do with it... im waitin for a tar.gz file.
 
Old 10-02-2002, 05:30 PM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Original Poster
Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
a pl is just a perl script file. just run it.
 
Old 10-02-2002, 05:33 PM   #14
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Rep: Reputation: 30
ok, do you plan on making a tar file, id much rather have that than an rpm
 
Old 10-02-2002, 05:34 PM   #15
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Original Poster
Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
of course, that file there is only a test from over a month ago. my website should be working now, with plenty of info on it...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD ripping mailavj Linux - Software 6 05-30-2005 09:08 PM
dvd ripping mouth Mandriva 3 01-21-2005 10:37 AM
dvd ripping kurrupt Linux - Software 8 08-31-2004 10:17 PM
send automatic input to a script called by another script in bash programming jorgecab Programming 2 04-01-2004 01:20 AM
DVD Player, and DVD/MP3 ripping Roy-Svork Linux - Software 8 05-28-2003 10:32 AM


All times are GMT -5. The time now is 07:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration