4 Replies Latest reply on Mar 9, 2009 9:44 AM by streamworks audio

    Large mp4 file bug?

    streamworks audio
      Hey people!

      We are building an Air app with Flex that is basically a video player - the video loads fine and plays when we run the application from within Flex Builder... however when we build the app and try to install it we get the infamous 'Sorry this application is damaged contact the vendor' type error.

      After some trial and error tests we found that this only happens with the mp4 file is included in the .air file - it is a large file (1.7 gb) if we do not include the file then it installs with no error... we have tried a dummy replacement video that is only about 150mb and that one seemed to work. So I am wondering.... is there a bug or file size limitation to air apps? Or could this mp4 file actually have something wrong that when built into an app this error is produced.

      Thanks,
      Chris
        • 1. Re: Large mp4 file bug?
          tzeng Adobe Employee
          There is a file size limitation on AIR file size.
          It depends on OS and the machine hardware.

          1.7GB is too big even on Mac.

          -ted
          • 2. Re: Large mp4 file bug?
            streamworks audio Level 1
            Thanks Ted

            Is there a way to learn these size limitations so we can encode our video to meet these sizes. Is there a way for an Air app to install without all the content being inside the .air file? Meaning can we place the video external from the .air file and when installed the external file is copied to it's correct location? For our PC only version this is possible by using the binaries (after installing the .air file) to create a custom installation. But not sure on Mac - perhaps we need to open the package created and manually add the video content?

            Thanks,
            Chris
            • 3. Re: Large mp4 file bug?
              tzeng Adobe Employee
              There is no unique answer to this. The file size depends on the machine.
              If your machine has more memory, then you can install a bigger AIR file.

              >>For our PC only version this is possible by using the binaries (after installing the .air file) to create a custom installation.
              I don't think this is possible. The installation process also create things like registry entries.

              Someone has asked this question before here. You might do a search and see how to solve this problem.
              • 4. Re: Large mp4 file bug?
                streamworks audio Level 1
                OK so it's is dependent on the host's amount ram?

                As for my custom install workaround - if the air app does write to the registry then our install application would have to run the air file install then copy the content data to same directory. Plus of course install the air runtime to ensure that the user can run the app.

                I am not sure that the registry items are required to run the .exe binary that is created by the .air file install - should be able to just copy those copies to DVD and have the installer copy them over... as it is a video application this would allow the user to run the app directly of DVD as well.

                What would be great is if you could create an .air file that can install/copy external data - so you would end up with the .air installer and any content that might be too large for the .air file alone.... if that makes sense.