Ignore:
Timestamp:
Jul 9, 2009, 1:38:52 AM (11 years ago)
Author:
Sam Hocevar
Message:

Don't force MJPEG in makemovie. Other codecs work just fine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/examples/makemovie.c

    r3516 r3548  
    3131#define PAR_DEN 45
    3232#define FPS 25
    33 #define BITRATE 8000000
     33#define BITRATE 16*1024*1024
    3434
    3535int main(int argc, char *argv[])
     
    7474    ctx->sample_aspect_ratio.num = PAR_NUM;
    7575    ctx->sample_aspect_ratio.den = PAR_DEN;
    76     //ctx->codec_id = fmt->oformat->video_codec;
     76    ctx->codec_id = fmt->oformat->video_codec;
    7777    //ctx->codec_id = CODEC_ID_FFV1;
    7878    //ctx->codec_id = CODEC_ID_THEORA;
    7979    //ctx->codec_id = CODEC_ID_SNOW;
    8080    //ctx->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL; /* Snow */
    81     ctx->codec_id = CODEC_ID_MJPEG;
     81    //ctx->codec_id = CODEC_ID_MJPEG;
    8282    ctx->codec_type = CODEC_TYPE_VIDEO;
    8383    ctx->bit_rate = BITRATE;
Note: See TracChangeset for help on using the changeset viewer.