I allow snapshots from my video to be saved when  a user pauses and navigates 
to a frame.
This is done by encodeing the RGB image into a JPEG image with avcodec.

I also allow pulling a snapshot from a file at a timestamp.
In this case I navigate to the closest keyframe, decode it from h264 and enode 
to JPEG and offer it up for view or save.

H264 like mpeg4 deals with keyframes and difference frames so you must find the 
frames with the nal types [7][8] and [5] and send all three to the decoder for 
it to know how to decode it.


This message and any attachments contain confidential and proprietary 
information, and may contain privileged information, belonging to one or more 
affiliates of Windy City Wire Cable & Technology Products, LLC. No privilege is 
waived by this transmission. Unauthorized use, copying or disclosure of such 
information is prohibited and may be unlawful. If you receive this message in 
error, please delete it from your system, destroy any printouts or copies of 
it, and notify the sender immediately by e-mail or phone.

From: live-devel-boun...@ns.live555.com 
[mailto:live-devel-boun...@ns.live555.com] On Behalf Of Czarnek, Matt
Sent: Thursday, February 14, 2013 9:42 AM
To: live-de...@ns.live555.com
Subject: [Live-devel] Streaming RTSP and pulling single frames

Hello,

I would like to is pull from a RTSP stream, and then pull individual frames 
(whole images) from it and be able to pass pointers around and use those frames 
from there.  Seems like it should be simple but I'm going in circles.

I see testRTSPClient & openRTSP and more or less see how they work & that they 
can save to a file but am still having trouble figuring out how to pull 
individual images from the stream.  The more versatile the better but I at 
least need to be able to support H264.  Any thoughts?

Thank you!
Matt

--
Matt Czarnek, Software Engineer
Work Phone:  (760) 462-5843<tel:%28760%29%20462-5843>


ObjectVideo Inc.

http://www.objectvideo.com<http://www.objectvideo.com/>
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to