I want to grab the live stream from AXIS Media Control.
Unfortunately, there is no good way to do this using AMC. However, AMC does provide the GetCurrentImage method, which allows you to get the current image as a BMP or JPG image. You can couple this with the OnNewImage event to get (almost) all the images from the video stream. Depending on the required video resolution, performance may be impacted.
- Avoid running long tasks in the OnNewEvent handler, as this it may impact AMC rendering.
- Consider reducing the frame-rate of the grabbed image stream.
Note that the recommended way of doing this is to use AXIS Media Parser SDK