Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
First, I'm fairly new to see sharp so I'm looking for a thorough and easy to understand answer.

How do I make a C# win form program that breaks a video down to frames, then puts those frames back together to make a video?
I also want to be able to select which frames to extract by setting an interval time. For example, extract frames that are one second apart.
Is this possible, I have done some research but I don't understand how to use the codes displayed on the following websites.

Supposedly code to breakdown video into frames. However I do not know where to put it. Do I make it the event for a button or something.
http://www.researchgate.net/post/Has_anyone_code_in_C_to_read_video_file_and_split_it_into_frames[^]

Code for making a video from images, it looked promising so i tried to copy and paste it visual studio. However the line using BytescoutImageToVideoLib; has an error asking me whether I am missing a reference. What reference am I missing?
http://bytescout.com/products/developer/imagetovideosdk/imagetovideosdk_first_step_with_visual_c_sharp_net.html[^]

I also noticed that there was a page on code project for something similar to this, but the downloadable demo project didn't work at all. I didnt see the point in spending time on something where the end product is broken.
Extract Frames from Video Files[^]

Any help is greatly appreciated.
Posted

1 solution

If you can't understand the code presented we are unlikely to be able to help you much in a Quick Answers Forum!

However - your first link - you can put the code wherever you like. A button click event would be appropriate, amongst other options.

The missing reference on your 2nd link is likely to be the byteScout Image to Video library.

Finally, on the third link to the CodeProject article - normally I would suggest using the comments forum at the bottom of that article, but the author does not seem to be responding to comments. However, I do
Quote:
see the point in spending time on something where the end product is broken
- it's a good way to learn and happens to be a scenario that most developers face on a regular basis.

There are other articles[^] on CodeProject that you may find useful
 
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