AVI frame to still image?


  1. Posts : 322
    win 10 home
       #1

    AVI frame to still image?


    Please, how do I go about converting an AVI frame to a still image easily? So far nothing seems simple.
      My Computer


  2. Posts : 31,630
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #2

    I use a free Open Source command line utility called FFmpeg https://www.ffmpeg.org/ for most of my video processing and editing.

    One of its options is to convert a video into a sequence of individual images (it can also do the reverse, turn a sequence of images into a video). To extract half a second's worth of .png images from an AVI video starting at 5 minutes in, the command line would be:

    ffmpeg -i input.avi -ss 300 -to 300.5 image%d.png

    The %d is replace by a number, for a 25fps video this command will produce images named image1.png to image12.png

    Note that if the video is widescreen (16:9) you may find the aspect ratio of the extracted needs adjusting because the pixels in the original video are not 'square' (they get stretched by the codec when you watch the video). FFmpeg has a 'scale' video filter (-vf) that can adjust for that. You may need to work out from the size of the video frame and the aspect ratio exactly what figures to use. As an example:

    ffmpeg -i input.avi -ss 300 -to 300.5 -vf scale=1280:720 image%d.png

    Working from a command line is fiddly, but FFmpeg is very powerful, so I find it's worth the effort.
      My Computers


  3. Posts : 46
    windows 10
       #3

    VLC at Official download of VLC media player, the best Open Source player - VideoLAN will also allow you to select a frame from any video as a still
      My Computer


  4. Posts : 6,839
    22H2 64 Bit Pro
       #4

    Most decent media players can save stills or screenshots.

    PotPlayer
    AVI frame to still image?-potplayer.jpg
    LightAlloy


    AVI frame to still image?-light-alloy.jpg
    Shotcut (video editor)
    AVI frame to still image?-shotcut.jpg

    If you use WMP then I think you're stuck with snipping tool or PrintScreen options.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:52.
Find Us




Windows 10 Forums