F sets the sample frequency (sample rate) of the audio data in Hertz.
If not set, the frame rate of the original video is used. If only one number is given, the denominator is set to 1. f sets the frame rate of the video with numerator and denominator and is the frames per second. If not set, the datarate of the original stream is used. D sets the datarate in bits per second for the audio encoder (vorbis). d sets the datarate in bits per second for the video encoder (theora). If you want to stretch the video frames to the new size, use the -t option. The default size is 480x320.īy default the aspect ratio of the original video frame is kept as it is, so if the size of the new video frame does not match in aspect ratio, oggResize adds black borders at the top and bottom or right and left, to fit the new aspect ratio. Synopsis: oggResize inputfile.ogv outputfile.ogv It can also add comments to any stream and can include PNG images with an alpha channel, which are rendered into the video at any time period before or after the resizing process. OggResize can change the video frame size, video or audio datarate and the video frame rate or audio sample rate.
Streams that need no conversion will not be effected.
The advantage of oggResize over other tools is that it converts only the streams that need to be changed. However, it does only handle Ogg Theora and Vorbis streams. The command line tool oggResize can resize the height and width of an ogg file (ogg, oga or ogv) in various ways.