Updated snagit COM Server documentation with SNAGITLib.IVideoCapture example

  • 1
  • Question
  • Updated 3 years ago
Trying to use the Snagit Com Server but GIT example does not use IVideoCapture .
I looked all throuh GIT but the examples seem to use outdated classes.

Since v12 many of the classes are now interfaces and i can't find any example on how to use them.

I'm trying to write a C# app that will capture 1 minute video of  a predefined region when it is run. There is no other user interface as the tool will not have a keyboard or mouse.

I started adapting the GIT code but i got stuck on this line:

            SNAGITLib.IMP4Format mp4Format ;
            mp4Format.DisableMOOVAtomOptimization = false;
            snagVideo.VideoFormat = mp4Format;

The last line says 

Error 4: Cannot implicitly convert type 'SNAGITLib.IMP4Format' to 'SNAGITLib.MP4Format'. An explicit conversion exists (are you missing a cast?) .

In the gitgub example there was no interface, the mp4Format object was of type SNAGITLib.MP4Format, not an interface.
Photo of Philip M

Philip M

  • 1 Post
  • 0 Reply Likes

Posted 3 years ago

  • 1

Be the first to post a reply!