Android :: Streaming Video (or Progressive Download) To Browser
Jan 22, 2010
I am trying to stream video (or use progressive download) to a Motorola Droid Browser and am not having a lot of luck. With my iPhone, I can direct Safari to http://xxx.xxx.xxx/FileName.mp4 (which is an MPEG-4 video file) and Safari opens quicktime and the video plays. However, with the Droid, I go to the same web address and am faced with a error stating "Cannot play video. Sorry, this video is not valid for streaming to this device".
When I direct the Droid's browser to a WMV file, it will fully download the video file and then play it in what appears to be the Droid video player if I click on it. Ideally, I'd like to replicate the behavior of the iPhone on the Droid, where the video player pops up and the video starts before the complete download. Video format isn't an issue, as I can encode the video to pretty much any standard. I was trying the .mp4 file because the Droid documentation says that it supports MPEG-4 video, although I can't get it to work from the browser.
View 3 Replies
Jan 13, 2010
I'm confused about how VideoView can be used to play video: from a local file, as progressive download and streaming. This example work for me (on 1.5 and 2.0 at least) by downloading the file and playing it locally. But is it necessary to download the video before playing: is it possible to play video as progressive download, or by streaming, simply by using setVideoPath or setVideoURI, as in VideoViewDemo in the API samples?
The VideoViewDemo code suggests using setVideoURI for streaming, but I'm not clear what kind of URL I should be using. Does someone have an example URL for a video that can be streamed to the Android emulator using the VideoViewDemo code? Can progressive download be used with VideoViewDemo? I get a 'sorry, this video cannot be played' message using setVideoPath with URLs that work fine with the blog example linked to above.(Is this a problem in the emulator? I've tried 1.5 and 2.0.)
View 3 Replies
View Related
Jun 21, 2010
My app uses streaming (i think the correct term is progressive download) for videos. To be able to do that, the mp4 file must be hinted and I manage to do that. Now, is there a suggested or advisable settings for the mp4 like the bit rates, resolution, frame rate etc so that the playback is smooth?
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
Aug 3, 2010
I have an LG Ally running 2.1. I tried to view a video feed from a web site and i got a message that the video was not supported. I selected to download it from a pc and it was an mp4 file. Is there a way to view the stream on the Ally? It does not appear to be flash when running from a PC. I know 2.1 does not support flash. Does anyone know a streaming viewer that will work with the 2.1 browser?
View 1 Replies
View Related
May 6, 2014
This happens on my LG Optimus G and GS3.
I click a video from say, 9news.com. The video plays in landscape mode with the PLAY button and slider for video time progress.
BUT, when the play button and slider disappears, so does the video. There is sound, but no video.
I cleared my defaults buts the only option after clicking the video to play is:
Browser
Chrome
ES file downloader
View 3 Replies
View Related
Nov 20, 2009
when a video is played over http (progressive download), in some cases, the application stops the current http connection and continues the download using a new http request with a range header. closing the connection is the phone choice, not server. somebody knows in which cases the phone behaves this way?
View 3 Replies
View Related
Apr 14, 2009
I have a couple questions regarding audio streaming/progressive download over HTTP. Could you please help me?
1. MediaPlayer supports progressive download according to the developer guide from this link http://developer.android.com/guide/topics/media/index.html ("If you're passing a URL to an online media file, the file must be capable of progressive download."). As far as I understand progressive download means media playback during download process with saving the media file to file system(SD card or internal FS) after the downloading is finished (if it's a file, not a stream in the passed URL). So, I tried to set the following URL: setDataSource (http://84.204.154.49/mmapi/music.mp3). Playback is fine, but the file isn't saved to SD card or internal phone file system. Can MediaPlayer save media content to the file system after downloading is completed? Is there a way to turn on such capability?
2. Does MediaPlayer support HTTP streaming? I tried to use http://217.10.32.134:8129/ultrafan128.mp3, http://62.32.66.180:8800, also AMR-, AAC- audio stream over HTTP on the local server, but playback does not work. For example, RTSP streaming works fine with AMR and AAC.
View 13 Replies
View Related
Jul 13, 2010
I am trying to stream video over https from Android browser. If the video URL is http, everything works fine. But when I switch the url to https, no video can be played. I tried 2 methods to stream over http/ https through Android browser.
1. Use html5 Video tag on browser (Android 2.0+ device) and call video.play( ) from javascript. - With Https url. Browser launches media player and the player displays alert dialog saying "Can't play video". I captured the client TCP traffic and found no SSL handshake between client and server. It looks like the player pops up the alert on any https link. - With Http url. Browser launches media player and the player can stream the video successfully.
2. Use direct link of html <a> tag on browser and click the link - With Https url. Browser downloads the video file without launching the player. The browser seems not try to load any https link in media player. - With Http url. Browser launches media player and the player can stream the video successfully.
So the above tests make me think Android media player cannot play media from any https url.
View 4 Replies
View Related
Sep 20, 2010
In my android application i would like to download from a http link progressively and then play it.That is first save some bytes and play it in the meanwhile buffer the next file.
View 2 Replies
View Related
Aug 27, 2009
Does Android have APIs for HTTP progressive download for media files?
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
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
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