Php :: Export Microphone Recorded Byearray As Wav Or Mp3 From Flash?

Jul 30, 2011

exporting a bytearray to a wav or mp3 (or anything that runs!) from my flash code to my php page. I am using microphone recorder to record voice, i use a a url request to send my ByteArray to my PHP page.i send the bye array from flash like this:

var url = "http://localhost/wordswesay/uploads/testrec.php";
var header:URLRequestHeader = new URLRequestHeader ("Content-type", "application/octet-stream");
var request:URLRequest = new URLRequest(url);

[code]....

at the server side (the sime file as the php script) i get the test.wav with about 200kb of size but i can not play it! media players says it can't play this file as the codec might not be supported.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Export Audio Recorded In Flash Player 10.1?

Nov 20, 2009

I've been experimenting with the new Microphone API on the Flash Player 10.1 and I managed to do a microphone recorder/player. Pretty cool!

Now, the problem is that I don't know how to save/export the sound recorded into any common format like WAV, MP3 or anything else!

View 3 Replies

Media Server :: Microphone Activity Level At -1 Even Though Microphone.getMicrophone() Is Called, Why?

Oct 7, 2009

I'm setting up an application where I need to record users' voice every so often during the course of the users' interaction with the application.  Recording is fine, and the quality is fine, but now my issue is understandng how Flash handles the microphone when it gets attached to a stream for publishing.Basically, the problem is that when I "publish" my stream, the voice gets cut off (clipped) at the beginning.  So, I initially thought this may have to do with buffer settings on the FMS server side, but it wasn't. Then I investigated client side stuff.  For some reason, my internal mic .activityLevel property is -1 even though I have called Microphone.getMicrophone().  According to Flash's documentation, this shouldn't be the case:
 
activityLevel    propertyactivityLevel:Number  [read-only]Language Version :     ActionScript 3.0Player Version :     Flash Player 9The amount of sound the microphone is detecting. Values range from 0 (no sound is detected) to 100 (very loud sound is detected). The value of this property can help you determine a good value to pass to the Microphone.setSilenceLevel() method.If the microphone is available but is not yet being used because Microphone.getMicrophone() has not been called, this property is set to -1.I am using a timer to investigate the microphone .activityLevel property every 50 milliseconds:
 
package
{
import fl.controls.Button;
import fl.controls.TextInput;[code].....

View 1 Replies

Flash 3.5.3 - Breaking Change On Playing Pre-recorded Files?

Feb 1, 2010

installing Adobe FMS 3.5.3 seems to completely wipe out all our interactive applications, and I wondered if anybody else had the same experience.

Back in the happy days of 3.5.2, to add a pre-recorded file to a stream, we created the stream:

this.clientPlayStream = Stream.get (slrStreamName);

[Code]...

View 1 Replies

Flash :: Detect If A New Microphone Is Available?

Jun 1, 2011

It appears that if one has a mic available, then one can add an event listener for the StatusEvent. However, this only tells you if the mic has been allowed or disallowed.

What I'd really like to do is detect if the static Microphone.names property changes. I would have expected this property to be bindable.

If I right click and select "settings" immediately after plugging in a mic, I can see that flash has updated their list of available microphones. However, there seems to be no way in code for me to receive the same update.

The docs say "Calling Microphone.names requires an extensive examination of the hardware, and it may take several seconds to build the array." So I think polling this every few seconds is not a feasible option.

View 3 Replies

Javascript :: Access The Microphone Without Flash?

Oct 17, 2011

Is there a possible way to access the computer microphone from a web document (open in a browser) without have to go through Adobe Flash ?

View 1 Replies

Flash :: Using Microphone To Interact With Webpage?

Dec 8, 2011

I am looking for advice how to set web pages where user can interact with it using microphone. The aim would be that user can say word and the word would be recorder and the file compared on server with another sound (word) and then the result (the searched word) would be displayed. It would be a spoken dictionary.

View 2 Replies

Professional :: Adobe Flash Tried To Play A Live Or Recorded Stream That Does Not Exist

Sep 4, 2011

I have started a stream from Flash media encoder to flash media server. According to my encoder, it should be located at: "rtmp://localhost/live" and is called livestream.In the Flash  software I try and set the source of FLVPlayback component to "rtmp://localhost/live/livestream", and I get this error: "NetStream.Play.StreamNotFound : Adobe Flash tried to play a live or recorded stream that does not exist. Source can't be found.". Both the server and encoder is runnind and I am encoding.Too, when I try and open the html with the stream in a browser, nothing appears.

View 5 Replies

Flex :: Export App Including Database Files With Using Export Build Release Wizard?

Apr 1, 2011

When I try to export my application to native installer with using Export Build Release, it isn't importing my sqlite database files which are in my application directory. Is there a way that I can import those database files ?

View 1 Replies

Post Microphone Input From Flash To Server

Apr 5, 2010

We're trying to get microphone input in a Flash movie and the post it to the server so it can be saved in a file.

Currently, we're using PHP in the server, but I guess the key thing here is: How to post the audio to the server?

After a post is made, then I guess it'd be a matter of handling the encoding and saving to a file, which can be done with pretty much any server-side language.

View 1 Replies

ActionScript 2.0 :: Getting Audio From Microphone Using Flash Interface?

Jul 16, 2008

In my project i need to get the data from the microphone and webcam to upload in the webserver. how to get the data from those devices

View 1 Replies

ActionScript 3.0 :: Flash Take The Volume Of A Sound Spoken Into A Microphone?

Apr 4, 2011

I'm working on a project for my Flash class that seems to be above everyone's heads.  What I'm trying to do is figure out how to take sound from a microphone, register the level/volume of that sound in flash.  So if the level is 25 then a movieclip and a different sound is played back.  Problem is I don't know what coding I can use to register a microphone and take whatever sound is put into the microphone and display a movieclip.

View 13 Replies

Disable Flash Prompt For Camera And Microphone Access?

Jan 21, 2011

How do i disable the flash prompt that comes for microphone and camera access.

View 2 Replies

Actionscript 3 - Flash 10.1 - Applying Realtime Effects To Microphone?

Feb 9, 2011

I'm trying to write a flash application which takes a Microphone stream and applies realtime effects and outputs this back to the speakers. I'm finding I'm having problems with stuttering when taking the output from the mic, copying this into a ByteArray amd then using a seperate

sound = new Sound();
sound.addEventListener(SampleDataEvent.SAMPLE_DATA, processSound);
sound.play();

to read from this ByteArray and play back the sound.I have noticed that the input from the mic's bytesAvailable changes, and also that the two events (the mic's SAMPLE_DATA and the sound's SAMPLE_DATA) aren't firing A B A B A B A B like would be needed but is more random.

Am I right in thinking that the mic.SAMPLE_DATA event fires at different intervals with different amounts of data and a working implementation would need to read the available data in and buffer the input so that the Sound SampleDataEvent would always have something to play back to avoid the stuffering?

View 1 Replies

Flash Player 11 :: Encode Microphone Raw Audio Data To AAC Or Mp3?

Dec 19, 2011

We need send h264 from flash to Wowza and after to vlc by RTSP protocol. But if we send sound in Speex codec, we not listens sound. what it is possible to make?

View 1 Replies

Flash :: Recording And Saving Sounds To File NOT From The Microphone?

Feb 3, 2012

I am trying to create a Flash application(more like a game) where a user can add sounds to a timeline and then play the resulting "song". That is not really hard to do, and the resulting track can be saved and played within my app, but the problem is that I would like to export the created track as a .wav(or .mp3). I know that recording from a microphone with MicRecorder is possible and then the record can be exported with WaveEncoder, but I didn't find a way to create a custom sound stream from multiple sounds and than export it. Is this possible?

View 1 Replies

ActionScript 2.0 :: Possible To Use Flash To Record From A Microphone To Local Disk?

May 11, 2004

Is it possible to use flash to record from a microphone to local disk? I mean audio from a user - using local shared object or something?

View 1 Replies

ActionScript 2.0 :: Playing Around With The Video And Microphone-in Functions On Flash?

Feb 13, 2006

been playing around with the video and microphone-in functions on flash. As far as playstation eye toy-style games are concerned was wondering if there was anyway of measuring motion in a video, or maybe colour in certain areas of the video.

View 1 Replies

ActionScript 2.0 :: Use Flash To Record From A Microphone To Local Disk?

May 11, 2004

Is it possible to use flash to record from a microphone to local disk? I mean audio from a user - using local shared object or something?

View 1 Replies

Media Server :: Flash - Player Security Pop Up When Using Camera And Microphone?

Aug 25, 2010

how to remove flash player security pop up for camera and microphone through coding.

View 4 Replies

ActionScript 3.0 :: Record Sound From Microphone With Flash Player Lower Than 10?

Jan 4, 2011

Is it possible for me to record sound from a microphone using a lower version of flash player, say Flash Player 9?

View 2 Replies

Flash :: Enable Speex Codec On Microphone Object In Flex 4?

Nov 23, 2010

From what I have read, using Speek over Nellymoser is advantageous, but I can't figure out how to use it with a Flex 4 Microphone object. For instance, the last code line:

[Code]...

View 1 Replies

Flash :: Record Using Microphone And Save It In Local Disk Drive?

Jun 14, 2011

I got the code

var mic:Microphone = Microphone.getMicrophone();
mic.setUseEchoSuppression(true);
mic.setLoopBack(true);

when I browse thru adobe documentation for microphone access. But I could not find a way to record the sound and save it in the local drive.How to store the sound in local drive???

View 2 Replies

Actionscript 3 :: Reactivating The Camera/Microphone Allow Panel In Adobe Flash

Jun 21, 2011

When an Adobe Flash program accesses a camera or microphone in Adobe Flash, Adobe pops up a panel to the user if they want to Allow or Deny access. If the user clicks Deny, I would like to pop the same panel back up. However, trying to access a microphone or camera again doesn't seem to do it.

I know there's Security.showSettings(SecurityPanel.PRIVACY), but this is a slightly different popup which has a "Remember" option which I explicitly do not want.

Is there a way to repeatedly popup the Allow/Deny confirmation without the Remember option?

View 1 Replies

Actionscript 3 :: Adobe Flash Record Compressed Samples From Microphone

Dec 15, 2011

I want to capture audio samples from the microphone in my adobe AIR application and then save them to an flv file. I have the following code:

mic.setSilenceLevel(0, DELAY_LENGTH);
mic.codec = SoundCodec.SPEEX;
mic.encodeQuality = 6;

[Code]....

The problem is that I suspect that in my handler I am only getting raw samples and not compressed samples. The reason for my suspicion is that the number of bytes I get per message is equal to 20 ms (which my definition is 1 speex frame) of raw audio and not compressed audio. Also the number of bytes doesnt change if I change the encodeQuality. Reading the documentation suggests that adobe will only compress the audio before transmission to a flash media server or another peer. Is there a way to publish and read the stream locally in order to get compressed samples. ? Or any other way to get the compressed samples?

View 1 Replies

Media Server :: Adobe Flash Tried To Play A Live Or Recorded Stream That Does Not Exist. Source Can't Be Found?

Sep 5, 2011

I have started a stream from Flash media encoder to flash media server. According to my encoder, it should be located at: "rtmp://localhost/live" and is called livestream.In the Flash  software I try and set the source of FLVPlayback component to rtmp://localhost/live/livestream", and I get this error: "NetStream.Play.StreamNotFound : Adobe Flash tried to play a live or recorded stream that does not exist. Source can't be found.". Both the server and encoder is runnind and I am encoding.

View 12 Replies

Flash :: Movie Doesn't Ask Permission For Accessing Microphone In Google Chrome?

Sep 5, 2011

I have embedded an online-call on a website.Everithing works fine in all browsers except Google Chrome. Flash plugin in Chrome doesn't ask permission to use microphone and doesn't call. Any suggestions?P.S. The size of the Flash object on the page is enough for displaying the dialog.At first size of Flash block was the issue but it didn't prevent flash element from calling to our call-centre even though caller couldn't been heard. Now we fixed the size and dialog pops up in all major browsers except Chrome. It feels like Flash movie in Chrome doesn't come to using microphone.

View 1 Replies

Media Server :: Upload My Pre Recorded Flash Clips To The Server?

Mar 11, 2010

I now have a Windows PC and I purchase Adobe Flash Media Server 3.5 software and install.I but server space on a managed server arrangement.I upload my pre recorded Flash clips to the server and my website and playlist to my host. Basically the website is channelled via http and the clips via RTMP. The key question that no one inside Adobe seems to be able to grasp (or answer) is ~ will it work if I stream my own clips?! or is it inferior to say that of a professional streaming company.The streaming companies charge anything from $125 to $250 a month, a big cost for someone like me, streaming around 1000mb a month. So does anyone out there have direct knowledge of this software and can you stream via rented server space without using a streaming company?

View 1 Replies

'netstream' Error Message "Adobe Flash Tried To Play A Live Or Recorded Stream That Does Not Exist"

Oct 13, 2010

I'm just trying to figure out this error message that comes up when I am importing a video into flash. It says: 'NetStream.Play.StreamNotFound: Adobe flash tried to play a live or recorded stream that does not exist. Source can't be found'

View 2 Replies

Mutlicast A Recorded Video?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved