]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8752 #resolve [When recording a conference, the first 2 seconds are pixelated]
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 10 Mar 2016 19:59:55 +0000 (13:59 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 10 Mar 2016 19:59:55 +0000 (13:59 -0600)
src/mod/applications/mod_av/avformat.c

index 981eccfcfbf3e321d41bddf93813aa03af90b1bf..dbd87c66ee780e8285c702a5e1cc7d259e80c933 100644 (file)
@@ -407,8 +407,9 @@ static switch_status_t add_stream(MediaStream *mst, AVFormatContext *fc, AVCodec
                c->b_frame_strategy = 1;  // b_strategy=1
                c->qcompress = 0.6; // qcomp=0.6
                c->qmin = 10;   // qmin=10
-               c->qmax = 51;   // qmax=51
+               c->qmax = 31;   // qmax=31
                c->max_qdiff = 4;   // qdiff=4
+               av_opt_set(c->priv_data, "crf", "18", 0);
 
 
                if (codec_id == AV_CODEC_ID_VP8) {