mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
added avi playback and moved all movie examples togheter
Original commit message from CVS: added avi playback and moved all movie examples togheter
This commit is contained in:
parent
420e70235f
commit
de85531b18
1 changed files with 6 additions and 5 deletions
|
@ -51,11 +51,6 @@ Converts wav files into mp3 and ogg files:
|
|||
gst\-launch filesrc location=music.wav ! parsewav ! vorbisenc ! disksink location=music.ogg
|
||||
gst\-launch filesrc location=music.wav ! parsewav ! mpegaudio ! disksink location=music.mp3
|
||||
|
||||
Play mpeg movie with the 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
|
||||
much better job than mpegaudio.
|
||||
|
||||
|
@ -78,6 +73,12 @@ For mpeg video files (here outputing to aasink) :
|
|||
For vob files (here outputting image to sdlvideosink):
|
||||
gst\-launch filesrc location=/flflfj.vob ! mpegdemux video_00! { queue ! mpeg2dec ! sdlvideosink }
|
||||
|
||||
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 }
|
||||
|
||||
Playing a avi movie would be done with something like this:
|
||||
gst\-launch filesrc location=movie.avi ! avidemux video_00! { queue ! windec ! sdlvideosink }
|
||||
|
||||
See other docs, examples, and the source for description on how to
|
||||
create a PIPELINE\-DESCRIPTION.
|
||||
.
|
||||
|
|
Loading…
Reference in a new issue