From: blaise <bpi...@wo...> - 2005-06-06 00:13:06
|
Well, finally, I can't manage to mix pm3 or even waw with ming. So for my purpose (multi users online sound mixing), I find out the "ecasound" project, that called via php mixes four (on/off) 4 seconds samples ogg files into a single ogg file, that is re-downloaded each 8 seconds by the users browsers. I am still doing some very basic things. You can have a look over here (when it's open) : http://82.66.71.9/highlab_live/index.html (sorry it's in french, I haven't yet translated it; just click the link on top to something like "...version_01...") For now, no ming, only php and ecasound script. I don't have yet the nice refresh function that would refresh the page without sound interruption. I am wondering if I could do that with ming, BUT : When I try to stream a common (dowwnloaded) mp3 with ming, everything's fine. But if i try to stream with ming a mp3 file converted from an ogg file with ecasound and lame support, then the ming code fails on : $movie->streamMp3 , although the ogg lame-ecasound encoded only (without ming, bash ecassound command) mp3 file can be listened to through the sever. Any ideas ? I'm going to check it closer. Troubles with mp3 headers ? Something else ? Blaise samedi 4 Juin 2005 05:34, Richard Lynch : > On Fri, June 3, 2005 6:39 pm, blaise said: > > Does anybody know if it's possible to stream several mp3s at a time (or > > mixing > > them into one mp3 and then streaming this resulting mp3). I'm trying some > > codes but can't get it work. > > Woof. > > I doubt Flash/Ming would have this built-in... > > Though maybe if you buried each MP3 in an embedded clip, and had all three > clips advancing their frames at once... > > If that won't do it... > > You could maybe use mpg123 and sox to combine multiple mp3->wav files into > one, and then encode that back to MP3 and then stream that... > > Real time would probably need some serious RAM and cpu, and you'd better > be sure it won't bury your CPU if the site gets hit... > > Lots of testing. |