H264 network streaming

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

H264 network streaming

Gary Thomas
I'm trying to run gstrtpbin over a network, in particular,
the examples
   server-v4l2-H264-alsasrc-PCMA.sh
   client-H264-PCMA.sh
I'm using gst-plugins-good-0.10.20 (latest version I think)

I get widely varying results.
   * video (or audio) data freezes.
   * the pipeline spontaneously breaks
     (ERROR: from element /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstPulseSink:autoaudiosink0-actual-sink-pulse: pa_stream_writable_size() failed: Connection terminated)
   * no video (or audio) at all

What's the best way to debug this?  In particular the last
case where I never get any video data displayed, I can see
lots of it being shipped to my client (rtp + rtcp packets
all look good).  How can I discover why there is no video?

Any ideas or pointers?

Thanks

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: H264 network streaming

Gary Thomas
On 09/17/2010 01:58 PM, Gary Thomas wrote:
> I'm trying to run gstrtpbin over a network, in particular,
> the examples
> server-v4l2-H264-alsasrc-PCMA.sh
> client-H264-PCMA.sh
> I'm using gst-plugins-good-0.10.20 (latest version I think)

Actually, I'm using gst-plugins-good-0.10.25

>
> I get widely varying results.
> * video (or audio) data freezes.
> * the pipeline spontaneously breaks
> (ERROR: from element
> /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstPulseSink:autoaudiosink0-actual-sink-pulse:
> pa_stream_writable_size() failed: Connection terminated)
> * no video (or audio) at all
>
> What's the best way to debug this? In particular the last
> case where I never get any video data displayed, I can see
> lots of it being shipped to my client (rtp + rtcp packets
> all look good). How can I discover why there is no video?
>
> Any ideas or pointers?
>
> Thanks
>

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: H264 network streaming

Marco Ballesio
In reply to this post by Gary Thomas
Hi,

On Fri, Sep 17, 2010 at 10:58 PM, Gary Thomas <[hidden email]> wrote:
I'm trying to run gstrtpbin over a network, in particular,
the examples
  server-v4l2-H264-alsasrc-PCMA.sh
  client-H264-PCMA.sh
I'm using gst-plugins-good-0.10.20 (latest version I think)

I get widely varying results.
  * video (or audio) data freezes.
  * the pipeline spontaneously breaks
    (ERROR: from element /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstPulseSink:autoaudiosink0-actual-sink-pulse: pa_stream_writable_size() failed: Connection terminated)
  * no video (or audio) at all

What's the best way to debug this?

running your pipeline after setting GST_DEBUG to a proper value (I suggest you to begin with 2) will give you some hints about what's going wrong. Increasing the number increases the verbosity.

 
In particular the last case where I never get any video data displayed, I can see lots of it being shipped to my client (rtp + rtcp packets all look good).  How can I discover why there is no video?

If you're dealing with the network, checking for lost packets is another good starting point. Even if you've more than 80% of the video packets being properly received, you may not see anything because of no key frames ever being completely received.

Regards


Any ideas or pointers?

Thanks

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel