Streaming to vlc

Mazahir Poonawalla mazahir.poonawalla at ideaforge.co.in
Thu Aug 16 02:37:25 PDT 2012


Hi,

Thanks for the reply.

the caps after applying the below plugin are:

caps = application/x-rtp, media=(string)video, clock-rate=(int)90000,
encoding-name=(string)H264,
sprop-parameter-sets=(string)\"Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQFAeyA\\,aO48sA\\=\\=\",
payload=(int)96, ssrc=(uint)3815007218, clock-base=(uint)3201629907,
seqnum-base=(uint)59072

What exactly do i need to put in the sdp file. Can you give me an example.
Thanks,
Mazahir

On 16 August 2012 14:56, Rapsey <rapsey at gmail.com> wrote:

> 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
>>
>>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 

Thank you & Regards,****

*Mazahir Poonawalla*****

ideaForge Technology Pvt. Ltd. | Board: +91 22 2767 0001; +91 22 2767 0707
| mazahir.poonawalla at ideaforge.co.in |www.ideaforge.co.in****

*P** **Please consider the environment before printing this e-mail*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120816/0095de23/attachment-0001.html>


More information about the gstreamer-devel mailing list