Click here to Skip to main content
11,927,422 members (52,061 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# XAML C#4.0
I want to split a video file into images or a sequence of images, can any body help me with this?
Posted 12-Feb-14 8:55am
Sergey Alexandrovich Kryukov 12-Feb-14 14:17pm
Could you please avoid "questions" like "can anybody help"? This is not a valid question. (I didn't report it as "not a question" because the question in the title is quite valid. :-) Of course you will get help on such a basic problem, how can you doubt that?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The best way I know (and this is a very good way) is using open-source FFMpeg or libav. It solves this and many other problems just perfectly and does not depend on any other code; it also can be embedded in your code. Please see my past answers:
HTML5 and Mime, Streaming a video?[^],
how to convert image to video in C#[^].

Ravi Bhavnani 12-Feb-14 14:23pm
As Sergey has already pointed out, consider using FFMpeg to extract images from your video file. See the answer to this SO question for the command line:

Sergey Alexandrovich Kryukov 12-Feb-14 14:27pm
Thank you, Ravi. I must admit theFFMpeg command line is complicated enough, so it will take some considerable time to master it.
At the same time, there is a comprehensive documentation obtained by just running the utility with different parameters.
It should be read anyway, even if the basics of the use are already clear. However, your link could provide a useful hint or a starting point.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web04 | 2.8.151126.1 | Last Updated 12 Feb 2014
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100