[Ffmpeg-devel] I can't open codec H.264
Chang Min Jeon
jcm1981
Tue Jun 28 09:47:09 CEST 2005
I'm trying to encode to h.264 using ffmpeg.
um. I have been received error message during open codec H.264
..
codec = avcodec_find_encoder( CODEC_ID_H264 );
..
c->pix_fmt = PIX_FMT_YUV420P;
c->bit_rate = 400000;
c->width = 352;
c->height = 288;
c->time_base = (AVRational) {1, 25};
c->gop_size = 10; /* emit one intra frame every ten frames */
c->max_b_frames=1;
...
execute program.
x264 [error]: width % 16 != 0 or height % 16 != 0 (1x352)
I can't understand error message.
More information about the ffmpeg-devel
mailing list