Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I have MP3,WAV files i want to convert that files to .OGG format in c#

please help me if have any idea?

Thanks & Regards
Sairam Bhat
Posted

A much belated reply but as I recently looked for a managed code implementation of an Ogg Vorbis encoding library and couldn't find one, I wrote it.

For anyone looking for a .NET Ogg Vorbis encoder in the future, it can be found at the link below.

https://github.com/SteveLillis/.NET-Ogg-Vorbis-Encoder[^]
 
Share this answer
 
As the players with the source code exists (.NET Implementation of an Ogg Vorbis Player[^]), I don't see a problem with the encoder. Anyway, as Ogg Vorbis is Open Source (http://www.vorbis.com/[^]), anyone can compile its code and P/Invoke the required methods to use in C# project. Another way is C++/CLI project using available C++ code to create a .NET library which can be references as any .NET assembly. It may require some modification or mixed-mode (managed+unmanaged) C++/CLI + C++ library which can serve as .NET assembly.

—SA
 
Share this answer
 
Comments
sairam.bhat 11-May-11 5:19am    
Thanks sir
Sergey Alexandrovich Kryukov 11-May-11 15:37pm    
You're welcome.
If you feel it's helpful please formally accept this answer (green button).
Thank you.
--SA
sairam.bhat 12-May-11 8:20am    
k sir i have accepted your answer
sairam.bhat 12-May-11 8:21am    
sir please upvote for my question sir,
Sergey Alexandrovich Kryukov 13-May-11 7:17am    
Well, you did not vote for my answer... :-) OK, I have no idea why a vote for the question is important for you; they are rarely up-voted; but your question is reasonable enough, so I will vote my 5.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900