Streaming to vlc

Mazahir Poonawalla mazahir.poonawalla at ideaforge.co.in
Wed Aug 22 02:52:36 PDT 2012


Thanks Emile,

Yes it is working over network on VLC player now. Though there is a delay.
Any answers to that? Kartik do you have any delay in your video. How did
you fix it?

Also, since it is working on VLC now over network. Thats not my final aim.
What I am looking at is to capture the buffer, decode it  and pass the
frames across to another application. Any idea as to how will I capture the
incoming RTP buffer on windows?

Thanks,
Mazahir

On 20 August 2012 19:19, kartik natarajan <kartik8n8 at gmail.com> wrote:

>
> Thanks folks..
> I had my setup running in a day- composite video encoded in .264 and
> played over network on VLC player.
>
> Thanks a lot
> N.Kartik
> Senior Developer | Renu Electronics Pvt. Ltd.
>
> On Sun, Aug 19, 2012 at 12:16 PM, Emile Semmes <emile.semmes at e6group.com>wrote:
>
>>  ... Right after I sent this, I realized you just copy/pasted your
>> sprop-parameter-sets string into your sdp. You need to take out the
>> Gstreamer formating and escape characters for it to work, ie.
>>
>> a=fmtp:96
>> sprop-parameter-sets=Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQFAeyA\,aO48sA\=\=
>>
>>  Regards,
>> Emile
>>
>>
>> On 8/18/2012 11:39 PM, Emile Semmes wrote:
>>
>> Mazahir,
>>
>> You might want to ask this on the gstreamer TI forums as well since
>> you're using, I'm assuming, an TI SoC. A while back, I know for the Davinci
>> H.264 encoders the SPS was sent only once at the begin of the encode, so
>> any clients that connected later just missed out and wouldn't connect
>> without a good sdp file. I believe with some tweaking the encoder can be
>> forced to send it out periodically so you wouldn't have to define it in
>> your sdp file. Post your question there as well. It's at
>> https://gstreamer.ti.com/gf/project/gstreamer_ti/forum/?action=ForumBrowse&forum_id=187
>>
>> Emile
>>
>> On 8/16/2012 2:41 AM, Mazahir Poonawalla wrote:
>>
>> Hi,
>>
>>  I applied the sprop-parameter-sets as well. Now my sdp file is:
>>
>>  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
>> a=cliprect:0,0,480,640
>> a=framesize:96 640-480
>> a=tool:Gstreamer
>> a=fmtp:96 profile-level-id=0;
>> sprop-parameter-sets=(string)\"Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQFAeyA\\,aO48sA\\=\\=\"
>>
>>  However nothing is being displayed and I still get the same warning
>> when I double click on the sdp file:
>>
>>  packetizer_h264 warning: waiting for SPS/PPS
>>
>>  On 16 August 2012 15:07, Mazahir Poonawalla <
>> mazahir.poonawalla at ideaforge.co.in> wrote:
>>
>>> 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*
>>>
>>>
>>
>>
>>  --
>>
>> 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*
>>
>>
>>
>> _______________________________________________
>> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttp://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>>
>> --
>> Emile Semmes
>> Owner / Software Consultant
>> e6 Group, LLC
>> Office: (630) 376-0626www.e6group.com
>> Skype: Emile.Semmes
>> LinkedIn: http://www.linkedin.com/pub/emile-semmes/3/646/570
>> Guru.com: http://www.guru.com/freelancers/e6group
>> m
>>
>>
>>
>> _______________________________________________
>> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttp://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>>
>> --
>> Emile Semmes
>> e6 Group, LLCwww.e6group.com
>> LinkedIn: http://www.linkedin.com/pub/emile-semmes/3/646/570
>> Guru.com: http://www.guru.com/freelancers/e6group
>>
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
>
> --
> Believe in your dreams, they have a strange way of coming true!!!
>
> _______________________________________________
> 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/20120822/d3f0c9a9/attachment-0001.html>


More information about the gstreamer-devel mailing list