[gst-devel] DVD ripping - for those interested

Ronald S. Bultje rbultje at ronald.bitfreak.net
Fri Oct 1 01:44:07 CEST 2004

Hi gang,

I fixed dvddemux (pad negotiation, timing, clean-ups) and dvdreadsrc
(used to eat +/- 1 GB of memory before OOM'ing). I'm now able to rip
DVDs using:

gst-launch oggmux name=mux ! filesink location=/tmp/rammstein.ogg {
dvdreadsrc location=/dev/cdrom ! dvddemux name=demux .audio_00 ! { queue
! a52dec ! audioconvert ! rawvorbisenc ! queue ! mux. } { demux.video_00
! queue ! mpeg2dec ! ffcolorspace ! videoscale !
video/x-raw-yuv,width=384,height=288 ! tee name=t ! { queue ! theoraenc
! queue ! mux. } } } { t. ! queue ! ffcolorspace ! ximagesink }

(Obviously, the a52dec here is an assumption that is not always correct.
Also, you might want to rip >1 sound track. Lastly, I just noticed after
six hours that it hangs at 100% CPU on EOS and that the resulting movie,
just like Fluendo's webstream, has a terribly crackling sound. Not good.

If anyone wants to write a video-juicer, I'll happily implement querying
in dvdreadsrc and fix other potential issues that I didn't find yet.
Anyone volunteering? Maybe something for GNOME-love or our tasklist? I
can write the initial code + UI (actually, I already did write some
initial code for this one year ago) but won't maintain it (time,
gst-rec, totem, ...).


PS no I can't watch DVDs yet in Totem, I'm working on that...
PS2 the dvdreadsrc has a GPL copyright header. Which part of the code is
GPL? I want to remove it. Our CVS will not contain any GPL code.
Ronald S. Bultje <rbultje at ronald.bitfreak.net>

More information about the gstreamer-devel mailing list