Media Server :: Microphone Sound Recording,saving / Playing Flv File Is Saved But Not Working
May 4, 2009While recording the flv is saved inside applications/stream/samples/audio.flv. But it is not working properly.[code]
View 1 RepliesWhile recording the flv is saved inside applications/stream/samples/audio.flv. But it is not working properly.[code]
View 1 RepliesI 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 Repliesi have build a small test app in Flash Pro 5.5 overlayed with the AIR 3 sdk.is has just 2 buttons to record and playback audio from the microphone. when i test this on my iPhone 3g - i record myself saying "1-2-3-4-5". but when i playback a half a second or so is missing from the beginning : "3-4-5-".
when i test this on the desktop all is fine is this a result of the iPhone 3g's cpu power or is it a bug or is it my code?
[Code]...
I have a working mic recording script in AS3 which I have been able to successfully use to save .wav files to a server through AMF. These files playback fine in any audio player with no weird effects.
For reference, here is what I am doing to capture the mic's ByteArray: (within a class called AudioRecorder)
public function startRecording():void {
_rawData = new ByteArray();
_microphone.addEventListener(SampleDataEvent.SAMPLE_DATA, _samplesCaptured, false, 0, true);
}
[Code]...
The audio file plays at double speed! I checked recording bitrates and such and am pretty sure those are all correct, and I tried changing the buffer size and whatever other numbers I could think of. Could it be a mono vs stereo thing?
I am totally new to Flash Media Server I need to be able to record sound via a Flash app and save it to a server preferably without the use of a Flash Media Server type setup. There is no requirement for live streaming. Is it possible to record the sound and save in memory then pass the data/file as a query parameter to the server?
View 2 RepliesI have this sample code from the e-book: "Learning Flash Media Server 3". The purpose of the code is to create a FLV. The code is not running as it should. When I click on the 'record' button, the label is to change to 'recording', that dosen't seem to happen and also when I click on the 'Stop Record' button, I get the following error:
"TypeError: Error #1009: Cannot access a property or method of a null object reference.at MinRecord/stopRecord()"
[Code]....
My deduction is that the 'if' statement in the 'startRecord' function is not resolving to 'true' and hence the label is not changing to 'Recording'. Also I feel that the assingment to the variable 'ns' of type NetStream is not being done and hence in the function 'stopRecord' I get the above mentioned error message when I click on the stop button. How do I rectify these problems?
I am currently an English teacher and I am familiar with programming in DOT.Net platform. I am completely new to Flash. I turned to this platform because I thought that would be the best way to prepare interactive computer based exams in English. My real problem is, I don't have the slightest idea as to how I can create a Flash application which records the sound through the microphone and saves it on the local disk.
View 1 RepliesI'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].....
How to save the file.
View 1 RepliesI need to record what's streamed to the livepkgr application as an MP4 file (or convert it afterwards).As of the default settings the livepkgr applications records all incoming streams as an F4F file (using the main.asc file that came with the installation).I've tried streaming and recording an H.264 videostream with AAC sound (as per these instructions)
If I move this recored file to another application and rename it to MP4 an external player (JWPlayer) can play the stream just fine, as can iOS devices (though with some minor issues when scrubbing).The renamed file won't open in Windows Media Player or Quicktime Player, though.
I've tried using the f4vpp tool and processed the video into another MP4 file. This file streams just fine to the external player as well, and it resolves the scrubbing issues on iOS devices.The file now opens in Windows Media Player, but Quicktime Player still won't open it with the following message: "Error -2002: a bad public movie atom was found in the movie (filename.mp4)"I really need the livepkgr application to record in a format that either is by default, or can easily be converted to, a proper MP4 file that can be opened in all applications.
How can I record and save sound in flash AS3. I have writing access to the server and also access to PHP files.
View 1 RepliesI try to switch or change a server-side stream, it starts lagging after 2 seconds of playing and sound disappears. Here are scenarios that result in that terrible lag:
1. I create server-side playlist with stream.play() with reset=false; when it is time to play the next movie in the playlist, it starts lagging after 2 seconds.
2. The same problems appears when I just switch streams. I installed FMF Feature Explorer and tried to launch SwitchStreams sample application: the same problem - server stream starts lagging after I switch streams with stream.play().
I tried on different servers (local and remote), with different players (debug player of FMS Admin Console, Standard Flash videoplayer component, OSMF player, Flex video player). I also tried all possible flv, f4v and mp4 file compression options for video files - still the same problem. I have also tried literally thousands of Application.xml settings: changing buffer, buffer ration etc. Is there any tip where I should search for a solution?
As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?What I am trying to do, is to record a user's microphone's input and save it to the server.fterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?
View 1 RepliesFLV files are not getting saved at the particular location mentioned in the application.xml file on FMS. Instead we are getting log in the log folder and instance which is joined to the FMS in the http folder on the FMS. Is their any way to find out why we are not getting saved those files at that location?
View 2 RepliesI want to have a website where users can record short video clips (using a webcam) and then have those videos saved on the FMS for viewing later. I've seen a lot about streaming video, but I actually want to save the video.
View 1 RepliesI'm doing a test install before we update our old server to 4.03.I've got the server software installed and configured (4.03 server, using iis for web).All the test stuff on the sample index page works, except for the dynamic stream tab.I've eyeballed the .f4m file, and tried putting in a complete url to the samples...but no luck.i just keep getting the stock connection timed out message.
Where do i need to look to start confiriming where this issue may be coming from?I've made made sure I can reach all the test videos by making flash players for them, calling them via rtmp... no problems.It's got to be something dumb with either the f4m file, or the way it's being served (btw, i have added all the mime types to iis , including .f4m as video/mp4....which is one of two ways I've seen it added).
We have mutiple live streams(games) in our application and one of our requirement is to record the games when they start and end the record after stop.We have written a servere side Code based on guidelines provided in the forums. Our Sample code looks like this.
Client.prototype.startRecord = function( source, destination )
{
trace("Recording Stream: " + source + " to: " + destination);
this.newStream = Stream.get(destination);[code]..............
We have written a PHP page which receives the Game Start and Game Stop and calls the FMS startRecord and stopRecord functions accordingly.We tested this record manuall by passing the values to PHP page and recording works perfectly.Our problem arises when we automate this recording. Every minutes we have 10 games that are created and hence the PHP page calls FMS 10 times a minute to startRecord and stopRecord.Some of the recorded flv are inconsistent and recording is never complete.
Can FMS take such sequential request? We are stuck with this because the recording is partial sometimes.We are using FMS 4 with Red Hat. Any other information will be provided.
how can i mute microphone using AS3?
View 2 RepliesWhat I want to know is if it is possible to record a sound clip using a microphone and then upload it to the server using a swf applet in a webpage. Im an experienced java/javascript programmer but just starting out with flash/action script. What technologies will I need to do this? Can I do this simply using simply an swf file and an apache/php or jsp page?
View 2 RepliesMy data path looks like this:
Live Stream Encoder====>My FMS (my own server) republish to======>CDN======>Viewing Client
I want to archive the live stream at the first stop, my FMS. Adobe live docs say if I want the recorded file to be of format F4V (H.264), the stream name with which I publish must be of the format mp4:streamname.f4v. My CDN, unfortunately, requires the stream name it receives to be of the format "streamname".
[Code]...
Is there anyway to satisfy both requirements?
any code examples on server-side scheduled recording on FMIS?
Need to record live stream i'm getting from FMLE but from scheduled start to end time.
Can i add more scheduled recordings while live streaming is working?
Is there any param value... or anything else I can use to stop the sound in an .flv file I'm streaming from the server?
I do not have the original video that the flv was created with... otherwise this would be a no brainer. I want to keep the video up but take away the sound
I want to write a code in Flash to detect whether user's microphone is connected to system or not. My application records from users microphone, now while recording is accidentally or intentionally user's microphone gets unplugged from system then I want to show a message to user. Is this possible to do in flash. I have tried many thing but didn't succeeded. Few thing what I tried are mic.getMicrophone method, this method only returns the sound card of the system, but didn't tell you anything about microphone is connected or not.
View 1 RepliesWe intend to develop a Flex client application the user to send audio from your microphone and mp3 at the same time to a server that Flash Media Server.It would be a mix of microphone and music in mp3 that is playing in the application at the same time transmitted to the listeners.What will be the version of Flash Media Server that enables this mixing of audio from microphone and music played on the client in flex?
View 1 RepliesI'm trying to record a FLV, using servers-side scripting. It's working as expected. I'm using record('append') to add streams to the same file. What I want to do now is record the streams in "real-time". I want to keep the same functionality (append) but I want to "records" the time that there is no streams available. In other words, I want to ends a with a file (FLV) with the srtreams separated by black frames when there are no streams available. If the time between a stream and the next stream is 5 minutes, I want the FLv to play 5 minutes in black.
View 4 Replieshow to remove flash player security pop up for camera and microphone through coding.
View 4 RepliesI would like to access to microphone bytearray in realtime to modify the sound to record.How can i do this?
View 4 Repliesi dont know that how mix a mp3 files with microphone in as3 and where should I start.
View 1 RepliesI'm making DVR application and I'd like to use h-264 codec, but got following problem. While f4v file is recording, client application (for example Adobe DVR Sample Application player) cannot seek inside the video. It starts playing sought part of the video and stops in few seconds. When recording process finishes the seek works correctly in the recorded file. The process described above works fine when I use vp6 codec. I am using FMLE 3.1 and FMIS 3.5.3
View 5 RepliesIs it possible to record .flv in an encrypted mode? I know RTMPE, but I mean an encrypted flv file, not only encrypted streaming. we want to be sure that the recorded messages will not be avaible for playing locally via a flvPlayer. (the application is running on a FMS service provider' server)
View 2 Replies