diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2001-12-17 14:24:26 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2001-12-17 14:24:26 +0000 |
commit | ceef45b80bcae1c834a3464367d567b98677487a (patch) | |
tree | 0c896df9dc7e68b22735244ea0cb3d504b9e066c | |
parent | 17649a66793a72320ac9b8070761d02fbce4a481 (diff) |
Some help for playing both audio in video with -launch
Original commit message from CVS:
Some help for playing both audio in video with -launch
-rw-r--r-- | tools/README | 10 |
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! |