Unable play a rtp stream !

Sebastian Dröge sebastian at centricular.com
Wed Dec 30 00:28:22 PST 2015


On Di, 2015-12-29 at 22:58 -0800, ssshukla26 wrote:
> Hi,
> 
> I am stuck in playing the rtp stream. My usecase is streaming using
> gstreamer and play in vlc. 
> 
> So on command line I do as follow:
> 
> *gst-launch-1.0 -v videotestsrc ! x264enc ! rtph264pay ! udpsink
> host=127.0.0.1 port=5000*
> 
> Then I open VLC player,  Media > Open Network Stream , enter URL as
> *rtp://127.0.0.1:5000* , Play. 
> 
> 
> It show nothing. Don't know what am missing  ! 
> 
> Please help me out.

This sounds more like a VLC question to me. You'll have to understand
why VLC does not like this stream, if it maybe wants further
configuration.

In theory it is a good idea with RTP to tell the receiver the exact
stream configuration, e.g. that this is H264. Usually this is done with
SDP.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151230/ad5982df/attachment.sig>


More information about the gstreamer-devel mailing list