16ac391b3SStephan Aßmus /* 26ac391b3SStephan Aßmus * Copyright 2009 Stephan Aßmus <superstippi@gmx.de> 36ac391b3SStephan Aßmus * All rights reserved. Distributed under the terms of the MIT license. 46ac391b3SStephan Aßmus */ 56ac391b3SStephan Aßmus 66ac391b3SStephan Aßmus 76ac391b3SStephan Aßmus #include "MuxerTable.h" 86ac391b3SStephan Aßmus 96ac391b3SStephan Aßmus 106ac391b3SStephan Aßmus const media_file_format gMuxerTable[] = { 116ac391b3SStephan Aßmus { 126ac391b3SStephan Aßmus media_file_format::B_WRITABLE 136ac391b3SStephan Aßmus | media_file_format::B_KNOWS_RAW_VIDEO 146ac391b3SStephan Aßmus | media_file_format::B_KNOWS_RAW_AUDIO 156ac391b3SStephan Aßmus | media_file_format::B_KNOWS_ENCODED_VIDEO 166ac391b3SStephan Aßmus | media_file_format::B_KNOWS_ENCODED_AUDIO, 176ac391b3SStephan Aßmus { 0 }, 186ac391b3SStephan Aßmus B_AVI_FORMAT_FAMILY, 196ac391b3SStephan Aßmus 100, 206ac391b3SStephan Aßmus { 0 }, 216ac391b3SStephan Aßmus "video/x-msvideo", 226ac391b3SStephan Aßmus "AVI (Audio Video Interleaved)", 234384acf6SStephan Aßmus "avi", 246ac391b3SStephan Aßmus "avi", 256ac391b3SStephan Aßmus { 0 } 266ac391b3SStephan Aßmus }, 2754897d5cSStephan Aßmus { 2854897d5cSStephan Aßmus media_file_format::B_WRITABLE 2954897d5cSStephan Aßmus | media_file_format::B_KNOWS_ENCODED_VIDEO 3054897d5cSStephan Aßmus | media_file_format::B_KNOWS_ENCODED_AUDIO, 3154897d5cSStephan Aßmus { 0 }, 3254897d5cSStephan Aßmus B_MPEG_FORMAT_FAMILY, 3354897d5cSStephan Aßmus 100, 3454897d5cSStephan Aßmus { 0 }, 3554897d5cSStephan Aßmus "video/mpeg", 3654897d5cSStephan Aßmus "MPEG (Motion Picture Experts Group)", 3754897d5cSStephan Aßmus "mpg", 3854897d5cSStephan Aßmus "mpg", 3954897d5cSStephan Aßmus { 0 } 4054897d5cSStephan Aßmus }, 41*6780c24dSStephan Aßmus // TODO: This one rejects unknown codecs. We probably need to define 42*6780c24dSStephan Aßmus // a media_format_family for it so that Encoders can announce their support 43*6780c24dSStephan Aßmus // for it specifically. 44*6780c24dSStephan Aßmus // { 45*6780c24dSStephan Aßmus // media_file_format::B_WRITABLE 46*6780c24dSStephan Aßmus // | media_file_format::B_KNOWS_ENCODED_VIDEO 47*6780c24dSStephan Aßmus // | media_file_format::B_KNOWS_ENCODED_AUDIO, 48*6780c24dSStephan Aßmus // { 0 }, 49*6780c24dSStephan Aßmus // B_AVI_FORMAT_FAMILY, 50*6780c24dSStephan Aßmus // 100, 51*6780c24dSStephan Aßmus // { 0 }, 52*6780c24dSStephan Aßmus // "application/ogg", 53*6780c24dSStephan Aßmus // "Ogg (Xiph.Org Foundation)", 54*6780c24dSStephan Aßmus // "ogg", 55*6780c24dSStephan Aßmus // "ogg", 56*6780c24dSStephan Aßmus // { 0 } 57*6780c24dSStephan Aßmus // }, 586ac391b3SStephan Aßmus }; 596ac391b3SStephan Aßmus 606ac391b3SStephan Aßmus const size_t gMuxerCount = sizeof(gMuxerTable) / sizeof(media_file_format); 616ac391b3SStephan Aßmus 62