Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
PHP Web Host - Quality Web Hosting For All PHP Applications

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 199 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

oggenc




SYNOPSIS

       oggenc  [  -hrQ  ]  [  -B raw input sample size ] [ -C raw
       input number of channels ] [ -R raw input samplerate  ]  [
       -b  nominal  bitrate ] [ -m minimum bitrate ] [ -M maximum
       bitrate ] [ -q  quality  ]  [  --resample  frequency  ]  [
       --downmix  ] [ -s serial ] [ -o output_file ] [ -n pattern
       ] [ -c extra_comment ] [ -a artist ] [ -t  title  ]  [  -l
       album ] [ -G genre ] input_files ...


DESCRIPTION

       oggenc reads audio data in either raw, WAV, or AIFF format
       and encodes it into an Ogg Vorbis stream.   If  the  input
       file  "-"  is specified, audio data is read from stdin and
       the Vorbis stream is  written  to  stdout  unless  the  -o
       option  is  used to redirect the output.  By default, disk
       files are output to Ogg Vorbis files  of  the  same  name,
       with the extension changed to ".ogg".  This naming conven­
       tion can be overridden by the -o option (in  the  case  of
       one file) or the -n option (in the case of several files).
       Finally, if none of these are available, the output  file­
       name  will  be the input filename with the extension (that
       part after the final dot) replaced with ogg,  so  file.wav
       will become file.ogg


OPTIONS

       -h, --help
              Show command help.

       -r, --raw
              Assume  input  data is raw little-endian audio data
              with no header information. If  other  options  are
              not  specified,  defaults to 44.1kHz stereo 16 bit.
              See next three options for how to change this.

       -B n, --raw-bits=n
              Sets raw mode input sample size in bits. Default is
              16.

       -C n, --raw-chan=n
              Sets  raw mode input number of channels. Default is
              2.

       -R n, --raw-rate=n
              Sets raw mode input samplerate. Default is 44100.

       --raw-endianness n
              Sets raw mode endianness to big endian (1) or  lit­
              tle endian (0). Default is little endian.

              Set bitrate management mode.  This  turns  off  the
              normal  VBR  encoding,  but  allows  hard  or  soft
              bitrate constraints to be enforced by the  encoder.
              This  mode  is  much  slower, and may also be lower
              quality. It is primarily useful for creating  files
              for streaming.

       -q n, --quality=n
              Sets encoding quality to n, between -1 (low) and 10
              (high). This is the default mode of operation, with
              a  default  quality  level of 3. Fractional quality
              levels such as 2.5 are  permitted.  Normal  quality
              range is 0 - 10.

       --resample n
              Resample  input  to  the  given sample rate (in Hz)
              before encoding. Primarily useful for  downsampling
              for lower-bitrate encoding.

       --downmix
              Downmix input from stereo to mono (has no effect on
              non-stereo  streams).  Useful   for   lower-bitrate
              encoding.

       --advanced-encode-option optionname=value
              Sets  an  advanced option. See the Advanced Options
              section for details.

       -s, --serial
              Forces a  specific  serial  number  in  the  output
              stream. This is primarily useful for testing.

       -o output_file, --output=output_file
              Write  the  Ogg  Vorbis stream to output_file (only
              valid if a single input file is specified)

       -n pattern, --names=pattern
              Produce filenames as this string, with %a, %t,  %l,
              %G  replaced  by  artist, title, album respectively
              (see below for specifying these). Also, %% gives  a
              literal %.

       -c comment, --comment comment
              Add  the  string comment as an extra comment.  This
              may be used multiple times, and all instances  will
              be added to each of the input files specified.

       -a artist, --artist artist
              Set  the  artist  comment  field in the comments to
              Sets the track number comment field  to  the  given
              value.

       -t title, --title title
              Set the track title comment field to title.

       -l album, --album album
              Set the album comment field to album.

       Note that the -a, -t, and -l options can be given multiple
       times.  They will be applied, one to  each  file,  in  the
       order  given.   If there are fewer album, title, or artist
       comments given than there are  input  files,  oggenc  will
       reuse  the  final one for the remaining files, and issue a
       warning in the case of repeated titles.


ADVANCED ENCODER OPTIONS

       Oggenc allows you to set  a  number  of  advanced  encoder
       options  using the --advanced-encoder-option option. These
       are intended for very advanced users only, and  should  be
       approached  with  caution.  They may significantly degrade
       audio quality if misused. Not all these options  are  cur­
       rently documented.

       bitrate_average_window=NN
              Set  the  managed bitrate window to NN seconds. The
              bitrate will be forced  to  the  specified  average
              over a floating window of this length. May be frac­
              tional (e.g. 3.5)

       lowpass_frequency=NN
              Set the lowpass frequency to NN kHz.


EXAMPLES

       Simplest version. Produces output as somefile.ogg:
              oggenc somefile.wav

       Specifying an output filename:
              oggenc somefile.wav -o out.ogg

       Specifying a high-quality encoding averaging 256 kbps (but
       still VBR).
              oggenc infile.wav -b 256 out.ogg
              oggenc --resample 11025 --downmix infile.wav  -q  1
              out.ogg

       Adding some info about the track:
              oggenc somefile.wav -t "The track title" -a "artist
              who performed this" -l "name of album"  -c  "OTHER­
              FIELD=contents  of  some  other field not explictly
              supported"

       This  encodes  the  three  files,  each  with   the   same
       artist/album  tag,  but  with different title tags on each
       one. The string given as an argument to -n is used to gen­
       erate filenames, as shown in the section above. This exam­
       ple gives filenames like "The Tea Party - Touch.ogg":
              oggenc -b 192 -a "The Tea Party" -l  "Triptych"  -t
              "Touch" track01.wav -t "Underground" track02.wav -t
              "Great Big Lie" track03.wav -n "%a - %t.ogg"

       Encoding from stdin, to stdout (you can also use the vari­
       ous tagging options, like -t, -a, -l, etc.):
              oggenc -


AUTHORS

       Program Author:
              Michael Smith <msmith@labyrinth.net.au>

       Manpage Author:
              Stan Seibert <indigo@aztec.asu.edu>


BUGS

       Reading type 3 wav files (floating point samples) probably
       doesn't work other than on intel (or other 32 bit,  little
       endian machines).


SEE ALSO

       ogg123(1)

                           2002 July 19                 oggenc(1)
  




Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can get all the latest Site and Linux news by checking out our news page.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.04 Seconds