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:
Edênis Freindorfer Azevedo 2019-08-02 15:29:43 -03:00 committed by Rafael Kitover
parent 5848feaea2
commit aa3ecaf701
1 changed files with 4 additions and 2 deletions

View File

@ -11,12 +11,14 @@ struct supportedCodecs {
};
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[] = {
{ 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()