[Ffmpeg-devel] Seems stream 1 codec frame rate differs from container frame rate

Michael Niedermayer michaelni
Sun Apr 1 03:48:08 CEST 2007


Hi

On Fri, Feb 23, 2007 at 09:21:21AM -0500, Compn wrote:
> ffmpeg uses incorrect fps on some wmv files
> 
> http://stream.totalvideogames.com/img/movies/original/1903.wmv
> 
> [cami:/Volumes/D$/mplayer-testclips] compn% ffmpeg -i 1903.wmv
> FFmpeg version SVN-r8092, Copyright (c) 2000-2007 Fabrice Bellard, et
> al. configuration: --extra-cflags=-I/usr/local/include/SDL
> --extra-ldflags=-L/usr/local/lib libavutil version: 49.3.0
>   libavcodec version: 51.34.0
>   libavformat version: 51.10.0
>   built on Feb 23 2007 08:55:46, gcc: 4.0.0 20041026 (Apple Computer,
> Inc. build 4061)
> 
> Seems stream 1 codec frame rate differs from container frame rate:
> 1000.00 (1000/1) -> 32.33 (97/3) Input #0, asf, from '1903.wmv':
>   Duration: 00:02:19.2, start: 5.000000, bitrate: 919 kb/s
>   Stream #0.0: Audio: wmav2, 48000 Hz, stereo, 128 kb/s
>   Stream #0.1: Video: WMVA / 0x41564D57, 320x240, 32.33 fps(r)
> Must supply at least one output file
> 
> 
> mplayer demuxer gets it right
> 
> Playing 1903.wmv.
> ASF file format detected.
> VIDEO:  [WMVA]  320x240  24bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)

no, mplayer does not seem to get it right

try ffmpeg  -analyzeduration 5M

to make ffmpeg guess the fps based on the first 5 sec

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

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- 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/20070401/04abc307/attachment.pgp>



More information about the ffmpeg-devel mailing list