IPB

Welcome Guest ( Log In | Register )

MP3 to OGG
different
post Oct 30 2010, 22:25
Post #1





Group: Members
Posts: 4
Joined: 30-October 10
Member No.: 85081



I spent an hour reading this board before deciding to registering an account and posting this question. I am undergrad computer science student working on a project that will convert a MP3 to the OGG format using CUDA C. CUDA C is one of the languages that allows one to run programs on the NVidia GPU.

The project that was assigned to me was given a MP3 file, convert it to the OGG format. I never had to write an audio program before but my understanding since both the MP3 and OGG formats are lossy that it is not recommended to convert directly from MP3 to OGG. Anyways, the question I have is how should I start doing this assignment? I spent sometime looking online for algorithms to rewrite to run on the GPU but I couldn't come across any - I just found existing DLL files to use.

Thanks for any input given.
Go to the top of the page
+Quote Post
 
Start new topic
Replies
Kohlrabi
post Nov 1 2010, 15:41
Post #2





Group: Super Moderator
Posts: 1050
Joined: 12-March 05
From: Kiel, Germany
Member No.: 20561



Just a note on the video stuff. There is no such thing as "encoding AVI" or "decoding AVI", since AVI is an old container for multimedia content, just like OGG is the container used prominently for Vorbis audio and/or Theora video. Writing a converter from "AVI" to "OGG Video" would involve developing several decoders for all the stuff that can be in AVI, and a Theora encoder in CUDA C. As mentioned before, this basically means porting FFMPEG to CUDA. I can only agree with the other people here that porting an existing Vorbis encoder to CUDA C is a big enough task, and unless you're extremely good at that you can probably forget about writing your own MP3 decoder in CUDA.

To be frank, the wording of the initial post makes me wonder whether you and especially your advisor knows what you're up to here. Still a nice effort to try, and I wish you best of luck. You should check out the Vorbis reference encoder libvorbis on Xiph's site, it might also be useful to take a look at the rockbox project for pointers. Like the people mentioned before, it's probably best to forget about the MP3 decoding step for starters.

This post has been edited by Kohlrabi: Nov 1 2010, 15:54


--------------------
Ceterum censeo Masterdiskem esse delendam.
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd September 2014 - 08:48