Android :: Streaming Encoded Video Via RTP
Jul 31, 2009
For a research project we need to capture video on the HTC magic and transmit this video over a network to other devices, both HTC magic's and desktop pc's (which have their own implementations of the codecs).For the transmission over the network we are using some of our own native libraries, which have all compiled fine and work. These libraries work via the RTP (Real time transfer) protocol. This poses a significant problem because RTP expects detailed information about the contents of each packet (exact timestamp, sampling rate, which part of which frame is in each packet etc.) So we tried the method described at http://www.mattakis.com /blog/kisg/20090708/broadcasting-video-with-an This appears the only way to get the MediaRecorder to send it's data to our native application. So we run a server-socket on the native side, send MediaRecorder output to a FileDescriptor of a javasocket. The native side does receive data. 2 problems however :
1. Like said in the blogpost : header information etc. is not filled in, so if we write the data to file from the native-side, it's not playable.
2. The socket we write to is TCP, so a stream implementation. So there is no clear way to know where each frame begins and ends (because the data comes in continuously). And that's the main problem : we can't package the data in good RTP packets for transmission! Nor can we get good information about the timing etc. So we looked into OpenCore a little bit, hoping to be able to do it through JNI-interfaces ourselves (or maybe even directly with the native implementations from our native code). This has proven a daunting task, because so little documentation can be found on these things. So the question is : Is it possible to get the encoded video (and audio) data with clear frame-separation and good timing-information for RTP transmission? (It is not an option to use anything but RTP, as the research is partly about RTP possibilities)
View 7 Replies
Dec 5, 2009
First, I want to save the encoded video stream from the encoder,And then, the encoder recieves the uncompressed video stream from camera. How can my application recieve the compressed stream from the encoder?
Second, I'd like to add the custom composer engine to media framework(opencore), And then I'll use the already-launched device, HTC Hero and Motrola Droid, etc. The custom composer engine will recieve the video stream from the encoder. And, save the stream using the custom file format. Is it possible add the custome engine using the already-lauched device? If it is posselbe, where can I find the references?
View 2 Replies
View Related
Sep 21, 2010
I am trying to develop an android application which will be able to record a video and send it in real time to a remote computer. The computer then will play it live. I have managed to establish a connection between the android and the computer, and to record a video on the android phone. My problem is, how will I be able to send this video to the computer? Does anyone have an idea?
View 5 Replies
View Related
Aug 15, 2010
Kindly provide me the code/steps for Android application which will provide the Video Streaming & Video playing functionalities by accesssing the Videos from various video websites available on Internet.
View 1 Replies
View Related
Apr 6, 2009
Can anyone tell me how video streaming can done.
View 2 Replies
View Related
Aug 17, 2010
The default player gets out of sync with the audio/video. Is there a replacement for the stock player for streaming video? Im on the htc inc.
View 1 Replies
View Related
Nov 14, 2009
I need help on live video streaming. I want to do the following things in live video streaming.
1. I want to broadcast the live video which is recording by camera from one android mobile directly to a particular ip address.
2. now i want to play that video to another android mobile from that ip address without storing that video.
View 4 Replies
View Related
May 7, 2009
I tried for video streaming in sdk 1.5. The video format .mp4.But it gives error like "This video is not valid for streaming to this video". But in http://developer.android.com/sdk/android-1.5-highlights.html .mp4 is supported for streaming.
View 7 Replies
View Related
Nov 29, 2009
Is their either a trick or an application that would let a video that is being streamed to loads in the background and allow you to move to another application or back to the browser while the video loads? As soon as I get off screen from the video player, all is lost.
View 1 Replies
View Related
Sep 21, 2010
I have a simple question "*Is Video Streaming possible in Android Emulator*",I am using the example in Android SDK but it give me message "*Sorry Can't play this Video*".I am using Youtube Video to stream in android Emulator.
View 5 Replies
View Related
May 18, 2010
I 'm developing a video streaming android application on HTC Tattoo. I 've Lighttpd server at my server side which i use to stream videos to a web site. On Android , Do I need to enable any module in Lighttpd server?
View 2 Replies
View Related
Jan 16, 2012
How to get videos from android to the wii (hacked of course). I have tried to just plug in a usb cord in the back like I do for my psp but every time I go into an app for watching movies it wont show my phone. I know I can just take the sd card out but its a real pain to take the back off my phone and the case I have on it too.
View 3 Replies
View Related
Nov 25, 2009
Is it possible to stream live video from android to a server? If yes, can somebody give me some hints in how to do it?
View 3 Replies
View Related
Nov 8, 2010
I've just recently released a first Beta version of AndroidVideo.mobi app, wich allows you to play tv shows and episodes on your phone. I'd be glad if anyone had time to test it and let me know of any quirks and bugs in it.
View 6 Replies
View Related
Nov 1, 2010
I am new in Android. I am using android os 2.2. I am trying to play streaming audio and video from url. I don't know what to do for that. after 3 days og googling i come to know that I have to use mediaPlayer and MediaController classes.I had use different differend combination of codes found on internet but not succeed.Can anybody guide me what to do for streaming audio/video playing. What about the UI if we use MediaPlayer or Controller class. is there any thing to related these in xml file of layout.if not then even please tell me what may be the code for that.please help me.
View 2 Replies
View Related
Jan 15, 2010
I am new to Android. Can any one please tell me the phone models which support RTSP video(H.264) streaming?
View 1 Replies
View Related
Aug 24, 2010
I have created an application that displays XML data information on the top section of my Linear layout. Below that I have a video that is streaming and takes a while to start playing. How would I set a dialogue to display until the video appears?
View 1 Replies
View Related
Mar 31, 2010
I've seen plenty of info about how to stream video from the server to an android device, but not much about the other way, ala Qik. Could someone point me in the right direction here, or give me some advice on how to approach this?
View 3 Replies
View Related
Jun 1, 2010
My company makes DVRs that specialize in streaming live and recorded video. The video is encoded using standard MPEG-4 codecs so the codecs in Android should have no trouble with them. However, the video is recorded using non-standard file formats and is streamed using our proprietary protocol (among other things we embed additional data such as watermarks with each frame of video). Is there any way I can take my stream pull out the frames and have it play on an Android device?
View 2 Replies
View Related
Jun 21, 2010
I want to live stream video from android device. I found out that ff server (ffmpeg) can be compiled and run on android. Now i need to get video from camera in android device and get it to the fserver in real-time.
Any ideas?
View 1 Replies
View Related
Jul 26, 2010
I need HTTP/RTSP Video Streaming with Android. Any Ideas ?
Is that possible to go with JMF with Android ? Any Working examples ?
Already tried with
http://davanum.wordpress.com/2007/12/29/android-videomusic-player-sample-from-local-disk-as-well-as-remote-urls/
Its not working with my case. Are there any specific types of videos that Android can stream?
View 1 Replies
View Related
Jan 17, 2010
I'm currently looking for a new cellphone and i'm in favor with the Xperia X10, but first i want to be sure that it's possible what i want to do. I want to watch movies from my laptop without connecting the laptop to a tv. I imagine it like this: Variation a) The phone accesses my files via WLan and plays the movie via tv out ... without converting the movies first Variation b) My laptop plays the movie and streams it via WLan to the phone which relays it to the tv. Is something of this possible ? and another (not important) question: Some phones support the HID Bluetooth profile. Does that mean i can connect my BT mouse to the phone ?
View 1 Replies
View Related
Jun 25, 2009
I have been having some issues with the Qik app. It has worked then stopped. I uninstalled it, then re-installed it. Sometimes it just loads the camcorder app, not the qik app, which is really odd. I figure it is built using the camcorder api but still very odd.
The customer service from qik has been poor as well.
View 6 Replies
View Related
Oct 3, 2010
If found many tips about how to stream from classic url link, but nothing about ftp. Is it the same way to proced ?
View 1 Replies
View Related
Dec 5, 2013
the Android Browser is not streaming the video, it forces it to download it first to play it in the Android Player or some other video app I have on the phone (The Daily Motion website won't even play videos, it shut plays audio). On my old iPhone, I would touch a video and it would stream through the browser, Chrome, Dolphin, Safari, etc. But with Android, it always wants me to download or try to play through an app which doesn't work or it just doesn't work. I have tried, Dolphin, Boat, Chrome, Opera, Baidu... none of them just play the video with problems. I didn't have this issue with iPhone, and it's kinda upsetting that I have such powerful hardware (Galaxy Note 3) and stuff just doesn't work like it should.I thought it was just my phone, but i tried it on my friend's HTC One and got the same results, so it must be an Android issue.
View 3 Replies
View Related
Jul 12, 2010
I want to develop an android application for video streaming if someone knows please guide me
View 2 Replies
View Related
Feb 3, 2009
I'm trying to receive RTSP streaming video with g1. The video file I made was encoded using QuickTime pro, and they are progressive streamable with a hint track. Video is encoded in H.264, and audio is encoded in AAC LC. File container is MP4. (They can be played via sdcard). I used Darwin Streaming Server to stream this file. With sample media player given from android, I changed 'path' to the address like "rtsp://172.29.10.109/test.mp4". The results are really odd. It sometimes (like once per 20~30 times) runs well, but in other times, only audio is played and video freezes after first 1~3 frames.
View 15 Replies
View Related
Mar 23, 2010
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?
View 1 Replies
View Related
Nov 22, 2010
streaming live video from android camera to server. What is the best approach in acheiving this ? Is it possible to use MediaRecorder for streaming video over internet?
View 1 Replies
View Related
Dec 14, 2009
I have a problem streaming live video files. When I stream a file say of duration 5 minutes, it stops after streaming 2 to 3 minutes and enters in to endless buffering state. The VideoViews's OnBufferingListener is endlessly executed, however it shows that the buffering is not progressing anymore : MediaPlayer's buffer says it has buffered for example 90% whereas when I call videoView.getBufferPercentage(), I get something very low, like 1% or 5% ... After a while in the buffering state, the application crashes. It seems like the buffering is taking all the memory.
View 2 Replies
View Related