ffmpeg: cut segment + extract frame from video ?

Project:Tools
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Project wiki:Tools of the trade
Description

I want to use only small segments off .flv videos I downloaded.

I found how to cut a video clip using kdenlive. But using the command line would be easier (it's a simple operation I'll have to repeat many times).
I want to find out how to use ffmpeg to cut out a portion of a video by providing, say, the begin and end timestamps.

Also, how to I extract a single frame of a video to have a picture I can then edit with gimp? A screenshot of the video playing would not be ideal because I may need an exact frame, the dimensions and color tints should be exactly the same as in the original (we also want to avoid as much gimping as possible).
I am not sure it is possible with ffmpeg.

Comments

#1

Always RTFM before asking questions!

2.3 How do I encode movie to single pictures?
http://ffmpeg.mplayerhq.hu/faq.html#SEC13
this outputs the whole movie into individual pictures!

Post new comment

Edit issue settings
Note: changing any of these items will update the issue's overall values.
active
Use this field if you want to associate this issue to a specific wiki page. Enter the title of the wiki page. You can enter a comma separated list of nodes.
The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Use [fn]...[/fn] (or <fn>...</fn>) to insert automatically numbered footnotes.
  • Allowed HTML tags: <a> <blockquote> <br> <em> <img> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h2><h3><h4><h5><h6> <pre> <table> <th> <td> <tr>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Lines and paragraphs break automatically.
  • Project issue numbers (ex. [#12345]) turn into links automatically.
  • Use [toc list: ol; title: Table of Contents; minlevel: 2; maxlevel: 3; attachments: yes;] to insert a mediawiki style collapsible table of contents. All the arguments are optional.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.