Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Which is the universally acceptable Video Compression type? Can we use "Microsoft Video1" codec to compress a video in c#? Is there any other compression types available which can be used in my C# code by default. In my current code I use AVISaveOptions API which pops up a dialog box and user selects a codec of his choice. Now i do not want to show that popup and just compress the video using any universally acceptable video compressor type.
Please Reply...

Regards
Arun vv
Posted
Updated 25-Feb-15 0:53am
v2

1 solution

There is no such thing. Moreover, there is no such concept as "video compression type". There is a two-level hierarchy: a media container and its format, and the different compression algorithms (and types of codecs) for each streams housed by the containers. Different types of containers support different subsets of types of the streams (video, audio, captions, and the like) and different subsets of compression algorithms. (It looks like only Matroska, sometimes referred as "king of containers" supports everything.)

Please see:
http://en.wikipedia.org/wiki/Digital_container_format[^],
http://en.wikipedia.org/wiki/Comparison_of_container_formats[^],
http://en.wikipedia.org/wiki/Codec[^].

"Microsoft Video1" does not look as a candidate for universal at all and is probably hopelessly obsolete. Look out of you window (or Windows) and see what year is on the street. :-)

It is hard to say what the notion "universally accepted" itself could mean. Perhaps we can only discuss what can be accepted on the Web. Look at this:
http://en.wikipedia.org/wiki/WebM[^],
http://en.wikipedia.org/wiki/VP8[^],
http://en.wikipedia.org/wiki/VP9[^].
See also: http://en.wikipedia.org/wiki/Moving_Picture_Experts_Group[^].

—SA
 
Share this answer
 
Comments
[no name] 25-Feb-15 7:49am    
+5
Sergey Alexandrovich Kryukov 25-Feb-15 11:00am    
Thank you.
—SA
TheRealSteveJudge 25-Feb-15 9:59am    
There is none and maybe never will be. 5*
Sergey Alexandrovich Kryukov 25-Feb-15 11:00am    
Thank you, Steve, but I would advise to never say "never".
—SA
TheRealSteveJudge 25-Feb-15 11:10am    
You're welcome, Sergey!
I attenuated my statement.
"Never say never": Very funny! :-)

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