[Ffmpeg-devel] Re: Incorrect duration of quicktime movie

Baptiste Coudurier baptiste.coudurier
Mon Aug 21 00:22:43 CEST 2006


Hi

mikhail.b at gmail.com wrote:
> I want to get information from this quicktime movie file
> http://bb.org.ua/girls.mov
> This is very short movie, it's duration is about 1 second, but ffmpeg
> (ffmpeg -i girls.mov girls.avi) gives me incorrect info:
> FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
>   configuration:  --enable-shared
>   libavutil version: 49.0.0
>   libavcodec version: 51.11.0
>   libavformat version: 50.5.0
>   built on Aug 11 2006 14:23:29, gcc: 4.1.0 20060304 (Red Hat 4.1.0-3)
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'girls.mov':
>   Duration: 00:00:40.8, start: 0.000000, bitrate: 36 kb/s
>   Stream #0.0(eng): Audio: mp4a / 0x6134706D, 44100 Hz, stereo
>   Stream #0.1(eng): Video: mpeg4, yuv420p, 128x96, 25.00 fps(r)
>   Stream #0.2(eng): Data: tmcd / 0x64636D74
> File 'girls.avi' already exists. Overwrite ? [y/N] y
> Output #0, avi, to 'girls.avi':
>   Stream #0.0: Video: mpeg4, yuv420p, 128x96, q=2-31, 200 kb/s, 25.00 fps(c)
>   Stream #0.1: Audio: mp2, 44100 Hz, stereo, 64 kb/s
> Stream mapping:
>   Stream #0.1 -> #0.0
>   Stream #0.0 -> #0.1
> [mpeg4 @ 0xd95208]removing common factors from framerate
> Unsupported codec (id=86018) for input stream #0.0
> 
> I use version from SVN received at 11 2006

The 'tcmd' tack in the mov has duration of 24528 while timescale is 600.
Indeed the track duration is approximatively 40 seconds.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-devel mailing list