Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 532623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:25:28+00:00 2026-05-13T09:25:28+00:00

I am developing a piece of software that records video from a live source

  • 0

I am developing a piece of software that records video from a live source to WMV files (using WMV1 compression).

I am attempting to provide a rough estimate of the recording time remaining, based on the space left on the storage hard drive. I cannot simply base the output file size on the bit-rate of the codec, unfortunately, since the video compression means that the output size varies wildly according to the complexity of the image.

Any thoughts?

FYI I am using C# and DirectShow.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:25:29+00:00Added an answer on May 13, 2026 at 9:25 am

    This is a really good question. Unfortunately, there’s no sure-fire way of doing this, but you have two basic options:

    1. Calculate ahead of time the average space used per given time unit at a given bitrate, based on experimentation or data from the codec provider.
    2. Start by using technique #1, but then also create a mechanism for determining the average space being used during a given recording, by dividing the space currently in use by the file from the total recording time. Then, use this metric to determine the amount of time remaining.

    Option 1 is a quick and easy way to get started. Option 2 requires a bit more programming, but your estimate will be substantially more accurate. After all, compression in these instances is based on what you are recording. Recording a solid green screen for 1 hour takes substantially less disk than recording a moving background with continuously changing foreground, or maybe a fractal sequence. There’s no way to do a good estimate ahead of time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently developing a piece of software using opencv and qt that plots
I'm developing a piece of embedded hardware that requires some data from a PC.
I am currently developing a piece of monitoring software that takes an input file
I've been developing a piece of software that takes rules of the form 'A
I am developing a piece of software in Python that will be distributed to
We are developing a piece of software that does it's IPC over D-Bus. However,
I am currently developing an application that processes several files, containing around 75,000 records
Is there an already-existing piece of commercial or academic software that can overlay results
I'm developing a piece of software, which reads data sent through the COM port
I'm developing a program that sends tweets. I have this piece of code: StringBuilder

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.