diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2001-12-12 22:40:14 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2001-12-12 22:40:14 +0000 |
commit | 8b965cf770ec927d395ab11c92aaa496112fa86b (patch) | |
tree | 1ca7a330f4bb45603b09455348392697cbf44d53 | |
parent | ea062f3707f2bff2ed47baa60a78edc51c5a4cea (diff) | |
download | gstreamer-8b965cf770ec927d395ab11c92aaa496112fa86b.tar.gz |
Disksrc is deprecated
Original commit message from CVS:
Disksrc is deprecated
-rw-r--r-- | tools/README | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tools/README b/tools/README index d7585cc670..a41c1f3582 100644 --- a/tools/README +++ b/tools/README @@ -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! |