Actionscript :: Java For Audio/video Recording And P2p?
Dec 10, 2010What is better to study. Java or Actionscript for audio & video recording and streaming.
And working with p2p.
Can java stream video/audio via p2p?
What is better to study. Java or Actionscript for audio & video recording and streaming.
And working with p2p.
Can java stream video/audio via p2p?
I want my users to record audio/video and post that to other users.
Is it possible to record video through Flash's and receive encoded video on server side without any further processing (i.e. just saving the stream to a file)? I did some Google search and found that it's possible with new microphone API [URL] Did anyone tried that already? How easy is to use Red5 server for recording? How can i get the recorded video/audio file(s) from it? DO i've to write some logic for this?
I'm creating application where user can record voice message, problem is that recorded file is passed to other encoding servers, that requires both video and audio streams to be present.
how can I use static image to emulate webcam and attach it to NetStream?
ns = new NetStream(nc);
ns.addEventListener(NetStatusEvent.NET_STATUS, watchRecording);
//ns.attachCamera(cam);
ns.attachAudio(mic);
ns.publish(fileName.text, "record");
[+]
Although I don't have access to application on WOWZA server I can negotiate with some one to add few lines and recompile it. So server-side solution in java is also an option here.
We use a Flash component to allow a user on our web site to record from a Webcam on to our own Flash Media Server. The problem we are having is that the video in a 30 second FLV freezes at the 7th second but the audio continues. The video unfreezes after a couple of seconds but never catches up with the audio. At the very end there's a "Fast-forwarding" of video for the last few seconds so that at literally the last moment, everything's in sync. This happens for almost all of our recordings. Has anyone experienced this type of behavior?
View 5 RepliesI'm currently able to record audio and video (from a webcam) to a Flash Media Server. However, in some cases users have a webcam with no builtin
microphone. In that case the flash client uses the default microphone with 'Microphone.getMicrophone();' and possibly selects the micrphone of the PC.
A delay between audio and video is caused in cases with a separated webcam and microphone. There isn't a lot of delay on an internal network (e.g. LAN) however, there is a very large delay between audio and video on an external network (e.g. WAN).
I am developing (well, trying to anyway) a service where a member can record themselves on our website using their webcam. We need to be able to record that entire webcam session they had on our website for judges to determine whether they've cheated or not (it's a competition-based service). But, I can find no documentation, articles or even a sign that this is possible (other than knowing I've seen it in use many times). And I'm not sure what kind of hosting would be most appropriate for this type of service, and what steps would be required for me to get started on this.
View 1 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'm trying to record a stream from a webcam using FMS4 developer edition. The streams are recording on a linux box in .flv files. These files though have problems.
1 - The video quality is terrible. Fuzzy/blocky. Any kind of motion looks awful. Is there any way to improve this?
2 - The sound jumps/skips and goes out of time with the video.
As it is now this is useless. I am trying to make a system where a user records a short video from the camera and then I upload it to YouTube from my server. If you use Youtube's webcam page the video quality is quite acceptable and the audio is obviously in sync too, so they must know something I don't. [URL]..
Task is to take online interviews and record them for lather reviewing. I m new to media server and video streaming.
View 3 RepliesThis is the code i wrote in J2SE with Native java wrapper for Gstreamer. But alas it does not work in Web Browser, i am very upset what i can do now, i have no alternative to end this project. IS it impossible to use audio/video with Java Applet for Gstreamer or To build a CD/DVD quality audio ? (this is not targeted for world wide web, only web browsers between peer to peer or peer to 10 peer). ex: working sample as j2SE but same code does not ever work with java applet from browser.
[Code]...
Note: Follow up: In any web browser this native way works, when you have java. So JAVA applet works in any browser. Those who are like me, faced this problem, do not get confused.
I am using a red5 server. I am doing a two way video conference using flex application. My current red5 server is storing both streams as different flv files.
now i have done some editing and have saved these edited files as one with video stream
[Code]...
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.
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 RepliesI am trying to figure out how to make a flash Application which can allow users to Record Audio from their Microphone. The recording needs to then be uploaded to a web server.I think the best way to do it would be to store the .flv or .mp3 file locally, and then submit the file to the server after the recording is completed.I have read in some places that this is impossible to do, however websites such as livevideo.com allow this too be done with Video as well, so I think Audio should be simple if it can be done with video.
View 1 RepliesIf I import an FLV video is there any way to remove the audio, put the audio into a byte array, and then re-add the audio to the flv video?
View 1 RepliesI'm going to do a voice recording plugin/addon on a website that will record audio and send it to the server for further processing. I have had two suggestions; either write a java applet or use flash. The service is supposed to work for all major browsers(IE, Firefox, chrome,..). I'm new to this area of development and is looking for tips on how to proceed with this. What is the pro's and con's for each solution?
For java applet, what Java speech API library do you recommend? I want a simple, small library, I only need voice input. Also, I am puzzled by Flash development, I can't find any good information about development, the adobe website dosn't make much sense. What is the programming language for flash, and how do you actually run it in html code? I have found ActionScript 3, is that used to create Flash plugins and can it perform voice recording?
I'm building a website that is supposed to record and upload audio to a server and also be able to play said audio. Currently I have a BB app that does the same, I record the audio in .amr format, send the bytes over to the server and convert it to an .mp3 file with ffmpeg. How can I manage to record audio and save it in .mp3 format? With Flash, HTML or any other means. My website is being built with PHP under the CakePHP framework.
View 3 RepliesI have an assignment to create an mp3/wav file using flash. This player is expected to record voice from a speech mic and also be controlled by a foot pedal. How to record voice data and convert it into .mp3 file but haven't found anything yet.
View 1 Repliesi'm wondering if there's a way to record live audio from flash' SoundMixer (NOT from the microphone).
View 1 RepliesI 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 RepliesI'm a pretty new in a flash programming. All I need is to capture the microphone and to record a voice on the local file. I know how can I do that using a stream to the Flash Media Server, but the storing local file seems to me a hard job.
View 1 RepliesThis isn't another one of those "How can I record audio in the browser?" questions... I know that the HTML5 Stream API is around the corner and Flash can already access the user's microphone and camera. I'm simply wondering, as a Javascript developer with little knowledge of Flash, if anyone has developed a JS library that hooks into Flash's device capabilities for recording but sends the results back to javascript (presumably using ExternalInterface).
In other words... libraries like SoundManager2 utilize a Flash fallback for audio playback, but they don't seem to allow for recording. Has anyone written a JS library that uses an invisible Flash movie to allow audio recording?
I would like to record sound that is currently played on the local computer (i.e. form winamp or youtube). I saw some codes that use the microphone, but this is undesired. The client machine may not have a microphone hardware or may play the sound on headphones. I think this must be possible but may be not a common task so that's
View 1 RepliesKeeping it simple for now but assuming i have a ByteArray full of sample data is it possible to calculate the average frequency (thus a pitch) from the entire recording? Is this along the right lines? p = 69 + 12 x log2(f/440hz) ...
View 1 RepliesI ran a simple live video streaming application for the first time with actual users and ran into a couple of serious performance issues that had not turned up during testing. In this instance there was one video stream from a live web cam and used FMLE at 150 kbps using VP6 and MP3 @22k. There were 16 clients and everything worked pretty good for about 30 minutes. (although some clients said their audio and video were out of sync by up to 3 seconds)
Then individual clients would have either the video freeze or the video would continue and the audio would stop. These clints had to "disconnect" and then "connect" again to the application. This happened to all of the clients at one time or another for several minutes. I stopped and restarted the FMLE with progessively lower bandwidth settings down to 75 kbps but still clients were having the same issue.
I eventually stopped the FMLE and used the applications built in publisher at 45 kbps and that seemed to eliminate the freeze/dropping issue. But of course the video quality was very poor and some clients still reported that the audio was out of sync with the video. The server hosting the FMS application is a quad processor dell with lots of memory and network connectivity. The Flash Media Admin Console performance graph showed the total Bandwidth as 3 Mbps at maximum.
i have to record the video at client side n then save it on server side, so that it can be viewed when ever required.to act like a video testimony by client.
View 2 Repliesi have Webcam, get video into flash from this webcam, then i can add some graphic or animation the over video i see in flashplayer from webcam, so i wanna know how can i convert this movieclip's(sprite) animation to flv or mov format ? May be something with capturing frame by frame? Did anybody make similar things?
View 3 Repliesi know how to use a webcam in as3,i want to record webcam video and save to my Local disk
View 1 RepliesMy client needs to let a user record a message from the browser, then export the message as an audio file (e.g., WAV).How is this best accomplished? Flash, Java, HTML5? By best, I mean something that is straightforward to implement and also broadly supported.
View 3 RepliesI'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].....