Streaming to vlc

Rapsey rapsey at gmail.com
Thu Aug 16 02:26:20 PDT 2012


sdp for h264 video needs profile-level-id and sprop-parameter-sets
parameters. This is generated by the h264 encoder. How exactly you get it
out of the gst graph I'm not sure, but playback wil not work without it.


Sergej

On Thu, Aug 16, 2012 at 9:41 AM, Mazahir Poonawalla <
mazahir.poonawalla at ideaforge.co.in> wrote:

> Hi All,
>
> I am having troubles streaming video to vlc player. Please help.
>
> I am using leopard board to stream composite In video with gstreamer. I
> use the following plugin:
>
> gst-launch -v -e v4l2src always-copy=FALSE input-src=composite
> chain-ipipe=true ! video/x-raw-yuv,format=\(fourcc\)NV12, width=640,
> height=480 ! queue ! dmaiaccel ! dmaienc_h264 encodingpreset=2
> ratecontrol=2 intraframeinterval=23 idrinterval=46 targetbitrate=3000000 !
> rtph264pay ! udpsink port=3000 host=192.168.1.102 sync=false
> enable-last-buffer=false
>
> I have created an sdp file on my client side:
>
> v=0
> o=- 2110055936 1 IN IP4 192.168.1.102
> s=Gstreamer
> i=Streaming via network test
> c=IN IP4 192.168.1.101
> t=0 0
> a=type:broadcast
> m=video 3000 RTP/AVP 96
> a=rtpmap:96 H264/90000
>
> when I double click on this file in vlc, nothing is being played. Though I
> feel something is being received because when I check the message window, I
> get the following warning:
>
> packetizer_h264 warning: waiting for SPS/PPS
>
> Can any one please help as to what is going wrong? What changes I need to
> make in my SDP file.
>
> --
>
> Thank you & Regards,****
>
> *Mazahir Poonawalla*****
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120816/a13f90df/attachment.html>


More information about the gstreamer-devel mailing list