Auto Convert .avi to .mp4 using Handbrake

A co-worker in the department had a request for me: if he put some AVI files into a folder nightly, could I come up with a way to automatically check that folder, and, if it finds anything then convert the files? Below is my approach using C#. Upon completion it sends an email report either identifying an empty folder or reporting on the successful conversions.

Note that in my methods below:

I removed the actual SMTP server address(Exchange)from the arguments of the object instantiation and also removed some email addresses where it says “from” and “to” for security reasons.

Leave a Reply

Your email address will not be published. Required fields are marked *