* [gentoo-user] Bash Script that wraps Mplayer/Mencoder.
@ 2009-09-25 10:17 Richard Marza
2009-09-30 17:27 ` [gentoo-user] " Doug Hunley
0 siblings, 1 reply; 4+ messages in thread
From: Richard Marza @ 2009-09-25 10:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1841 bytes --]
I have a script currently called rip that rips DVDs to H.264 using x264 with mencoder. It always does 2 passes and runs 2 threads(uses two cores). It has many lines but I'm sure if we work together we can shorten the number of lines and add more functionality. Uhm...for now, it does what it is supposed to do. It could use a little bit more functionality but it is user friendly once you have the right tools installed. It uses mplayers crop-detection feature to crop black bands out of the video. It requires libdvdread, lsdvd, mencoder/mplayer with x264, sed and of course bash. Here is the syntax below:
./rip.s dvd_device bitrate movie_name audio_id title
Examples:
./rip.sh /dev/sr0 1200 Movie_Name 128 1
This will rip title 1 from device /dev/sr0 and place the video files into MovieName directory. The resulting file will be Movie_Name.avi.
or if you have a range of titles to rip you can also specify this like so:
./rip.sh /dev/sr0 1200 Movie_Name 128 1-3
or if you don't know which title... It'll choose the longest title for you with the trailing option below. Just change the title field to auto
./rip.sh /dev/sr0 1200 Movie_Name 128 auto
If you're not sure what the options are just run the script without any options. It will tell you if you can't remember or are not sure.
I created the script because Acidrip ceased to work after a while. It no longer does what it used to do. Maybe it'll work on older distributions. In summary, Acidrip has not been updated to use the latest libraries. My script has much less of the functionality that Acidrip once had but it gets the job done. If anyone is interested please let me know and I will most definitely post it here. I look forward to porting this to python one day and calling it Acidripy using pygtk. Thank you for reading. I look forward to hearing from you guys.
[-- Attachment #2: Type: text/html, Size: 2209 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: Bash Script that wraps Mplayer/Mencoder.
2009-09-25 10:17 [gentoo-user] Bash Script that wraps Mplayer/Mencoder Richard Marza
@ 2009-09-30 17:27 ` Doug Hunley
2009-09-30 17:45 ` Stroller
0 siblings, 1 reply; 4+ messages in thread
From: Doug Hunley @ 2009-09-30 17:27 UTC (permalink / raw
To: gentoo-user
On Fri, Sep 25, 2009 at 06:17, Richard Marza
<richardmarzan@optonline.net> wrote:
> I have a script currently called rip that rips DVDs to H.264 using x264 with
> mencoder
Congrats, you just reinvented media-video/h264enc
--
Douglas J Hunley, RHCT
doug.hunley@gmail.com : http://douglasjhunley.com : Twitter: @hunleyd
Obsessively opposed to the typical.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Re: Bash Script that wraps Mplayer/Mencoder.
2009-09-30 17:27 ` [gentoo-user] " Doug Hunley
@ 2009-09-30 17:45 ` Stroller
2009-09-30 17:59 ` Doug Hunley
0 siblings, 1 reply; 4+ messages in thread
From: Stroller @ 2009-09-30 17:45 UTC (permalink / raw
To: gentoo-user
On 30 Sep 2009, at 18:27, Doug Hunley wrote:
> On Fri, Sep 25, 2009 at 06:17, Richard Marza
> <richardmarzan@optonline.net> wrote:
>> I have a script currently called rip that rips DVDs to H.264 using
>> x264 with
>> mencoder
>
> Congrats, you just reinvented media-video/h264enc
Unless I am thinking mistakenly of another app (and I don't think so)
usability of media-video/h264enc is below abysmal.
To call the OP's implementation of a ripping-script a "reinvention" of
h264enc must surely be a slur.
It is the nature of mencoder that such scripts are necessary.
Hopefully a good script of this kind will eventually evolve. I have
tried many and have yet to find one that isn't lacking.
Stroller.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: Bash Script that wraps Mplayer/Mencoder.
2009-09-30 17:45 ` Stroller
@ 2009-09-30 17:59 ` Doug Hunley
0 siblings, 0 replies; 4+ messages in thread
From: Doug Hunley @ 2009-09-30 17:59 UTC (permalink / raw
To: gentoo-user
On Wed, Sep 30, 2009 at 13:45, Stroller <stroller@stellar.eclipse.co.uk> wrote:
> Unless I am thinking mistakenly of another app (and I don't think so)
> usability of media-video/h264enc is below abysmal.
I guess it's a case of 'to each his own' then as I use it here w/o any
issues. And I was turned onto it from several other people who use it.
And no, I didn't mean to disparage his efforts. I'm well aware that
mencoder/mplayer need wrapper scripts in the worst way. It just
sounded like the script, as described, was feature-parity with
h264enc.
--
Douglas J Hunley, RHCT
doug.hunley@gmail.com : http://douglasjhunley.com : Twitter: @hunleyd
Obsessively opposed to the typical.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-09-30 17:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-25 10:17 [gentoo-user] Bash Script that wraps Mplayer/Mencoder Richard Marza
2009-09-30 17:27 ` [gentoo-user] " Doug Hunley
2009-09-30 17:45 ` Stroller
2009-09-30 17:59 ` Doug Hunley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox