Skip to content
Permalink
Browse files

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.
  • Loading branch information
denisfa authored and rkitover committed Aug 2, 2019
1 parent 5848fea commit aa3ecaf7018ede352edb73b9c81ab18ec82379b6
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/common/ffmpeg.cpp
@@ -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()

0 comments on commit aa3ecaf

Please sign in to comment.
You can’t perform that action at this time.