VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date
    May 2006
    Location
    Hong Kong
    Search Comp PM
    I am looking for command line tools to script the process of extracting some still images/frames from a given avi/mpeg.

    I had tried ffmpeg, which allow me to extract some gif ... but the quality crap... (may be i use the wrong switch ....)

    Any advice will help Thx
    Quote Quote  
  2. Member
    Join Date
    May 2006
    Location
    Hong Kong
    Search Comp PM
    seems like VLC and ffmpeg (i tried an old version before... but actully all newer version) actually can do...

    for VLC

    vlc -V image --image-out-format jpeg --image-out-ratio 200 --image-out-prefix xxxx /usr/file.mpg
    Quote Quote  
  3. Member
    Join Date
    May 2006
    Location
    Hong Kong
    Search Comp PM
    final version...

    for really small thumbnail
    ffmpeg -y -i x.avi -vframes 1 -ss 00:00:10 -an -s 120x90 -qmin 20 x%d.jpg

    for high quality output
    ffmpeg -y -i x.avi -vframes 1 -ss 00:00:10 -an -vcodec png -f rawvideo -s 320x240 x.png
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!