[Tutor] How to convert ogg to MP3

2008-01-03 Thread János Juhász
> "goldgod a" <[EMAIL PROTECTED]> wrote in

> >I would like to convert ogg files to mp3 files. how can I do
> > that.
> > Is there any inbuilt package.
> 
> I think Lame can do that.
> You would need to access Lame via its command line (using the
> subprocess module?) or maybe someone has a python library
> to use the lame library/DLL directly.

Pymedia promises to do that. (http://pymedia.org/)
There is a sample script about it called recode_audio.py,
but it chrashed my python interpreter on xp, when I tried to convert from 
ogg to mp3.


Best Regards,
Janos___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] How to convert ogg to MP3

2008-01-03 Thread Alan Gauld

"goldgod a" <[EMAIL PROTECTED]> wrote in

>I would like to convert ogg files to mp3 files. how can I do 
> that.
> Is there any inbuilt package.

I think Lame can do that.
You would need to access Lame via its command line (using the
subprocess module?) or maybe someone has a python library
to use the lame library/DLL directly.

Try googling "python lame" - I'm too lazy :-)

Alan G 


___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] How to convert ogg to MP3

2008-01-02 Thread goldgod a
hi,
I would like to convert ogg files to mp3 files. how can I do that.
Is there any inbuilt package.

-- 
Thanks & Regards,
goldgod
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor