Forums

Welcome Guest Search | Active Topics | Members

Avi Processor Compressor Problem Options
MrPaul
Posted: Tuesday, May 29, 2007 9:17:49 AM
Rank: Member
Groups: Member

Joined: 5/29/2007
Posts: 2
Points: 0
Hello, I have been evaluating the use of Avi Processor for a project with strict timing requirements; Everything has been working well and I am impressed with the software thus far - However when writing an AVI file, No matter what VALID Compressor I choose - It always creates the AVI using the Microsoft Video 1 Codec.

This is a problem as my output is required to be at 29.97fps, and MV1 does'nt seem to be outputting that(although that could a different problem entirely). Is this a restriction of the trial version, or am I simply using the software incorrectly?

Development Environment:
Visual Studio 2003, C#

Code:
// Example of problem
// Note: I've tried every codec on my system that has the IsValid & IsWriteable properties marked as true.
AviOUT.CreateNew("c:\\test.avi",1024,680,0);
AviOUT.FramesPerSecond = 29.97f;
AviOUT.CompressorHandler=(int)AviProcessor.CompressorHandlerConstants.XviDMpeg4Compressor;
AviOUT.Quality=7000;

// Add some junk in here to the avi

AviOUT.Close();

MrPaul
Posted: Tuesday, May 29, 2007 1:42:17 PM
Rank: Member
Groups: Member

Joined: 5/29/2007
Posts: 2
Points: 0
I managed to get it to work using the ShowDialog property of the AviWriter class. It does crash when certain Codecs are chosen, but the Xvid and 3ivx codecs work perfectly.
Dmitry
Posted: Tuesday, May 29, 2007 10:19:35 PM
Rank: Advanced Member
Groups: Administration , Member

Joined: 8/3/2003
Posts: 471
Points: 243
Hello,

As I understood you develop .NET application, try to download Graphics Mill for .NET with Avi Processor add-on:

http://www.aurigma.com/Products/GraphicsMilldotNET/FreeTrial.aspx

As for your problem: in the most of cases Avi Processor crashes because of problems with codecs. I have tried your code - this code works perfectly on our workstation. Which version of XviD do you use?

Sincerely yours,
Dmitry Sevostjanov.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.