mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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:
parent
17649a6679
commit
ceef45b80b
1 changed files with 9 additions and 1 deletions
10
tools/README
10
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!
|
||||
|
||||
|
|
Loading…
Reference in a new issue