Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Using Visual C++, How can I convert from a video file format to another?
Posted
Comments
Sergey Alexandrovich Kryukov 19-Feb-15 19:27pm    
You should understand that it's not just format. You can have different streams compressed in different ways, with different codec algorithms, and they can be combined ("muxed") in different containers. Different containers support different sub-set of codecs. Perhaps only matroska (sometimes called "the kind of containers") support them all, and a lot more (chapter with navigation, captions, many different options, a lot of stuff).
—SA

1 solution

I would advice to use open-source FFMPeg or libav it includes:
http://en.wikipedia.org/wiki/FFmpeg[^],
http://ffmpeg.org/[^],
http://en.wikipedia.org/wiki/Libavcodec[^],
http://libav.org/[^].

I never used anything better. The solution is both slim and very universal. Many well-known products use this library. It solves nearly all the problems I faced (and that means a lot). You can use ready to use utility or directly embed the code in your applications. The product is actively updated covering more and more containers, formats, codec standards and protocols as they appear.

See also my comment to the question and
http://en.wikipedia.org/wiki/Digital_container_format[^],
http://en.wikipedia.org/wiki/Comparison_of_container_formats[^],
http://en.wikipedia.org/wiki/List_of_open-source_codecs[^],
http://en.wikipedia.org/wiki/List_of_codecs[^],
http://en.wikipedia.org/wiki/Comparison_of_video_codecs[^],
http://en.wikipedia.org/wiki/Comparison_of_audio_coding_formats[^].

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900