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
This commit is contained in:
Wim Taymans 2001-12-17 14:24:26 +00:00
parent 17649a6679
commit ceef45b80b

View file

@ -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 video_00! { queue ! mpeg2dec ! sdlvideosink }
gstreamer-launch filesrc location=video.mpg ! mpegdemux audio_00! { queue ! mad ! osssink } 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): 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 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! Note: The types of audio streams in the mpeg files can vary!