mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 07:08:23 +00:00
Including rtp example, i mean getting myself IN :)
Original commit message from CVS: Including rtp example, i mean getting myself IN :)
This commit is contained in:
parent
8dab65f0ac
commit
3ffdcdf5f8
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue