The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

oggdec (1)
  • >> oggdec (1) ( Linux man: Команды и прикладные программы пользовательского уровня )
  •  

    NAME

    oggdec - simple decoder, Ogg Vorbis file to PCM audio file (WAV or RAW).
    

     

    SYNOPSIS

    oggdec [ -Qhv ] [ -b bits_per_sample ] [ -e endianness ] [ -R ] [ -s signedness ] [ -o outputfile ] file ...

     

    DESCRIPTION

    oggdec decodes Ogg Vorbis files into PCM-encoded ("uncompressed") audio files, either WAV or RAW format.

    For each input file, oggdec writes to a filename based on the input filename, but with the extension changed to ".wav" or ".raw" as appropriate.

    If the input file is specified as - , then oggdec will read from stdin, and write to stdout unless an output filename is specified. Likewise, an output filename of - will cause output to be to stdout.

    Writing WAV format to stdout is a bad idea. WAV requires a seekable medium for the header to be rewritten after all the data is written out; stdout is not seekable.

     

    OPTIONS

    -Q, --quiet
    Suppresses program output.
    -h, --help
    Print help message.
    -v, --version
    Display version information.
    -b n, --bits=n
    Bits per sample. Valid values are 8 or 16.
    -e n, --endian=n
    Set endianness for 16-bit output. 0 (default) is little-endian (Intel byte order). 1 is big-endian (sane byte order).
    -R, --raw
    Output in raw format. If not specified, writes WAV file (RIFF headers).
    -s n, --sign=n
    Set signedness for output. 0 for unsigned, 1 (default) for signed.
    -o filename, --output=filename
    Write output to specified filename. This option is only valid if one input [file] is specified.

     

    EXAMPLES

    Decode a file enabler.ogg to enabler.wav
     as little-endian unsigned 16-bit (default options):
    oggdec enabler.ogg

    Decode a file enabler.ogg to enabler.raw as headerless little-endian unsigned 16-bit:

    oggdec --raw=1 enabler.ogg

    Decode enabler.ogg to enabler.crazymonkey as unsigned 8-bit:

    oggdec -b 8 -s 0 -o enabler.crazymonkey enabler.ogg

    Decode enabler.ogg to enabler.raw as big-endian signed 16-bit (any of the following):

    oggdec -R -e 1 -b 16 enabler.ogg
    oggdec -R -e 1 -b 16 -o enabler.raw - < enabler.ogg
    oggdec -R -e 1 -b 16 - < enabler.ogg > enabler.raw

    Mass decoding (foo.ogg to foo.wav, bar.ogg to bar.wav, quux.ogg to quux.wav, etc.):

    oggdec *.ogg

     

    SEE ALSO

    ogg123(1)

     

    AUTHORS

     

    Program Authors

    Michael Smith <[email protected]>  

    Manpage Authors


    Frederick Lee <[email protected]>, assisted by a few million monkeys armed with keyboards in irc://irc.openprojects.net/#vorbis


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    OPTIONS
    EXAMPLES
    SEE ALSO
    AUTHORS
    Program Authors
    Manpage Authors


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру