Category Archives: FFMPEG

FFMPEG .Net Wrapper – Part 5. Console and WPF examples

We can complete our series with two examples of how to use FFMPEG wrapper in your applications. In first example we use console type application. The one thing we need to remember is that prior to actually starting encoding we have to subscribe to EncodingEngine events. To make things cleaner, I created class DisplayInfo that… Read More »

FFMPEG .Net Wrapper – Part 3. Working with Events

The way to start encoding with command line tool is by using Process class. In basic form we have to provide arguments and a path to executable file. We have to also initiate Start and WaitForExit methods. Now all we have to do is to wait for entire encoding process to finish. If we write… Read More »

FFMPEG .Net Wrapper – Part 2. Parsing console output using Regex

Before we move on to explain how to convert and read FFMPEG output data at the same time, we have to decide what method to use for parsing encoder’s console output. During the encoding process FFMPEG displays some valuable data including current position, bitrate, speed etc. It looks something like this frame=54314 fps=168 q=36.0 size=… Read More »

FFMPEG .Net Wrapper – Part 1. Creating arguments

FFMPEG is a powerful command line tool that is widely used is all types of commercial and non-commercial applications. Chances are that if you used some type of video converter, it was FFMPEG that did all the heavy lifting. Using this command line tool is not the easiest thing to do. Official documentation is rich… Read More »

That pesky WTV file format.

I spent whole week trying to put something together that would do a job. Soccer tournament Euro 2016 is around a corner and I wanted to record games and test encoding files with Handbrake. I have to say that this whole experience is really frustrating. Handbrake supports WTV files recorded with Windows Media Center, but… Read More »