Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ogg2mp3 utility?

14 views
Skip to first unread message

Tim Johnson

unread,
Nov 13, 2013, 8:56:20 PM11/13/13
to Python ML
I've written an application that does some audio file conversions.

I use mutagen for some of the mp3 file manipulation, but to convert
ogg files to mp3 format I've been using subprocess to run the
ogg2mp3 perl utility. (available from http://marginalhacks.com/) by
David Madison.

It's a "spot on" great app, but I would like to be able to "keep it
all one codebase".

Are there any python utility that anyone could recommend?

thanks
--
Tim
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com, http://www.tj49.com

Tim Johnson

unread,
Nov 14, 2013, 11:58:44 AM11/14/13
to Python ML
* Tim Johnson <t...@akwebsoft.com> [131113 17:06]:
> I've written an application that does some audio file conversions.
>
> I use mutagen for some of the mp3 file manipulation, but to convert
> ogg files to mp3 format I've been using subprocess to run the
> ogg2mp3 perl utility. (available from http://marginalhacks.com/) by
> David Madison.
>
> It's a "spot on" great app, but I would like to be able to "keep it
> all one codebase".
>
> Are there any python utility that anyone could recommend?

I've downloaded ogg2mp3.py (http://emptybits.com/ogg2mp3/ogg2mp3)
by Darren Stone http://bitmason.com, I've compared two
conversions.

Thus far, the perl utility produces a clearer playback, but I have
not yet played with the options available from the python script.

Both scripts rely on oggdec, ogginfo and lame.
On the mac available through macports, available on other *nixes as
well.

If anyone is interested, I'd welcome feedback on the python script
above and I will fiddle with it (not being an audio expert) to see
if I can get the playback improved.

I've looked at pymedia also. Have not tested it.

FYI.cheers
0 new messages