Hi! I need an example like MediaLiveViewer but with lower CPU consumption, because I have to see a lot of cameras at the same time. A single camera with a small image size consumes 11% CPU. I need the consumption to be 1-2% to support 64 cameras, for example. Could you help me? Thanks, BR, David.
MediaLiveViewer uses the JPEGLiveSource class, this will get the raw stream of camera video, decode the video data, and encode it as JPEG images. This is all consuming memory and CPU.
You might have lower CPU consumption if using the ImageViewerWpfControl to display the video stream. If you want to explore that option there is a number of samples to choose from, I recommend the ImageVliewerClient sample. https://doc.developer.milestonesys.com/mipsdk/index.html?base=samples%2FComponentSamples%2FImageViewerClient%2FREADME.html&tree=tree_2.html
A different alternative is to use the Mobile Server and Mobile SDK. Using this the transcoding will happen server side, you will get JPEGs in the size that you request ready to be used. To explore this please find the Mobile SDK here: https://doc.developer.milestonesys.com/mipsdkmobile/
Hi Bo,
Mobile SDK is good, the CPU consumption is lower. Now I need to get an snapshot in live and playback mode, and export a video to local machine. Could you help me?
Thanks, BR, David.
Following samples might be helpful, please explore the samples.
Export
Snapshot
