$ hogg help chop
chop: Extract a section (specify start and/or end time)
Usage: hogg chop [options] filename ...
Examples:
Extract the first minute of file.ogg:
hogg chop -e 1:00 file.ogg
Extract from the second to the fifth minute of file.ogg:
hogg chop -s 2:00 -e 5:00 -o output.ogg file.ogg
Extract only the Theora video stream, from 02:00 to 05:00, of file.ogg:
hogg chop -c theora -s 2:00 -e 5:00 -o output.ogg file.ogg
Extract, specifying SMPTE-25 frame offsets:
hogg chop -c theora -s smpte-25:00:02:03::12 -e smpte-25:00:05:02::04 -o output.ogg file.ogg
Nevertheless, I'm continuing to work on both liboggz and hogg. liboggz, in pure C, is faster; hogg, in pure (but unoptimised) Haskell, is more correct.
I spent a few hours earlier today tracking down a corner case in liboggz, coincidentally triggered by the chopping routines in libannodex. It reminded me that one of my first realizations about Haskell was that its sanity-checker often tells you about forgotten corner cases of algorithms.
Making free software for embedded/mobile multimedia, web video and computer music; in C and Haskell, using algebra, type theory and git!
Thursday, 6 December 2007
Release: HOgg 0.3.0
Hogg is a commandline tool for manipulating Ogg files. It has subcommands, like hogg chop for cutting out bits of video, hogg info for telling you about the codecs, and hogg dump for hexdumping the packet data.
It's basically a re-implementation of most of the stuff in liboggz, but the new features in
hogg 0.3.0
such as chopping out a section of a file and adding Ogg Skeleton metadata, are not yet in oggz-tools.
Subscribe to:
Post Comments (Atom)
2 comments: