[Ffmpeg-devel] Error recognizing H.263 file

barry.kaplan at gmail.com barry.kaplan
Fri Feb 9 20:46:05 CET 2007


I have a.mov file that was created by taking a camcorder and importing
to iMovie. The resulting file is a 240x480 movie encoded with H.263.
When I pass his move through ffmpeg it recognizes the movie as:

Wrong output:

FFmpeg version SVN-r7901, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl
--disable-vhook --disable-ffplay --disable-ffserver --enable-a52
--enable-amr_nb --enable-amr_wb --enable-pthreads
  libavutil version: 49.3.0
  libavcodec version: 51.32.0
  libavformat version: 51.8.0
  built on Feb  9 2007 11:44:00, gcc: 4.0.1 (Apple Computer, Inc. build 5363)

Seems stream 1 codec frame rate differs from container frame rate:
29.97 (30000/1001) -> 11.99 (2997/250)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/barry/Desktop/sprinklerdance1.mov':
  Duration: 00:01:11.9, start: 0.000000, bitrate: 376 kb/s
  Stream #0.0(eng): Audio: qdm2, 22050 Hz, stereo
  Stream #0.1(eng): Video: h263, yuv420p, 352x288, 11.99 fps(r)

When I comment out the following in libavformat/mov.c it works:

#ifdef CONFIG_H263_DECODER
    case CODEC_ID_H263:
#endif

New output:

FFmpeg version SVN-r7901, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-memalign-hack --enable-mp3lame --enable-gpl
--disable-vhook --disable-ffplay --disable-ffserver --enable-a52
--enable-amr_nb --enable-amr_wb --enable-pthreads
  libavutil version: 49.3.0
  libavcodec version: 51.32.0
  libavformat version: 51.8.0
  built on Feb  9 2007 11:44:00, gcc: 4.0.1 (Apple Computer, Inc. build 5363)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/barry/Desktop/sprinklerdance1.mov':
  Duration: 00:01:11.9, start: 0.000000, bitrate: 376 kb/s
  Stream #0.0(eng): Audio: qdm2, 22050 Hz, stereo
  Stream #0.1(eng): Video: h263, yuv420p, 240x180, 11.99 fps(r)




More information about the ffmpeg-devel mailing list