| #-------------------------------------------------------------------------- |
| #Copyright (c) 2010, Code Aurora Forum. All rights reserved. |
| |
| #Redistribution and use in source and binary forms, with or without |
| #modification, are permitted provided that the following conditions are met: |
| # * Redistributions of source code must retain the above copyright |
| # notice, this list of conditions and the following disclaimer. |
| # * Redistributions in binary form must reproduce the above copyright |
| # notice, this list of conditions and the following disclaimer in the |
| # documentation and/or other materials provided with the distribution. |
| # * Neither the name of Code Aurora nor |
| # the names of its contributors may be used to endorse or promote |
| # products derived from this software without specific prior written |
| # permission. |
| |
| #THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| #AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| #IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| #NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
| #CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| #EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| #PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
| #OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| #WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| #OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
| #ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| #-------------------------------------------------------------------------- |
| |
| ############################################## |
| ############ COMMON STATIC CONFIG ############ |
| ############################################## |
| FrameWidth = 1280 ## Frame width |
| FrameHeight = 720 ## Frame height |
| OutputFrameWidth = 1280 ## DVS Frame width |
| OutputFrameHeight = 720 ## DVS Frame height |
| DVSXOffset = 0 ## DVS Frame width |
| DVSYOffset = 0 ## DVS Frame height |
| Codec = MP4 ## MP4 | H263 | H264 |
| FPS = 30 ## Frame rate |
| RC = RC_OFF ## RC_OFF | RC_VBR_VFR | RC_VBR_CFR | RC_CBR_VFR |
| InBufferCount = 6 ## Number of input buffers |
| OutBufferCount = 6 ## Number of output buffers |
| Rotation = 0 ## Rotation in degrees 0 | 90 | 180 | 270 |
| Bitrate = 68000 ## Bits per second |
| ResyncMarkerType = NONE ## NONE | BITS | MB | GOB |
| ResyncMarkerSpacing = 0 ## Resync marker spacing (valid only if resyncmarkertype != none) |
| EnableIntraRefresh = 0 ## Intra refresh enable (0 for disable, 1 for enable) |
| InFile = clips/enc_720p.yuv ## Input yuv file |
| OutFile = 720p_i.m4v ## Output bitstream file (leave blank for no output) |
| NumFrames = 300 ## Number of frames to encode |
| IntraPeriod = 60 ## The iframe interval in units of frames |
| MinQp = 2 ## The minimum qp |
| MaxQp = 31 ## The maximum qp |
| |
| ############################################## |
| ############ MPEG4 STATIC CONFIG ############ |
| ############################################## |
| HECInterval = 0 ## Header extension coding interval (0 for disable) |
| TimeIncRes = 30 ## MPEG4 time increment resolution |
| EnableShortHeader = 0 ## MPEG4 SVH enable |
| |
| ############################################## |
| ############ H.263 STATIC CONFIG ############ |
| ############################################## |
| |
| ############################################## |
| ############ H.264 STATIC CONFIG ############ |
| ############################################## |
| |
| ############################################## |
| ########### COMMON DYNAMIC CONFIG ############ |
| ############################################## |
| IFrameRequestPeriod = 5 ## Dynmically request an iframe every N frames |
| UpdatedFPS = 15 ## The new frame rate for change quality |
| UpdatedMinQp = 2 ## The new minimum qp for change quality |
| UpdatedMaxQp = 31 ## The new maximum qp for change quality |
| UpdatedBitrate = 98000 ## The new bitrate for change quality |
| UpdatedNumFrames = 90 ## The new number of frames to encode |
| UpdatedIntraPeriod = 30 ## The new intra period |