Click here to Skip to main content
15,897,518 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,

I need to know
1.how to extract sequence images from video file
2. mcisendstring to play video picturebox means , how get image from that picturebox
3. if I use Emgucv that throws exception at capture=new capture(filename) what's the solution
4. Is there any video decoder to convert video file to sequence of images

please give the solution for this


-v.senthil kumar
Posted
Comments
Logi Guna 19-Jan-13 11:32am    
Have a look at :
http://www.codeproject.com/Articles/9676/Extracting-still-pictures-from-movie-files-with-C
http://www.codeproject.com/Articles/13237/Extract-Frames-from-Video-Files

You can convert the project above to VB.NET or compile as library and add reference to your VB.NET project
v.senthilkukmar 19-Jan-13 12:56pm    
hi,its working, i converted into vb.net

OP resolved it with the help of 'Logi Guna' answer:
Have a look at : http://www.codeproject.com/Articles/9676/Extracting-still-pictures-from-movie-files-with-C
http://www.codeproject.com/Articles/13237/Extract-Frames-from-Video-Files
You can convert the project above to VB.NET or compile as library and add reference to your VB.NET project


OP replied: hi,its working, i converted into vb.net

Posting it to pop it out of unanswered list.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 19-Jan-13 22:02pm    
Good. I think I have better and more universal idea: FFmpeg or libav which never let me down so far, in most tricky situations. Please see my answer.
—SA
v.senthilkukmar 21-Jan-13 10:18am    
Framegrabber taking much more time for large video files could you give the answer or please explain fastest one
OK, you got an answer. I will add an advice of the converter. I would strongly recommend FFmpeg or libavcodec utility. Please see:
http://en.wikipedia.org/wiki/Ffmpeg[^],
http://ffmpeg.org/[^],
http://en.wikipedia.org/wiki/Libavcodec[^],
http://libav.org/[^].

In both cases, you can get free open-source utilities which can make nearly everything.

Not only you can use the utility you need through System.Diagnostics.Process.Start, but you will be able to find a number of .NET wrappers:
http://ffmpegdotnet.codeplex.com/[^],
http://www.ffmpeg-csharp.com/[^],
https://github.com/ermau/libav.net[^],
http://www.intuitive.sk/fflib/post/fflib-net-released.aspx[^].

See also this CodeProject article: FFMPEG using ASP.NET[^].

You can find some more: http://bit.ly/10IF2sH[^].

Good luck,
—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