I'm trying to stream a video generated with OpenCV (using the webcam and doing some image processing) and audio to another android device over Internet. This will be similar to a video call with custom video frame.
I looked at WebRTC and could not find a way to send a custom image (OpenCV Mat object).
Could you suggest me any other way, any SDK or an approach to overcome this step (Client-server model) ?
Thanks in advance
Related
I have to build an android app that can stream video from phone to server using RTSP. What is the best method to implement this?
I need to access images from phone's gallery and then perform image recognition like what all elements are there in the images(watch,food etc etc). Can this be done using opencv library's on device sdk for android. I am not getting any clue about this.
I am using JAVA SWING to implement a video application which can handle MP4 and MJPEG video formats.
I can play MJPEG video format but can't play MP4 videos.
Do you have some advice that what changes i need to make in this code, so that MP4 videos can also be handled.video player in JAVA using RTSP
VLCJ and OpenCV both offer out of the box connection to RTSP streams. They can be displayed in JPanels live. OpenCV is easier but way overkill for image processing and VLCJ simply just creates a VLC player instance in a panel.
This question is old but I recently ran into the same problem and hope people find this helpful.
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
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.