Converting Images into video and broadcasting that video - java

we are designing screen-casting system we found out one library in javascript html2canvas which can provide us image of webpage.now i also the idea of how to convert that series of image into video. now we want to broadcast this video and we want to do this process as live so that user can feels that he is getting real time video from the other user kind of team viewer or skype does.
Now first things is it possible to go by this solution and if than what is best possible way to create video and broadcast it.
does anybody have another solution for it
thank you

Related

How to record video in background when having video calling in application

I am developing an application that will be use to record video in background once the video calling starts.I googled about it but didn't get any solution. Many articles say that it is not possible.
Please let me know the way to implement the functionality
What you can do is that you can simply record the screen of the phone. There are several libraries available for implementing that. You can trigger or alert the library to start recording the screen once the video call starts.

Play YouTube Audio to a Specific Audio Device with Java

I've been looking around for quite some time to find a simple solution to the problem I am having.
Using Java, I'm trying to find a simple way to play the audio from a given YouTube URL to a selected audio mixer.
Looking around I see a few approaches, but they all appear to be missing an important aspect of what I'm looking for in one way or another
For example, using JavaFX or the JWebBrowser (in the DJ Native Swing library) both do not allow changing the audio output mixer, and the JavaFX browser no longer plays Youtube videos anyway.
I'd love to use the Java Sound API, as that allows audio mixer selection, but I don't really want to have to download the video, convert to wav, then play it. Using Java Sound is ideal if there is someway to steam the YouTube video audio to this API.
If you have any relatively straightforward way to play audio from a streamed YouTube video to a selectable audio device, please let me know.

Easiest way to play video?

EDIT: If your havng my problem, please watch this: https://www.youtube.com/watch?v=orMgNh0o38A
I have a JFrame setup for my game, I'd like to play a quick video before my game loads. How would I go about playing the video the easiest way?
The video should not include controls etc, just the video so my whole frame should be the video!
I've read other topics on this and they dont seem to help... at all D:
I'm not the best Java programmer so don't expect me to know every API and how to use them.
You can use VLCJ to play video, and you can use this link to add the video to jpanel which you can show on startup : https://stackoverflow.com/a/20426375

Taking a picture from IP camera and upload using FTP

I would like to write a program in Java which takes pictures from an IP camera and sends (over ftp) it to a website, replacing an old image.
Does anyone know any libraries I can use for that task?
I think the main problem will be grabbing an image from IP camera and saving it as a JPEG.
Basically I have never worked with cameras before. So I will be really grateful if someone can give me some tips.
First you would have to figure out how to get the data from IP Camera you will be using. Good starting point can be found here: http://dragosc.itmcd.ro/uncategorized/java-media-framework-vs-ip-camera-jpegmjpeg-complete-overview-sources/
Second, you should choose the library for ftp communication, this topic was discussed here:
What Java FTP client library should I use?
Once you'll write smth which actually does something you can get back to SO and ask more specific questions.

Frame/clip grabs using Java from a network video camera/adapter (no activex)

I'm interested in doing image processing in Java with frames collected from a network video adapter. The first challenge is finding network video adapters/cameras which don't require an ActiveX control for PTZ control and therefore require IE. Then the issue is how to do still image grabs from network video adapters which only make MP4 available.
Does anyone know of some Java friendly network video cameras and adapters?
Anyone know of some Java code to control PTZ on a network camera?
Two ways in Java that I know of. The first (and the one I current recommend) is the LTI-Civil project. The second is to use Xuggler which uses FFmpeg webcam code behind the scenes.

Categories

Resources