From 3ffdcdf5f8d22aca65cd1b19611da133cecec953 Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Date: Fri, 6 Sep 2002 20:46:41 +0000 Subject: [PATCH] Including rtp example, i mean getting myself IN :) Original commit message from CVS: Including rtp example, i mean getting myself IN :) --- tools/gst-launch.1 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/gst-launch.1 b/tools/gst-launch.1 index 9ab3155..25e4055 100644 --- a/tools/gst-launch.1 +++ b/tools/gst-launch.1 @@ -30,6 +30,16 @@ And too play the same song with gnome\-vfs via smb: gst\-launch gnomevfssrc location=smb://computer/music.mp3 ! mad ! osssink +You can also stream your mpeg 1 system streams from one machine to another using RTP by: + + gst\-launch rtprecv media_type=mpeg1_sys ! mpegdemux video_%02d! { queue ! mpeg2dec ! xvideosink } mpegdemux0.audio_%02d! { queue ! mad ! osssink } + +on the receiver end and: + + gst\-launch filesrc location=mpeg1system.mpeg ! mpegparse ! rtpsend ip=IPorHostname + +on the transmitter end. + Here we convert a Mp3 file into an Ogg Vorbis file: gst\-launch filesrc location=music.mp3 ! mad ! vorbisenc ! disksink location=music.ogg -- 2.7.4