Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
31st August 2010, 16:42 | #1 | Link |
Registered User
Join Date: Jan 2008
Location: Kharkov, UA
Posts: 105
|
[SOLVED] Extract every 250th frame from video?
Subj. How can I do that?
I have 1 hour video and I have to do "Time-lapse" clip from it. Video is HDV (progressive, 25fps). Which software can extract every 250th frame? Next, the frame-sequence will be converted to video by mencoder (like this) Code:
mencoder "mf://*.jpg" -mf fps=25 -o output.avi -ovc lavc -lavcopts vcodec=mpeg4
__________________
Gentoo linux Last edited by cord-factor; 1st September 2010 at 16:15. |
31st August 2010, 19:04 | #4 | Link |
Registered User
Join Date: Jan 2008
Location: Kharkov, UA
Posts: 105
|
No, linux only solution. And, I don't use wine.
However, ffmpeg seems to can do that: Code:
ffmpeg -i 02.m2t -y -an -sameq -s 1920x1080 -f image2 -r 1/10 nome%03d.png
__________________
Gentoo linux |
31st August 2010, 19:25 | #5 | Link |
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,641
|
How about encoding directly with MEncoder? This avoids unnecessary colorspace conversion (YUV->RGB->YUV) and writing temporary image files on disk:
Code:
mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:vqscale=3 -vf framestep=250 -fps 6250 -ofps 25 input.m2t -o output.avi |
1st September 2010, 16:14 | #6 | Link | |
Registered User
Join Date: Jan 2008
Location: Kharkov, UA
Posts: 105
|
Quote:
__________________
Gentoo linux |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|