mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:36:20 +00:00
Added syntax for playing both audio and video from a video clip
Original commit message from CVS: Added syntax for playing both audio and video from a video clip
This commit is contained in:
parent
80552c778b
commit
420e70235f
1 changed files with 3 additions and 1 deletions
|
@ -52,7 +52,9 @@ Converts wav files into mp3 and ogg files:
|
||||||
gst\-launch filesrc location=music.wav ! parsewav ! mpegaudio ! disksink location=music.mp3
|
gst\-launch filesrc location=music.wav ! parsewav ! mpegaudio ! disksink location=music.mp3
|
||||||
|
|
||||||
Play mpeg movie with the aasink:
|
Play mpeg movie with the aasink:
|
||||||
gst\-launch filesrc location=JB_FF9_TheGravityOfLove.mpg ! mpegdemux video_00! { queue ! mpeg2dec ! aasink }
|
gst\-launch filesrc location=movie.mpg ! mpegdemux video_00! { queue ! mpeg2dec ! aasink }
|
||||||
|
Play a mpeg movie with sound using the sdlvideosink:
|
||||||
|
gst\-launch filesrc location=movie.mpg ! mpegdemux video_00! { queue ! mpeg2dec ! sdlvideosink } mpegdemux0.audio_00! { queue ! mad ! osssink }
|
||||||
|
|
||||||
You can also use lame for mp3 encoding if you have it installed, it does a
|
You can also use lame for mp3 encoding if you have it installed, it does a
|
||||||
much better job than mpegaudio.
|
much better job than mpegaudio.
|
||||||
|
|
Loading…
Reference in a new issue