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

  • Home
  • SEARCH
  • 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 7831629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T11:48:51+00:00 2026-06-02T11:48:51+00:00

I wrote a C# code that captures video from a video capture card, and

  • 0

I wrote a C# code that captures video from a video capture card, and writes it in a AVI file. I’m using the XviD encoder (DirectShow).
I’m using the IAMVfwCompressDialogs interface to get the configuration form open, and I am also trying to configure it going to the same form in the start menu.
I need to record 30 minutes of video, without audio, and I need this file to be 2Mb big.
I set the Target bitrate property of the Video Encoder of the Xvid to 10 (kbps), and the Target Quantizer property to 16.
The file size did not changed.
Then I tryed to modify those two property to many different combinations, but I get no change.
My problem is: I changing the XviD configurations to change the file size, modifing the bitrate and the quality properties, but the result is aways the same.
Is there any way I can set 30 minutes video file size to be around 2Mb big, even by modifing the bitrate or quality, with 1 fps, 240×192 framesize, very low video quality? Is there any problems with XviD filter when using it on a C# service? Is there any other good filter to use with DirectShow on c# applications?

Thanks in 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-06-02T11:48:54+00:00Added an answer on June 2, 2026 at 11:48 am

    I found out how… It may sound weird, but when I set the windows service to inicialize with the same user that installed the Xvid codecs, it works fine.

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

Sidebar

Related Questions

My main solution is using code from a utility class library, that I wrote
I wrote this code that compiles on Solaris gcc it works fine too for
I wrote this piece of code that is supposed to redirect something written on
I was thinking about a code that I wrote a few years ago in
I've got some code that lies in a browser, and wrote C++ plugins for
http://ideone.com/u0bVy the link above contain the code that i wrote for a class project.I
I wrote some naive code(in the sense that it's synchronous calls) for a tableview
I wrote a simple example that I expected would do it. The relevant code
I'm trying to write code that will load an image from a resource, and
I've got some code that I wrote that uses a combination of bash and

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.