Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on an app. to record desktop and it's key. No i want to create the image that i get from the screen to video. How can i achieve this . It's in windows form c#. Thanks in advance.
Posted
Comments
Richard C Bishop 22-Nov-13 11:31am    
One image does not constitute a video, why do this?
Nelek 22-Nov-13 11:34am    
Would it not be easier to make a *.gif if you need an animation made of screenshots?
agent_kruger 23-Nov-13 5:32am    
actually i want to record the desktop screen without using 3rd party tool?

1 solution

The best code I know which can do it all and a lot more is FFMpeg or libavcodec. Please see:
http://en.wikipedia.org/wiki/Ffmpeg[^],
http://ffmpeg.org/[^],
http://en.wikipedia.org/wiki/Libavcodec[^],
http://libav.org/[^].

But how to use it programmatically? Please see my past answers:
how to convert image to video in C#[^],
HTML5 and Mime, Streaming a video?[^],
How to trim the video using Directshow!?[^].

And there is no such thing as just "video". If you want to make video, you will probably need to learn how it works, at least get an idea on video containers/formats and codecs and learn basics about many of then, as well as compatibility problems, licensing and other related issues:
http://en.wikipedia.org/wiki/Media_container[^],
http://en.wikipedia.org/wiki/Codec[^],
http://en.wikipedia.org/wiki/Comparison_of_container_formats[^],
http://en.wikipedia.org/wiki/Open_source_codecs_and_containers[^],
http://en.wikipedia.org/wiki/List_of_codecs[^],
http://en.wikipedia.org/wiki/Comparison_of_video_codecs[^].

You will find a good number of information on the containers and codecs above, but note: FFMpeg and libavcodec support most of them.

—SA
 
Share this answer
 

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