I am trying to send a video directly from Androids camera and stream it using RTMP, I have seen two libraries one is
http://www.aftek.com/afteklab/aftek-RTMP-library.shtml
and I registered but got no reply
the other one is
http://code.google.com/p/android-rtmp-client/
which seems really outdated and not well documented
I am still newbie in androids development so I would appreciate it if someone gives me a good step by step guide on how to encode a video from the camera directly to a RTMP server where I have the server and title
Thank you
Related
I am intended to make an app that stream live videos from one android phone to other one via Bluetooth,i need a simple player and there is no need to save the file,just play it.
My knowledge about stream in java is not enough and I really don't know where to start!
Please help me in finding any solution. Any help will be appreciated.
There is a sample android project to do streaming live video and allows you take photos and record videos from remote phone via bluetooth.
BluetoothCameraAndroid
Android allows you to get frames as byte array using camera, you can use that api to get frames and send it across. But the problem is throttling the sending rate. That also has been handled in that project.
In marshmallow and above devices, you have to give permissions
manually in settings. This project does not include runtime
permissions
Xuggler is a Java opensource library that works with streaming and modifying media on the fly. you can start from it at:
http://www.xuggle.com/xuggler/
Hi,
I am working on streaming application where i need to publish my video
to wowza media server. My requirement is "Any person who want to give
speech, stand in front of webcam which is shown on window on browser
or desktop then this video is streamed to wowza and then at last wowza
will broadcast this stream to multiple devices".
I can't understand from where i have to start. I need some tutorials
or documents which give me knowledge about live streaming. Because i
have to start from bottom, so searched bit but most of links showing
me software.
So it is helpful to me if i get any material by which i publish my
stream to wowza media server.
Thank You.
Current status
I have successfully recording videos from RTSP with the help of javacv which is not purely on java.
Problem
Create pure java application. Found boofcv which is completely java. Have found example for recording in android device. My program is not in android its should run in windows and linux. Need to record many camera at the same time.
Objective.
Motion detection which is implemented in javacv just need to port into a independent java program.
Extra information
Using rtsp to get video from cameras.
Thanks in advance.
i have a project to do recently. what i have to do goes like following:
obtain the realtime video from the camera on the client side
stream and forward it to the server
play it on the server side
i've done some research about this and i know jmf and webcam-capture can do 1 and 3 for me. the real point that makes me stuck is the second point.
i didn't do networking programming as much as i should and i could not find the right idea to achieve this. how can i convert a captured video clip to a videostream(no sound needed by the way) and send it to the server in realtime?
all i need is just a guide to the proper api.
thanks in advance.
You need to use a Socket to connect the client and server. You can find examples in the Java Tutorials, try using an ObjectStream
Its very easy indeed. Use Windows Media Encoder to capture and stream your webcam to any other computer.
When your encoder starts, you will get a URL to view your stream, which you can use to view the stream (With audio and video) from anywhere with internet.
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.