[Ffmpeg-devel] WMA encoding and Windows Media Player for Mac OS X

Patrice Bensoussan patrice.bensoussan
Thu Feb 8 23:37:54 CET 2007


All the files encoded by ffmpeg in wma (using wmav1 or wmav2) will  
open in Windows Media Player for Mac OS X, but you don't hear  
anything (it only plays silence). The same file seems to play  
correctly with mplayer or QuickTime with the Flip4Mac codec. Any idea  
what could be wrong in the encoding which would cause Windows Media  
Player for Mac OS X to play only silence? The information window in  
Windows Media player on a converted file shows:

audio codec unknown
video codec wmav1

Am I missing an option, or is this a known bug in ffmpeg?


./ffmpeg -acodec wmav1 -i ~/Desktop/17\ The\ Police\ Message\ in\ a\  
Bottle.aiff ~/Desktop/toto.wma
FFmpeg version SVN-r7885, Copyright (c) 2000-2006 Fabrice Bellard, et  
   configuration: --cc=gcc-3.3 --disable-network --disable-vhook -- 
enable-small --enable-mp3lame --enable-faac --disable-decoder=cook -- 
extra-ldflags=-L/Users/patriceb/tmp/WMA/opt/lib --extra-cflags=-I/ 
   libavutil version: 49.3.0
   libavcodec version: 51.32.0
   libavformat version: 51.8.0
   built on Feb  8 2007 22:24:48, gcc: 3.3 20030304 (Apple Computer,  
Inc. build 1819)
Input #0, aiff, from '/Users/patriceb/Desktop/17 The Police Message  
in a Bottle.aiff':
   Duration: 00:04:50.6, start: 0.000000, bitrate: 1411 kb/s
   Stream #0.0: Audio: pcm_s16be, 44100 Hz, stereo, 1411 kb/s
Output #0, asf, to '/Users/patriceb/Desktop/toto.wma':
   Stream #0.0: Audio: wmav1, 44100 Hz, stereo, 64 kb/s
Stream mapping:
   Stream #0.0 -> #0.0
Press [q] to stop encoding
size=       0kB time=290.7 bitrate=   0.0kbits/s
video:0kB audio:2268kB global headers:0kB muxing overhead -99.982946%

More information about the ffmpeg-devel mailing list