AVBlocks for .NET  1.13
Audio and Video Software Development Kit
Preset Class Reference

Defines output presets supported by AVBlocks. More...

Classes

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

Public Attributes

const string 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 More...
 
const string 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 More...
 
const string 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 More...
 
const string DVD_NTSC_4x3_MP2 = "dvd.ntsc.4x3.mp2"
 
const string DVD_NTSC_16x9_PCM = "dvd.ntsc.16x9.pcm"
 
const string 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 More...
 
const string AAC = "aac"
 AAC stream in ADTS format, stereo, 128 kbps More...
 
const string AppleTV_H264_480p = "appletv.h264.480p"
 
const string 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. More...
 
const string AppleTV_H264_720p = "appletv.h264.720p"
 
const string WAV_AudioCD = "wav.audiocd"
 
const string MP4_H264_AAC = "mp4.h264.aac"
 
const string MP4_FAST_H264_AAC = "mp4.fast.h264.aac"
 Video: H.264
Audio: AAC
Container: MP4
Does not enforce specific audio and video properties. More...
 
const string iPad_H264_576p = "ipad.mp4.h264.576p"
 
const string iPad_H264_720p = "ipad.mp4.h264.720p"
 
const string 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. More...
 
const string 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. More...
 
const string AppleLiveStreaming_H264_720p = "apple.ts.h264.720p"
 
const string 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. More...
 
const string 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. More...
 
const string 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. More...
 
const string 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. More...
 
const string M4A_128kbps = "mp4.aac.44100hz.128kbps"
 
const string M4A_256kbps = "mp4.aac.44100hz.256kbps"
 
const string MP2_DVD = "mp2.dvd"
 MPEG-1 Layer 2 audio, 48000Hz (suitable for DVD) More...
 
const string MP3_128kbps = "mp3.44100hz.128kbps"
 
const string MP3_256kbps = "mp3.44100hz.256kbps"
 
const string VCD_PAL = "vcd.pal"
 
const string VCD_NTSC = "vcd.ntsc"
 
const string WebM_VP8_Vorbis = "webm.vp8.vorbis"
 
const string AndroidPhone_H264_360p = "android-phone.mp4.h264.360p"
 
const string AndroidPhone_H264_720p = "android-phone.mp4.h264.720p"
 
const string AndroidTablet_H264_720p = "android-tablet.mp4.h264.720p"
 
const string AndroidTablet_WebM_VP8_720p = "android-tablet.webm.vp8.720p"
 
const string WMA_Standard_CBR_128kbps = "wma.cbr.128kbps"
 Audio: Windows Media Audio Standard, CBR, 44100 Hz, stereo, 128 kbps
Container: ASF
More...
 
const string 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. More...
 
const string WMA_Professional_Q90 = "wma.pro.q90"
 
const string WMA_Lossless = "wma.lossless"
 
const string OggVorbis_Q4 = "ogg.vorbis.q4"
 
const string OggVorbis_Q8 = "ogg.vorbis.q8"
 
const string 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) More...
 
const string 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) More...
 
const string 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) More...
 
const string 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) More...
 
const string 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) More...
 
const string 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) More...
 
const string 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) More...
 
const string 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) More...
 
const string 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) More...
 
const string 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) More...
 
const string 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) More...
 
const string 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) More...
 

Detailed Description

Defines output presets supported by AVBlocks.

Each 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.FromPreset

Member Data Documentation

const string AAC = "aac"

AAC stream in ADTS format, stereo, 128 kbps

const string 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

const string 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

const string 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

const string 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

const string 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.

const string 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.

const string 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.

const string 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.

const string 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.

const string 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)

const string 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)

const string 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)

const string 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)

const string 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)

const string 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)

const string 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)

const string 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)

>

const string 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)

const string 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)

const string 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)

const string 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)

const string 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

const string 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

const string 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

const string 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

const string 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

const string 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

const string 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.

const string 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.

const string 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.

const string 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.

const string 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.

const string 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.

const string 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.

const string M4A_128kbps = "mp4.aac.44100hz.128kbps"

AAC audio stream in MP4 format, 44100 Hz, stereo, 128 kbps Normal (standard) quality.

const string M4A_256kbps = "mp4.aac.44100hz.256kbps"

AAC audio stream in MP4 format, 44100 Hz, stereo, 256 kbps High quality.

const string MP2_DVD = "mp2.dvd"

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

const string MP3_128kbps = "mp3.44100hz.128kbps"

MPEG-1 Layer 3 audio, 44100Hz, stereo, 128 kbps

const string MP3_256kbps = "mp3.44100hz.256kbps"

MPEG-1 Layer 3 audio, 44100Hz, stereo, 256 kbps

const string MP4_FAST_H264_AAC = "mp4.fast.h264.aac"

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

Fastest H.264 encoding options.

const string MP4_H264_AAC = "mp4.h264.aac"

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

const string 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.

const string 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.

const string 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

const string 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

const string WAV_AudioCD = "wav.audiocd"

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

const string WebM_VP8_Vorbis = "webm.vp8.vorbis"

Video: VP8
Audio: Vorbis
Container: WebM
Does not enforce specific audio and video properties.

const string WMA_Lossless = "wma.lossless"

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

const string 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.

const string 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.

const string WMA_Standard_CBR_128kbps = "wma.cbr.128kbps"

Audio: Windows Media Audio Standard, CBR, 44100 Hz, stereo, 128 kbps
Container: ASF