[Live-devel] rtsp client -> h264 decoder
Ken Ferguson
ken.ferguson at cubitech.co.uk
Mon Sep 29 02:02:09 PDT 2014
Hi Ken, Ross,
I just wanted to add there is one extra possibility here. We have noticed some cameras, especially HD cameras, split images across more than one slice. In a vast majority of cameras the sequence is:
SPS PPS IDR -> SLICE -> SLICE -> SLICE...
Where -> indicates the image boundary. However in some HD cameras we have seen:
SPS PPS IDR IDR -> SLICE SLICE -> SLICE SLICE -> SLICE SLICE.
If you do not group all the correct parts of an image together when you decode each *image* the you can see the green distorted video.
Just putting it out there as another possibility.
Kind Regards,
Ken Ferguson.
On 26/09/2014 19:06, Kenneth Forsythe wrote:
>
> For servers I have two commercial H264 cameras and one instance of live555MediaServer.exe running stock. VLC can connect fine to all three. No problems here (as far as I can tell).
>
> My client, on the other hand only works for the live555MediaServer and one of the cameras. The other camera, after receiving the data and delivering to the decoder/renderer and am seeing green distorted video, complete gobbly-gook. There doesn't appear to be any connectivity problems nor buffer size error messages.
>
> So I wanted to see if my rtsp code handling is correct or if I need to do some extra work before the data is delivered to the decoder (I am new to this and figuring it out as I go along). As I mentioned before:
>
> /What I am doing is quite similar to what I see in H264or5VideoFileSink::afterGettingFrame. On first frame I am prepending the data with [startcodes][sps] and [startcodes] [pps], (sps,pps was captured earlier on when setting up the subsession). After first frame the data is only prepended with the start codes. Is there something else I should be doing, ie analyzing the nal type and modifying differently? Or do you think the problem could be outside the stream and more in the area where I am setting up the video information?/
>
> Thanks,
>
> Ken
>
> *From:*live-devel [mailto:live-devel-bounces at ns.live555.com] *On Behalf Of *Ross Finlayson
> *Sent:* Friday, September 26, 2014 1:24 PM
> *To:* LIVE555 Streaming Media - development & use
> *Subject:* Re: [Live-devel] rtsp client -> h264 decoder
>
> OK, so perhaps it would be best if you clarified what specific problem you are seeing. Is it a problem at the server end, at the client end, or both? And where specifically are you using the "LIVE555 Streaming Media" code? In your server (i.e., camera), in your client (i.e., media player), or both?
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
--
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*Ken Ferguson
Cubitech Ltd.
* Discovery Court Business Centre
551-553 Wallisdown Road
Poole
Dorset
BH12 5AG
United Kingdom
Tel. +44 (0)1202 853 237
Email: ken.ferguson at cubitech.co.uk <mailto:ken.ferguson at cubitech.co.uk>
Web: www.cubitech.co.uk <http://www.cubitech.com>
This email may contain confidential information. if you are not a named recipient, or believe you have been sent this email in error, please inform Cubitech Ltd immediately. All outbound email is scanned for viruses, but we cannot guarantee that it is virus-free when you receive it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140929/a780ddb0/attachment.html>
More information about the live-devel
mailing list