ActionScript 3.0 :: Stream Audio Source From Output?

May 27, 2010

I'm writing an application with AS3 and Flex 4 for Adobe Air 2.0RC and I seem to have run into an interesting predicament.

I am aware of the microphone class and the method to capture recording from them to a byte-array, I am wondering, however, if there is a way to capture another source of audio, say, from an output on an external sound card.

Is anyone aware of an AS3 method of capturing sound from an output?

View 0 Replies


Similar Posts:


ActionScript 3.0 :: Audio Stream Player : Getting Informations From The Source

Sep 11, 2011

I'm trying to create a webRadio player, wich different sources. On a click on a button, the player plays the corresponding flow. I would like to display some informations, like : current music, url, description, I think it's possible to have all those informations, because when I play my. files in my audio player (winamp), I've got them. Here is my code corresponding to this part :

[Code]...

View 4 Replies

Media Server :: Write Access Denied For Stream Error When Recording Audio Stream

Jul 26, 2010

I've had FMS running on my local machine for a while and have had a little experience writing FMS apps, but I've just tried recording audio for the first time using the standard vod application and I keep getting a "Write access denied for stream" error. My AS3 code is copied and pasted for various examples and am confident that it works.
 
I'm running Windows XP service pack 3 & FMIS 3.5.
 
I've had a look at the vod/media directory and under windows->properties the read-only attribute is ticked. Every time I un-tick this it reverts back to being ticked. I've googled this and MS say that most programs ignore the read-only attribute and that it only really applied to files. I've also tried the MS fix for setting the read-only attribute via cmd and still no joy (doesn't fix read-only attribute or FMS recording the audio after setting via cmd).
 
I've also tried our dev server install of FMS (running under linux) and am getting the same results.
 
Here's my AS3 code...
 
private function initApp(event:Event):void
{
removeEventListener(Event.ADDED_TO_STAGE,initApp);

[Code].....

View 1 Replies

ActionScript 3.0 :: Getting Audio Stream Meta Data From An Akamai FMS Stream

Jul 21, 2009

I am having trouble getting audio stream meta data from an Akamai FMS stream. Everything is undefined and I'm not sure why. I am hoping maybe someone will notice something that I am overlooking. The stream is connecting and playing without a problem I just can't seem to figure out why all the meta data is undefined.

[Code]...

View 6 Replies

ActionScript 3.0 :: Audio Synchronization - If The Audio Were On The Timeline You Could Set Sync Params To Stream?

Mar 11, 2010

Because the player optimizes framerate, antialiasing etc dependent on the performance capabilities of the platform upon which it is running, it was nearly impossible to ensure animation syncronization w/ audio. If the audio were on the timeline you could set sync params to stream, but if the audio is loaded programically forget it .. well until AS3 ..The following code throttles the player framerate to lock step the animation to the audio .. not perfect but the principal works ..

View 1 Replies

Php :: Recording Audio On Website: Red5 Stream Or Posting The Audio Data?

Sep 6, 2011

Let me first establish what I want to do:My user is able to record voicenotes on my website, add tags to said notes for indexing as well as a title. When the note is saved I save the path of the note along with the other info in my DB.Now, I have 2 choices to do the recording, both involve a .swf embedded in my site:

1) I could use Red5 server to stream the audio to my server and save the file and return the path to said file to my app to do the DB saving, seems rather complicated since I would have to convert the audio and move it to the appropriate folder that belongs to the user in a server side Red5 app, which I'm not very aware of how to build.

2) I could simply record the audio and grab its byte array, do a Base64 encoding on it and send it to PHP along with the rest of the data that is necessary (be it by a simple POST or an AJAX call), decode it on the server and make the file with the appropriate extension, audio conversion would also occur here using ffmpeg, this option seems simpler but I do not know how viable it is.

View 1 Replies

Media Server :: Stream And Audio Line Level Feed Rather Than The Audio From A Computer's Microphone?

Apr 1, 2012

Is there a way to stream and audio line level feed rather than the audio from a computer's microphone?

View 1 Replies

Media Server :: Capture Mac Firewire Output In FMLE And Stream Through FMS?

Jan 5, 2011

I need to take the some stream which is coming from firewire on mac, and then transcode/encode it to perticular bitrates, then stream.I think from firewire to FMLE, its straight forward. How can i stream? How can i give my clients ( say from mobile, or from any player as a http url streaming) stream? Do i need to use Flash media server, if yes can anybody point out the steps to set-up the same.

View 12 Replies

Flash :: Dual Audio Output From Browser?

Apr 2, 2012

I'm assuming this is flatly impossible, but has anyone ever heard of or seen a way to implement dual-audio output from within a browser, a la DJ software (user's hardware allowing)? Anything in Flash? Google searches don't seem to be giving me any love on this...

View 2 Replies

ActionScript 2.0 :: Recording Audio Output Without The Microphone?

Dec 2, 2006

I am having a problem trying to record internal sounds made from the flash file.I can record sound from the microphone no problem,What i want is to be able to record the sounds from the flash file without isung the microphone etc.

View 2 Replies

Flex :: Open Source Lib For Audio Based Generative Art ?

Nov 13, 2009

I need Open source lib for Audio based generative art (Flash/Action Script)Something like or easier than Very Interactive People example

Something more strictly formatted and more 2d than Mr.Doobs examples

View 1 Replies

ActionScript 1/2 :: Detect Audio Output Devices In Flash?

Jan 7, 2007

i need to play back mp3 file in flash. but i have more one output device installed in my pc. the question is:-
can flash list all (detects) audio output device installed in my pc then let me pick one of them to play back sound by selected output device?

View 1 Replies

Professional :: Not Getting Any Audio Output When Viewing Video In Flash?

Jun 22, 2011

Not getting any audio output when viewing video in flash?

View 1 Replies

Change Flash Player Audio Output Device?

Mar 11, 2011

Is there a way to change flash players audio output device? if not, is there a swf player who has this possibility?

View 2 Replies

Actionscript 2.0 :: Stream FLV Videos Live With Red5 Open Source Flash Server?

Nov 19, 2009

I wonder how I can stream FLV videos live with Red5 open source flash server.

I've tried most of the methods I know of, but can not get it to.

script that can stream live FLV videos.

View 2 Replies

Php :: Send More Than One 'stream' Of Jpeg ByteArray Data In A Single URLRequest And Output 2 Images?

Jan 25, 2011

I have an AS3 swf which users can upload jpg images to my EC2 instances which sit behind and Elastic Load Balancer. The jpg images are converted into bytearray data and sent using URLLoader.load(URLRequest)I make 2 calls when uploading, one to upload a large version, then another to upload a thumbnail version. A PHP script to which the bytearray data is uploaded converts this to a file using file_put_contents($destination,$GLOBALS["HTTP_RAW_POST_DATA"])Is it possible to combine these two requests into a single request which contains both the bytearray data for the large and thumbnail images and 'split' the HTTP_RAW_POST_DATA to create 2 files at the server. This would be better than uploading the bytearray for the large version then using something like ImageMagick to resize the resulting image into a thumbnail which I realise is another option.

View 1 Replies

ActionScript 3.0 :: Microphone Input>Delay 3 Seconds>Audio Output?

Dec 2, 2009

Basically I want to recreate a sound installation that I made a couple of months ago which used Logic Express and a Tape Delay effect to take ambient sound captured by a mic, delay its output by 3 seconds, and then play it into the headphones. All without recording anything and in realtime.I've basically got this far, which lets me hear the mic input through my headphones loud and clear. Now all I want to do is apply a 3 second delay to the input before it outputs. Do I have to send the audio to a buffer where it can be constantly stored and rewritten?

Code:
//Create a new Microphone
var mic:Microphone = Microphone.getMicrophone();

[code].....

View 3 Replies

Possible To Stream Only Audio?

Jun 8, 2011

Does anybody knows if it it possible to stream only audio?

I'd like to stream video+audio (different qualities : ~1000 kbps and ~400 kbps) and audio only for low-bandwidth (~128 kbps).

Adobe Flash Media Encoder Live allows me to stream different qualities. And what about audio-only stream?

And of course I don't want just to hide video on client-side.

View 2 Replies

Media Server :: FMS4.5 Live Stream With Multiple Video Files As Single Source?

Jan 27, 2012

I am using Flash Media server 4.5 and i read the tutorial if i want to stream the live feed, i may need to use the media live encoder.
but what i found in media encoder is i have to manually setup everything and it only support camera devices. But in my case i have multiple video files keep received from another program and place it on file system (server),my goal is use the Flash Media server to perform a live boardcasting with these video file one by one. That means when client watching a live streaming, they will not notice the server is playing mov1, then mov2, then mov3, then mov4... and so on.
 
You can imagine i am trying to boardcast a live footage say for 60sec, but the video file will not recorded entirely after 60sec, instead for every 10sec i will save a new video file, so that when client watching the live by HLS [URL]when the time reach to 10sec, a mov1 video file available and FMS should boardcast this video on live123.when the time reach to 20sec, a mov2 video file available and FMS should Immediately follow the mov1 boardcast on live123.and so on...Also can FMS dynamically create a new streaming session (invoke by code), so that when client A uploading some video files to the server, the FMS open a new streaming session only stream cilent A video files?the configuration to boardcasting like screen size, bit rate, etc should be pre-defined on the server.  [URL]

View 5 Replies

ActionScript 3.0 :: How To Stream Audio Using Php

Nov 21, 2009

I'm interested in setting up a site where I can put MP3 files on my server (outside the web root) and stream them to a flash application. I'm not talking about progressive download here. The basic idea is to let visitors hear a band's music without actually downloading or caching an mp3 or SWF which could be located as a file and saved or ripped.I have seen this awesome tutorial on streaming an flv and was wondering

View 2 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

ActionScript 2.0 :: FREE Open-source Files To Create Audio-driven Flash?

Jan 31, 2002

I've created something that comes close.Download includes all open-source material and a manual to create your own audio-driven animations in Flash 5, and a player skinned by renascent of [URL]

View 8 Replies

ActionScript 3.0 :: Stream Asx Audio In Flash?

Jan 9, 2009

I would like to stream asx audio in flash, is this possible?

View 2 Replies

Media Server :: HLS VOD Audio-only MP3 Stream?

Apr 7, 2012

I'm trying to setup an audio-only, on-demand HLS stream in FMS 3.5. I have no problems streaming the sample f4v files via HLS, nor do I have any issues streaming the mp3 files via RTMP to a Flash client. However, when I try to stream a sample mp3 via HLS (the mp3 file is located in the same directory as the sample f4v's), I get a 404 error. I can't find anything in the documentation about streaming audio via HLS on-demand.

View 1 Replies

Flex3 :: Stream Video And Audio

Mar 1, 2012

i am new to flex. I have this task. My boss wants an application that will enable his secretary in another room listen and view and probably take minutes of his meeting in the conference room. There is a webcam attached to one of the computers in the conference room.

View 1 Replies

ActionScript 3.0 :: Stream Audio With Flash And PHP?

Nov 21, 2009

I'm interested in setting up a site where I can put MP3 files on my server (outside the web root) and stream them to a flash application. I'm not talking about progressive download here. The basic idea is to let visitors hear a band's music without actually downloading or caching an mp3 or SWF which could be located as a file and saved or ripped. I have seen this awesome tutorial on streaming an flv and was wondering if anyone can recommend a PHP/AS3 solution which would let me do the same for audio.

View 9 Replies

ActionScript 2.0 :: How To Stream Audio Clip Through RTMP

Aug 20, 2009

I'm trying to stream an audio clip via rtmp in as2. I'm not particularly attached to the method, but this is the starting point I am at below:

Code:
var s:Sound = new Sound();
var req:String = "rtmp://path/filename"; //doesn't work
var req:String = "[URL]"; //This works
s.loadSound(req, true);

I need to get an RTMP audio stream working, does anyone have any experience with this? (Also not sure if this goes in the actionscript folder or the sounds folder.

View 3 Replies

ActionScript 3.0 :: Prevent Multiple Audio Stream?

Dec 20, 2008

I used source code I found for a sound stream visualization (By Peter Dehaan). I added a play and stop button, but when a user clicks on play more then once it loads the stream multiple times. I don't quite know what I should do to prevent this.

View 3 Replies

Media Server :: Publish An Audio-only Stream (HLS)?

Apr 5, 2012

"To serve streams over a cellular network, one of the streams must be audio-only. For more information, see HTTP Live Streaming Overview.To publish an audio-only stream, enter the following in the Flash Media Encoder Stream field:livestream%i?adbe-live-event=liveevent&adbe-audio-stream-name=livestream1_audio_only&adbe-audio-stream-src=livestream1If the encoder specifies individual query strings for each stream, use individual stream names instead of the variable %i:livestream1?adbe-live-event=liveevent&adbe-audio-stream-name=livestream1_audio_onlylivestream2?adbe-live-event=liveevent&adbe-audio-stream-name=livestream2_audio_onlyTo generate a set-level variant playlist when using an audio-only stream, specify the audio codec of the audio-nly stream. Specify the audio and the video codec of the streams that contain audio and video.For more information about using the Set-level F4M/M3U8 File Generator, see Publish and play live multi-bitrate streams over HTTP.

View 7 Replies

Javascript :: IE Not Letting Flash Stream Audio

Dec 10, 2009

This problem is happening is both IE8 and IE7. I have a small swf compiled with flex. It's basically just a wrapper around audio streaming functionality. All the controls and such are in html with javascript. I load the swf using swfobject's "static" method. This works great in Firefox and Chrome. In IE, the swf loads correctly, but as soon as I try to stream any audio with it, I get an error. EDIT: I've reduced the code quite a bit to try and find the problem. You can see the new version running here. Here is the error, html and flex files for my reduced version:

[Code]...

View 2 Replies







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