Disksrc is deprecated

Original commit message from CVS:
Disksrc is deprecated
This commit is contained in:
Wim Taymans 2001-12-12 22:40:14 +00:00
parent ea062f3707
commit 8b965cf770

View file

@ -8,11 +8,11 @@ feedback pipelines are the most complex.
A simple commandline looks like:
gstreamer-launch disksrc location=music.mp3 ! mad ! osssink
gstreamer-launch filesrc location=music.mp3 ! mad ! osssink
This plays an mp3 music file music.mp3 using libmad, and:
gstreamer-launch disksrc location=music.mp3 ! mp3parse ! mpg123 ! osssink
gstreamer-launch filesrc location=music.mp3 ! mp3parse ! mpg123 ! osssink
Plays and mp3 music file using mpg123
@ -31,21 +31,21 @@ And too play the same song with gnome-vfs via smb:
Here we convert a Mp3 file into an Ogg Vorbis file:
gstreamer-launch disksrc location=music.mp3 ! mad ! vorbisenc ! disksink location=music.ogg
gstreamer-launch filesrc location=music.mp3 ! mad ! vorbisenc ! disksink location=music.ogg
And then we can play that file with:
gstreamer-launch disksrc location=music.ogg ! vorbisdec ! osssink
gstreamer-launch filesrc location=music.ogg ! vorbisdec ! osssink
Some other useful pipelines are..
Plays wav files (currently there are no wav encoders):
gstreamer-launch disksrc location=music.wav ! parsewav ! osssink
gstreamer-launch filesrc location=music.wav ! parsewav ! osssink
Converts wav files into mp3 and ogg files:
gstreamer-launch disksrc location=music.wav ! parsewav ! vorbisenc ! disksink location=music.ogg
gstreamer-launch disksrc location=music.wav ! parsewav ! mpegaudio ! disksink location=music.mp3
gstreamer-launch filesrc location=music.wav ! parsewav ! vorbisenc ! disksink location=music.ogg
gstreamer-launch filesrc location=music.wav ! parsewav ! mpegaudio ! disksink location=music.mp3
You can also use lame for mp3 encoding if you have it installed, it does a
much better job than mpegaudio.
@ -64,13 +64,13 @@ Record sound from your sound input and encode it into an ogg file:
gstreamer-launch not only handles audio but video as well:
For mpeg1 files (video and audio streams respectively):
gstreamer-launch disksrc location=video.mpg ! mpegdemux video_00! { queue ! mpeg2dec ! sdlvideosink }
gstreamer-launch disksrc location=video.mpg ! mpegdemux audio_00! { queue ! mad ! osssink }
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 mpeg2 files (video and audio streams respectively):
gstreamer-launch disksrc location=video.mpeg ! mpegdemux video_00! { queue ! mpeg2dec ! sdlvideosink }
gstreamer-launch disksrc location=video.mpeg ! mpegdemux private_stream_1.0! { queue ! ac3dec ! osssink }
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 }
Note: The types of audio streams in the mpeg files can vary!