Problem with recording audio in Flash (Red5, ffmpeg)
Posted
by AT
on Stack Overflow
See other posts from Stack Overflow
or by AT
Published on 2010-04-08T12:48:35Z
Indexed on
2010/04/08
12:53 UTC
Read the original article
Hit count: 360
I'm trying to implement a small program with Flash and php that records audio and converts it to mp3.
Currently I have Red5 server up and running, I can connect to it with no problems and I can publish flv recordings to the server. When I listen to the flv with Wimpy FLV player it seems to be fine. The problem comes when I'm trying to convert it with ffmpeg on the command line. I'm simply using a command ffmpeg -i but the output wav is about 50% slower than the input. When I record 10sec, the output is 15sec and pitched down.
I've also tried all kinds of bitrate settings, -nv option, etc. but nothing seems to work. I have a recent version of ffmpeg that supports nellymoser format.. Don't know what to do. Anyone have any ideas?
© Stack Overflow or respective owner