Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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$
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.
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 06:40 AM.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.