|
|
Or, use your gamerDNA username: (more...)
| ||||||
| |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
| | #1 (permalink) |
| Ultima Ratio Regum Join Date: Feb 2003 Location: California
Posts: 1,600
| Compiling something... I think? I need to decode the Nellymoser codec that Flash player uses when you talk into a mic. I found nelly2pcm - Google Code which is supposed to do it. I know very little about this type of thing, from what I can gather that is the source and I need to execute the "makefile" to compile it so it'll be the thing I need. But I haven't found anything that tells me how to do that in a Windows box, which is all I have access to atm. Or maybe I'm all wrong. I'd be OK with that, so long as I found out why I was wrong. Any help?
__________________ "Someday, after mastering the winds, the waves, the tides and gravity, we shall harness for God the energies of love, and then, for a second time in the history of the world, man will have discovered fire." ~Pierre Teilhard de Chardin |
| | |
| | #2 (permalink) |
| Registered User Join Date: Sep 2003 Location: Waynesburg, PA
Posts: 201
| C++ Compiler 5.5 That'll get you the good old fashioned Borland C++ compiler. I haven't used it in ages, so I don't know what it's like now, but it's a much smaller download than MS Visual C, and it sounds like you just want to do this one project. E: Took a look, all the old standards are still there. The command is "make." Just put that Borland stuff in a folder with a nice short path like c:\bcc55(this will save having to set environment variables you're only going to use once), then open a command prompt, change to the directory your nelly2pcm stuff is in, and type c:\bcc55\bin\make nelly2pcm That should do it. Last edited by Sidhe : 10-21-2007 at 03:46 PM. |
| | |
| | #3 (permalink) |
| Ultima Ratio Regum Join Date: Feb 2003 Location: California
Posts: 1,600
| Thanks Sidhe, that was more progress then I've made in a while... though it still doesn't work. I get errors saying it can't find and doesn't know how to make nelly_tables.o. There is a nelly_tables.c, so I renamed that and then I got some other errors about other files, renamed those, then it errors out completely and the window closes. I'll keep fiddling with it. Any suggestions?
__________________ "Someday, after mastering the winds, the waves, the tides and gravity, we shall harness for God the energies of love, and then, for a second time in the history of the world, man will have discovered fire." ~Pierre Teilhard de Chardin |
| | |
| | #4 (permalink) |
| Registered User Join Date: Sep 2003 Location: Waynesburg, PA
Posts: 201
| Oh, you'll definitely want the C files to remain .c. .o should be the object files, the output used as the midpoint to becoming a .exe. Looking at the code, I actually think someone saved it as formatted text(i/e not plaintext) which is completely stupid and non-working. Gonna compile it here in a sec. |
| | |
| | #5 (permalink) | |
| Ultima Ratio Regum Join Date: Feb 2003 Location: California
Posts: 1,600
| Quote:
Wish I knew more about programming, I feel like an idiot taking days to figure some of this stuff out. And yeah, the text definitely isn't plaintext. I wondered if that was weird, since most source I've seen is, but... I actually found this thing because FFMPEG integrated it so it can decode nellymoser. I didn't want to compile the whole FFMPEG thing to use it though.
__________________ "Someday, after mastering the winds, the waves, the tides and gravity, we shall harness for God the energies of love, and then, for a second time in the history of the world, man will have discovered fire." ~Pierre Teilhard de Chardin | |
| | |
| | #6 (permalink) |
| Registered User Join Date: Sep 2003 Location: Waynesburg, PA
Posts: 201
| Well, the good news is the BCC compiler is fine with the formatted text. However, I was getting some weird results compiling the individual files (the makefile isn't really gonna work, so don't even worry about that). The bad news is that nelly2pcm.c wants to include some header files that this compiler just doesn't have. I don't know if they're Linux-specific, or just not ANSI C. I'm about to head home, so I'll see if VC++ has them. |
| | |
| | #7 (permalink) | |
| Ultima Ratio Regum Join Date: Feb 2003 Location: California
Posts: 1,600
| Quote:
Anyway, thanks for all the help Sidhe. Getting this working would be the end of my half of this project.
__________________ "Someday, after mastering the winds, the waves, the tides and gravity, we shall harness for God the energies of love, and then, for a second time in the history of the world, man will have discovered fire." ~Pierre Teilhard de Chardin | |
| | |
| | #8 (permalink) |
| Registered User Join Date: Oct 2004
Posts: 1,758
| Just type 'make' under a Cygwin shell and you are done. Cygwin Information and Installation is a Unix like shell under windows. If you don't want to install it you can run it from a command prompt just fine with just the cygwin dll and the app that was compiled under it. Attached is the app compiled under cygwin. Last edited by Hachima : 10-21-2007 at 08:13 PM. |
| | |
| | #9 (permalink) | |
| Ultima Ratio Regum Join Date: Feb 2003 Location: California
Posts: 1,600
| Quote:
Thanks Hachima.
__________________ "Someday, after mastering the winds, the waves, the tides and gravity, we shall harness for God the energies of love, and then, for a second time in the history of the world, man will have discovered fire." ~Pierre Teilhard de Chardin | |
| | |
| | #10 (permalink) |
| Registered User Join Date: Oct 2004
Posts: 1,758
| Where are you getting you flv files from. I tested it on a sample nelly mopser file from Index of /A-codecs/Nelly_Moser/ and it worked. If you are trying to rip stuff from a youtube FLV those aren't nellymoser encoded and you need to use a program like this C# one http://www.moitah.net/download/latest/FLV_Extract.zip |
| | |
| | #12 (permalink) | |
| Ultima Ratio Regum Join Date: Feb 2003 Location: California
Posts: 1,600
| Quote:
I downloaded the one you said you converted and tried it, I get a series of very loud annoying beeps and a lot of nonsense scrolling by in the command prompt, which is the same thing I got with my files. I'm open to the idea that I am doing something wrong.
__________________ "Someday, after mastering the winds, the waves, the tides and gravity, we shall harness for God the energies of love, and then, for a second time in the history of the world, man will have discovered fire." ~Pierre Teilhard de Chardin | |
| | |
| | #13 (permalink) |
| Registered User Join Date: Oct 2004
Posts: 1,758
| Ok, the problem is that program you found doesn't directly output to a wav file. What you have to do is pipe the output into yet another program. The source code gives an example /* * to get a wav do something like: * ./nelly2pcm test.flv | sox -t raw -c 1 -2 -r */ So basically you are stuck installing cygwin and then SoX Download HTK 3.2.1 & SoX - voxforge.org has some steps for the sox installation. |
| | |
| | #14 (permalink) | |
| Ultima Ratio Regum Join Date: Feb 2003 Location: California
Posts: 1,600
| Quote:
__________________ "Someday, after mastering the winds, the waves, the tides and gravity, we shall harness for God the energies of love, and then, for a second time in the history of the world, man will have discovered fire." ~Pierre Teilhard de Chardin | |
| | |
| | #15 (permalink) |
| Ultima Ratio Regum Join Date: Feb 2003 Location: California
Posts: 1,600
| ffserver is out, considering the number of people who know more then I do and still can't get it to compile on windows.... Anyone ever heard of fobs? It is a JMF wrapper for ffmpeg, the last update was in January so even if I could get it compiled it wouldn't work. Anyone know of anything similar?
__________________ "Someday, after mastering the winds, the waves, the tides and gravity, we shall harness for God the energies of love, and then, for a second time in the history of the world, man will have discovered fire." ~Pierre Teilhard de Chardin |
| | |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
| |