[gst-devel] Local video

Arnout Vandecappelle arnout at mind.be
Fri Mar 27 09:28:29 CET 2009


On Friday 27 March 2009 09:10:27 Javier Gálvez Guerrero wrote:
> What do you mean? To play both streams in the same host? In order to play
> local files you may launch 'gst-launch playbin
> uri=file:///path/to/media/file'.

 However, if you want to stream on the network simultaneously, you need a bit 
more.  Insert a tee element in the pipeline to duplicate it.  Something like:

gst-launch v4lsrc ! tee name=t \
  t. ! queue ! ffenc_mpeg4 ! rtpmp4vpay ! udpsink  port=5000 \
  t. ! queue ! autovideosink

 Check the manuals of tee and autovideosink to learn more.

 Regards,
 Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  D206 D44B 5155 DF98 550D  3F2A 2213 88AA A1C7 C933




More information about the gstreamer-devel mailing list