I am running a JavaFX application on a Raspberry Pi that is on the same network as my Wansview NBC540W ip camera. At the moment I simply would like to see the output of the ip camera in the JavaFX application. Any suggestions or working examples?
If you look at this link: https://www.ispyconnect.com/man.aspx?n=wansview you can see that the video stream from that camera is an .asf stream.
Here is some information on streaming in Java applications: How to play radio live stream .asx video/x-ms-asf?
Related
I am trying to stream video from a webcam on a raspberry pi to an android application. I used motion library on the raspberry pi to stream the video. This worked fine as I can see the video on my browser by navigating to http://raspberrypiIP:8081.
Question: how do I display this video on an Android app?
I went for LibVLC, but I am on windows environment and the lib cannot be built. I wanted to try GStreamer but I am not used to native libraries.
Are there some java libraries enabling this or other easier ways that enables me to view the video on an Android phone?
I'm using Android Studio and I'm quite new to Android development.
I have not yet attempted to stream from Raspberry Pi to Android. However, I have streamed from Raspberry Pi to YouTube Live Events (https://www.youtube.com/my_live_events) which is easy to set up and get working.
I have also used the Android YouTube API Player API to play YouTube videos inside some of my Android apps (https://developers.google.com/youtube/android/player/).
So, I recommend the YouTube approach as a first line of enquiry.
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'm trying to learn computer vision with OpenCV and i need camera to work with but the only camera that i have is on my android phone.
So im thinking about connecting it to my pc (via USB) and using it with my application. Is anything like that possible? Can i take information from camera connected via usb in real time?
I have no experience with something like this. I know i can just record video ,save it,put it on my pc, and use it as resource -bud i would prefer to have real time streaming of video while my application will work in background on my desktop computer.
Will i have to code some android application to get this working?Or can i simple ask for that data from my desktop application?
If you only want to experiment and learn to use OpenCV, you can get an IP Camera app for your phone and then read the image stream from your computer (here's an example of how to do that). That is the easiest "real time-ish" solution I can think of.
I found a simple way to use the a web cam (IP Webcam installed on my smartphone through Play Store) as camera using OpenCV and Java. Here is how: just copy the IP Webcam web link inside the Video Capture. Like this.
org.opencv.videoio.VideoCapture webSource = new VideoCapture("http://192.168.43.1:8080/video");
The smartphone and the laptop should be inside the same Wi-Fi.
Using the OpenIMAJ library can I capture and record video from an IP camera and also show live video in a web application?
I've not got an IP camera to test with, but in theory you can use the XuggleVideo class to do it - you basically just need to provide the URL of the stream provided by the camera:
Video<MBFImage> video = new XuggleVideo("rtsp://10.10.10.121/cam0_0");
Any type of stream/url that FFmpeg supports should work.