play video from external database in android? - android

I'd like to know how I can call a video from an external server database and play it in android? any helpful tutorials?
another question, when I play my video in emulator is it normal that it gives me a low quality and plays very slow..like moving in slow motion?

Emulators not responded quickly while you are playing video.I hope you understand that.

Related

keyword to search tutorial on android video streaming (To/From a server)

i need to make an application that can retrieve and send video using video streaming. but i just do not have any clue how to make it.
what i understand, video streaming is something like when the user want to watch video from the server like youtube, etc. i also want to add on that the application can send the video to the server using android application.
i am using android 2.2. if anyone is willing to give me any keyword i should search for to get to such a tutorial or any tips i should know, that would be a great help.
thank you.
As i tried few months before, android versions bellow 4.0 doesn't support live video streaming from phone to the server :(
you can pipeline capturing and sending chunk of video using Threads, so that it feels like a video streaming having very less delay :)
and for stored media content search for RTSP and related protocols for streaming i hope 2.2 supports this .

see several videos from rtsp on android device?

I just want to know if I can see several videos at once from the network using rtsp? I'm trying to do an android app similar to video surveillance and I need to see several videos at the some time in the screen, I tried to use it with MediaPlayer and after that with VideoView, but in the both cases sometimes the videos appear, sometimes give me an error that can not play one or more videos...What can I do to put it to work well?
What Cruceo said is correct. It's better to mux (FFmpeg is really great) all streams in one stream with a incredible resolution with a low bitrate & framerate. Then create a program to display it and make zoom in when you select a viewpoint.
A other option would be to change the video streams into jpg files. This way is allot easier because you can use your web browser to display it. With your web browser you can make use of JavaScript (ProcessingJS is very easy and good at this) to make a image viewer with allot of functionality.

Videos not clear while playing with video view in android

Guys
I am new to android and want to write a simple application that plays a video in android using video view. I have written the code it is working but the view is not clear. It is blurred. What should I do?? Please Help.
Is there any alternative to video view to achieve that...?? I want to play the recorded video from android phones
There are two possibilities. Either the quality of the video might be low or you would have tried it in a emulator. Sometimes it is possible for emulator to have some problems with playing video which I have personally faced. So you have to try it in a real device.
And regarding alternative for videoview, there is no such alternatives available I believe. But still videoview should be simple to play a video.

RTSP Server for testing

I am using YouTube’s RTSP link to demo some capability to the client. Occasionally the mediaplayer fails to display any video (Blank screen). However I am able to hear the sound. Can someone help me understand what is going wrong?
Thanks for the help in advance
I dont know much about youtubes RTSP, but I have had similar problems with youtube not loading the video (but the sound is ok) when the playback quality is changed. I bet that is where your problem lies. I would make sure that you specify playback quality and everything and request that feed before loading it into your player if at all possible.
The Android Emulator doesn't work with streaming RTSP video. So I suggest you should test your streaming application (video) on real device.
Hope it is useful for you

PhoneGap - Is online video streaming possible?

I have just referred to the PhoneGap Documentation for Media, which stated:
"The Media object provides the ability to record and play back audio files on a device."
I wonder whether video streaming (RTSP) is possible or not with PhoneGap framework? I am trying this out on Android.
Any suggestions highly appreciated.
Yes, streaming to the device is possible.
Just like with a normal website/webapplication.
I don't know if it's done yet, but this is a audio stream script:
http://www.joeldare.com/wiki/play_an_mp3_audio_stream_in_phonegap
I hope that will get you started.
EDIT:
Maby this will also help you to get started:
http://groups.google.com/group/phonegap/browse_thread/thread/584028fe07b0c869/47a1af617c94540a?#47a1af617c94540a
Simply the streaming video can be opened up in a child browser or in App browser to play the video. This solution will work both on Android as well as iOS.
Also if the streaming will be opened in the browser it will appear in full screen mode as q media player will play the video on safari.
Hope this will help.

Categories

Resources