OGMSPLIT(1) | User Commands | OGMSPLIT(1) |
ogmsplit - Split OGG/OGM files into several smaller OGG/OGM files
ogmsplit [options] inname
ogmsplit can be used to easily split an OGM file after a given size. Several OGM files will be created that each start with a keyframe.
The operation mode can be set with exactly one of -s, -t, -c or -p. The default mode is to split by size (-s).
ogmsplit correctly handles chapter information. During the
first pass the chapter information, if any is present, will be adjusted to
match the output files generated. Chapters that are not contained in the
current output file are removed entirely. The other chapters are renumbered
to start at 1, and their timestamps will be recalculated.
Example: If your source file contains these four chapters:
CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter 01
CHAPTER02=00:10:00.000
CHAPTER02NAME=Chapter 02
CHAPTER03=00:20:00.000
CHAPTER03NAME=Chapter 03
CHAPTER04=00:25:00.000
CHAPTER04NAME=Chapter 04
and you split after 15 minutes, then the first output file will only contain the first two chapters as shown above, and the second output file will contain the following two chapters and the remaining part of the first:
CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter 02 (continued)
CHAPTER02=00:05:00.000
CHAPTER02NAME=Chapter 03
CHAPTER03=00:10:00.000
CHAPTER03NAME=Chapter 04
Note that only variable names are changed, not the chapter names themselves. The exception is the first chapter of the second and following files where "(continued)" is appended in order to indicate that this is not the start of this chapter. If you want to change them as well you'll have to remerge the resulting file with a new chapter file.
ogmsplit was written by Moritz Bunkus <moritz@bunkus.org>.
ogmmerge(1), ogminfo(1), ogmdemux(1), ogmcat(1), dvdxchap(1)
The newest version can always be found at <http://www.bunkus.org/videotools/ogmtools/>
November 2004 | ogmsplit v1.5 |