[Live-devel] rtsp client -> h264 decoder

Kenneth Forsythe Kenneth.Forsythe at activu.com
Fri Sep 26 07:01:20 PDT 2014


Hello Live555,

I have an application that is based off of testRTSPClient. In afterGettingFrame I am then passing the data off to an H264 decoder which then is rendered on a video surface.

I have 2 cameras and live555MediaServer to test with. LiveMediaServer and one camera work very well. The other camera on the other hand not so much. I am seeing distorted/garbled video and lots of green. This camera, does work through VLC and other players.

What usually causes this type of behavior?

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], which was captured earlier on. 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?

Thank You,

Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140926/228fbbfa/attachment.html>


More information about the live-devel mailing list