[Live-devel] x264 Video Stream Stops

Constantin Savtchenko csavtche at gmail.com
Tue May 1 17:05:25 PDT 2012


Hello all,
  After even further examination of the code, I set Groupsock::DebugLevel =
3.  Following is the output once the data stream seems to abruptly stop.
 Each line appears at around 0.5-1 seconds after each other, and continues
endlessly:

??:??:?? Groupsock(376: 192.168.40.131, 49219, 255): read 80 bytes from
192.168.40.131
??:??:?? Groupsock(376: 192.168.40.131, 49219, 255): wrote 52 bytes, ttl 255
??:??:?? Groupsock(376: 192.168.40.131, 49219, 255): read 80 bytes from
192.168.40.131
??:??:?? Groupsock(376: 192.168.40.131, 49219, 255): read 80 bytes from
192.168.40.131
??:??:?? Groupsock(376: 192.168.40.131, 49219, 255): wrote 28 bytes, ttl 255
??:??:?? Groupsock(376: 192.168.40.131, 49219, 255): read 60 bytes from
192.168.40.131
??:??:?? Groupsock(376: 192.168.40.131, 49219, 255): wrote 28 bytes, ttl 255
??:??:?? Groupsock(376: 192.168.40.131, 49219, 255): read 60 bytes from
192.168.40.131
??:??:?? Groupsock(376: 192.168.40.131, 49219, 255): wrote 28 bytes, ttl 255
??:??:?? Groupsock(376: 192.168.40.131, 49219, 255): read 60 bytes from
192.168.40.131
??:??:?? Groupsock(376: 192.168.40.131, 49219, 255): wrote 28 bytes, ttl 255
??:??:?? Groupsock(376: 192.168.40.131, 49219, 255): read 60 bytes from
192.168.40.131
??:??:?? Groupsock(376: 192.168.40.131, 49219, 255): wrote 28 bytes, ttl 255
??:??:?? Groupsock(376: 192.168.40.131, 49219, 255): read 60 bytes from
192.168.40.131
??:??:?? Groupsock(376: 192.168.40.131, 49219, 255): wrote 28 bytes, ttl 255

Thanks,
Constantin

On Tue, May 1, 2012 at 6:56 PM, Constantin Savtchenko <csavtche at gmail.com>wrote:

> Hello all,
>
>    I will be using Live555 to read in an RTSP xh264 Video stream.  I
> started with the testRTSPClient.  It runs well for 1-10 seconds (variably),
> then stops.  The program is still running, but it's not getting any new
> frames.
>
>    Examination of the incoming packets shows the following pattern ---
> packet 1 (2 bytes), packet 2 (~700 bytes), packet 3 (~700 bytes), repeat
> packet 1 (2 bytes), packet 4 (~700 bytes), packet 5(~700 bytes).  These 2
> recurring bytes have values of 9 and 48.  I am extremely unfamiliar with
> h264 but from examining the code, I am guessing they are some form of NAL
> types? Start of frame or something?
>
>    Anyways, when testRTSPClient stops getting data, it is always right
> before the 2 byte packet is expected.  Is it possible something is
> occurring in doNextFrame1() and thus the afterGettingFrame callback is
> never being fired?  Any advice would be appreciated.  Thank you.
>
> Constantin S
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120501/9ea0d010/attachment.html>


More information about the live-devel mailing list