locked
Recorded videos file size very large

    Question

  • I have a C++ store app which records videos.  I am using CreateFileAsync() and then MediaEncodingProfile::CreateWmv().  The problem is that the file size is quite large.  A 1:25 movie size is 30mb at 640x480.  

    When I record the same camera and resolution on a different video recording app (Logitech), the file size is 16mb.  When I record the same using MS Camera, the size is 22mb.

    I've also tried MP4 with same results.

    Is there a way I can reduce file size using this api?


    SAP

    Wednesday, November 05, 2014 3:43 AM

Answers

  • Hello,

    You likely want to lower the bitrate of the encoding profile.

    You can do this by going to:

    MediaEncodingProfile.Video.VideoEncodingProperties.Bitrate

    For 640x480 good bitrates go from about 750 kbps all the way down to about 300 kbps.

    I hope this helps,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Wednesday, November 05, 2014 11:18 PM
    Moderator