Fork me on GitHub
Jun 25 2009

Mp3 to Ogg converter

3,792 views

For some time, I needed to convert a big number of files from mp3 to ogg format, as I didn’t see any loss of quality with the ogg format, also it need less space.

The problem was that I want to keep my id3 tags, rewriting them would be a pain in the a**. I searched the web for free tools to do that, but I couldn’t find any, maybe I didn’t look enough. So I had to implement it myself.

Also, as I’m learning ruby, I thought it would be a good idea to use it for the script.

The tools I needed to do this, were mplayer, id3tool, and oggenc (vorbis-tools). Also in order to utilize my quad-core processor, I built it in a multi-threaded way (not so much, but it works :-) ).

Now, I noticed that oggenc takes a lot of time, more than mplayer, so it was loading my tmp directory, so I made the mplayer thread wait when oggenc has 20 or more in it’s queue to process. Also, for more utilization, I put 3 threads for the oggenc to process.

I think that the script can use some improvements, feel free to post your feedback.

The script is available at git-hub at http://github.com/alaaibrahim/mp3toogg

Enjoy


Dec 1 2007

Shoo Hal Ayam MP3s From Al-Mohtaraf Concert

1,782 views

Upon all the request, I managed to upload parts of the Concert in Al-Mohtaraf, October 2007, on my blog, so enjoy.

Jeet Ahebak

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

download

Wala’et Kteer

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

download

Bala Ma Nsamy

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

download

Enjoy :)

Update

Ya Ba La

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

download