From: luca Date: Fri, 27 Feb 2009 08:35:41 +0000 (+0100) Subject: More complex encoding (to consume more time) X-Git-Url: http://rtime.felk.cvut.cz/gitweb/frescor/streamer.git/commitdiff_plain/ca0108bca54ffda29fb2cfc89e31620c3f35f2da More complex encoding (to consume more time) --- diff --git a/output.c b/output.c index 939be99..fb3d419 100644 --- a/output.c +++ b/output.c @@ -36,6 +36,10 @@ AVFormatContext *open_output_stream(const char *dst, int port, enum CodecType co s->streams[0]->codec->codec_id = av_guess_codec(s->oformat, NULL, s->filename, NULL, codec_type); s->streams[0]->codec->codec_id = CODEC_ID_MPEG4; s->streams[0]->codec->pix_fmt = PIX_FMT_YUV420P; + s->streams[0]->codec->mb_decision = 2; + s->streams[0]->codec->me_cmp = 2; + //s->streams[0]->codec->me_sub_cmp = 6; + s->streams[0]->codec->trellis = 1; return s; }