OGGTRANSCODE(1) | User Manuals | OGGTRANSCODE(1) |
oggTranscode - transcodes ogg files in multiple ways
oggTranscode [options] inputfile.ogv outputfile.ogv
oggTranscode can resize an ogg file (ogg, oga or ogv) in multiple ways: It can change the video frame size, change datarate for the video and/or audio streams contained in the ogg file and it can also change the video frame rate or audio sample rate.
Additionally, since version 0.8 oggTranscode can add any ogg comment and png‐pictures with an alpha channel can be rendered into the video at any time period before and after the resizing process.
oggTranscode was previously called oggResize.
Example: -s 320x240
Example: -d 1024000
Example: -D 64000
Example: -f 25:2
Example: -F 32000
Adds comments to the video (theora) stream. Comments are given by a pair of type and value in the form 'type=value'. More than one comment can be concatenated with a semicolon. It is recommended to use apostrophes as the command line may use the semicolon as a separator.
Example: -c 'AUTHOR=yorn;DATE=03.07.09'
Example: -C 'AUTHOR=yorn;DATE=03.07.09'
Example: -q1
Example: -p 24
<picture1.png>[,<startTime>[,<endTime>[,s]]]
startTime in seconds - value can be a floating point. Default startTime is 0
endTime in seconds - value can be a floating point. default endTime is -1, which is the end of the stream duration
default s ist not set. If s is set, the picture slides in smoothly.
More than one picture can be included. To concatenate the expressions use the colon. If the appearance time overlap, the pictures are placed on one another, so the last picture is the uppest layer.
Example: -a etwas.png,2,7,s:etwasneues.png,5,10
The syntax follows the same expression as with option -a.
oggTranscode -s320x240 -d512000 orig.ogv new.ogv
Converts a the video orig.ogv to the video new.ogv with the new frame size 320x240. If there was an audio stream within the orig.ogv file, it is copied into the new file.
oggTranscode -D64000 -F16000 -N1 orig.ogv new.ogv
Converts only the audio stream of file orig.ogv to a sample rate of 16kHz, a datarate of 64 kBit/s and a mono channel. The video stream is copied as is.
oggTranscode -s300x200 -D32000 -d1024000 -A etwas.png,2,7,s:etwasneues.png,5,10 orig.ogv new.ogv
Converts the audio and video stream and adds the alpha channel picture etwas.png to the video from second 2 to second 7 with a smooth fade in and fade out. Additionally the alpha channel picture etwasneues.png is placed on top of the video frame from second 5 to second 10 without any fading.
Joern Seger <yorn at gmx dot net>
oggCut(1), oggCat(1), oggJoin(1), oggSplit(1), oggSlideshow(1), oggThumb(1), oggSilence(1)
JAN 2010 | Linux |