Add new output formats for recording audio/video.
We test each of these additions by trying to record gameplay with them. Then we play it and check the results. Pretty straightforward.
This commit is contained in:
parent
5848feaea2
commit
aa3ecaf701
|
@ -11,12 +11,14 @@ struct supportedCodecs {
|
||||||
};
|
};
|
||||||
|
|
||||||
const supportedCodecs audioSupported[] = {
|
const supportedCodecs audioSupported[] = {
|
||||||
{ AV_CODEC_ID_MP3, "MP3 (MPEG audio layer 3)", "mp3" }
|
{ AV_CODEC_ID_MP3, "MP3 (MPEG audio layer 3)", "mp3" },
|
||||||
|
{ AV_CODEC_ID_AAC, "ADTS AAC (Advanced Audio Coding)", "aac,adts" }
|
||||||
};
|
};
|
||||||
|
|
||||||
const supportedCodecs videoSupported[] = {
|
const supportedCodecs videoSupported[] = {
|
||||||
{ AV_CODEC_ID_MPEG4, "AVI (Audio Video Interleaved)", "avi" },
|
{ AV_CODEC_ID_MPEG4, "AVI (Audio Video Interleaved)", "avi" },
|
||||||
{ AV_CODEC_ID_MPEG4, "raw MPEG-4 video", "m4v" }
|
{ AV_CODEC_ID_MPEG4, "raw MPEG-4 video", "m4v" },
|
||||||
|
{ AV_CODEC_ID_FLV1, "FLV (Flash Video)", "flv" }
|
||||||
};
|
};
|
||||||
|
|
||||||
std::vector<char *> recording::getSupVidNames()
|
std::vector<char *> recording::getSupVidNames()
|
||||||
|
|
Loading…
Reference in New Issue