What video formats can be played from a Flex app? - apache-flex

The only video playback control I can see in Flex is mx.controls.VideoDisplay, which appears to support .FLV only. Is that correct? Are there other ways to play video in a Flex app, and do they require anything on the server side or can you just point at a hosted video file, and Flex takes care of streaming/buffering?
Also, if you put 2 VideoDisplay controls on top of each other, could you see one video superimposed on another?
Edit: I forgot to say, of course all the Flash controls are available in a Flex app as well as the Flex ones. So if those provide greater abilities they are of interest.

Flash / Flex can play flv, f4v, and H264 files starting with flash player 9 update 3.
Heres a tutorial on video in flash with an alpha chanel: http://theflashblog.com/?p=59
spec: http://www.adobe.com/devnet/flv/

Related

Layout elements looks blurry on 4K screen Android TV

I am developing an app for Android TV it is a screensaver app and I just loading a URL in WebView I have used DayDream Service for this purpose everything is fine, I just want to know that how can I make my layout to support 4K resolution, because when I load [http://howbigismybrowser.com/] it shows 960*500 every time no what configuration I am using. I have seen google official doc on the link
[https://developer.android.com/training/multiscreen/screensizes]
also, I have seen this link and implemented the same link
I have tried by making folder configurations like
layout-sw320dp
layout-sw600dp
layout-sw720dp
[Which resource qualifier should I use to support 1080p, 720p android TV? - Android
I made subfolder in res\folder to support different screen size but am getting same result Like this
Could anyone please help me how can I target a full 4K resolution because right now my Webview looks blurry on 4K TV
I don't believe that it's possible to target a 4K resolution with your UI components natively. According to the Android 6.0 release notes around the 4K display mode:
While in 4K display mode, the UI continues to be rendered at the original resolution (such as 1080p) and is upscaled to 4K, but SurfaceView objects may show content at the native resolution.
I might be mistaken, but I believe the intention here is to allow developers to build their UI for a standard 1080p resolution without having to account for 4K, but this still allows native 4K video as that would be rendered to the SurfaceView.

How to fix choppy video playback of local flv file in adobe air application?

I have made a application that plays videos that are stored in a assets folder of the air application but when ever I run it on an hp slate the videos are really choppy. Is there a way to preload the video or does it have to do with the processing power? the videos are 1.72mb or smaller. They are flv format and they auto play when that application is started. I am using flash builder.
Thanks if advance for you help,
Justin
Since you are using Air, you also have the possibility of not using the fullscreen-mode. You can set the windowChrome attribute of the app.xml to none and the showStatusBar attribute of the WindowedApplication false. Then you just have scale the whole app manually to the screen resolution.
It's kinda ugly, but depending on your needs (e.g. kiosk-application) that'll be just fine.

Adobe Air Browser

Im trying to implement a mini browser in adobe air. The browser should work in the same ways as a mobile phone browser, i.e. fit the width of the website to a certain width(specified within the html component) and leave the height to be scrollable.
I have managed to do a mini browser by using the scaleX,scaleY properties of the mx:HTML component however these make the websites look unreadable.
I have also tried setting the css3 zoom property, and that works fine, but it only zooms out certain elements, therefore messing up the site layout.
My question is: Is there a way to make a mini web browser which shows the full content of the website?
Thanks for your help
Air browser cannot be scaled without have an horrible look (no anti-aliasing).
A few years later but here is what I ended up doing:
The requirement was to show the full website that person B was looking at so that person A could guide them through the site. Due to all the limitations of the Adobe AIR Browser we ended up using IECapt (http://iecapt.sourceforge.net/) within an external process to capture the screenshot and send it back to AIR.
This is all well and good, but IECapt is quite out of date as well so recently we have started to look at the using Chromium (http://www.magpcss.net/cef_downloads/) as an ANE within our application and with that we can alter the zoom and dimensions of the page while still being able to keep it up-to-date.

Flex 4: Is it possible to show a Flex application on clicking a button in another flex app

I remember launching a JFrame from within a JApplet.
I was wondering if I could do the same.
The requirement is like this
I have a screen estate just enough for a flex Button.
On clicking this button, I want to open another flex app which can be of larger real estate.
I dont want to open a new Browser window.
IS it remotely possible.
Your question is very unclear and referencing java applets is even more confusing. I'd suggest you learn more about flex; free tutorial videos on the adobe website. look into viewstacks, navigation and loading modules.

Flex video/audio chat for a site

Looking for a component which can be embedded inside my site (PHP, ASP.NET...whatever) and give a support for video chat.
I'm not a flex developer and would like to use a component. There are some/many video chats available, like flashcoms, red5chat...but all of those are heavy(monolit) components.
What I would like to have on my site is just a small video showing output from my camera (me) and another video showing the other party...but those videos should be split, not in the same flash component, but separate (two different EMBED tags on my page).
Are there any components available to do that (of course with support from appropriate media server)? Are there any good guides on how to develop such a component?
Thank you very much!
You will have to program in flash, there is no stright direct components just waiting to be implemented, you can use flash CS3 instead of flex!!
Which let you built an small video object to display the camera, publish it, and then capturing on another swf with an small video object but there you play a NetStream Object and add it to an Video Object and voila!!!

Resources