image thumbnail

automated music conversion (ffmpeg): wma to mp3

version 1.0.0.0 (1.94 KB) by Nathan Tomlin
Automatically convert music from *.wma to *.mp3 using FFMPEG program.

1.9K Downloads

Updated 21 Jan 2008

View License

% simple script to use ffmpeg to convert wma files to mp3
%
% wanted to be able to play my music on iPod, so I wrote this to convert my files
%
% based on WinFF program, which is a frontend for FFMPEG
% WinFF: http://biggmatt.com/winff/
% FFMPEG: http://ffmpeg.mplayerhq.hu/
%
% Written for an installation of WinFF. I haven't tried just installing ffmpeg.
% WinFF installs ffmpeg into it's directory.
%
% Use:
% put this script in main music directory (i.e. ...\My Music\)
% then run and it will look through all subdirs and convert any wma files to mp3
% deletes wma file after conversion
%
% defaults:
% convert to: mp3
% bitrate = 160k'
% numchannels = 2
% sample rate = 44100
%
%
% I know this is probably lame and written horribly, but it works and didn't take me any time.
% Kind of embarrassed to post it, but maybe it'll be useful to someone...

Cite As

Nathan Tomlin (2021). automated music conversion (ffmpeg): wma to mp3 (https://www.mathworks.com/matlabcentral/fileexchange/18381-automated-music-conversion-ffmpeg-wma-to-mp3), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!