Legal Notice | Get In Touch
The Ogg Video Tools  oggThumb  

Demo page for oggThumb

OggThumb creates Thumbnails from an ogg video file, at a given position or given frame number. The following command line creates pictures of myfile.ogv at second 10, 20 etc.:

oggThumb -t 10,20,30,40,50 -s 0x100 myFile.ogv

Command line options

The syntax of oggThumb is:

# oggThumb [options] file1.ogv [ file2.ogv [ file3.ogv [...] ] ]

The options are used to create thumbnails for all given files. 

The naming of each thumbnail series follows the following rule:

<filename_without_extension>_x.<pictureextension>

where x starts with 0 and is incremented with every created thumbnail. So the thumbnails are successivly numbered by the appearence order. This is even valid, if time positions and frame numbers are mixed.

Options

- t

Time at which a thumbnail should be created. More than one thumbnail time can be concatenated by komas. The times can be set by integer or floating point values in seconds. If the time is not exactly matching, the next frame is used. The times don't have to be sorted incrementally.

Example: -t 12.4,14.157,13.23

-f

Number of a frame that should be created as a thumbnail. More than one thumbnail frame can be concatenated by komas. The frame numbers must be an integers. The frame numbers don't have to be sorted incrementally.

Example: -f 12000,13000,11000

 -s

Picture output size. The thumbnail is created in the size given as <width>x<height>.  If you want to include the thumbnails into your webpage and you need to have a fixed width but dynamic height, you can set the dynamic axis to 0. So the aspect ratio of the video frame is kept. This is the same for setting width or height to 0.

Example: -s 0x100

-o

Output format. This can be png or jpg. The default is jpg.

Example: -o png