 |
|

| Syntax: |
| frameshots [options] "input file" [output folder] Put quotes around any options that may contain spaces. For instance, if your file name is My Video.avi then make sure you type:
frameshots "My Video.avi"
FrameShots defaults to using any values you have setup in the normal user interface. So if you do not specify an option here, it will use whatever value is setup in the application itself.
| Option |
Description |
| -thumbs number |
The number of thumbnails/images 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 image height
-width image width |
Specify the dimensions of the output images. Set either one to 0 to use the full video size. |
| -trimthumb |
Attemps to trim black borders commonly found around videos. |
| -cropthumb |
Crops the images 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 images. Values can be between -100 and 100 |
| -fileprefix prefix |
Specifies a prefix to append to the image file names. |
| -filename name |
Specify the output file name instead of using the video file name for output. |
| -filecountprefix prefix |
Specify a prefix before the file counter. |
| -filecounter counter |
Counter for file names. Specify the starting digit and the number of digits. |
| -filesuffix suffix |
Specifies a suffix to append to the image file names. |
| -filetype filetype |
Specifies the file type of the output image. 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 (using .bat files):
| This will make 5 thumbs from every avi file in the current directory: |
| FOR /F %%a IN ('dir *.avi /b') DO frameshots -thumbs 5 "%%a" |
| |
| This calls FrameShots on every avi and mpg file found: |
| FOR "delims=" /F %%a IN ('dir *.avi,*.mpg /b /s') DO frameshots "%%a" "%%~dpa" |
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. "%%a" is the file name. And "%%~dpa" specifies to output each image into the same folder the video was found. |
Contact us if you need help setting up a custom command line.
Microsoft's Batch File Documentation
Microsoft's FOR Documentation |
|
|
Terms and Conditions ©2009 EOF Productions
Comments / Suggestions - contact us
|
FrameShots ™ Video Screen Capture
2009 EOF Productions |
|