[WPF C#] How can i config to live record video by any webcam using azure resources?

Bruno Tragl 1 Reputation point
2021-01-23T00:14:35.943+00:00

Hello everyone,

I have a WPF Application in C# and i would like to record a video using the Azure Continuous Record Video (CRV) by webcams..

But the documentation is confusing, for example, the following issues:

  • What services do i need to add in my azure portal in order to make this work?
  • Can the users of my application, use any kind of webcam to record the video?
  • What libs do i need to use, to send a Continuous Record Video?
  • And the last, is it possible during or after recording the video, to use the analysis' features like Motion Detect and Speek to Text?

Thanks a lot!

Bruno Tragl

Azure Media Services
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
316 questions
Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
860 questions
{count} votes

2 answers

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 21,506 Reputation points
    2021-01-25T09:10:07.157+00:00

    Thanks for asking question! If you are looking to record a video using the Azure Continuous Record Video (CRV) by webcams. You might be aware of that Continuous video recording (CVR) refers to the process of continuously recording the video from a video source.

    Adding some below findings related to this.

    • Live Video Analytics on IoT Edge supports recording video continuously, on a 24x7 basis, from a CCTV camera via a media graph consisting of an RTSP source node and an asset sink node.
      You may refer to the Tutorial: Continuous video recording to the cloud and playback from the cloud to use Azure Live Video Analytics on Azure IoT Edge to perform continuous video recording (CVR) to the cloud and stream any portion of that video by using Azure Media Services.
    • For Setting up Azure resources for Live Video Analytics on IoT Edge check: https://github.com/Azure/live-video-analytics/tree/master/edge/setup
    • To accomplish CVR, you need to capture the video from an RTSP-capable camera and continuously record it to an Azure Media Services asset.
    • for analysis feature like motion detect you may refer to this Quickstart: Detect motion, record video to Media Services which walks you through the steps to use Live Video Analytics on IoT Edge for event-based recording. It uses a Linux VM in Azure as an IoT Edge device and a simulated live video stream. This video stream is analyzed for the presence of moving objects. When motion is detected, events are sent to Azure IoT Hub, and the relevant part of the video stream is recorded as an asset in Azure Media Services.

    Hope this helps. Please let us know if you have any query on this.


  2. YutongTie-MSFT 51,696 Reputation points
    2021-01-25T17:41:16.693+00:00

    Hello Bruno,

    Thanks for reaching out to us. I am not so clear about what kind of "moviments" you want to analyze. But we do have Video Indexer which can help you automatically extract metadata—such as spoken words, written text, faces, speakers, celebrities, emotions, topics, brands, and scenes—from video and audio files.

    Please refer to the product introduce page: https://azure.microsoft.com/en-us/services/media-services/video-indexer/

    The documentation: https://video2.skills-academy.com/en-us/azure/media-services/video-indexer/

    The code sample: https://github.com/Azure-Samples/media-services-video-indexer

    I hope above information can be a good start.

    Regards,
    Yutong

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.