How to encode video? [closed]
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this questionI want to write a video enc开发者_高级运维oding. What do I need to do?
Use ffmpeg, then just call the executable from your code.
Do you mean implement / invent a codec, or do you mean encode a video?
For encoding a video, use libavcodec from ffmpeg.
For implementing or developing a new codec, this is typically done over a series of years by a team of experts, and if you have to ask this general a question it may be a learning experience but would most likely be a waste of your time.
Use OpenCV. it has an easy to use wrapper around one of the native API's in windows for doing this and also around ffmpeg.
精彩评论