Difficulty playing the video in the Desktop Application

Hello

I'm playing two H.264 encoded (.mov) videos in a desktop AS3 application. I tried publication Air and projector, but both have (different) problems with playback. When you test the SWF in Flash, both work very well.

I use a simple NetStream function to play videos from a local directory. As I have said, that they both will work perfectly in Flash, so I feel like I'm missing something obvious, but have struggled to find documentation on the streaming locally.

The application of Air works better, but can't seem to play the second video. (I have also had terrible evil to do around from safety of Air that I use LocalConnection in another part of the application, so prefer not to use it).

The projector starts to play the two videos but soon began to stammer and choke and eventually freezes the entire application.

The Adobe documentation states that it is possible to use NetStream locally, but maybe that's not the case?

Anyone have any ideas?

Thank you

Maryann

I think you started the right way - there is no reason to suspect that this problem would exist initially. I don't have a direct solution for you, but I find that it is useful for creating small samples of what is the problem and suggest trying the following...

Create a simple SWF file that only charge & play video. Do nothing else in this file (in the unlikely event that something else is affected video playback) and then display them in the projector and the way air.

Also, just try to use the video component included in another simple example and see projector/air, just to see if you encounter the same problems of reading. If you do, I had initially suspec something on your computer system compared to Flash.

I have not ran across, or noted problems such as this, in which controlling loading/video using the NetConnection and Netsrream classes... I've done a few projects with H.264 videos, but they weren't in the format MP4, MOV (I guess that there should be no difference in reading, however).

One last thought - what is the data rate you have compressed your videos? If it is really high (2 megabits per second), maybe it is too much tax on your system (and is too high for the general display broadband, anyway).

Tags: Adobe Animate

Similar Questions

Maybe you are looking for