Android :: Opencore / Progressive Download - How Does It Work ?
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
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
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
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
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
View Related
Aug 27, 2009
Does Android have APIs for HTTP progressive download for media files?
View 2 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
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
Aug 2, 2010
I am trying to integrate VP8 video codec into PV opencore FW in Froyo & test at PV test application level. I have done the following steps, 1. Made a new folder for vp8 @ external/opencore/codecs_v2/omx/ omx_vp8. 2. Made appropriate modifications in the omx_baseclass, omx_common etc. 3. Modified the PV test app (external/opencore/codecs_v2/omx/ omx_testapp) for testing VP8. 4. included the VP8 source code to froyo. 5. Included new oscluuid for VP8 With these modifications, the build is fine. The shared libraries and binaries are creating properly. Also OMX-MasterInit is passing. But the application fails at OMX_GetHandle(). *pHandle is coming as zero. I am using the PV OMX core. I am just adding a new codec which is not supported by PV Opencore and test at PV test_app level.Can you please answer my below queries: 1. Do we need to change the pvplayer.cfg file? Bcoz i am using the PC omx_core itself. 2. Any other changes needs to be done for integrating a new component into Opencore? Please provide you valuable inputs. Let me know if need any additional informations.
View 4 Replies
View Related
Sep 27, 2009
Anybody know if it is possible use directly OpenCore from java or native with NDK ?
View 2 Replies
View Related
Mar 22, 2010
Here is what I got while running a test case of open core . *************** # pvplayer_ engine _test -test 1 1 SDK Labeled: PVDEV_ CORE_RELEASE_6.506.4.1 built on 20090312 Test Program for pvPlayer engine class. Input file name 'test.mp4' Test case range 1 to 1 Compressed output Video(No) Audio(No)Log level 8; Log node 0 Log Text 0 Log Mem 0 Starting Test 1: Open-Play-Stop-Reset Results for Test Case 1: Successes 1, Failures 1 Total Execution time for file test.mp4 is : 2.712000 seconds# *************** I want to ask why it shows 1 success and 1 failure . there should be only 1 pass or 1 fail only . Do each test case have multiple sub-tests within them ? which class in source code finally decide whether it is pass or faiL?
View 2 Replies
View Related
Jul 14, 2009
I am trying to add flash (flv) support to openCORE, i found some hints in this forum but still there are many things that unclear. I would like in the beginning to play local .flv file,from SDCARD, without streaming. As i understand i need to implement Parser within fileformats, "parser node" and "recognizer" and register it with player engine, and of cause add h.263 Sorenson codec. Can someone point me to the information on the data flow from the main Player Engine to the "parser node", what API is used,? How will "parser node" send the data to the Codec Engine? Which parts will i have to add to enable streaming later? I also looked inside the documentation within opencore but did not find relevant information, perhaps i missed something and someone can point me to where should i look.
View 2 Replies
View Related
May 24, 2010
What are the differences between StageFright and Opencore? What does this mean to app developers? Please point me to any links, tutorials online. You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
View 6 Replies
View Related
May 12, 2010
Im experiencing an intermittent and very frustrating issue with MediaPlayer on Android when streaming MP3 over HTTP. Ive done as much research and debugging as I possibly can to try and find a solution, but am coming up short. I cant find reference to this issue anywhere, including b.android.com. Essentially, whats happening is MediaPlayer will not come out of the preparing state. The device is receiving audio data during this time, as indicated by network sniffs and the MediaPlayer buffering callback being invoked repeatedly with increasing percentage values, but eventually the buffer appears to become full and stops receiving. Because prepare() never returns, or more accurately when prepareAsync() is used and the onPrepared callback is never invoked, and neither the onError() nor onInfo() callbacks are invoked, the application can neither call MediaPlayer.start() nor make any sort of recovery. Other notable observations: The problem is intermittent, meaning that subsequent attempts to play the exact same MP3 stream from the exact same server may exhibit this behavior or not - The problem seems to be exasperated when the device is connected via 3G versus wifi - The problem occurs on different MP3s encoded by different software - The problem occurs when streaming from different HTTP servers - The problem cannot be reproduced on any of the Android SDK emulators - The problem can be reproduced on the HTC Incredible, Verizon Motorola DROID, and HTC Touch - When MediaPlayer successfully returns from the preparing state, there is an info message (what=1, extra=44) received. This info message is not received during the problematic case. Anyone ever experienced this, or even find a solution?
View 10 Replies
View Related
Feb 24, 2010
I guess ur doing it correctly.While running the test cases already provided by the PVcore,one can only see the logs and not the output on the screen or the speaker. This is what my experience says.Other people who worked on this can confirm.
View 2 Replies
View Related
Aug 5, 2009
I am not able to use MediaPlayer/VideoView to make rtsp to work in Android. So I have created a client to interact with RTSP server, I have succeeded in doing this.I am able to get the video/audio frame from RTSP server (MySpace) in Android. Now I want to play the frames. I have searched OpenCore APIs to play the frames, but didn't get any APIs. My investigation: There is a class PlayerDriver.c It creates two sinks one audio and other video. handleSetVideoSurface handleSetAudioSink Two objects of type PVPlayerDataSinkPVMFNode are created. I suspect this class has a way to give the stream as input, but I am not getting the definition of this class. Can you suggest me is there any class I need to look into it?
View 1 Replies
View Related
Jul 17, 2010
I create aviparsernode folder by coping from MP4 parser node folder under /external/opencore/nodes/. But when I type "make" command under /external/opencore/build_config/opencore_dynamic/. The files under aviparsernode folder are not compilied. Does any one knows how to let OpenCore to make files under aviparsernode folder?
View 4 Replies
View Related
Jan 29, 2009
What are the video resolutions supported by the PV codes in the opencore module? Is there a manual or guide describing this?
View 2 Replies
View Related
Jan 16, 2010
Is there any Widgets that i can download that will work with aHome?
I'm loving the lay out of the phone but i cant seem to download any of the widgets that are in the ahome console?
View 2 Replies
View Related
Nov 19, 2010
I am running KaosFroyo v37. I have Droid Wall installed and I've allowed Messeging and Handcent through. Also, I've turned on 3G. Anytime I try to download a MMS it fails. Even when I disable Droid Wall it fails.
View 7 Replies
View Related
Oct 8, 2009
The following what written on the Android 1.6 Platform Highlights: Android 1.6 includes the updated OpenCore 2 media engine, which has: * Support for OpenMAX encoders * Support for additional audio codecs in AuthorEngine * Improved buffering model supports shared buffers allocated in the decoder Could someone explain to me how this affects us the developers? Does this mean now we can play other media types? What in reality is new to us on Android 1.6 in regards to OpenCore?
View 2 Replies
View Related
Nov 15, 2009
I want to get the gameboid app. i actually have the app now but it says i need to download <gba_bios.bin> for it to work. how do i do this and where do i get it?
View 3 Replies
View Related
Jun 7, 2010
I am taking a trip to Asia starting tomorrow. I wanted to know, does the GPS on the droid actually work globally as the name implies? And even if it does work, without service in that region google maps will most likely not work for directions, however is there a way or an app that can download maps of the region for the GPS to work off of?
View 6 Replies
View Related
Feb 26, 2009
I am trying to integrate my codec on the ARM side using my own OMX core. Now I would like to test it on the Android Emulator using the Eclipse and Android SDK. I would like to know, *Tool chain used to compile openCore * How to set up Android Emulator to test my latest openCore (after integrating the Codec)?
View 2 Replies
View Related
Nov 20, 2013
I think downloading is disabled, but can't find it under settings/apps, so I can't find a way to enable it. Play store won't open. My browser does not have the menu button (square with three bars in it). I am using new Nexus 7 with Android 4.3.1.
View 3 Replies
View Related
Sep 29, 2010
The page at http://www.sonyericsson.com/cws/support/softwaredownloads/detailed/mediasync/xperiax10?cc=gb&lc=en has a download now link which is broken.
Is there somewhere else that this app is available?
I get instead of the expected download pakage:D'oh!
The page you're looking for has gone walkabout. Sorry.
Don't worry though. We'll help you get where you want to be.
Our site includes lots of top information so our homepage is a good place to start - just click on our logo in the top left to get to it. You can also use the search box at the top to find what you're looking for.
And if that doesn't work, the header and footer should help get you back on the right track.
View 1 Replies
View Related
Jul 15, 2010
I want to use the codecs in Android from my application. For now I just want to use the H.264 codec for testing, unless the mp3 or aac codecs provide functions for sending the audio to the device's speaker in which case I would prefer one of those.I have the NDK installed along with Cygwin, GNU Make, and GNU Awk. I can't figure out what I need to do from here though. I'm downloading the entire OpenCORE tree right now but I don't even know how to build it or make Eclipse plugin know it needs to include the files.An example or a tutorial would be much appreciated.EDIT:It looks like I can use JNI like P/Invoke which would mean I don't have to build the OpenCORE libraries myself. However, I can't find any documentation on the names of the libraries I need to load. I'm also confused as to how to do it. I'm looking at http://www.koushikdutta.com/2009/01/jni-in-android-and-foreword-of-why-jni.html and I don't understand what the purpose of writing a library to access a library is. Couldn't you just use something like System.loadLibrary("opencore.so")?
View 2 Replies
View Related
Sep 22, 2009
I want to be able to download and install my app from my website, but when i do this at the moment i get the error:-
Download unsuccessful - Cannot Download. The content is not supported on the phone.
After looking into this it became apparent that the PHP Magic, that handles the downloads from the website, recognises the file as a .zip file rather then a .apk file and sends the it a .zip, that the phone does not recognise.
Does anyone know a way to get PHP Magic to recognise the file as an apk so that file extension does not get changed and the phone can recognise it?
View 2 Replies
View Related
Aug 5, 2010
I am not sure to the exact answer to my question. Is it because the moto widgets are difference from the droid 1?We have almost the same phone. So why wouldn't 2.2 for droid 1 work? There has to be a better explanation than, it just doesn't.
View 7 Replies
View Related
Jun 1, 2010
I'm trying to set up Dropbox on my phone in order to automate some actions, but I'm having trouble with one step. Primarily, I'd like for Dropbox to be main download location for files from Dolphin, Steel, and Browser. I can't find an easy way to make this happen, and it would be awesome if I could get it to work out.
View 5 Replies
View Related