VCEEncC (x64) 2.00 by rigaya, build Jun 25 2016 20:05:50
, avs, vpy, avqsv [H.264/AVC, MPEG2, VC-1, WMV3]Usage: VCEEncC [Options] -i <filename> -o <filename>

input can be avs, vpy, raw YUV or YUV4MPEG2(y4m) format.
when raw(default), fps, input-res are also necessary.

output format will be automatically set by the output extension.

Example:
  VCEEncC -i "<infilename>" -o "<outfilename>"
  avs2pipemod -y4mp "<avsfile>" | VCEEncC --y4m -i - -o "<outfilename>"

Options: 
-h,-? --help                    show help
-v,--version                    show version info

-i,--input-file <filename>      set input file name
-o,--output-file <filename>     set ouput file name

   --check-vce                  check for vce support on system.
   --check-avversion            show dll version
   --check-codecs               show codecs available
   --check-encoders             show audio encoders available
   --check-decoders             show audio decoders available
   --check-formats              show in/out formats available
   --check-protocols            show in/out protocols available
   --check-filters              show filters available


 Input formats (will be estimated from extension if not set.)
   --raw                        set input as raw format
   --y4m                        set input as y4m format
   --avs                        set input as avs format
   --vpy                        set input as vpy format
   --vpy-mt                     set input as vpy format in multi-thread
   --avvce                      set input to use avcodec + vce
   --avvce-analyze <int>        set time (sec) which reader analyze input file.
                                 default: 5 (seconds).
                                 could be only used with avvce reader.
                                 use if reader fails to detect audio stream.
   --video-track <int>          set video track to encode in track id
                                 1 (default)  highest resolution video track
                                 2            next high resolution video track
                                   ... 
                                 -1           lowest resolution video track
                                 -2           next low resolution video track
                                   ... 
   --video-streamid <int>       set video track to encode in stream id
   --audio-source <string>      input extra audio file
   --audio-file [<int>?][<string>:]<string>
                                extract audio into file.
                                 could be only used with avvce reader.
                                 below are optional,
                                  in [<int>?], specify track number to extract.
                                  in [<string>?], specify output format.
   --seek [<int>:][<int>:]<int>[.<int>] (hh:mm:ss.ms)
                                skip video for the time specified,
                                 seek will be inaccurate but fast.
-f,--format <string>            set output format of output file.
                                 if format is not specified, output format will
                                 be guessed from output file extension.
                                 set "raw" for H.264/ES output.
   --audio-copy [<int>[,...]]   mux audio with video during output.
                                 could be only used with
                                 avvce reader and avcodec muxer.
                                 by default copies all audio tracks.
                                 "--audio-copy 1,2" will extract
                                 audio track #1 and #2.
   --audio-codec [<int>?]<string>
                                encode audio to specified format.
                                  in [<int>?], specify track number to encode.
   --audio-bitrate [<int>?]<int>
                                set encode bitrate for audio (kbps).
                                  in [<int>?], specify track number of audio.
   --audio-ignore-decode-error <int>  (default: 10)
                                set numbers of continuous packets of audio
                                 decode error to ignore, replaced by silence.
   --audio-ignore-notrack-error ignore error when audio track is unfound.
   --audio-samplerate [<int>?]<int>
                                set sampling rate for audio (Hz).
                                  in [<int>?], specify track number of audio.
   --audio-resampler <string>   set audio resampler.
                                  swr (swresampler: default), soxr (libsoxr)
   --audio-stream [<int>?][<string1>][:<string2>][,[<string1>][:<string2>]][..
       set audio streams in channels.
         in [<int>?], specify track number to split.
         in <string1>, set input channels to use from source stream.
           if unset, all input channels will be used.
         in <string2>, set output channels to mix.
           if unset, all input channels will be copied without mixing.
       example1: --audio-stream FL,FR
         splitting dual mono audio to each stream.
       example2: --audio-stream :stereo
         mixing input channels to stereo.
       example3: --audio-stream 5.1,5.1:stereo
         keeping 5.1ch audio and also adding downmixed stereo stream.
       usable simbols
         mono       = FC
         stereo     = FL + FR
         2.1        = FL + FR + LFE
         3.0        = FL + FR + FC
         3.0(back)  = FL + FR + BC
         3.1        = FL + FR + FC + LFE
         4.0        = FL + FR + FC + BC
         quad       = FL + FR + BL + BR
         quad(side) = FL + FR + SL + SR
         5.0        = FL + FR + FC + SL + SR
         5.1        = FL + FR + FC + LFE + SL + SR
         6.0        = FL + FR + FC + BC + SL + SR
         6.0(front) = FL + FR + FLC + FRC + SL + SR
         hexagonal  = FL + FR + FC + BL + BR + BC
         6.1        = FL + FR + FC + LFE + BC + SL + SR
         6.1(front) = FL + FR + LFE + FLC + FRC + SL + SR
         7.0        = FL + FR + FC + BL + BR + SL + SR
         7.0(front) = FL + FR + FC + FLC + FRC + SL + SR
         7.1        = FL + FR + FC + LFE + BL + BR + SL + SR
         7.1(wide)  = FL + FR + FC + LFE + FLC + FRC + SL + SR
   --audio-filter [<int>?]<string>
                                set audio filter.
                                  in [<int>?], specify track number of audio.
   --chapter-copy               copy chapter to output file.
   --chapter <string>           set chapter from file specified.
   --sub-copy [<int>[,...]]     copy subtitle to output file.
                                 these could be only used with
                                 avvce reader and avcodec muxer.
                                 below are optional,
                                  in [<int>?], specify track number to copy.

-m,--mux-option <string1>:<string2>
                                set muxer option name and value.
                                 these could be only used with
                                 avvce reader and avcodec muxer.

   --input-res <int>x<int>      set input resolution
   --output-res <int>x<int>     output resolution
                                if different from input, uses vpp resizing
                                if not set, output resolution will be same
                                as input (no resize will be done).
   --fps <int>/<int>            set input framerate
   --crop <int>,<int>,<int>,<int>
                                set crop pixels of left, up, right, bottom.

-u,--quality <string>           set quality preset
                                 balanced(default), fast, slow
   --cqp <int> or               encode in Constant QP, default 22:24:27
         <int>:<int>:<int>      set qp value for i:p:b frame
   --cbr <int>                  set bitrate in CBR mode (kbps)
   --vbr <int>                  set bitrate in VBR mode (kbps)
   --qp-max <int>               set max qp
   --qp-min <int>               set min qp
-b,--bframes <int>              set consecutive b frames (default: 0)
   --(no-)b-pyramid             enable b-pyramid feature
   --b-deltaqp <int>            set qp offset for non-ref b frames
   --bref-deltaqp <int>         set qp offset for ref b frames
   --max-bitrate <int>          set max bitrate (kbps) (default: 20000)
   --vbv-bufsize <int>          set vbv buffer size (kbps) (default: 20000)
   --slices <int>               set number of slices per frame (default: 1)
   --(no-)skip-frame            enable skip frame feature
   --motion-est                 set motion estimation precision
                                 full-pel, half-pel, q-pel(default)
   --gop-len <int>              set length of gop (default: auto)
   --tff                        set input as interlaced (tff)
   --bff                        set input as interlaced (bff)
   --level <string>             set codec level
                                - H.264: auto(default), 1, 1b, 1.1, 1.2, 1.3
                                         2, 2.1, 2.2, 3, 3.1, 3.2, 4, 4.1, 4.2
                                         5, 5.1
   --profile <string>           set codec profile
                                - H.264: Baseline(default), Main, High

   --sar <int>:<int>            set Sample Aspect Ratio
   --dar <int>:<int>            set Display Aspect Ratio

   --crop <int>,<int>,<int>,<int>
                                set crop pixels of left, up, right, bottom.

   --log <string>               output log to file (txt or html).
   --log-level <int>            set log level
                                 error, warn, info(default), debug
   --log-framelist <string>     output frame info for avqsv reader (for debug)

