Actionscript 3.0 :: Save SOUND Recorded With PHP?
Nov 17, 2010
You could capture the sound into a ByteArray and save the bytes in a file or a database. Have a look at the SampleDataEvent on the Microphone class, and the ByteArray class. As for the php I think you want to look at mysql functions or fopen() and fwrite().
View 1 Replies
Similar Posts:
Jan 17, 2012
I currently creating a standalone language learning application using Flash Professional 8. The application allow users to record and playback their own pronunciation, so that they can compare their own pronunciation with the pronunciation provided in the application for learning. how can I save and playback recorded voice on local computer
View 2 Replies
Sep 16, 2009
I have successfully been able to write some client-side ActionScript that allows me to record my webcam and mic data to my FMS server. The .flv files get saved to a directory under the applications directory. However, I need to process those flv files for a web application and would like those .flv files to be saved to the web app's directory (outside of the FMS application directory). I have tried changing the <Streams> tag in the Application.xml file that I placed in the FMS application directory, but that simply did not work.My goal is simple: to save the recorded stream data outside of the FMS application's directory. I have been going crazy trying to do this, but would like to know any pointers that any of you experts have. Can this be done? If not, how can I execute a server side PHP script after the stream is done recording. I know about using the exec() function in PHP, but am unsure as to how to execute that script via client-side actionscript.Here is the path to my FMS server (Linux OS) installation and the application directory. The application name is "ngale"./opt/adobe/fms/applications/ngaleHere is the path that my client-side ActionScript is placing the .flv files of the recorded streams/opt/adobe/fms/applications/ngale/streams/recordings/Here is the path to my web application/home/user/public_html/dev.ngale.net/public/Here is the path that I would like for the .flv recording files to be saved to/home/user/public_html/dev.ngale.net/public/audio/.flv
View 5 Replies
Aug 10, 2011
I need to mix 2 sound data, one is a mp3 sound byteArray and the other one is a recorded sound byteArray. I use URLLoader to load the mp3 external file into a byteArray. The sound is recorded on a microhpone and stored in another byteArray. I need to save to a file - the mp3 comes first and the recorded sound after. I am using WavWriter to write it out as a wav file.
The mp3 is in 44Khz and 16-bit rate. The recorded sound is in 44Khz and 8-bit.Is there a way to do this? I have researched for a few days already and tried a few things, but still cannot find the correct way to do this.
View 4 Replies
Apr 8, 2010
i am creating this little drum program, and the sounds is all done, all i need now is the ability to record what you play so you can play it back right afterwards.
View 1 Replies
Jan 30, 2012
I'm trying to build a play back progress bar for an audio recorded from the users microphone. It works okay but when I play back I can't figure out how long the audio is so I can calculate percent played for animating a progress bar. Most of these snippets can be found in LiveDocs and online examples from bytearray.org. Audio is stored in the bytearray and the sound is played back in a sound channel.
[Code]...
View 2 Replies
Aug 15, 2011
I'm trying to rig up a basic mp3 cutter in Flash (using the Flex framework)I have gotten so far:
var ba:ByteArray=new ByteArray();
sound.extract(ba, playEnd - playStart, playStart);
This extracts the relevant bytes from the sound object and stores them in ba Then, I do this:
saveFile=new FileReference();
saveFile.save(ba, sound.id3.artist + " - " + sound.id3.songName + ".mp3");
The file saves properly, but it can not be played (Players say it is corrupted) how I can create a valid mp3 file from the byteArray obtained after the extraction?
View 2 Replies
May 19, 2011
I want to save a loaded sound in FMS .
Code:
var ns:NetStream; var video:Video=new Video(); var nc:NetConnection = new NetConnection(); var playVideo:Video=new Video();[code]....
This is my code. But i need to save my loaded sound insted of mic .
View 1 Replies
May 3, 2011
I'm planning to program a small piano in flash that have an x number of notes to play through a SoundChannel.
What I have not found is a way to record what is playing through SoundChannel and send it as byteArray to a server side script that will save it as WAV (or mp3).
I know Flash Player 10.1 allows you to record sound, but everything I have found is about recording sound using the microphone class. It seems the way to go is to send the sound data to the microphone. That doesn't seem very right or possible though..
View 2 Replies
Feb 21, 2011
I need to record sound from microfone in flash and save it to server. Can someone provide an example?
View 2 Replies
Jun 7, 2011
i built and application that load multiple sound files play it in a sequence as the user order them but i wonder is there a way to save this sequence into one mp3 or wav file
View 1 Replies
Nov 21, 2009
I've designed a painter program where the user can select different colours and 'paint' a custom design on screen. What I would like to do is incorporate a 'Save' button which takes a snapshot of their drawing which they can then save to their computer.
View 0 Replies
Jun 24, 2011
The NetStream Object has a method allow to AttachCamera() and publish the camera in a group.but i want to a video which the user watching to be pulished into a group
View 2 Replies
Jan 31, 2010
How do we save file locally in Flash (ActionScript 3) without displaying dialog. I know we can use the following code to save file locally but it prompts Save dialog. I don't want this dialog while saving file locally.
[Code]...
View 3 Replies
Jul 18, 2009
When a DVR stream finishes publishing, can you use the cached file as a VOD? Where is the DVR file stored?
View 1 Replies
Feb 22, 2011
I have developed an application for recording the mp4 format movie. I am able to record mp4 format file but my recorded file is not playing in window media player.
so, if any body have some idea/suggestion about play pre-recorded mp4 file in window media player then your most welcome.
View 4 Replies
Sep 5, 2011
I wrote a simple web app that record web cam capture over FMS, now I'm trying to find out how can I fetch the recorded file and give the option to download it to a local computer
View 1 Replies
Jul 6, 2011
Can we Bypass the save dialog box of FileRefernce.save()? If not, then Is there any workaround to save a file from web application in Flex without asking user where to save file?
View 1 Replies
Nov 21, 2006
I need to create a notepad in flash.here how could i save the file by prompting the save window?
View 11 Replies
Dec 20, 2010
i have movie clip with Images and button Save and class MyProject.as how save images with my MyProject.as, with help FileReference.save? what to write in code? how code should look like? tell me good people I want to write everything in a separate class
View 3 Replies
Apr 16, 2011
I am triggering short sounds dynamically from the library for a game (Specifically Air for Android). When the user clicks a button the sound can take up to 600ms to actually play. I have set it for any silence before the actual sound by calling the sound like so:
[Code]...
All return the same results. I know there are threads here that talk about this but none have offered a real solution that I can find. Is there no way to cache the sound or store it in a buffer?
View 1 Replies
May 21, 2010
I've noticed that some flash content does not get into a browsers' cache and some does. I tried it with many different flash sites and flash games. Games can usually be easily retrieved from the browser's cache and then decompiled, which is not good for their developer but I can't say the same about many flash sites (not all of course).
how to protect my flash content from being put into a browser's cache folder?
View 2 Replies
Sep 28, 2009
I am wondering if it is possible to add/inject a cue point to an FLV server-side that has been recorded/published from a users webcam using FMS3.5.
View 5 Replies
Feb 2, 2010
I have a problem with recorded stream: The MetaData its partialy correct.Most of the informations are correct, but the 2 most important information for me width and height for the video are always 320 x 240 for any recorded stream althow they are published at different WxH.I tried to get my head around this but cant seem to figure out were the problem is.FMLE its used to publish the stream useing H.264 / MP3 codecs.Here is the server side code used to record the stream:[code]....
View 9 Replies
Feb 27, 2010
I'm combining streams from a number of cameras together into a recorded stream, let's called it 'serverstream.flv'. The source streams are all from webcams, and each user is assigned a stream name based on their name and a user id, like '1_bob' and '2_julie'.
Sometimes the presenters stop broadcasting temporarily and we just switch to a blank window. The stream on the server side stops recording at that point by calling[code]...
View 4 Replies
Mar 20, 2010
I am using adobe dvrcast to record my live streams. the problem I am having is when I stop the encode during a live stream, a new file is not created, the existing stream is written over. How can I preventive this from occuring. Is there a way to have all vod files that are in one folder to roll over to the next file during play back.
View 12 Replies
Sep 4, 2010
I'm creating a Flex application that enables users to communicate in a kind of video chat room. I only allow to live streams at any given moment. I'm using FMS to record the videos in FLVs. What I need to do is post process those videos and create a single video with all that happened in the video room. That means that I need to combine 2 videos, reduce the size of one of them so it appears over the other one. In other words one video will use the whole space an the other will appear at the upper left corner (over the other video,).
I need a server side solution for this. I created another post here and someone suggest a screen capture solution. That would work perfectly, but since this appliction will be used for several people and any time, I want the process to be automaticaly not manual. So, I'm thinking I can do it with FFMPEG, but I need a way to identify in which order I need to compose the videos. Something like adding a time stamp to each FLV in FMS (when they are recorded). How can I add custom metadata to the FLV?
View 1 Replies
Oct 15, 2010
There seems to be great documentation on multicasting live streams.I can't find anything about multicasting recorded stream. Is there documentation? Or any other sources of info on multicasting recorded streams?
View 4 Replies
Dec 2, 2010
I don't find such API to indicate whether a stream is live or not.
Anyone knows how to judge this,either by client side or server side actionscript?
View 4 Replies
Oct 31, 2011
I am trying to record a video chat being done through FMS. I have made my program start recording only when the second stream publishes. Then, I stop recording when either streams stops publishing. In my last test I recorded a 45 minute chat. The resulting flv files show that there are 13 seconds difference between them. The video gets more out of sync as it goes along. My first guess is that it is something to do with dropped frames. Is there any way to force FMS to fill in dropped frames. I'm posting my code for starting and stopping recording:
[Code].....
View 1 Replies