Android - Video Performance On Xoom?
May 17, 2011
After a lot of head banging i'm still stuck I'm trying to deliver h.264 video over RTMP to a Flex app running on a Motorola Xoom. The BBC Iplayer, Youtube and lots of other video sites have beautiful HD video streaming without issues.
My solution currently encodes video using ffmpeg and plays fine on a desktop. But really appaulingly on the Xoom. I've tried forcing it to use h.264 baseline, and force it to use various levels. Still with no luck.
Has anyone had any luck encoding video for Flash on Android using ffmpeg and got a nice result?
View 2 Replies
Similar Posts:
Jul 20, 2011
I have loading the webview in my Activity. the Web content is having some flash content. when i try to finish the Activity. Its taking too much time. the screen goes to blank screen for little time and resuming to the app.
View 1 Replies
Mar 14, 2012
I working on a project where the client side need to capture video and audio from the camera, use some library (proberly ffmpeg) to convert from mp4 to flv and send it to flash server on realtime,in the other side the client need to get flv and convert it to video type of android on real time. Is it possible to do?
View 2 Replies
Mar 23, 2011
putting a Flash application on the Xoom tablet or another Android device w/ touchscreen?
I have a Flash presentation that is built in Papervision 3D and I want to put it on the Xoom tablet. Are there different event handlers to make the touchscreen work or will normal button events port correctly?
I have exported the application into an Air Android application.. I'm waiting for my Xoom tablet to test it out.
View 0 Replies
Apr 21, 2011
Is it possible to use Adove Flash, if it is installed, to play a flash video on Android?
View 1 Replies
Apr 15, 2011
I'm looking for ways to improve the video performance of FLVs. My AS3 video player plays multiple FLV videos synchronously. It can be used on the client's computer as we zipped it all up and tested it from the desktop, or from the server. The frame rate of the videos is 29FPS, it plays around 12, but drops below that regularly.
I have used both the FLVPlayback and Video Class, the video class had a slightly better FPS rate than FLVPlayback component: 1 - 2 FPS.
View 3 Replies
Sep 12, 2011
this is what i'm trying to accomplish; With a click on a movieclip (cannon_mc)a shot is being fired (ball_mc)
The longer mouse is down, the speed of wich the ball is fired with should increase.My question to you is;
What is the most efficient way to accomplish this? With a timer or something like this;
[Code]...
View 2 Replies
Jan 11, 2011
I'm devloping some library classes for flocking/steering behaviours on large numbers of objects (2000+). I'm finding that at < 500 instances, performance is reasonable. As the numbers increase, framerate bogs down.
I've seen remarkable performance with libraries such as Flint or Box2D with ridiculous #'s of particles / objects, so it should be possible to optimize / refactor my code to be a bit better.
I'm aware of the basic optimizations, such as bitwise operations and optimized for loops. Are there any more fundamental approaches I should be considering? For example, currently each instance is a vector-based MovieClip. Would working with BitmapData be more efficient?
View 1 Replies
Nov 4, 2011
Will I take a big hit in performance using nested ViewStacks? Should I strive to handle all navigation in one ViewStack and push children manually or will the affected performance be negligible?
eg.
<viewstack>
<tabnavigator />
<tabnavigator />
<tabnavigator />
</viewstack>
View 2 Replies
Mar 19, 2012
We have a medium size Flex 3.6 application that contains around 20 different page views (managed via a single lazy ViewStack) each having multiple components. Most use custom renderers.All model data is loaded at startup and changes to model instances are communicated via binding and/or collection change events.Once the user has viewed each page at least once, all page views are instantiated and happily listen to update events.Which in effect means that each time a model instance changes, all interested views receive that event and compute derived data or trigger item-renderers.I have tested and confirmed this behaviour in a proof-of-concept application. Even when setting a list to being invisible, it still listens to collection change events and invalidates any renderer affected.What would you do?
View 1 Replies
Jul 6, 2011
I want to load .flv video in webview.
This is my code:
package com.FlvTester;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
[Code]....
View 3 Replies
Jun 14, 2011
I'm trying to develope a simple video gallery app. It just has a few thumbnails that when clicked, play the select movie in my show movie area.It looks great when I export the .swf and see it on my laptop, but when I install it on my Android phone the movie takes over the whole screen.I am streaming the video via my server. The video dimensions are 800 x 600 on my server, but i only want then 500 x 333 on my app to make room for the thumbs. have set the flvplayback componant to 500 x 333 but everytime I install it onto my android the video just takes up the whole screen.
View 0 Replies
Mar 16, 2011
I am currently building a movie player which will play movie stored in the FMS with my PC as localhost(later on i will port it to my Android device).However,through the following code, I tried to just simply connect to the localhost to retrieve one of the video,but it keep popping out errors which I don't get it.
nc = new NetConnection();
nc.connect("rtmp://localhost/vod");
ns = new NetStream(nc);
[code].....
View 4 Replies
Mar 21, 2011
I have a simple WebView to display a website with Flash (the Adobe Flash website) -- testing on a Xoom tablet running Android 3.0.1 with newly released Flash 10.2
After referring to every question on stackoverflow, I've set the following:
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.getSettings().setPluginState(WebSettings.PluginState.ON);
mWebView.loadUrl("http://www.adobe.com/software/flash/about/");
Both Plugins and JavaScript are enabled for the WebView using getSettings(), yet Flash fails to show up. When I set setPluginState to ON_DEMAND, it shows the correct placeholder for Flash -- yet again, when I tap the item where Flash should be, the Flash disappears (as if the Flash video is failing to render) and only the audio (depending on the Flash content) can be heard.
I've also noticed that I can tap the missing Flash, do a long-hold tap, then tap the top left where the new Flash 'Fullscreen' button SHOULD be and it'll then show up correctly in Fullscreen mode. But when I fall back to the WebView, it again fails to show up and only plays the audio.
View 2 Replies
Sep 29, 2011
I'm trying to create an app that would list a selected Livestreams, from Own3d.TV, Justin.Tv etc...
If my research isn't totally failed, I can use the MediaPlayer object to Stream video, the only question is how do I use it?
So far my code looks like this, but it's giving me an Exception when trying to prepare the MediaPlayer.
public class Media extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
[Code].....
Is it even possible to Stream the video from these sites using the MediaPlayer?
View 1 Replies
Nov 8, 2011
I cannot get JW Player to play anything on an Android device (real or emulated). In fact, even the default video and default setup that comes packaged in the JW Player download will not play! I've tried re-encoding the video... nope. I've tried prioritizing the HTML5 player over the Flash player... nope. I keep getting the error:
Cannot play video
Sorry, this video cannot be played.
Worth noting, it works fine on the web and in an iPhone.
UPDATE: Here's an example of the unmodified default player directly from the JW Player download: [URL]. Try it on your Android...
View 2 Replies
Jan 5, 2012
I'm building an app that plays video in AIR for Android.when I package the video into the apk and set the source like this: FLVPlayback(player). source = "clip.mov";It loads and plays, but as per this discussion, it's very jerky, and I'm trying to implement the suggested solution of loading the video from the DCIM folder instead of packaging it with in the apk.When I put the video into the DCIM folder (manually) and then call this:[code]
Nothing happens (it reports the path correctly as /mnt/sdcard/DCIM/clip.mov, which I can see is sitting in the correct place on the device's file system).I seems like some sort of permission thing, but I'm not sure what permission I'd need to set for this to function correctly.What's the correct methodology for loading video from the file system into FLVPlayback component that is slated to run in Android?
View 1 Replies
Oct 7, 2010
I am trying to publish a video to an RTMP Server but it doesn't publish. It might be a pre-release bug. I am able to play a NetStream but not able to publish one. Is there a sandbox issue? I'm not sure. Because, the FMS RTMP Server will not let a client connect unless it has been downloaded from the same host as the server (something like a sandbox condition)
View 2 Replies
Feb 3, 2011
I would like to know if theres any way to open a webview with a stream flash video on fullscreen. Right now ive the link of the page. This page has some stuff and a flash video. So i wonder if it would be posible to open the webview only with the stream video. In fullscreen or focused on it, without seing anything else. I mean, only the webview with the video, or the whole page, but with the view focused and zoomed so that i could just see the video
View 1 Replies
Feb 26, 2011
I am trying to run a simple flash video player on android. I can only a block with a question mark. Can someone tell what is wrong with this code?
webview = (WebView) findViewById(R.id.webview);
webview.getSettings().setJavaScriptEnabled(true);
webview.setWebViewClient(new WebViewClient() {[code].........
View 2 Replies
Aug 22, 2011
I am testing on a Xoom device, running OS 3.2. The project is built (in Eclipse) using the 3.1 library.
I have the latest version of flash installed, and embedded flash plays fine in my tablet's browser.
If I create an activity like this:
WebView browser = (WebView) findViewById(R.id.browserView);
browser .getSettings().setJavaScriptEnabled(true);
browser .getSettings().setPluginsEnabled(true);
[Code]....
Then I hear the sound playing for the flash, but it shows up as a white box.
Similarly, any other page with embedded flash has the same problem. I've also tried making a string containing static HTML content, and loading that into the browser... but it has the same problem.
I've read every solution I could find online, from setting the view to invisible until the onPageFinish event is called, to extending the WebView class, and paining over it. I've tried reflection, to call hidden properties on the WebView's settings for enabling flash, etc. Nothing works.
View 1 Replies
Dec 12, 2011
I'm building a mobile AIR application that connects to my desktop AIR application. In the mobile application, I'm recording video with my Android device with flash.media.CameraUI. This works perfectly, but now I'd like to send this file to my desktop application so I can do stuff with it. I've got a server written in AS3 running on my desktop (the application itself) listening to AMF messages on a certain port. I can send data through sockets, I've already tested it with accelerometer data, so that's not the issue.
What would be the best way to send video to my desktop AIR app? I've tried multiple things already; serializing using registerClassAlias, ByteArrays.
View 2 Replies
Jan 6, 2011
This is really a two part question. First, is it possible to detect if Flash is installed on an Android device? Second, if it is installed, is it possible to display a flash video in an Activity? I'm thinking you'd have to use a WebView widget within your Activity to display the Flash content instead of something like a VideoView. Is Flash even supported within the WebView widget or is it only supported by the actual Browser app?
View 1 Replies
Apr 20, 2011
Is there any way to embed YouTube video/video player into Android Flex AIR Mobile application?
I tried to use SWFLoader(...) but since its MX library class only works on the desktop runtime environment, but fails to work on actual Android device when debugging the application.
Maybe it's possible to embed HTML that contain YouTube video into some Flex media container like TextArea or something?
View 1 Replies
May 22, 2011
I�m building an iPad 2 app with Flash with ActionScript 3 (Adobe CS5.5), what I want to do is to wrap my two sections of the video (h264) inside the final app? I do not want to stream the video or load it external, "I need it to be included in the app locally" (inside the final package)!I need it to be in one application, to upload to the iTunes Store/Google market�
PS like to do the same with Android, the package (apk) no stream video.
View 0 Replies
Dec 29, 2011
What file should android devices use to view a live video stream? myeventname.f4m? I'm using the following html5 code and it's not working in Android devices.
<video id="liveWebcast"
poster="poster.jpg"
src="[URL]" controls autoplay>
</video>
View 3 Replies
Jan 25, 2011
i have an AIR android app which i am running on an android device ( samsung TAB ). i want the app to get laid out in landscape mode when the user starts the app holding the device in landscape ( same goes with portrait ).
but the AIR app always gets started in portrait mode irrespective of the way the device is held.
i tried the following ways use stage.deviceorientation (but when the app starts (after the applicationComplete notification ) the value is UNKNOWN) use stage resize event. (this gets triggered at start itself, a manual resize is not required - the values are based on portrait mode though - the width is 600 and height is 1024 (should have been otherway) )
i get correct values when i try changing the orientation of device, only at the startup i see problem with the required values.
View 1 Replies
Oct 28, 2011
I have an as3 built osmf video player swf that we embed on a standard HTML page. When you touch the image the video automatically goes fullscreen and begins playing. Droid and Flash often break after changing back and forth between landscape and portrait while in fullscreen.(by break I mean freeze, where you can hear the video and use the controls, but everything is just a still frozen image, the redrawing fails).Can you lock the fullscreen orientation in html, javascript, or do you have to try to handle it inside the swf?
View 1 Replies
Dec 29, 2010
I am porting my flash games on android. I have ported 3 successfully. But the problem with all of them is they are giving very low frame rate near about 7-8. And I have observed 1 thing that frame rate always varies. Sometimes it goes upto 45 and again in next frame it comes to 3-4 and again goes to 15-16.
I am quite confused. Please let me know if anyone is having any idea about this.
View 1 Replies
Apr 14, 2011
I am loading flash SWFs into an android WebView.I want the SWF to be instantly fullscreen and focused.The class name that handles flash is com.adobe.flashplayer.FlashPaintSurface .
Watching the log, when I fullscreen the flash manually, it calls com.adobe.flashplayer.FlashPaintSurface.toggleFullScreen()The first part of my question is, How can i call that method manually for my flash swf? Note that with a webview with a flash embedded, the only way i seem to be able to fullscreen it properly (to have flash's surfaceview fullscreen instead of the flash being displayed over top of the webview view) is by touching the screen with two fingers until an interface pops up at the top of the screen, and doesnt happen reliably.For focus, inside my webview class I call
@Override
protected boolean drawChild (Canvas canvas, View child, long drawingTime) {
if (child.getClass().getName().equals("com.adobe.flashplayer.FlashPaintSurface")) {
[code]...
This doesnt set the focus as I thought it would. Although i assume, if fullscreened properly, the flashpaintsurface should give itself focus. But if if the first part is not doable, i would wonder at least to not have to give focus to the SWF by clicking on it on startup.
View 1 Replies