RTMP Streaming to Red5 using Xuggler - java

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!

Related

RTSP stream client based on Java

Could someone explain me how can I include rtsp stream(from my IP camera, which uses user and passwd auth) in my java based application?
Are there any free libraries that could do the trick?
At this moment I've made a lot of research and the idea I've got is to use favaFx webView to open web page which would be generated by FFmpeg running on Ubuntu server. The only problem is that I don't really know how to tell the FFmpeg that this is my rtsp link and just give me some kind of HLS link to put in webView of javaFx.
If you know any simple solution how to make a java frame with rtsp stream please share it with me.

Xuggler Live Video Streaming Example

I downloaded Xuggler now and played a little bit around with it. Some examples work, others don't. There is no example of a video live stream with server and client in the demo files. Did anyone already establish a Xuggler Video Live Stream and can tell me how to do it or even post the server and client source code?
You may be better off with something like ffmpeg using javacv like this fellow http://www.walking-productions.com/notslop/2013/01/16/android-live-streaming-courtesy-of-javacv-and-ffmpeg/ .
Xuggler is no longer actively developed , and while it was good at the time it hasn't kept up wih ffmpeg API updates.

How can I stream videos from a server to an Android app?

My local church hosts a weekly show and upload the videos on Youtube. And I've been asked to develop an app for them, so far all is well, however, I have to implement a feature that will allow me to stream the show's videos unto the app.
I honestly don't have much of a clue how to go about it (still new to android programming)! I've looked around here and seen that a few people have already attempted to do this, but unlike what most people have done or tried to do, the videos are released on that day (not live streaming). For example the 10/02/13 video will be released on 10/02/13.
This link gives me an idea on how to stream a video on Android, but that shows that I have to explicitly put in the link for the video.
Is there a way to do the same thing, but instead of adding the link myself, the app should retrieve the videos from a server??
Thank you in advance for your help!
Is there a way to get the link but instead of adding the link myself, the app should retrieve the videos from a server??
To achieve this you need to make the webservice which help to communicate mobile and web server. When you send the request from mobile to server then make the web service which give you response which have link of video then you can stream the video.
To stream the video.
Read here.
Inside the API DEMOS you have on example.
API DEMOS >> Media >> Mediaplayer >> Play Streaming Video
You need to downloaded using the SDK Manager, and then inside eclipse you go throw create new project form existing sample, then you read the code and copy it inside your app.

Android save Live Streaming Recording

I am working on an application that needs to record audio streams from online radio, either live (that broadcasts to everybody) or on demand (like last.fm and pandora), is there any tool that can help me do so, or an opensource code that does so,please if any body knows how this can be done help.
Thanks

Where to get streaming (live) video and audio from camera example app for Android?

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.

Categories