[FFmpeg-devel] convert problem , wmv to flv

Xreload xreload
Fri Aug 24 07:36:37 CEST 2007


Hello !

I am trying to convert some wmv file to flv :

[root at sys26]# ffmpeg -i trailer5.wmv -ar 44100 video.flv
FFmpeg version SVN-r10101, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --prefix=/usr --enable-libmp3lame --disable-ffserver
--disable-ffplay
  libavutil version: 49.5.0
  libavcodec version: 51.41.0
  libavformat version: 51.12.2
  built on Aug 14 2007 06:17:52, gcc: 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)

Seems stream 1 codec frame rate differs from container frame rate:
1000.00(1000/1) ->
29.97 (30000/1001)
Input #0, asf, from 'trailer5.wmv':
  Duration: 00:00:12.6, start: 0.000000, bitrate: 720 kb/s
  Stream #0.0: Audio: wmav2, 32000 Hz, mono, 20 kb/s
  Stream #0.1: Video: wmv3, yuv420p, 320x240, 700 kb/s, 29.97 fps(r)
Output #0, flv, to 'video.flv':
  Stream #0.0: Video: flv, yuv420p, 320x240, q=2-31, 200 kb/s, 29.97 fps(c)
  Stream #0.1: Audio: libmp3lame, 44100 Hz, mono, 64 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.0 -> #0.1
Press [q] to stop encoding
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. Do not report crashes to FFmpeg developers.
frame=  389 fps=232 q=27.5 Lsize=     658kB time=10.1 bitrate= 534.2kbits/s
video:535kB audio:79kB global headers:0kB muxing overhead 7.100056%

So i checout flv video
duration : 12.79
BUT original wmv have
duration : 10.1

As result video line is moved, video starts later and latest frames losted.
Please help me, what i do wrong?

-- 
Best Regards.

ICQ : 336-370-441
MSN :  warork at hotmail.com
GT: xreload at gmail.com




More information about the ffmpeg-devel mailing list