[Ffmpeg-devel] Error recognizing H.263 file

Michael Niedermayer michaelni
Fri Feb 9 22:02:46 CET 2007


Hi

On Fri, Feb 09, 2007 at 11:46:05AM -0800, barry.kaplan at gmail.com wrote:
> 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:
[...]
>  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:
[...]
>  Stream #0.1(eng): Video: h263, yuv420p, 240x180, 11.99 fps(r)

bug report closed, duplicate and invalid

the file is 352x288 as h.263 does NOT support 240x180
support for mov-croping is missing, you can sent a patch, see
AVCodecContext.pan_scan (and DONT even think of touching 
AVCodecContext.width/height)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070209/361046e5/attachment.pgp>



More information about the ffmpeg-devel mailing list