SYNOPSIS

oggCut [options] inputfile outputfile

DESCRIPTION

oggCut creates a new ogg file named outputfile as a subpart of the original file named inputfile

oggCut is able to cut video (theora) only files, audio (vorbis) only files or files with both video and audio streams.

The start and end time for the cut area must be given in milliseconds with the options -s and -e.

As a video stream consists of I\(hyframes (which are full pictures) and P\(hyframes (which are delta pictures to the leading I\(hyframe) the oggCut algorithm searches for the first I\(hyframe. If a video file would start with a p\(hyframe, the player is not able to interpret this picture, as the leading I\(hyframe (on where it is based) is not available. oggCut starts the I\(hyframe search at the start time given by the -s option. So expect a shorter video time than the calculated seconds for the new file.

oggCut does not do any reencoding, therefore the output quality is completely the same as from the input file.

For those involved into the ogg container format: The file is cut on packet basis, not on page basis.

There is another tool called oggCut out in the internet with a different synopis. This one has not been written by the author of this tool you are actually using.

OPTIONS

-s

Cut start position in ms. If the input file is a video file, the cut area starts with the next keyframe found. Default: 0

Example: -s 5000

-l

Length of the cut area in ms. If -e is also given, the length is ignored.

Example: -l 10000

-e

Cut end position in ms. If -l is also used, the end position is preferred. If the end position is set to -1, the end of the stream is assumed.

Default: -1

Example: -e 20000

EXAMPLE

oggCut -s 1000 -e 21000 myVideo.ogv myOutput.ogv

Creates a new video called myOutput.ogv from the video myVideo.ogv starting after 1 second ending after 21 seconds

AUTHOR

Joern Seger <yorn at gmx dot net>

RELATED TO oggCut…