Rip a VCD

Use vcdxrip from the VCDImager tool suite to extract MPEG video out of VCDs and SVCDs.

Video comes in all shapes, sizes, and formats. DVDs are great, but the video does take up a lot of space on a hard drive and until recently backing up a DVD to another DVD required expensive equipment. Alternate formats to DVDs, including VCD and SVCD, have been around for some time. These formats squeeze a video onto a CD instead of DVD using MPEG1 or MPEG2 video, respectively. The result is a much smaller file (albeit with lower quality) that you can burn onto inexpensive blank CDs and play back in many modern DVD players (most support VCDs if not both VCDs and SVCDs).

If you happen to have a video in VCD or SVCD format and would like to change the video or extract the MPEG from the CD, the VCDImager suite of tools (http://www.gnu.org/software/vcdimager) has a solution in the form of vcdxrip. vcdxrip is included in the VCDImager suite and allows you to extract the MPEG and XML files inside a VCD or SVCD, all from the command line.

By default vcdxrip attempts to rip from the default CD-ROM device. To extract the MPEG from a VCD or SVCD burned onto a CD, put the CD into the CD-ROM drive and type:

	$ vcdxrip

vcdxrip will dump the resulting XML file and MPEG file (or multiple files if the CD has more than one track) to the current directory:

avseq01.mpg

This is the first video track of the VCD in MPEG format. Each subsequent track is incremented accordingly.

videocd.xml

A VCDImager-compatible XML ...

Get Linux Multimedia Hacks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.