Converting Audio File from .WMA to .MP3

Q

How to convert audio file from .WMA format to .MP3 format?

✍: Guest

A

If you have FFmpeg installed, you can use the "ffmpeg" command to convert an audio file from .WMA format to .MP3 format: "ffmpeg -i test.wma -map 0:0 test.mp3". Here is an example of how to use the "ffmpeg" command:

\fyicener>ffmpeg -i test.wma -map 0:0 test.mp3

ffmpeg version N-63378-g1d36def Copyright (c) 2000-2014 the FFmpeg 
  developers built on May 22 2014 22:01:44 with gcc 4.8.2 (GCC)
...
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, asf, from 'test.wma':
  Metadata:
    WM/Track        : 0
    WM/MediaPrimaryClassID: {D1607DBC-E323-4BE2-86A1-48A42A28441E}
    WMFSDKVersion   : 9.00.00.4504
    WMFSDKNeeded    : 0.0.0.0000
    album_artist    : 
    track           : 1
    WM/EncodingTime : 18446744072505568256
    IsVBR           : 0
    DeviceConformanceTemplate: L1
    WM/WMADRCPeakReference: 31293
    WM/WMADRCAverageReference: 8442
  Duration: 00:04:56.04, start: 0.000000, bitrate: 128 kb/s
    Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, 
       stereo, fltp, 128 kb/s
Output #0, mp3, to 'test.mp3':
  Metadata:
    WM/Track        : 0
    WM/MediaPrimaryClassID: {D1607DBC-E323-4BE2-86A1-48A42A28441E}
    WMFSDKVersion   : 9.00.00.4504
    WMFSDKNeeded    : 0.0.0.0000
    TPE2            : 
    TRCK            : 1
    WM/EncodingTime : 18446744072505568256
    IsVBR           : 0
    DeviceConformanceTemplate: L1
    WM/WMADRCPeakReference: 31293
    WM/WMADRCAverageReference: 8442
    TSSE            : Lavf55.40.100
    Stream #0:0(eng): Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp
    Metadata:
      encoder         : Lavc55.63.100 libmp3lame
Stream mapping:
  Stream #0:0 -> #0:0 (wmav2 -> libmp3lame)
Press [q] to stop, [?] for help
[libmp3lame @ 03a95620] Queue input is backward in time
[mp3 @ 03a8fb40] Application provided invalid, non monotonically 
   increasing dts to muxer in stream 0: 33010 >= 31084
size=    4628kB time=00:04:56.07 bitrate= 128.0kbits/s
video:0kB audio:4627kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: 0.013169%

2016-02-25, 4349👍, 0💬