streaming desktop to flash player - java

I would like to stream my desktop screen (or just one application), via Flash player, to the internet.
I have wowze media player to multicast it but I have to create a stream to give to wowze.
Does anybody have have any idea how to start what would be the best way of doing this?

http://1.pe-web.ro/dev/flashPlatform/flashBuilder/flexJavaApplet/flexPrintScreen/
You could start from here. This is an app that uses Java to capture the screen and sends the picture to flash

Or you could use a RED5 server and TightVNC with a customized version of the Java client that will publish frames as a stream.

Jing is a cross-platform (Windows and Mac) option. Captures the screen, plus audio. Very cool.

I don't know any "out of the box" software use the Flash Player to encode your screen and stream it to Wowza. I do believe that it must be developed from scratch.
But I've been using for a while a Java based desktop encoder that streams to Wowza media server. It is part of the Red5 ecosystem: red5-screenshare

If what you mean by create stream is to have a virtual camera that captures your desktop screen in a way you can select in your multicatser app then you should check out ScreenCamera. It does exactly that and you can select the frame-rate you want. You can find ScreenCamera here:
http://www.pcwinsoft.com/screencamera/download.asp
http://www.pcwinsoft.com/screencamera/
Hope this helps,
Alex

Related

Record audio and video from webcam using Javafx

I'm new to JavaFx. I would like to record a video along with audio in a desktop application. I'm able to connect to the webcam of my machine, but having no clue to achieve this functionality. Can anyone share across on how to achieve this? It would be really helpful.
For capturing only images from desktop webcams there is a nice and simple to use api Webcam Capture. Find it here. Github link is here
However there is one that also helps with audio and video capturing but is not open source. Its called JxCapture. Find it here.

Capturing currently playing sound inside of browser

Situation:
I have a website running and I'd like to capture currently playing sound form user's sound card and make some visualizations with it.I want to visualize what my client is listening right now.
What I'd like to use:
Flash, HTML5 and JavaScript. No Java or Silverlight but if your situation is only in those, please write it here, I want to know all possibilities.
Question:
Is it even possible? if yes, how? if no, the reason please.Thanks in advance.
You can't. None of the browser technologies you've mentioned have the ability to do that.
Flash can capture sound input (e.g, from a microphone), but it can't listen to system sound output.

Java Solution for sharing the user's desktop via RTMP

I'm working on a web project, where a user can share his screen and the output of his sound card with other users. I've come pretty far with the Adobe LCCS service (http://www.adobe.com/devnet/flashplatform/services/collaboration.html), but the screen sharing isn't stable enough to transmit a running video from the user's computer - it stops every 2 seconds.
It seems the only other way is to use a Java Applet. There are several libraries to share the screen. I'm looking for a way to capture the screen contents and stream it via RTMP to a server.
I have found a Java Applet, which captures screen shots of a defined area in a certain interval, encodes it into the ScreenVideo codec and streams it to an RTMP capable server: http://code.google.com/p/red5-screenshare/

Where to get streaming (live) video and audio from camera example app for Android?

Where to get streaming (live) video and audio from camera example for Android?
Suppose I want to create some live video streaming service app so I'll have some cool server at the back end. And I know how to do that part. Suppose I have some stand alone app for PCs now I want to go on to mobile devices. So I want to see some sample app grabing audio and video streams from Phone, Synchronizing them, encoding somehow, and sending LIVE stream to server. I need any Open-Source sample that will do this or something like this. Where can I get such one?
Ole have you been able to find any good examples of video or audio broadcasting yet? The best that I have found so far is the SIPDroid project (www.sipdroid.org). I haven't had a chance to review it in depth, but it looks promising.
Here are some project that you want
Ip Camera
http://code.google.com/p/ipcamera-for-android
SipDroid
http://code.google.com/p/sipdroid/source/browse/trunk/src/org/sipdroid/sipua/ui/VideoCamera.java
You can get the codes using SVN or other clients.
Yet to me, the both projects still have issues. If you get the one working well, please tell me.

Video training program

I am looking to create a video training program which records videos - via webcam, user screen capture and captures sound. Now the main problem is that I need a cross-platform (mac and windows) solutions.
I know its possible to use flash to record webcam + audio. But its not possible to record the user's screen via flash.
So am wonder if I should use Java (which i believe will work on mac & windows). I do not want to develop to separate versions because of the cost involved in developing two versions.
Please guide me as I am new to this.
Thank you.
UPDATE
Hello again,
I had a look at the following site: www.screencast-o-matic.com or www.screentoaster.com. I see that they have developed a java applet which helps interact with Windows/Mac to record the screen.
I am wondering how to go about developing something like that and integrating it with Flash (for webcam and audio recording).
Is this a better idea?
This is not an answer to your question, but I strongly recommend against using video for educational programmes. Our company delivers university courses on-line, and we long ago learned that video feeds are only effective under particular scenarios. In general, a talking head is a waste of bandwidth. You're much better off to put together a well designed powerpoint presentation, record a voice-over (and edit it!) and then assemble the whole thing as a flash presentation. This is a non-trivial amount of work, but it provides a much more interesting product for the student.
When to use video:
1) When you are demonstrating something dynamic - Mechanics or Chemistry for example.
2) When you are acting out a scenario or case as an illustration -- For example, threat de-escalation techniques for high school teachers.
When you solve the screen recording problem, seriously consider whether you need full motion or if you can get away with stills. Often the motion is distracting, and a still with good voice over can be more effective. (Hint: Replace mouse pointers with something HUGE before recording -- Like Fox did with hockey pucks)
Try CamStudio. I don't know, if it works on Mac, but on windows, it's the best solution I know. It's open source, so you can use it's source code, if you want to :)
If you're looking to build an application that does all of the recording and screen capture itself, then you might consider using Adobe AIR (essentially, Flash running on the desktop) in combination with Merapi. Merapi is essentially a bridge between Adobe AIR and Java. So for example, for your project, you might use Java to handle the lower-level (but still cross-platform) stuff you can't do natively in AIR, and use Merapi to wire the Java application to your AIR UI.
This is by no means a simple project. Lets get that said and out the way. There are open source (and cross-platform) options for each element, but nothing (I know of) that will do everything for you.
I think the "cleanest" option would be to use Flash for webcam and audio, as you said, and run a VNC server to send the screen video... The only closed-platform code will be the VNC launching code. That should be pretty simple to maintain!
That raises a problem because most people are behind NAT firewalls these days. Setting up port forwarding is a pain in the behind. I've used an app called Gitso before which allows people to connect to me and send their desktop to my screen (for tech support). Its VNC-based and all it really does is add another layer on top of the VNC connection so rather than me connecting to them, they connect to me. That makes the whole business of port forwarding a non-issue.
And once you've recorded everything, there's the final issue of syncing it all back together... Might not be so hard.
Well, Camtasia provides the solution to get your problem done. It can record the onscreen activity and also the webcam video and put them in the same player template. Another screen recorder DemoCreator can publish the screen recording as Flash movie, but can not record the webcam.

Categories