ffmpeg: declare support for webm and 3gpp.
* Decoding works on the videos I tested with. * Some videos on Youtube use these formats.
This commit is contained in:
@@ -8,6 +8,20 @@
|
|||||||
|
|
||||||
|
|
||||||
const media_file_format gMuxerTable[] = {
|
const media_file_format gMuxerTable[] = {
|
||||||
|
{
|
||||||
|
media_file_format::B_READABLE
|
||||||
|
| media_file_format::B_KNOWS_ENCODED_VIDEO
|
||||||
|
| media_file_format::B_KNOWS_ENCODED_AUDIO,
|
||||||
|
{ 0 },
|
||||||
|
B_MISC_FORMAT_FAMILY,
|
||||||
|
100,
|
||||||
|
{ 0 },
|
||||||
|
"video/3gpp",
|
||||||
|
"3GPP video",
|
||||||
|
"3gp",
|
||||||
|
"3gp",
|
||||||
|
{ 0 }
|
||||||
|
},
|
||||||
{
|
{
|
||||||
media_file_format::B_READABLE
|
media_file_format::B_READABLE
|
||||||
| media_file_format::B_KNOWS_RAW_AUDIO
|
| media_file_format::B_KNOWS_RAW_AUDIO
|
||||||
@@ -290,6 +304,20 @@ const media_file_format gMuxerTable[] = {
|
|||||||
"wav",
|
"wav",
|
||||||
{ 0 }
|
{ 0 }
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
media_file_format::B_READABLE
|
||||||
|
| media_file_format::B_KNOWS_ENCODED_VIDEO
|
||||||
|
| media_file_format::B_KNOWS_ENCODED_AUDIO,
|
||||||
|
{ 0 },
|
||||||
|
B_MISC_FORMAT_FAMILY,
|
||||||
|
100,
|
||||||
|
{ 0 },
|
||||||
|
"video/webm",
|
||||||
|
"WebM movie",
|
||||||
|
"webm",
|
||||||
|
"webm",
|
||||||
|
{ 0 }
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const size_t gMuxerCount = sizeof(gMuxerTable) / sizeof(media_file_format);
|
const size_t gMuxerCount = sizeof(gMuxerTable) / sizeof(media_file_format);
|
||||||
|
|||||||
Reference in New Issue
Block a user