views:

412

answers:

3

Can someone recommend a good API for converting video types to FLV format? Something that is in .NET would be best, but anything will work.

+3  A: 

I use FFMPEG (also known as libavformat) which is a cross-platform API. It supports tons of different formats.

I've used it in plain-vanilla Win32 and also Linux. Never tried it in .NET though.

UPDATE: FFMPEG is open source and distributed under both the GPL and LGPL licenses which means you are allowed to use it in proprietary commercial products.

Adam Pierce
I read over their site and didn't get the same impression. They actually list in the FAQ something about if it can be used in commercial projects.
FFMPEG is made up of many modules and codecs, some of which are GPL and some of which are LGPL. If you only use the LGPL modules, it is OK for commercial use although there are some legal grey areas over algorithm patents and such although you'd get those with any codec commercial or not.
Adam Pierce
A: 

What about something for commercial use - It doesn't need to be free either - purchasing something is acceptable as well.

FFMPEG is LGPL license and can be used in commercial projects.
Adam Pierce
A: 

I was able to find this: http://www.ideabubbling.com/FlvConverter.aspx

flv Convertor is used to convert any media format to Flv format using FFmpeg tool. Normally, it is used by social networking sites to convert any media format to flv format on-the-fly while user uploads the file. It is developed by C#.NET 2.0 and provided as open source and free software with GNU General Public License . You are encouraged and invited to contribute.

Kevin Goff