[FFmpeg-user] Need help with converting a h.264 3gp file to h.263 3gp

Mani Goswami mani.goswami at gmail.com
Fri Jul 20 13:41:52 CEST 2012


I am trying following command to do this:

ffmpeg -i video_new.3gp -b:v 64k -vcodec h263 -acodec aac newgph263.3gp

It always fails with following error message:

Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height



Here si the exact output:

*[root at manig movies]# ffmpeg -i video_new.3gp -b:v 64k -vcodec h263 -acodec
aac newgph263.3gp*
*Metadata:*
*    major_brand     : 3gp5*
*    minor_version   : 0*
*    compatible_brands: 3gp53gp4mp41mp42isom*
*    creation_time   : 1942-05-31 01:31:41*
*  Duration: 00:01:10.33, start: 0.000000, bitrate: 88 kb/s*
*    Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 16000 Hz, mono, s16,
15 kb/s*
*    Metadata:*
*      creation_time   : 1942-05-31 01:31:41*
*      handler_name    : Apple Sound Media Handler*
*    Stream #0:1(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D),
yuv420p, 240x302 [SAR 1:1 DAR 120:151], 65 kb/s, SAR 12:11 DAR 1440:1661,
10 fps, 10 tbr, 10 tbn, 1k tbc*
*    Metadata:*
*      creation_time   : 1942-05-31 01:31:41*
*      handler_name    : Apple Video Media Handler*
*    Stream #0:2(und): Data: none (rtp  / 0x20707472)*
*    Metadata:*
*      creation_time   : 1942-05-30 00:34:36*
*      handler_name    : GPAC ISO Hint Handler*
*    Stream #0:3(und): Data: none (rtp  / 0x20707472)*
*    Metadata:*
*      creation_time   : 1942-05-30 00:34:36*
*      handler_name    : GPAC ISO Hint Handler*
*File 'newgph263.3gp' already exists. Overwrite ? [y/N] y*
*w/h must be a multiple of 4*
*Output #0, 3gp, to 'newgph263.3gp':*
*  Metadata:*
*    major_brand     : 3gp5*
*    minor_version   : 0*
*    compatible_brands: 3gp53gp4mp41mp42isom*
*    Stream #0:0(eng): Video: h263, yuv420p, 240x302 [SAR 12:11 DAR
1440:1661], q=2-31, 64 kb/s, 90k tbn, 10 tbc*
*    Metadata:*
*      creation_time   : 1942-05-31 01:31:41*
*      handler_name    : Apple Video Media Handler*
*    Stream #0:1(eng): Audio: none, 16000 Hz, mono, flt, 128 kb/s*
*    Metadata:*
*      creation_time   : 1942-05-31 01:31:41*
*      handler_name    : Apple Sound Media Handler*
*Stream mapping:*
*  Stream #0:1 -> #0:0 (mpeg4 -> h263)*
*  Stream #0:0 -> #0:1 (aac -> aac)*
*Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height*
*
*
*
*
*
*
Here is the version information:

[root at manig movies]# ffmpeg -version
ffmpeg version N-42690-gb34ce5a
built on Jul 20 2012 16:34:40 with gcc 4.1.2 (GCC) 20070626 (Red Hat
4.1.2-14)
configuration:
libavutil      51. 65.100 / 51. 65.100
libavcodec     54. 42.100 / 54. 42.100
libavformat    54. 17.101 / 54. 17.101
libavdevice    54.  1.100 / 54.  1.100
libavfilter     3.  2.100 /  3.  2.100
libswscale      2.  1.100 /  2.  1.100
libswresample   0. 15.100 /  0. 15.100


More information about the ffmpeg-user mailing list