View Single Post
Old 21st April 2010, 13:02   #994  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by tebasuna51 View Post
Yep, crash with AviSynth
Seems last oggenc2.87-1.3.1 in http://www.rarewares.org/ works now with AviSynth.

The command line to use can be:
oggenc2 --ignorelength -q <QUALITY> -o "<FILENAME>.ogg" -
or
oggenc2 --ignorelength -b <KBPS> -o "<FILENAME>.ogg" -

Relevant info about the parametres:
Code:
 -b, --bitrate        Choose a nominal bitrate to encode at. Attempt
                      to encode at a bitrate averaging this. Takes an
                      argument in kbps. By default, this produces a VBR
                      encoding, equivalent to using -q or --quality.
                      See the --managed option to use a managed bitrate
                      targetting the selected bitrate.
 -q, --quality        Specify quality between -2 (low) and 10 (high),
                      instead of specifying a particular bitrate.
                      This is the normal mode of operation.
                      Fractional qualities (e.g. 2.75) are permitted
                      The default quality level is 3.
 --ignorelength       Ignore the datalength in wav headers. This will allow
                      support for files > 4GB and STDIN data streams.
 -o, --output=fn      Write file to fn (only valid in single-file mode)

INPUT FILES:
 OggEnc input files must currently be 32, 24, 16, or 8 bit PCM WAV,
 or 32 bit IEEE floating point WAV. Files may be mono or stereo
 (or more channels) and any sample rate.
 You can specify taking the file from stdin by using - as the input filename.
Works fine until 6 channels, 7 and 8 channels have, at least, channel mapping problems.

Other audio encoder than can be added to MeGUI is Flac (don't exist any lossless output).
FLAC v.1.2.1b also in rarewares can be used with command line like this:

flac --ignore-chunk-sizes --channel-map=none -8 --output-name="<FILENAME>.flac" -

Recommended AviSynth filter:
AudioBits(last)>24 ? ConvertAudioTo24bit(last) : last
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote