AVBlocks for C++  1.9
Audio and Video Software Development Kit
primo::avblocks::Preset Namespace Reference

Defines output presets supported by AVBlocks. More...

Enumerations

enum  Enum {
  None = 0,
  DVD_PAL_MP2 = 1,
  DVD_PAL_WIDE_MP2 = 2,
  DVD_NTSC_PCM = 3,
  DVD_NTSC_MP2 = 4,
  DVD_NTSC_WIDE_PCM = 5,
  DVD_NTSC_WIDE_MP2 = 6,
  AAC = 7,
  AppleTv_H264 = 8,
  AppleTv_MPEG4 = 9,
  AudioCD = 10,
  MP4_H264 = 11,
  iPad_H264 = 12,
  iPad_H264_HD = 13,
  iPad_MPEG4 = 14,
  Apple_LiveStreaming = 15,
  iPhone_H264 = 16,
  iPhone_MPEG4 = 17,
  iPod_H264 = 18,
  iPod_MPEG4 = 19,
  M4A = 20,
  MP2_DVD = 21,
  MP3 = 22,
  MPEG1 = 23,
  WebM = 24,
  Android_Phone_H264 = 25,
  Android_Tablet_H264 = 26,
  Android_Tablet_H264_HD = 27,
  WMA_Standard = 28,
  WMA_Professioal = 29,
  WMA_Lossless = 30,
  OggVorbis = 31
}
 Output presets supported by AVBlocks. More...

Detailed Description

Defines output presets supported by AVBlocks.

Each AVBlocks preset represents a collection of audio and video properties and parameters. It can be used as an easy way to specify the required output of the transcoder.

See also:
MediaSocket::createFromPreset

Enumeration Type Documentation

enum Enum

Output presets supported by AVBlocks.

Enumerator:
None 

No preset is specified.

DVD_PAL_MP2 

Video: MPEG-2, 25 fps, 720 x 576, aspect 4:3
Audio: MPEG-1 Layer 2, 48000 Hz, stereo.

The Quality setting is not supported.

DVD_PAL_WIDE_MP2 

Video: MPEG-2, 25 fps, 720 x 576, aspect 16:9
Audio: MPEG-1 Layer 2, 48000 Hz, stereo.

The Quality setting is not supported.

DVD_NTSC_PCM 

Video: MPEG-2, 29.97 fps, 720 x 480, aspect 4:3
Audio: PCM, 16-bit, 48000 Hz, stereo.

The Quality setting is not supported.

DVD_NTSC_MP2 

Video: MPEG-2, 29.97 fps, 720 x 480, aspect 4:3
Audio: MPEG-1 Layer 2, 48000 Hz, stereo.

The Quality setting is not supported.

DVD_NTSC_WIDE_PCM 

Video: MPEG-2, 29.97 fps, 720 x 480, aspect 16:9
Audio: PCM, 16-bit, 48000 Hz, stereo.

The Quality setting is not supported.

DVD_NTSC_WIDE_MP2 

Video: MPEG-2, 29.97 fps, 720 x 480, aspect 16:9
Audio: MPEG-1 Layer 2, 48000 Hz, stereo.

The Quality setting is not supported.

AAC 

AAC stream in ADTS format.

Quality settings:

Low 64 kbps
Normal 96 kbps
High 128 kbps


AppleTv_H264 

Video: H.264, 24 fps
Audio: AAC, 48000 Hz, 48 kbps
Container: MP4
Optimized for Apple TV.

Quality settings:

Low Video: 320 x 240, 550 kbps
Normal Video: 640 x 480, 1500 kbps
High Video: 1280 x 720, 4000 kbps


AppleTv_MPEG4 

Video: MPEG-4 Visual
Audio: AAC, 24000 Hz, 64 kbps
Container: MP4
Optimized for Apple TV.

Quality settings:

Low Video: 24 fps, 320 x 240, 700 kbps
Normal Video: 24 fps, 640 x 480, 2000 kbps
High Video: 25 fps, 720 x 432, 2800 kbps


AudioCD 

WAV with parameters as in Audio CD (PCM, 44100 Hz, 16-bit, stereo)

The Quality setting is not supported.

MP4_H264 

Video: H.264
Audio: AAC
Container: MP4
Does not enforce specific audio and video properties.

The Quality setting is not supported.

iPad_H264 

Video: H.264, 30 fps, 768 x 576
Audio: AAC, 48000 Hz, 128 kbps, stereo
Container: MP4
SD quality, optimized for iPad.

Quality settings:

Low Video: 1500 kbps
Normal Video: 2500 kbps
High Video: 4000 kbps


iPad_H264_HD 

Video: H.264, 30 fps, 1280 x 720, 2500 kbps
Audio: AAC, 48000 Hz, 128 kbps, stereo
Container: MP4
HD quality, optimized for iPad.

The Quality setting is not supported.

iPad_MPEG4 

Video: MPEG-4 Visual, 30 fps
Audio: AAC, 48000 Hz, 128 kbps, stereo
Container: MP4
Near SD quality, optimized for iPad.

Quality settings:

Low Video: 320 x 240, 1000 kbps
Normal Video: 640 x 480, 2000 kbps
High Video: 640 x 480, 2500 kbps


Apple_LiveStreaming 

Video: H.264 Baseline Profile, 29.97 fps, 400 x 300, 400 kbps
Audio: AAC, 22050 Hz, 400 kbps, stereo
Container: MPEG Transport Stream.

The Quality setting is not supported.

iPhone_H264 

Video: H.264, 25 fps
Audio: AAC, 48000 Hz, 64 kbps, stereo
Container: MP4
Optimized for iPhone.

Quality settings:

Low Video: 480 x 320, 350 kbps
Normal Video: 480 x 320, 768 kbps
High Video: 640 x 480, 1000 kbps


iPhone_MPEG4 

Video: MPEG-4 Visual, 25 fps
Audio: AAC, 48000 Hz, 64 kbps, stereo
Container: MP4
Optimized for iPhone.

Quality settings:

Low Video: 320 x 240, 600 kbps
Normal Video: 480 x 320, 1200 kbps
High Video: 640 x 480, 2000 kbps


iPod_H264 

Video: H.264 Baseline Profile, 25 fps, 320 x 240
Audio: AAC, 48000 Hz, 64 kbps, stereo
Container: MP4
Optimized for iPod.

Quality settings:

Low Video: 300 kbps
Normal Video: 440 kbps
High Video: 650 kbps


iPod_MPEG4 

Video: MPEG-4 Visual, 25 fps, 320 x 240
Audio: AAC, 48000 Hz, 64 kbps, stereo
Container: MP4
Optimized for iPod.

Quality settings:

Low Video: 300 kbps
Normal Video: 440 kbps
High Video: 600 kbps


M4A 

AAC audio stream in MP4 format, 44100 Hz.

Quality settings:

Low 64 kbps
Normal 96 kbps
High 128 kbps


MP2_DVD 

MPEG-1 Layer 2 audio, 48000Hz (suitable for DVD)

The Quality setting is not supported.

MP3 

MPEG-1 Layer 3 audio, 44100Hz.

Quality settings:

Low 64 kbps
Normal 128 kbps
High 256 kbps


MPEG1 

Video: MPEG-1, 320 x 240
Audio: MPEG-1 Layer 2
Container: MPEG Program Stream.

The Quality setting is not supported.

WebM 

Video: VP8
Audio: Vorbis
Container: WebM.

The Quality setting is not supported.

Android_Phone_H264 

Video: H264 Baseline Profile, 25 fps
Audio: AAC, 48000 Hz, setero
Container: MP4.

Quality settings:

Low Video: 320 x 240, 300 kbps; Audio: 64 kbps
Normal Video: 480 x 360, 750 kbps; Audio: 128 kbps
High Video: 640 x 480, 1000 kbps; Audio: 192 kbps


Android_Tablet_H264 

Video: H264 Baseline Profile, 25 fps
Audio: AAC, 48000 Hz, setero
Container: MP4.

Quality settings:

Low Video: 640 x 480, 1500 kbps; Audio: 128 kbps
Normal Video: 768 x 576, 2500 kbps; Audio: 128 kbps
High Video: 1024 x 768, 3500 kbps; Audio: 192 kbps


Android_Tablet_H264_HD 

Video: H.264, 25 fps, 1280 x 720
Audio: AAC, 48000 Hz, 192 kbps, stereo
Container: MP4.

The Quality setting is not supported.

WMA_Standard 

Audio: Windows Media Audio Standard, CBR, 44100 Hz Container: ASF.

Quality settings:

Low 64 kbps
Normal 96 kbps
High 128 kbps


WMA_Professioal 

Audio: Windows Media Audio Professional, VBR, 44100 Hz Container: ASF.

Quality settings (WMA specific parameter):

Low 50
Normal 75
High 90


WMA_Lossless 

Audio: Windows Media Audio Lossless, 44100 Hz Container: ASF.

The Quality setting is not supported.

OggVorbis 

Audio: Vorbis, VBR, frequency not explicitly specified.

Container: Ogg

Quality settings (Vorbis specific parameter):

Low 0.2
Normal 0.4
High 0.8


 All Classes Namespaces Files Functions Variables Enumerations Enumerator