[Live-devel] key frame detection

Ross Finlayson finlayson at live555.com
Tue Jul 28 10:49:59 PDT 2015


> I am developing an application based on testRTSPClient.cpp. I am able to store video files
> from method DummySink::afterGettingFrame. What I would like is to detect key frames in order to close current file and open a new one starting always with a key frame.
> 
> I guess that that information is included in RTP headers

No.  You need to get this information by parsing the frame data that’s in the RTP payload (i.e., not in the RTP header).

If your video is H.264, then see here
	http://lists.live555.com/pipermail/live-devel/2015-May/019344.html
for how to do this.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150728/f1af48d2/attachment.html>


More information about the live-devel mailing list