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.
Related
I wish to show live video in a java-web application. For this I found that xuggler(java library) is capable of doing that. But I didn't get code to how to implement it.
I have done some tutorials with xuggler like capturing frames from a video. But not much familiar with xuggler. Please help.
Any help is appreciated.
I have the following problem: in my application I am supposed to connect to a VNC server, grab the icoming images and both save them as a video file (this part works) and publish as a RTMP stream to Red5 server.
Most of the video encoding part is based on Xuggler's screen recording tutorial app ( http://wiki.xuggle.com/MediaTool_Introduction#How_To_Take_Snapshots_Of_Your_Desktop ).
However, being a beginner in Java I can't seem to get the live streaming part to work. I know I am supposed to use IContainer, but even after reading this: How to transmit live video from within a Java application? and several other posts I don't really know how to adapt that to my application. Any help would be greatly appreciated, thanks!
I have an audio file in .3gp format on my Android device which I wish
to upload to YouTube. I know that YouTube is a video upload site and
that I need to convert this sound file to video.
I just want an image to display all the time the audio is playing.
Google tells me there are number of tools that can help me. But I want
to do this via java code from my Android device.
Please help.
Thanks.
There are tools such as FFMPEG available for free that allow you to, essentially, mix and convert heterogenous streams. That is you can add a bitmap to a video, create video from slide shows and then add sound etc. (See a related question I asked here).
These programs can be executed from within java applications by making Runtime.exec(..) calls.
Sun has an example for stitching multiple JPEGs together into a movie, you can find it here. You should be able to take this example, (its fairly robust), and add what you need to it.
I recommend looking into the Java Media Framework (FAQ)
You can find a vast collection of sample applets/code at the Sun Solutions page. You can find the API on this page. I do hope this is compatible on the Android platform, as I haven't had any personal experience developing for it. But it might be a good place to start.
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.
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