News:

If this site goes down it is because of the crappy DreamHost web hosting: They will disable your "unlimited traffic" web server if a single bot hammers the site with a moderate load.  If necessary, an alternate ExifTool forum page is available at https://sourceforge.net/p/exiftool/discussion/

Main Menu

Capturing exiftool output in C#

Started by bradbradbrad, November 23, 2016, 09:34:16 AM

Previous topic - Next topic

bradbradbrad

I'm running a script in Vegas, and I'd like to start a new process to run exiftool for gathering exif data. It doesn't seem that vegas plays well with the idea of launching the exiftool wrapper in C#, so launching a new process seems to be my best bet.

I've tried several different ways of redirecting standard output to my C# variables, but no luck.

Has anyone tried this or done something similar?

Phil Harvey

Did you see the two C# wrappers here?

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

bradbradbrad

Hi Phil,

First, thanks for the reply and the work you put into ExifTool.

Second, I did check out the wrapper and it runs perfectly well...outside of Sony Vegas. I think that from a "get it up and running" standpoint, it would be easier to launch an external process and strip the output from there.  Even if it's something as simple as getting the data from ExifTool and writing it to a text file.  All from an external process, of course.

Again, thanks Phil!