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 3850410
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:00:18+00:00 2026-05-19T17:00:18+00:00

If a file is in a writing process, and at this time if I

  • 0

If a file is in a writing process, and at this time if I try to access it like if it is a log file which is being written every 10 milliseconds and I`m trying to access it will I damage or disturb the writing process?

Specifically I’m asking about video files, like if I start a recording process (using Windows Media Encoder) and at this time I would like to monitor the file if it is a blank file (black pixels everywhere) or there is a real content being recorded.

Sorry if my question is a newbie one, but I really really need to be sure about that.

Best on advance

  • 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-19T17:00:19+00:00Added an answer on May 19, 2026 at 5:00 pm

    In general you can certainly read files as they are being written, without corrupting their content. However:

    1. It is possible to face an issue if your recording medium cannot deal with the combined data-rate or of both reading and writing. This can be a problem especially with slow-ish USB flash drives.

    2. It is possible to face an issue on hard drives too, if the combination of reading and writing exceeds the rate of random seeks that the hard drive can handle. This can happen more easily on older drives (e.g. IDE) when dealing with HD video.

    The end result is that if you have a real-time writer process, such as a TV recorder, it may be forced to drop some of the data – in the case of video a few frames.

    Modern systems have quite fast disk subsystems, reasonably good I/O schedulers and large enough RAM capacities to allow for extensive data caching, which makes it quite unlikely that a single writer/reader combination would saturate the disk subsystem, unless you are doing something unusual like recording several video streams at once.

    Keep in mind however, that:

    1. The disk subsystem can also be saturated by unrelated processes reading/writing other files from the same drive.

    2. If you are encoding video, you might also lose frames if something draws enough CPU resources that the encoding process is no longer able to keep-up with the real-time requirements. Depending on the video file, test-playing it might be just enough to do that – at least HD reproduction can be quite demanding. So, watch your CPU load and experiment before relying on it to record your favourite show 🙂

    EDIT:

    If you are among the lucky ones that have SSD drives, seeks and data rate should normally be a non-issue. That leaves the CPU – you’d be surprised how easy it is to push it to the limit.

    Above all, you should experiment to find out the limits of your system for each particular application. That way you won’t have any nasty surprises…

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

Sidebar

Related Questions

I'm writing an application, which accesses Excel file with this code: RBTApplication = new
I'm writing a config file and I need to define if the process expects
I'm currently working on a project which will support multiple file writing specifications (imagine
I find myself writing file and directory utility functions all the time, and I
I'm constantly reading from a memory mapped file another process is writing to and
I'm writing a program in C# that needs to repeatedly access 1 image file.
I am launching a process and writing an intruction xml file to the destination
While implementing XML file reading/writing in my application I saw that when I call
While writing a file using ofstream, how do I know when the file's size
I am writing a file to disk in stages. As I write it I

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.