View Single Post
  #5  
Old 08-13-2009, 02:25 AM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

Re: Splitting Nellymoser FLV (extracting raw Nelly Moser stream from FLV file)


Quote:
Originally Posted by Stream Recorder View Post
There was a program for Linux at google code called nelly2pcm. It was removed from google code in response for compliant received from DMCA. You may try to find it on other web-sites.

nelly2pcm converts an flv sound file to a raw pcm file.

Creating an executable file for nelly2pcm:
Code:
$ tar -xjvf nelly2pcm.tar.bz2
$ cd nelly2pcm
$ make
cc -Wall -c -o nelly2pcm.o nelly2pcm.c
cc -Wall -c -o nelly.o nelly.c
cc -Wall -c -o nelly_tables.o nelly_tables.c
cc -Wall nelly2pcm.o nelly.o nelly_tables.o -lm -o nelly2pcm
Running nelly2pcm
Code:
$ ./nelly2pcm test.flv > test.raw
mono Nellymoser stream with 16-bit samples at 44kHz
This will create a raw NellyMoser sound file with no headers. Moreover it will output the characteristics of the Nellymoser stream that you will need in the next step.

To play this raw file you can use sox (apt-get install sox)
Code:
$ sox -r 44100 -c 1 -2 -s test.raw
If you can play the file (options must be correct), you can use sox to create a wav file which is essentially the same except that it has a header which contains all the settings (e.g. bitrate etc.)
Code:
$ sox -r 44100 -c 1 -2 -s test.raw test.wav
I can not download nelly2pcm in google code

if you have nelly2pcm.tar.bz2 , please send me.
Reply With Quote