[FFmpeg-user] Can't convert WMV to FLV (no sound needed)

Giordon Stark kratsg at gmail.com
Wed Dec 7 12:30:33 CET 2011


Terminal Output below.

File is a .wmv generated from Logitech Webcam Pro video capturing. 
ffmpeg outputs a blank flv video file. The input file is about 3-4 
seconds long. I've also tried all variations from googling such as 
-vcodec flags and stuff. Seems like something's missing.

Thanks!

~G

C:\ >ffmpeg -i "Motion 9.wmv" Motion9.flv
ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg 
developers
   built on Dec  5 2011 14:28:46 with gcc 4.6.2
   configuration: --enable-gpl --enable-version3 --disable-w32threads 
--enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r 
--enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype 
--enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp 
--enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc 
--enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs 
--enable-
libxvid --enable-zlib
   libavutil    51. 30. 0 / 51. 30. 0
   libavcodec   53. 40. 0 / 53. 40. 0
   libavformat  53. 24. 0 / 53. 24. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 51. 0 /  2. 51. 0
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0

Seems stream 0 codec frame rate differs from container frame rate: 
1000.00 (1000
/1) -> 0.08 (1/12)
Input #0, asf, from 'Motion 9.wmv':
   Metadata:
     WMFSDKVersion   : 12.0.7600.16385
     WMFSDKNeeded    : 0.0.0.0000
     IsVBR           : 1
     VBR Peak        : 1706
     Buffer Average  : 200
     BadgeData       : <?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE BadgeDataDoc>
<applicaitons>
<applicaiton id="{6F9D29D2-F2E2-4124-92B9-BD0BE98DEA58}">
<url>self</url>
</applicaiton>
</applicaitons>

   Duration: 00:00:03.60, start: 0.000000, bitrate: 4842 kb/s
     Stream #0:0: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 800x600, 
2421 kb/s, 0
.08 tbr, 1k tbn, 1k tbc
[buffer @ 0000000001C20640] w:800 h:600 pixfmt:yuv420p tb:1/1000000 
sar:0/1 sws_
param:
Output #0, flv, to 'Motion9.flv':
   Metadata:
     WMFSDKVersion   : 12.0.7600.16385
     WMFSDKNeeded    : 0.0.0.0000
     IsVBR           : 1
     VBR Peak        : 1706
     Buffer Average  : 200
     BadgeData       : <?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE BadgeDataDoc>
<applicaitons>
<applicaiton id="{6F9D29D2-F2E2-4124-92B9-BD0BE98DEA58}">
<url>self</url>
</applicaiton>
</applicaitons>

     encoder         : Lavf53.24.0
     Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 800x600, 
q=2-31,
200 kb/s, 1k tbn, 0.08 tbc
Stream mapping:
   Stream #0:0 -> #0:0 (wmv2 -> flv)
Press [q] to stop, [?] for help
frame=    1 fps=  0 q=5.9 Lsize=      35kB time=00:00:12.00 bitrate=  
24.2kbits/
s dup=0 drop=106
video:35kB audio:0kB global headers:0kB muxing overhead 1.499874%


More information about the ffmpeg-user mailing list