Demuxing (Demultiplexing) Data Streams in Movie VOB Files

This section provides a tutorial on how to demux or demultiplex audio or video streams in a movie VOB file with 'vStrip'.

The next test I did was to demux (demultiplex) an audio or video stream from a movie VOB file with vStrip using 4 command options.

1. Run vStrip command to demux the video stream out of the sample VOB file:

C:\>cd \temp

C:\temp>\local\vStrip\vStrip dolby-bestsound.vob
   -! -d -ovideo.mpg 0xe0

Demux-Mode enabled.
All remapping disabled.
Found 0xBF = Private 2 [@LBA 0]
Saving 0xE0 = Video 0 [PTS 0:00:00.220 @LBA 1]
  Width = 704
  Height = 576
  Aspect-ratio = [2] 4:3 display
  Frame-rate = [3] 25 fps
Found 0xBD = Private 1, sub 0x80 [PTS 0:00:00.220 @LBA 62]
Found 0xBE = Padding [@LBA 198]

Summary:
MPEG Packs = 32290
System headers = 110
Private 1 packets = 1457, total bytes = 2938178
  Sub 0x80 packets = 1457, total bytes = 2938178
Padding packets = 6353, total bytes = 12726315
Private 2 packets = 220, total bytes = 219780
Video 0 packets = 24481, total bytes = 49188154

2. Test the video stream file, which is in MPG (MPEG) format, with MPlayer. It plays well. But of course, there is no sound.

3. Run vStrip command to demux an audio stream out of the sample VOB file with the stream ID of 0xBD and the sub stream ID of 0x80:

C:\temp>\local\vStrip\vStrip dolby-bestsound.vob
   -! -d -oaudio.xbd 0xbd 0x80

Demux-Mode enabled.
All remapping disabled.
Found 0xBF = Private 2 [@LBA 0]
Found 0xE0 = Video 0 [PTS 0:00:00.220 @LBA 1]
  Width = 704
  Height = 576
  Aspect-ratio = [2] 4:3 display
  Frame-rate = [3] 25 fps
Saving 0xBD = Private 1, sub 0x80 [PTS 0:00:00.220 @LBA 62]
Found 0xBE = Padding [@LBA 198]

Summary:
MPEG Packs = 32290
System headers = 110
Private 1 packets = 1457, total bytes = 2938178
  Sub 0x80 packets = 1457, total bytes = 2938178
Padding packets = 6353, total bytes = 12726315
Private 2 packets = 220, total bytes = 219780
Video 0 packets = 24481, total bytes = 49188154

4. Try to play the audio file with MPlayer. But MPlayer fails to detect the file format.

Table of Contents

 About This Book

 Audio CD (Compact Disc Digital Audio or CD-DA) Format

 Audio CD (Compact Disc Digital Audio or CD-DA) Players

 Audio CD (Compact Disc Digital Audio or CD-DA) Rip Music

 WAV Audio File Format

 MP3, MPEG-1 Audio Layer 3, Encoding Format

 Burning MP3 Music to Audio CD

 Windows Sound Recorder

 ISO 9660 Standard for Data CD

 Recording Data on CD

 VCD (Video CD) Standard

 DVD (Digital Video Disc) Standard Format

 TOC (Table Of Contents) on CDs

 IsoBuster - A Nice CD GUI Tool

 MPlayer - The Movie Player

vStrip - Rip and Manipulate DVD VOB Files

 Downloading and Installing vStrip

 Ripping Off VOB Files from DVD with vStrip

 Listing Data Streams in Movie VOB Files

Demuxing (Demultiplexing) Data Streams in Movie VOB Files

 Splitting Large Movie VOB Files with vStrip

 mpgtx - Manipulating MPEG Files

 CD/DVD - File Name Extension and Format Types

 References

 Full Version in PDF/ePUB