A detailed description of Cinegy Cinecoder MPEG-2 and MP4 profiles as well as details on a wide range of settings for the output MPEG stream are given in this article.

Cinegy Cinecoder MPEG-2 Profiles

Cinegy Cinecoder provides a wide range of settings for the output MPEG stream.

The MPEG compressor receives settings from profiles stored in the Cinegy Archive database. The following is a sample profile for SD PAL medium quality, DVD quality with long GOP and 7 mbs:

/FRAMESIZE:720,576
/DISPSIZE:720,576
/FRAMERATE:25
/ASPECTRATIO:16:9
/CQ:2.0
/VBR:100,7000
/MPEG2
/GOP:21,3
/SCENE
/SEARCHFUNC:CELL4
/SSPC:2,-1
/SWIN:64,64
/ADAPTWIN
/CLEARDEF
/PREDBLK
/RECALCPRED
/INTSEARCH
/OPPFIELDS
/HALFPEL
/E_DCT
/E_SCAN
/PL:MP@ML
/CHROMA:420
/DC:9
/VBV:112
/CG
;/DUP
;/NOSKIPB
;/NOPAD
/FIELD:TOP
/PICTSTRUCT:ADAPTIVE
/PAL
/NOAUDIO
/MAKEINDEX

The semicolon at the beginning of the parameter removes it from parsing.

Important
Refer to the TV Formats, Profiles article in the Cinegy Enterprise Manager Manual for more information on how to add a profile.
Note
For performance reasons, Cinegy products always use MPEG-2 elementary streams to store video only. Audio files are stored as separate files.
Caution
Before creating a new MPEG-2 profile, it is highly recommended that you read through the detailed technical description of the encoding parameters given below.

Video Settings

This group controls video parameters of the resulting stream.

/FRAMERATE:<frame rate>

This parameter defines the frame rate in frames per second.

Cinegy Cinecoder supports the following frame rates – 23.976, 24, 25, 29.97, 30, 50, 59.94, 60.

The most frequently used settings are:

Frame Rate

/FRAMERATE:25

PAL

/FRAMERATE:29.97

NTSC drop frame

/FRAMESIZE:<width>,<height>

This parameter defines the frame size in pixels horizontally and vertically. The frame size can be smaller than the physical size of the original video, for example, in the case of very low bit rate streams.

The typical settings are:

Frame Size

/FRAMESIZE:720,576

PAL CCIR 601

/FRAMESIZE:720,480

NTSC CCIR 601

/FRAMESIZE:240,288

Very low bit rate

/FRAMESIZE:1280,720

HD 720

/FRAMESIZE:1920,1080

HD 1080

Note
SONY HD devices use frame size 1440x1080 internally, so this size can be used for high quality as well.
Note
Use a proper frame size for low quality; otherwise it will have a seriously negative effect on the playback performance.

Here are some examples:

High/Actual Low Medium (if needed to be smaller)

720x480

240x240

720x240

720x576

240x288

720x288

1280x720

320x360

640x720

1920x1080

480x540 or 640x540

960x540 or 1920x520 or 1440x1080 or 1440x540

Horizontal size can be 1, 3/4, 1/2, 1/3, 1/4 or 1/8 of the actual frame size.

Vertical size can be 1 or 1/2 of the actual frame size.

Note
Vertical scaling is done by removing one field. Therefore, all Y/2 formats must be progressive.
/DISPSIZE:<width>,<height>

This parameter defines the physical frame size in pixels.

  /DISPSIZE:1280,720

  /FRAMESIZE:320,360
Note
Setting the /DISPSIZE parameter to match the actual frame size of the original video is highly recommended.
/ASPECTRATIO:<aspect ratio>

This parameter defines the aspect ratio for the output stream.

This parameter makes sense only for the Standard Definition TV and the possible values are:

  /ASPECTRATIO:16:9

  /ASPECTRATIO:4:3
/PAL and /NTSC

These switches define the video system for the output stream.

/FIELD:<frame format>

This parameter defines the field order in each frame. The values are:

Frame Format

/FIELD:FRAME

Progressive frame

/FIELD:TOP

Top field first (PAL CCIR 601)

/FIELD:BOTTOM

Bottom field first (NTSC CCIR 601, DV)

/FIELD:TELECINE

Not used in Cinegy products

Caution
Wrong /FIELD settings cause severe flickering in the encoded video.

MPEG-2 Stream Parameters

This group of parameters controls the MPEG-2 encoding process.

/MPEG<1,2>

This parameter defines the layer of MPEG video. This parameter is mandatory.

/D10

To create the IMX profile, add /D10 switch and set up the bit rate (30, 40, 50 Mbps).

/PL:<profile level>

This parameter defines the MPEG-2 profile and level. Cinegy Cinecoder provides a full set of the MPEG-2 profiles and levels. The most frequently used profiles are:

MPEG-2 Profiles and Levels (most frequently used in Cinegy software)

MP@ML

Main Profile at Main Level

422@ML

422 Profile at Main Level

HP@HL

High Profile at High Level

MPEG-2 Profiles and Levels (additional supported profiles)

SP@ML

Simple Profile at Main Level

MP@LL

Main Profile at Low Level

MP@HL

Main Profile at High Level

MP@H14

Main Profile at High Level 1440

HP@ML

High Profile at Main Level

HP@H14

High Profile at High Level 1440

422@HL

422 Profile at High Level

ESC

Unlimited profile

/VBV:<buffer size>

This parameter sets up the VBV buffer size.

The Video Buffer Verifier (VBV) is a model hypothetical decoder buffer that will not overflow or underflow when fed a conforming MPEG bit stream. Thus, a part of the definition of a compliant stream is that it does not cause underflow or overflow of this model buffer.

The VBV verifies the outgoing MPEG stream’s rate at the virtual decoding device to prevent data overflow or underflow during the decoding process. A playback device that has a small VBV may fail playing back high quality streams if the buffer is too small.

VBV (recommended values)

/VBV:112

MP@ML, 422@ML

/VBV:576

HP@HL

Note
The VBV buffer size defines the encoding delay between the input frames and the encoded stream. Also the compression quality can be affected as a too small buffer cannot contain a decoded frame. For very low bit rate streams, the VBV buffer size should also be decreased.
Important
Refer to the MPEG-2 standard for more details.
/DC:<precision>

This parameter sets up the Intra DC precision of the compressed blocks and can possess the values in the range of 8 to 11 bits. The 10 – 11 values are allowed for High Levels only.

Normally, the value of 9 is suitable for all needs. Consider 10 or 11 for the high bit rate 4:2:2 encoding. Consider 8 for very low bit rates.

  • The MPEG-1 DC value is quantified to a precision of 8 bits.

  • MPEG-2 offers 9, 10, and 11-bit precision set to improve the picture quality. It is especially useful at high bit rates to reduce posterization. The Main and Simple Profiles are limited to 8, 9, or 10 bits of precision.

  • The High Profile, designed for the highest quality applications, permits all the values in the range (up to 11 bits).

/CHROMA:<color format>

This parameter defines the chroma format.

The possible values are:

Chroma

/CHROMA:420

Chroma is reduced horizontally and vertically by half of the luma resolution.
For normal encoding

/CHROMA:422

Chroma is reduced only horizontally by half of the luma resolution.
For archive quality at 15 mbs or higher

/CHROMA:444

Unlimited profile only

Bit Rate

This group of settings controls the bit rate of the MPEG stream. There are three main control modes:

Bit Rate

/CQ:<quantization coef>

Constant quality

/VBR:<min rate>,<max rate>

Variable bit rate

/CBR:<bit rate>

Constant bit rate

The preferred controlling method depends on your requirements.

Note
The maximum available bit rate depends on the MPEG profile set. Refer to the MPEG standard for details.

/CQ:<quantization coefficient>

This parameter defines the Quantization Coefficient for the CQ mode (and sets up the VBR mode). The smaller the quant coefficient, the better the quality. Please keep in mind that better quality also means that the file size will be bigger. The valid values for the parameter are:

0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 16,18, 20, 22, 24, 26, 28, 32, 36, 40, 44, 48, 52, and 56.

Any other value would be rounded to the nearest valid value.

This value is used for the CQ and the VBR modes. The following empiric table may help you start the tuning process for the VBR mode (for the SD resolution):

Average Bit Rate Q for 4:2:0 Q for 4:2:2

5 Megabit per second

2..2.5

-

8 Megabit per second

2

-

15 Megabit per second

1.5

1.5..2

25 Megabit per second

1.0

1

40 Megabit per second

-

1..0.5

/CBR:<bit rate>

This parameter defines the target bit rate in kilobits per second for the CBR mode (and sets up the CBR mode).

/CBR:4500

/VBR:<min bit rate>,<max bit rate>

This parameter defines the thresholds (minimum, maximum) of bit rate in kilobits per second for the VBR mode. Note, this mode requires 2 parameters in the specific order, for example:

/CQ:2.0
/VBR:100,4500

Do not forget to set up a reasonable upper limit for the VBR mode. Without the limitation, the bit rate can exceed 100 Megabit per second for 4:2:2 and Q=0.5. Usually, the recommended upper limit is 150-160% of the expected average bit rate.

Note
The resulting bit rate generally depends on the source material contents. Material that is noisy and/or with a large amount of movement and flashes will produce a significantly higher bit rate than the average material.

Motion Estimation

These parameters configure the modes of the interframe redundancy elimination (i.e. the similarities between the video frames to store only the differences between them) by means of the motion estimation.

/SEARCHFUNC:<search method>

The parameter selects the search method for the motion estimation:

Search Method

/SEARCHFUNC:FULL

Full search within area defined by the search window (/SWIN) – very slow, very ccurate

/SEARCHFUNC:CELL (or CELL4)

Search with spacing of 4 pixels – fast with medium accuracy. Used by default

/SEARCHFUNC:CELL2

Spacing of 2 pixels, relatively slow speed, good accuracy

/SEARCHFUNC:CELL8

Spacing of 8, very fast, but poor accuracy

Note
The CELL4 method is strongly recommended.
/INTSEARCH

This key enables the interlaced search. This allows you to search not in the frame, but separately in two fields. For progressive video, it is preferable to disable this parameter to increase the encoding speed.

/OPPFIELDS

This parameter "enhances" the /INTSEARCH key, allowing search in the semi-blocks of the opposite fields.

/HALFPEL

This key allows search with half-pixel precision.

/ADAPTWIN

This setting can decrease the amount of bits required for the motion description if the actual vectors are small enough compared to the search window (see /SWIN).

/PREDBLK

This key forces the use of the motion vector statistics (collected with the previous encoding) to find better vectors faster.

Note
This setting is strongly recommended for any type of encoding.
/RECALCPRED

This key allows additional search after the /PREDBLK procedure, if the found vector "is not good enough".

/SWIN:<width>,<height>

This parameter specifies the maximum search window size in pixels.

This parameter is relevant to the formats with P and B frames. The recommended value for SD is 64. Setting this to 32 can decrease the CPU load on a one-CPU machine, but will affect the quality of the compression.

/SSPC:<down sampling>,<zone increment>

This parameter specifies the level of down sampling for the search (1,2,4) and search zone increment for the upper level.

For example, when down-sampling is set to "2", it means that the search will be made on a 360x288 picture instead of 720x576 and the search window will also be halved.

The second argument is the up-sampling zone increment. When returning from the down-sample level to the upper one, the vector needs to be recalculated in the 2x2 up-sample area.

The parameter "zone increment" extends this area (when positive) to 4x4 (=1), 6x6 (=2), etc.

Zone Increment

-1

1x1

0

3x3

1

5x5, etc.

Some combinations are:

SSPC (Search Space)

/SSPC:2,-1

Recommended settings

/SSPC:1,1

No down-sampling

Group of Picture (GOP) Structure

These settings control the Group of Picture (GOP) structure of the video frames encoding.

/GOP:<GOP length>,<B frames>

This parameter specifies the GOP structure. The typical values are:

Group of Pictures (GOP)

/GOP:12,3

Standard (IBBPBBPBBPBBP)

/GOP:1,0/td>

I-frame only

/GOP:21,3

Recommended for Cinecoder

  • I-frames (Intra coded) comprise full information of the image. If your video material consists only of I-frames, the compression is minimal, but the video material can be easily edited (see IMX format). I-frames are the reference for the P- and B-frames encoding.

  • P-frames (Predicted) comprise reduced image information (better compression than Intra coded frames). These frames orient themselves to the previous I- or P-frame.

  • B-frames (Bidirectional) offer the highest compression. The information in B-frames results from the previous and consecutive I- or P-frame.

These three different types of frames are put together to form a GOP (Group of Pictures). GOPs are interleaved sequences of I-, P- and B-frames, for example IBBPBBPBBP… and the assembly of these frames influences the compression of the MPEG stream.

Note
The GOP length value should be divisible by the B-frame number. The value will be automatically adjusted unless the /CG parameter is set up.
/CG

Make all GOP closed (i.e. not containing any references to the frames from the previous GOP). This setting is recommended for the Cinegy software encoding, as it makes access to video faster.

If the GOP is open, the first B-frames will orientate themselves to the last P-frame of the previous GOP. If the GOP is closed, B- and P-frames orientate themselves to the I-frame at the beginning of the GOP. The decoder does not need to read the previous GOP and can start the decoding process straight away.

/DUP

Duplicate Sequence header with each GOP.

The Sequence header holds all the necessary information about the MPEG stream, such as resolution, frequency, bit rate, etc. The /DUP parameter tells the encoder to duplicate this information with every GOP to simplify access to the MPEG steam.

/PGS

Preserve the defined GOP structure even for the closed GOP. In this mode, the first B-frames of each GOP are encoded without any references to the last P-frame from the previous GOP and are actually the P-frames with the reference forward.

This mode is less compression efficient, so use it only in some very special cases.

/NOPAD

This flag disables padding in the case of the bit rate being too low (for example, with black frames).

/SCENE

Enable automatic scene detection. This setting can produce GOPs of different length.

Note
This flag is compatible with the /PGS parameter, but the result is not as effective as with I-frame creation for the new scene.

Picture Structure Parameters

This parameter defines the interlacing rules for the frame encoding.

/PICTSTRUCT:FRAME

Each frame is coded as full frame.

/PICTSTRUCT:FIELD

Each frame is coded as a pair of fields.

Important
See also the /FIELD parameter description in the Video Settings paragraph above. These two parameters work together.
/PICTSTRUCT:HYBRID

I-frames are coded as a pair of fields; the other frames are coded as full frames.

/PICTSTRUCT:ADAPTIVE

This picture structure depends on the frame contents, selected automatically.

Note
Although the adaptive MPEG file format may not be supported by some decoders, it is completely MPEG-2 compliant and provides the best quality. This is recommended as the standard in Cinegy software.

Advanced Parameters

/CLEARDEF

This parameter resets all the default optimization settings. Enabling the /CLEARDEF flag ensures that any setting will be disabled if the corresponding parameter is not present.

/E_DCT

This key enables the automatic detection of the DCT encoding type for every macro block (interlaced or progressive). Without the key, all the blocks will be encoded as progressive.

/E_SCAN

This parameter enables automatic detection of the coefficient scan pattern (Zigzag or Alternate) for the blocks.

Important
Refer to the MPEG-2 standard for more details.
/CTM:<number>,<number>,<number>

This parameter defines standards for the chroma representation on the display devices:

  • color_primaries;

  • transfer_characteristics;

  • matrix_coefficients.

Important
Refer to the ISO/IEC 13818-2 standard (Second Edition), section 6.3.6 for the list of values and their detailed explanation.
/BLUR:<value>

This parameter enables the blur filter (in percent) to the source video. The typical values are:

Blur

/BLUR:0

No blur

/BLUR:1

Maximum blur

/BLUR:10

A little blur

/BLUR:100

Barely visible

/BLUR:[negative value]

Automatic, 1-100%

Note
/BLUR:[negative value] – a negative value tells MPEG Encoder to apply the blurring filter depending on the bit rate and frame size (heuristic).

MPEG Export Parameters

These parameters are used for MPEG export, which exploits a full set of MPEG format features.

Stream Multiplexer

These parameters set up the stream multiplexer type for the output stream:

Stream Multiplexer

/VCD

Video CD

/XVCD

Extended Video CD

/SVCD

Super Video CD

/XSVCD

Extended Super Video CD

/DVD

Digital Versatile Disc

/MPEG2

Generic MPEG-2

/MPEG1

Generic MPEG-1

Stream Parameters

These parameters control additional properties of the MPEG stream.

/TRANSP

This key enables the transport stream multiplexer. This works with the /MPEG2 flag only.

/ALIGN_ALL

This flag forces all the frames to align into packets.

/NOVIDEO

This flag forces audio-only MPEG output.

Audio Parameters

/NOAUDIO

This flag forces video-only MPEG output.

/ALAY:<audio level>

This parameter specifies the audio layer. The valid values are:

Audio Layer

/ALAY:1

Level 1

/ALAY:2

Level 2

/ALAY:LPCM

Linear Pulse Code Modulation

/AMODE:<audio mode>

This parameter specifies the audio mode. The valid values are:

Audio Mode

/AMODE:0

Standard Stereo

/AMODE:1

Joint Stereo
The high and middle frequency range will be turned into a stereo signal and the bottom frequency range is mono. This setting should only be used with a low audio bit rate.

/AMODE:2

Dual Channel – two independent channels

/AMODE:3

Mono

/AMODE:<number>

Number of channels in LPCM mode

/AB:<audio bit rate>

This parameter specifies the audio bit rate in Kbit/s.

Audio Bit Rate (in Kbit/s)

/AB:384

Layer1 = 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448
Layer2 = 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384

/AFREQ:<audio frequency>

This parameter specifies the audio frequency in Hz. Depending on the target format, the set of frequencies may be limited. The following frequencies are used in MPEG:

Audio Frequency (Hz)

/AFREQ:32000

MPEG-1 Layer 1, 2

/AFREQ:44100

MPEG-1 Layer 1, 2; VCD; SVCD

/AFREQ:48000

MPEG-1 Layer 1, 2; LPCM; DVD

/AFREQ:96000

LPCM

Caution
The audio frequency in MPEG Export Profiles must be 48 kHz.

MPEG Imprint

Add a logo to protect MPEG streams (typically low or medium quality) from unwanted usage. To enable this feature, add a new line to the profile:

;LOGOIMAGE=<file URL>;X=<pixels from left>;Y=<pixels from BOTTOM>;

For example:

;LOGOIMAGE=\\FILE-SERVER\Cinegy Graphics\logo_VLB.tga;X=10;Y=10;
Note
All graphic formats can be used if they are supported by Cinegy software. Alpha channel is also supported.
Note
It is recommended to store the logo on a secure server, e.g. Cinegy Archive file server. The location of the logo file must be available for all the Cinegy Ingest stations.

Cinegy Cinecoder MP4 Profiles

The MP4 export plug-in uses the H.264 export profiles that are configured in Cinegy Enterprise Manager. The following is a sample profile for the MP4 export PAL 4:3 352x288 180 kbps:

<schema name="PAL_4_3_352x288@180" TimeBase="90000">
  <profile name="AAC_LC_44100x2_96">
    <Profile             value="LC"   />
    <SampleRate          value="44100"/>
    <NumChannels         value="2"    />
    <BitRate             value="96000"/>
  </profile>
  <object name="VideoEncoder" type="H.264VideoEncoder">
    <profile>
      <Profile           value="baseline"/>
      <Level             value="30"/>
      <RateMode          value="VBR"/>
      <BitRate           value="800000"/>
      <AvgBitRate        value="180000"/>
      <MinBitRate        value="100000"/>
      <FrameRate         num="25" denom="1"/>
      <FrameSize         cx="352" cy="288"/>
      <AspectRatio       num="4" denom="3"/>
      <IDR_Period        value="1"/>
      <GOP               N="12" M="3"/>
      <ChromaFormat      value="1"/>
      <InterlaceType     value="1"/>
      <PictureStructure  value="0"/>
      <MB_Struct         value="0"/>
      <EntropyCodingMode value="cavlc"/>
    </profile>
  </object>
  <object name="AudioEncoder" type="AAC_AudioEncoder" profile="AAC_LC_44100x2_96">
  </object>
  <object name="Multiplexer" type="MP4_Multiplexer">
    <input>
      <pin object="VideoEncoder"/>
      <pin object="AudioEncoder"/>
    </input>
  </object>
</schema>
Important
Refer to the TV Formats, Profiles article in the Cinegy Enterprise Manager Manual for more information on how to add a profile.

Schema

This tag defines the new settings schema for Cinegy Cinecoder. The schema may contain several profile definitions and object definitions.

Attributes:

name – defines the schema name;

TimeBase – defines the base (Hz) for the temporary data belonging to the given schema (PTS, DTS).

Children:

Profile – defines the named group of settings;

object – defines the named object instance.

Profile

This tag defines the named group of settings. This allows you to create a specific profile that can be used in several objects inside the schema.

Attributes:

name – defines the unique profile name.

Children:

<ANY> – any named parameter may be included into the profile.

Object

This tag defines the named object instance. This allows you to create several named object instances and connect them in a chain.

Attributes:

name – defines the unique object name;

type – defines the object instance type, e.g.:

  • H264VideoEncoder

  • AAC_AudioEncoder

  • MP4_Multiplexer

  • MpegVideoEncoder

  • MpegAudioEncoder

  • Aes3AudioEncoder

Note
The list of the supported object instance types will be extended.

profiles – defines the named profile instance from the current schema.

Children:

profile – defines the internal profile instance for the current object;

<CUSTOM> – a list of possible tags depends on the object type.

Audio Profiles

The audio profiles include the following parameters:

Profile

The following values are supported:

Audio Profile

main (or 1)

Main Profile – like the LC profile, with the addition of backwards prediction

LC (or 2)

Low Complexity – the simplest and most widely used and supported

SSR (or 3)

Scalable Sample Rate (MPEG-4 AAC-SSR) a.k.a Sample-Rate Scalable (SRS)

LTP (or 4)

Long Term Prediction – an improvement of the MAIN profile using a forward predictor with lower computational complexity

SBR (or 5)

Spectral Band Replication – a technology to enhance audio or speech codecs, especially at low bit rates; can be combined with any audio compression codec

SampleRate

This parameter specifies the audio frequency in Hz. The typical values are: 96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000, 7350.

Note
Depending on the target format, the set of frequencies may be limited.
NumChannels

This parameter specifies the number of audio channels. You can define 1, 2, 3, 4, 5, 6 or 8 audio channels.

BitRate

This parameter specifies the audio bit rate in bit/s (from 1000 to 320000). It is recommended to set the BitRate parameter multiple of 16.

Video Profiles

Note
Setting the profile and level values is optional since Cinegy Cinecoder may provide their calculation based on other settings.

Video profiles include a number of parameters described below.

Profile

The following values are supported:

Video Profile

unknown (or 0)

Unspecified profile

baseline (or 66)

Baseline profile – the primary profile for lower-cost applications with limited computing resources; this profile is widely used in videoconferencing and mobile applications

main (or 77)

Main profile – the mainstream consumer profile for broadcast and storage applications

extended (or 88)

Extended profile – the streaming video profile; this profile has relatively high compression capability and some extra tricks for robustness to data losses and server stream switching

high (or 100)

High profile – the primary profile for broadcast and disc storage applications, particularly for high-definition television applications

high10 (or 110)

High 10 profile – the up-to-date profile supporting up to 10 bits per sample of decoded picture precision

high422 (or 122)

High 4:2:2 profile – the primary profile for professional applications that use interlaced video, supporting the 4:2:2 chroma subsampling format while using up to 10 bits per sample of decoded picture precision

high444 (or 144)

High 4:4:4 profile – profile supporting up to 4:4:4 chroma sampling, up to 12 bits per sample, and additionally supporting efficient lossless region coding and the coding of each picture as three separate color planes

Level

This parameter defines the profile level. The following table displays all the available levels and describes the supported maximum macroblock and video bit rate parameters:

Value Level number Max macro-blocks per second Max frame size (macro-blocks) Max video bit rate (VCL) for Baseline, Extended and Main Profiles Max video bit rate (VCL) for High Profile Max video bit rate (VCL) for High 10 Profile Max video bit rate (VCL) for High 4:2:2 and High 4:4:4 Predictive Profiles Examples for high resolution @ frame rate (max stored frames) in Level

10

1

1485

99

64 kbit/s

80 kbit/s

192 kbit/s

256 kbit/s

128x96@30.9 (8)
176x144@15.0 (4)

11

1.1

3000

396

192 kbit/s

240 kbit/s

576 kbit/s

768 kbit/s

176x144@30.3 (9)
320x240@10.0 (3)
352x288@7.5 (2)

12

1.2

6000

396

384 kbit/s

480 kbit/s

1152 kbit/s

1536 kbit/s

320x240@20.0 (7)
352x288@15.2 (6)

13

1.3

11880

396

768 kbit/s

960 kbit/s

2304 kbit/s

3072 kbit/s

320x240@36.0 (7)
352x288@30.0 (6)

20

2

11880

396

2 Mbit/s

2.5 Mbit/s

6 Mbit/s

8 Mbit/s

320x240@36.0 (7)
352x288@30.0 (6)

21

2.1

19800

792

4 Mbit/s

5 Mbit/s

12 Mbit/s

16 Mbit/s

352x480@30.0 (7)
352x576@25.0 (6)

22

2.2

20250

1620

4 Mbit/s

5 Mbit/s

12 Mbit/s

16 Mbit/s

352x480@30.7 (10)
352x576@25.6 (7)
720x480@15.0 (6)
720x576@12.5 (5)

30

3

40500

1620

10 Mbit/s

12.5 Mbit/s

30 Mbit/s

40 Mbit/s

352x480@61.4 (12)
352x576@51.1 (10)
720x480@30.0 (6)
720x576@25.0 (5)

31

3.1

108000

3600

14 Mbit/s

17.5 Mbit/s

42 Mbit/s

56 Mbit/s

720x480@80.0 (13)
720x576@66.7 (11)
1280x720@30.0 (5)

32

3.2

216000

5120

20 Mbit/s

25 Mbit/s

60 Mbit/s

80 Mbit/s

1280x720@60.0 (5)
1280x1024@42.2 (4)

40

4

245760

8192

20 Mbit/s

25 Mbit/s

60 Mbit/s

80 Mbit/s

1280x720@68.3 (9)
1920x1080@30.1 (4)
2048x1024@30.0 (4)

41

4.1

245760

8192

50 Mbit/s

62.5 Mbit/s

150 Mbit/s

200 Mbit/s

1280x720@68.3 (9)
1920x1080@30.1 (4)
2048x1024@30.0 (4)

42

4.2

522240

8704

50 Mbit/s

62.5 Mbit/s

150 Mbit/s

200 Mbit/s

1920x1080@64.0 (4)
2048x1080@60.0 (4)

50

5

589824

22080

135 Mbit/s

168.75 Mbit/s

405 Mbit/s

540 Mbit/s

1920x1080@72.3 (13)
2048x1024@72.0 (13)
2048x1080@67.8 (12)
2560x1920@30.7 (5)
3680x1536@26.7 (5)

51

5.1

983040

36864

240 Mbit/s

300 Mbit/s

720 Mbit/s

960 Mbit/s

1920x1080@120.5 (16)
4096x2048@30.0 (5)
4096x2304@26.7 (5)

RateMode

This parameter defines the bit rate mode of the video stream. The values are:

Rate Mode

0

Unspecified bit rate

1

Constant bit rate (CBR) – in this case, the BitRate parameter defines the constant bit rate of the video stream

2

Variable bit rate (VBR) – in this case, the BitRate parameter defines the maximum available bit rate of the video stream

BitRate

This parameter defines the available bit rate of the video stream. The meaning depends on the RateMode parameter value.

Note
The available bit rate value depends on the video profile set. For details refer to the table above in the Level paragraph describing the supported maximum macroblock and video bit rate parameters.
AvgBitRate

This parameter defines the average bit rate of the stream. The value should be between the maximum and minimum bit rates.

MinBitRate

This parameter defines the minimum bit rate of the video stream.

FrameRate

This parameter defines the frame rate in ratio num/denom. The following frame rate values are supported:

Frame Rate

num="24000" denom ="1001"

23.976 fps

num="24" denom ="1"

24 fps

num="25" denom ="1"

25 fps

num="30000" denom ="1001"

29.97 fps

num="30" denom ="1"

30 fps

num="50" denom ="1"

50 fps

num="60000" denom ="1001"

59.94 fps

num="60" denom ="1"

60 fps

FrameSize

This parameter defines the frame size in pixels horizontally (cx) and vertically (cy). The frame size can be smaller than the actual video size, for example, in the case of very low bit rate streams. The typical settings are:

Frame Size

cx="720" cy="576"

PAL CCIR 601

cx="720" cy="480"

NTSC CCIR 601

cx="240" cy="288"

Very low bit rate

cx="1280" cy="720"

HD 720

Note
The FrameSize parameter should be multiple of 16 in order to use the bit rate more effectively.
Important
Refer to the /FRAMESIZE:<width>,<height> description above for more information.
AspectRatio

This parameter defines the aspect ratio as num:denom (for example, 4:3 or 16:9).

IDR_Period

This parameter defines the Instantaneous Decoding Refresh (IDR) period for a video.

GOP

This parameter specifies the Group of Picture (GOP) structure, where:

N – defines the GOP length (from 1 to 255);

M – defines the distance between two anchor frames: I or P (from 0 to 127).

The typical values are:

Group of Picture (GOP)

N="12" M="3"

Standard (IBBPBBPBBPBBP)

N="21" M="3"

Recommended for Cinegy Cinecoder

Note
The GOP length value should be divisible by the B frame number.
Important
Refer to the Group of Picture (GOP) Structure paragraph above for more information on the GOP configuration.
InterlaceType

This parameter defines the field order in each frame. The values are:

Interlace Type

none (or 0)

Progressive frame

top (or 1)

Top field first (PAL CCIR 601)

bottom (or 2)

Bottom field first (NTSC CCIR 601, DV)

telecine (or 23)

Not used in Cinegy products

Caution
Wrong InterlaceType settings cause severe flickering in the encoded video.
PictureStructure

This parameter defines the frame-coding rule.

Picture Structure

frame (or 0)

Each frame is coded as full frame

field (or 1)

Each frame is coded as a pair of fields

paff (or 2)

I-frames are coded as a pair of fields; the other frames are coded as full frames

MB_Struct

This parameter defines the macroblock-coding rule.

Macroblock Structure

mbaff (or 0)

Macroblock-adaptive frame-field (MBAFF) coding, using a macroblock pair structure for pictures coded as frames

progressive (or 1)

Progressive macroblock coding

interlaced (or 2)

Interlaced macroblock coding

Entropy Coding Mode

This parameter defines the entropy coding algorithm.

Entropy Coding Mode

cavlc (or 0)

CAVLC (Context-adaptive variable-length coding) mode

cabac0 (or 1)

CABAC_0 (Context-adaptive binary arithmetic coding) mode

cabac1 (or 2)

CABAC_1 mode

cabac2 (or 3)

CABAC_2 mode