LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-11-2013, 07:31 AM   #1
waddles
Member
 
Registered: Sep 2012
Posts: 372

Rep: Reputation: 1
Make a flip movie


I have a video from which I want to extract a series of frames.
The action is about 3 sec. long and would like to extract every 10th or 5th frame. As I understand it, players fiddle the video output to correspond to the audio and that is OK. So if I use mplayer should I use -ss to start the sequence of extractions or is it -edlstart?
If I specify fps 30 will mplayer force 30 frames per second output or will it be whatever was used to create the original file?
May I use any other output format type other than JPEG? Which?
Is there an easy way to extract the frames? Everything I seen that looks like what I want from mplayer seems to be in sec not "sec.fraction". I looked into delay and that does not seem feasible.
Is there a way with mplayer to stipulate every 5th/10th frame whether invented to hold to a set fps or not?
There is a lot of web stuff about selecting an initial frame or a set of frames and then choosing manually but I would like this to be automatic as I may need to replicate several such scenes. I wish to use mplayer exclusively.
 
Old 08-11-2013, 05:11 PM   #2
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 288

Rep: Reputation: 155Reputation: 155
Try using the 'framestep' filter.

The following will save every thirtieth frame starting ten minutes into the file (until twenty .png files have been produced):
Code:
mplayer -nosound -ss 0:10:00 -vf framestep=30 -frames 20 -vo png input.avi
 
1 members found this post helpful.
Old 08-11-2013, 08:14 PM   #3
waddles
Member
 
Registered: Sep 2012
Posts: 372

Original Poster
Rep: Reputation: 1
Thanks very much!! I had looked at framestep but it seemed like it was possibly for other purposes. Sure wish the man page was clearer. I have looked at several purported tutorials over the years and have been dismayed at their low level. Again thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora How to make a movie? ssunlinux Linux - Software 3 02-06-2012 02:08 AM
link pictures together to make a movie Mash Linux - Software 3 07-19-2007 07:10 PM
How do you make a copy of a DVD movie? JBailey742 Linux - Software 18 08-31-2006 11:33 PM
how do u make xine close after watching a movie doublefailure Linux - Software 4 05-28-2005 03:21 PM
make movie using gif (non animated) images guillaume31 Linux - General 1 09-17-2004 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration