Click here to Skip to main content
15,906,816 members
Home / Discussions / C#
   

C#

 
AnswerRe: Hiding command prompt while running an .bat file? Pin
O.Phil21-Apr-10 5:14
O.Phil21-Apr-10 5:14 
GeneralRe: Hiding command prompt while running an .bat file? Pin
Pawan Kiran22-Apr-10 1:10
Pawan Kiran22-Apr-10 1:10 
Questiondropdownlist selectedindexChanged event in datagridview Pin
NarVish21-Apr-10 3:42
NarVish21-Apr-10 3:42 
AnswerRe: dropdownlist selectedindexChanged event in datagridview Pin
dan!sh 21-Apr-10 4:26
professional dan!sh 21-Apr-10 4:26 
QuestionSplit a video in frames Pin
Obaid Ahmed21-Apr-10 2:34
Obaid Ahmed21-Apr-10 2:34 
AnswerRe: Split a video in frames Pin
annathor21-Apr-10 3:03
annathor21-Apr-10 3:03 
GeneralRe: Split a video in frames Pin
Obaid Ahmed22-Apr-10 0:00
Obaid Ahmed22-Apr-10 0:00 
GeneralRe: Split a video in frames [modified] Pin
annathor22-Apr-10 0:25
annathor22-Apr-10 0:25 
You can exctract single/multiple frames from a video file with ffmpeg.

from the documentation:

* You can extract images from a video, or create a video from many images:

For extracting images from a video:

ffmpeg -i foo.avi -r 1 -s WxH -f image2 foo-%03d.jpeg

This will extract one video frame per second from the video and will output them in files named `foo-001.jpeg', `foo-002.jpeg', etc. Images will be rescaled to fit the new WxH values.

If you want to extract just a limited number of frames, you can use the above command in combination with the -vframes or -t option, or in combination with -ss to start extracting from a certain point in time.

For creating a video from many images:

ffmpeg -f image2 -i foo-%03d.jpeg -r 12 -s WxH foo.avi


this documentation is for the console app, but the lib should also be able to do it.
modified on Thursday, April 22, 2010 6:36 AM

GeneralRe: Split a video in frames Pin
Obaid Ahmed22-Apr-10 0:38
Obaid Ahmed22-Apr-10 0:38 
GeneralRe: Split a video in frames Pin
Obaid Ahmed22-Apr-10 1:03
Obaid Ahmed22-Apr-10 1:03 
GeneralRe: Split a video in frames [modified] Pin
annathor22-Apr-10 1:44
annathor22-Apr-10 1:44 
GeneralRe: Split a video in frames Pin
Obaid Ahmed22-Apr-10 9:43
Obaid Ahmed22-Apr-10 9:43 
GeneralRe: Split a video in frames Pin
Obaid Ahmed22-Apr-10 10:10
Obaid Ahmed22-Apr-10 10:10 
GeneralRe: Split a video in frames Pin
annathor22-Apr-10 12:08
annathor22-Apr-10 12:08 
QuestionHow to avoid a cross-thread error for a TextBox with databinding? Pin
R. vd Kooij21-Apr-10 2:25
R. vd Kooij21-Apr-10 2:25 
AnswerRe: How to avoid a cross-thread error for a TextBox with databinding? Pin
R. vd Kooij22-Apr-10 9:14
R. vd Kooij22-Apr-10 9:14 
Questionpopulate combobox by passing parameter to seperate class Pin
redspiderke21-Apr-10 2:02
redspiderke21-Apr-10 2:02 
AnswerRe: populate combobox by passing parameter to seperate class Pin
Not Active21-Apr-10 2:15
mentorNot Active21-Apr-10 2:15 
GeneralRe: populate combobox by passing parameter to seperate class Pin
redspiderke21-Apr-10 3:17
redspiderke21-Apr-10 3:17 
GeneralRe: populate combobox by passing parameter to seperate class Pin
Not Active21-Apr-10 4:00
mentorNot Active21-Apr-10 4:00 
GeneralRe: populate combobox by passing parameter to seperate class Pin
redspiderke21-Apr-10 20:56
redspiderke21-Apr-10 20:56 
QuestionHOW TO RETRIVE ALL TRANSACTION from sqlserver where TODAYS DATE AS PARAMETER IN SQL QUERY.? Pin
sudhir behera21-Apr-10 1:59
sudhir behera21-Apr-10 1:59 
AnswerRepost Pin
Keith Barrow21-Apr-10 2:14
professionalKeith Barrow21-Apr-10 2:14 
AnswerRe: HOW TO RETRIVE ALL TRANSACTION from sqlserver where TODAYS DATE AS PARAMETER IN SQL QUERY.? Pin
Ashfield21-Apr-10 2:49
Ashfield21-Apr-10 2:49 
AnswerRe: HOW TO RETRIVE ALL TRANSACTION from sqlserver where TODAYS DATE AS PARAMETER IN SQL QUERY.? Pin
PIEBALDconsult21-Apr-10 3:24
mvePIEBALDconsult21-Apr-10 3:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.