summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/README10
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/README b/tools/README
index a41c1f358..08c795ef7 100644
--- a/tools/README
+++ b/tools/README
@@ -67,10 +67,18 @@ For mpeg1 files (video and audio streams respectively):
gstreamer-launch filesrc location=video.mpg ! mpegdemux video_00! { queue ! mpeg2dec ! sdlvideosink }
gstreamer-launch filesrc location=video.mpg ! mpegdemux audio_00! { queue ! mad ! osssink }
+for mpeg1 with both audio and video:
+
+ gstreamer-launch filesrc location=video.mpg ! mpegdemux name=demux video_00! { queue ! mpeg2dec ! sdlvideosink } demux.audio_00! { queue ! mad ! osssink }
+
For mpeg2 files (video and audio streams respectively):
gstreamer-launch filesrc location=video.mpeg ! mpegdemux video_00! { queue ! mpeg2dec ! sdlvideosink }
- gstreamer-launch filesrc location=video.mpeg ! mpegdemux private_stream_1.0! { queue ! ac3dec ! osssink }
+ gstreamer-launch filesrc location=video.mpeg ! mpegdemux private_stream_1.0! { queue ! a52dec ! osssink }
+
+for mpeg2 with both audio and video:
+
+ gstreamer-launch filesrc location=video.mpg ! mpegdemux name=demux video_00! { queue ! mpeg2dec ! sdlvideosink } demux.private_stream_1.0! { queue ! a52dec ! osssink }
Note: The types of audio streams in the mpeg files can vary!