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

Defines output presets supported by AVBlocks. More...

Namespaces

 Audio
 Describes output audio presets structured by codec and device type.
 
 Video
 Describes output video presets structured by codec and device type.
 

Variables

static const char DVD_PAL_4x3_MP2 [] = "dvd.pal.4x3.mp2"
 Video: MPEG-2, 25 fps, 720 x 576, aspect 4:3
Audio: MPEG-1 Layer 2, 48000 Hz, stereo.
 
static const char DVD_PAL_16x9_MP2 [] = "dvd.pal.16x9.mp2"
 Video: MPEG-2, 25 fps, 720 x 576, aspect 16:9
Audio: MPEG-1 Layer 2, 48000 Hz, stereo.
 
static const char DVD_NTSC_4x3_PCM [] = "dvd.ntsc.4x3.pcm"
 Video: MPEG-2, 29.97 fps, 720 x 480, aspect 4:3
Audio: PCM, 16-bit, 48000 Hz, stereo.
 
static const char DVD_NTSC_4x3_MP2 [] = "dvd.ntsc.4x3.mp2"
 Video: MPEG-2, 29.97 fps, 720 x 480, aspect 4:3
Audio: MPEG-1 Layer 2, 48000 Hz, stereo.
 
static const char DVD_NTSC_16x9_PCM [] = "dvd.ntsc.16x9.pcm"
 Video: MPEG-2, 29.97 fps, 720 x 480, aspect 16:9
Audio: PCM, 16-bit, 48000 Hz, stereo.
 
static const char DVD_NTSC_16x9_MP2 [] = "dvd.ntsc.16x9.mp2"
 Video: MPEG-2, 29.97 fps, 720 x 480, aspect 16:9
Audio: MPEG-1 Layer 2, 48000 Hz, stereo.
 
static const char AAC [] = "aac"
 AAC stream in ADTS format, stereo, 128 kbps.
 
static const char AppleTV_H264_480p [] = "appletv.h264.480p"
 Video: H.264, 24 fps, 640 x 480, 1500 kbps
Audio: AAC, 48000 Hz, stereo, 48 kbps
Container: MP4
Optimized for Apple TV, 1st generation.
 
static const char AppleTV_MPEG4_480p [] = "appletv.mpeg4.480p"
 Video: MPEG-4 Visual, 24 fps, 640 x 480, 2000 kbps
Audio: AAC, 48000 Hz, stereo, 48 kbps
Container: MP4
Optimized for Apple TV, 1st generation.
 
static const char AppleTV_H264_720p [] = "appletv.h264.720p"
 Video: H.264, 24 fps, 1280 x 720, 4000 kbps
Audio: AAC, 48000 Hz, stereo, 48 kbps
Container: MP4
Optimized for Apple TV, 2nd generation.
 
static const char WAV_AudioCD [] = "wav.audiocd"
 WAV with parameters as in Audio CD (PCM, 44100 Hz, 16-bit, stereo)
 
static const char MP4_H264_AAC [] = "mp4.h264.aac"
 Video: H.264
Audio: AAC
Container: MP4
Does not enforce specific audio and video properties.
 
static const char MP4_FAST_H264_AAC [] = "mp4.fast.h264.aac"
 Video: H.264
Audio: AAC
Container: MP4
Does not enforce specific audio and video properties. More...
 
static const char iPad_H264_576p [] = "ipad.mp4.h264.576p"
 Video: H.264, 30 fps, 768 x 576, 2500 kbps
Audio: AAC, 48000 Hz, stereo, 128 kbps
Container: MP4
SD quality, optimized for iPad.
 
static const char iPad_H264_720p [] = "ipad.mp4.h264.720p"
 Video: H.264, 30 fps, 1280 x 720, 4000 kbps
Audio: AAC, 48000 Hz, stereo, 128 kbps
Container: MP4
HD quality, optimized for iPad.
 
static const char iPad_MPEG4_480p [] = "ipad.mp4.mpeg4.480p"
 Video: MPEG-4 Visual, 30 fps, 640 x 480, 2500 kbps
Audio: AAC, 48000 Hz, 128 kbps, stereo
Container: MP4
Near SD quality, optimized for iPad.
 
static const char AppleLiveStreaming_H264_480p [] = "apple.ts.h264.480p"
 Video: H.264 Baseline Profile L3.1, 29.97 fps, 640 x 480, 1200 kbps
Audio: AAC, 48000 Hz, stereo, 96 kbps
Container: MPEG Transport Stream
Optimized for Apple Live Streaming.
 
static const char AppleLiveStreaming_H264_720p [] = "apple.ts.h264.720p"
 Video: H.264 Main Profile L3.1, 29.97 fps, 1280 x 720, 5000 kbps
Audio: AAC, 48000 Hz, stereo, 128 kbps
Container: MPEG Transport Stream
Optimized for Apple Live Streaming.
 
static const char iPhone_H264_480p [] = "iphone.mp4.h264.480p"
 Video: H.264, 25 fps, 640 x 480, 1000 kbps
Audio: AAC, 48000 Hz, stereo, 96 kbps
Container: MP4
Optimized for iPhone.
 
static const char iPhone_MPEG4_480p [] = "iphone.mp4.mpeg4.480p"
 Video: MPEG-4 Visual, 25 fps, 640 x 480, 2000 kbps
Audio: AAC, 48000 Hz, stereo, 96 kbps
Container: MP4
Optimized for iPhone.
 
static const char iPod_H264_240p [] = "ipod.mp4.h264.240p"
 Video: H.264 Baseline Profile, 25 fps, 320 x 240, 300 kbps
Audio: AAC, 48000 Hz, stereo, 64 kbps
Container: MP4
Optimized for iPod.
 
static const char iPod_MPEG4_240p [] = "ipod.mp4.mpeg4.240p"
 Video: MPEG-4 Visual, 25 fps, 320 x 240, 600 kbps
Audio: AAC, 48000 Hz, stereo, 64 kbps
Container: MP4
Optimized for iPod.
 
static const char M4A_128kbps [] = "mp4.aac.44100hz.128kbps"
 AAC audio stream in MP4 format, 44100 Hz, stereo, 128 kbps Normal (standard) quality.
 
static const char M4A_256kbps [] = "mp4.aac.44100hz.256kbps"
 AAC audio stream in MP4 format, 44100 Hz, stereo, 256 kbps High quality.
 
static const char MP2_DVD [] = "mp2.dvd"
 MPEG-1 Layer 2 audio, 48000Hz (suitable for DVD)
 
static const char MP3_128kbps [] = "mp3.44100hz.128kbps"
 MPEG-1 Layer 3 audio, 44100Hz, stereo, 128 kbps.
 
static const char MP3_256kbps [] = "mp3.44100hz.256kbps"
 MPEG-1 Layer 3 audio, 44100Hz, stereo, 256 kbps.
 
static const char VCD_PAL [] = "vcd.pal"
 Video: MPEG-1, 25fps, 352 x 288, 1100 kbps
Audio: MPEG-1 Layer 2, 44100Hz, stereo, 192 kbps
Container: MPEG Program Stream
VCD PAL.
 
static const char VCD_NTSC [] = "vcd.ntsc"
 Video: MPEG-1, 29.97 fps, 352 x 240, 1100 kbps
Audio: MPEG-1 Layer 2, 44100Hz, stereo, 192 kbps
Container: MPEG Program Stream
VCD NTSC.
 
static const char WebM_VP8_Vorbis [] = "webm.vp8.vorbis"
 Video: VP8
Audio: Vorbis
Container: WebM
Does not enforce specific audio and video properties.
 
static const char AndroidPhone_H264_360p [] = "android-phone.mp4.h264.360p"
 Video: H264 Baseline Profile, 30 fps, 480 x 360, 800 kbps
Audio: AAC, 48000 Hz, stereo, 128 kbps
Container: MP4.
 
static const char AndroidPhone_H264_720p [] = "android-phone.mp4.h264.720p"
 Video: H264 Baseline Profile, 30 fps, 1280 x 720, 2000 kbps
Audio: AAC, 48000 Hz, stereo, 128 kbps
Container: MP4.
 
static const char AndroidTablet_H264_720p [] = "android-tablet.mp4.h264.720p"
 Video: H264 Baseline Profile, 30 fps, 1280 x 720, 4000 kbps
Audio: AAC, 48000 Hz, stereo, 192 kbps
Container: MP4.
 
static const char AndroidTablet_WebM_VP8_720p [] = "android-tablet.webm.vp8.720p"
 Video: VP8, 30 fps, 1280 x 720, 4000 kbps
Audio: Vorbis, 48000 Hz, stereo, 192 kbps
Container: WebM.
 
static const char WMA_Standard_CBR_128kbps [] = "wma.cbr.128kbps"
 Audio: Windows Media Audio Standard, CBR, 44100 Hz, stereo, 128 kbps
Container: ASF

 
static const char WMA_Professional_Q75 [] = "wma.pro.q75"
 Audio: Windows Media Audio Professional, VBR, 44100 Hz, stereo, Quality 75 (0-100)
Container: ASF
Normal quality VBR with average bitrate close to 128 kbps.
 
static const char WMA_Professional_Q90 [] = "wma.pro.q90"
 Audio: Windows Media Audio Professional, VBR, 44100 Hz, stereo, Quality 90 (0-100)
Container: ASF
High quality VBR with average bitrate close to 192 kbps.
 
static const char WMA_Lossless [] = "wma.lossless"
 Audio: Windows Media Audio Lossless, 44100 Hz, stereo Container: ASF.
 
static const char OggVorbis_Q4 [] = "ogg.vorbis.q4"
 Audio: Vorbis, VBR, frequency not explicitly specified, quality 4 (from -1 to 10) Container: Ogg Normal quality VBR with average bitrate close to 128 kbps at 44100 Hz.
 
static const char OggVorbis_Q8 [] = "ogg.vorbis.q8"
 Audio: Vorbis, VBR, frequency not explicitly specified, quality 8 (from -1 to 10) Container: Ogg High quality VBR with average bitrate close to 256 kbps at 44100 Hz.
 
static const char BDAV_H264_1920x1080_5994i_PCM [] = "bdav-h264-1920x1080-59.94i-pcm"
 Video: H.264, 1980 x 1080, 59.94 fps interlaced, aspect ratio 16:9, 25000 kbps
Audio: LPCM, 48000 Hz, 16-bit
Container: BDAV MPEG2 Transport Stream (m2ts)
 
static const char BDAV_H264_1920x1080_50i_PCM [] = "bdav-h264-1920x1080-50i-pcm"
 Video: H.264, 1980 x 1080, 50 fps interlaced, aspect ratio 16:9, 25000 kbps
Audio: LPCM, 48000 Hz, 16-bit
Container: BDAV MPEG2 Transport Stream (m2ts)
 
static const char BDAV_H264_1920x1080_24p_PCM [] = "bdav-h264-1920x1080-24p-pcm"
 Video: H.264, 1980 x 1080, 24 fps progressive, aspect ratio 16:9, 25000 kbps
Audio: LPCM, 48000 Hz, 16-bit
Container: BDAV MPEG2 Transport Stream (m2ts)
 
static const char BDAV_H264_1920x1080_2398p_PCM [] = "bdav-h264-1920x1080-23.976p-pcm"
 Video: H.264, 1980 x 1080, 23.976 fps progressive, aspect ratio 16:9, 25000 kbps
Audio: LPCM, 48000 Hz, 16-bit
Container: BDAV MPEG2 Transport Stream (m2ts)
 
static const char BDAV_H264_1440x1080_5994i_PCM [] = "bdav-h264-1440x1080-59.94i-pcm"
 Video: H.264, 1440 x 1080, 59.94 fps interlaced, aspect ratio 16:9, 25000 kbps
Audio: LPCM, 48000 Hz, 16-bit
Container: BDAV MPEG2 Transport Stream (m2ts)
 
static const char BDAV_H264_1440x1080_50i_PCM [] = "bdav-h264-1440x1080-50i-pcm"
 Video: H.264, 1440 x 1080, 50 fps interlaced, aspect ratio 16:9, 25000 kbps
Audio: LPCM, 48000 Hz, 16-bit
Container: BDAV MPEG2 Transport Stream (m2ts)
 
static const char BDAV_H264_1440x1080_24p_PCM [] = "bdav-h264-1440x1080-24p-pcm"
 Video: H.264, 1440 x 1080, 24 fps progressive, aspect ratio 16:9, 25000 kbps
Audio: LPCM, 48000 Hz, 16-bit
Container: BDAV MPEG2 Transport Stream (m2ts)
 
static const char BDAV_H264_1440x1080_2398p_PCM [] = "bdav-h264-1440x1080-23.976p-pcm"
 Video: H.264, 1440 x 1080, 23.976 fps progressive, aspect ratio 16:9, 25000 kbps
Audio: LPCM, 48000 Hz, 16-bit
Container: BDAV MPEG2 Transport Stream (m2ts)
 
static const char BDAV_H264_1280x720_5994p_PCM [] = "bdav-h264-1280x720-59.94p-pcm"
 Video: H.264, 1280 x 720, 59.94 fps progressive, aspect ratio 16:9, 15000 kbps
Audio: LPCM, 48000 Hz, 16-bit
Container: BDAV MPEG2 Transport Stream (m2ts)
 
static const char BDAV_H264_1280x720_50p_PCM [] = "bdav-h264-1280x720-50p-pcm"
 Video: H.264, 1280 x 720, 50 fps progressive, aspect ratio 16:9, 15000 kbps
Audio: LPCM, 48000 Hz, 16-bit
Container: BDAV MPEG2 Transport Stream (m2ts)
 
static const char BDAV_H264_1280x720_24p_PCM [] = "bdav-h264-1280x720-24p-pcm"
 Video: H.264, 1280 x 720, 24 fps progressive, aspect ratio 16:9, 15000 kbps
Audio: LPCM, 48000 Hz, 16-bit
Container: BDAV MPEG2 Transport Stream (m2ts)
 
static const char BDAV_H264_1280x720_2398p_PCM [] = "bdav-h264-1280x720-23.976p-pcm"
 Video: H.264, 1280 x 720, 23.976 fps progressive, aspect ratio 16:9, 15000 kbps
Audio: LPCM, 48000 Hz, 16-bit
Container: BDAV MPEG2 Transport Stream (m2ts)
 

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
Library::createMediaSocket (const char* preset)

Variable Documentation

const char MP4_FAST_H264_AAC[] = "mp4.fast.h264.aac"
static

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

Fastest H.264 encoding options.