FrameShots!
Command Line Instructions Command Line Instructions FAQ Command Line Instructions Resampling Filters System Requirements Help!

Syntax:
frameshots [options] "input file" "output folder"

Put quotes around any options that may contain spaces.

Option Description
-thumbs number The number of thumbs to create from a video file. Use this or -ms
-ms milliseconds The number of milliseconds to skip each time to to create from a video file. Use this or -thumbs
-skipfront milliseconds How many milliseconds to skip from the front of a video before processing. This is useful when many videos have garbage or black video at the begining.
-skipback milliseconds How many milliseconds to skip from the back of a video when processing. This is useful when many videos have garbage or black video at the end.

-height thumb height

-width thumb width

Specify the dimensions of the output thumbnails
-trimthumb Attemps to trim black borders commonly found around videos.
-cropthumb Crops the thumbnails to be the exact size specified. Without this option the images will be resized within the height and width specified, retaining aspect ratio.
-brightness brightness Brightness adjustments to make to the thumbnails. Values can be between -100 and 100
-contrast contrast Contrast adjustments to make to the thumbnails. Values can be between -100 and 100
-fileprefix prefix Specifies a prefix to append to the thumbnail file names.
-filename name Specify the output file name instead of using the video file name for output.
-filecounter counter Counter for file names. Specify the starting digit and the number of digits.
-filesuffix suffix Specifies a suffix to append to the thumbnail file names.
-filetype filetype Specifies the file type of the output thumbnails. jpeg, jpg, gif, bmp, tiff, tif, png
-log filename Logs any errors messages to the file specified

 

Examples:

frameshots –ms 500 myvideo.mpeg "D:\my videos\"

This takes the video myvideo.mpeg and at every 500 milliseconds, captures a screenshot and saves the thumbnails to "D:\my videos\".

 

frameshots –thumbs 20 -width 250 -height 200 -trimthumb D:\vidtest\myvideo.mpeg D:\vidtest\new

This captures 20 screenshots from the movie myvideo.mpeg and saves the thumbnails to D:\vidtest\new. Thumbnails will be 250 pixels wide by 200 pixels tall. Black borders will be trimmed.

 

frameshots –thumbs 10 –skipfront 500 -fileprefix vid_ -filecounter 000 -filesuffix _tn -t -filetype bmp -log logfile.txt D:\vidtest\myvideo.mpeg D:\vidtest\new

This skips the first 500 milliseconds of myvideo.mpeg, then captures 10 screenshots and saves the thumbnails to D:\vidtest\new. Output files will be named vid_myvideo001_tn.bmp vid_myvideo002_tn.bmp etc.

 

Advanced Batch File Processing:

Create a batch file with the following line:
FOR /F %%a IN ('dir *.avi,*.mpg /b /s') DO frameshots "%%a"

This basically calls FrameShots on every avi and mpg file found by the dir command. The option /b tells dir to output a 'bare listing' meaning only file names are displayed, no headers or sizes, etc. And the /s is optional, it searches through all subdirectories as well.

 
Make 5 thumbs from every avi file in the current directory:
FOR /F %%a IN ('dir *.avi /b') DO frameshots -thumbs 5 "%%a"

 

Terms and Conditions ©2008 EOF Productions
Comments / Suggestions -
FrameShots ™ Video Screen Capture
2008 EOF Productions
Free Trial Purchase FrameShots!