MP3 to OGG |
MP3 to OGG |
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. |
|
|
|
![]() |
Nov 1 2010, 15:41
Post
#2
|
|
![]() Group: Members (Donating) Posts: 762 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 -------------------- Audiophiles live in constant fear of jitter.
|
|
|
|
different MP3 to OGG Oct 30 2010, 22:25
Ouroboros QUOTE (different @ Oct 30 2010, 22:25) I ... Oct 30 2010, 23:16
stephanV Also, other then "just because I can and I ge... Oct 30 2010, 23:50
different @Ouroboros,
Thanks for the search term tip! A... Oct 31 2010, 01:13
viktor QUOTE (different @ Oct 31 2010, 02:13) Th... Oct 31 2010, 01:29
dv1989 QUOTE (different @ Oct 30 2010, 22:25) my... Oct 31 2010, 09:14
[JAZ] Every time I read someone that has to make a proje... Oct 31 2010, 10:02
Ouroboros Perhaps the aim of the exercise is to learn how to... Oct 31 2010, 13:02
[JAZ] @Ouroboros:
I disagree. There are a lot of transco... Oct 31 2010, 13:37
different @dv1989:
thanks for clarifying this. I was in th... Oct 31 2010, 19:40
Bullit QUOTE (different @ Oct 31 2010, 20:40) So... Oct 31 2010, 23:09
different Hi Bullit,
Thanks for feedback.
I vaguely reme... Oct 31 2010, 23:36
Bullit QUOTE (different @ Oct 31 2010, 23:36) - ... Oct 31 2010, 23:48![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 16:26 |