Tuesday, 15 January 2013

php - Server-side dynamic Flash export to video -


I have spent some time without a solution, so I am hoping that someone here should at least correct me

  • The specific project flows is:
    • The user visits a Facebook app
    • The user uploads several photos and optional filters
    • The user can preview a video that displays their photographs. (Video is animation and audio)
    • Users can then choose to download this video for their device / PC

      Some Givens:

      • PHP on Server Side Linux / Apache
      • The preview video is flash
      • The output format is variable (WMV / AVI / MP4) < P> I have found some solutions but no one matches this exact flow. I want the whole process to be automated / scripted so that one component is needed which is sitting on the server, accepting commands from PHP and handling dynamic flash input and exporting it in the chosen format. My client has a generous budget to buy software to do this.

        If a good software solution or actually suggests another way to achieve the same goal then I would always be thankful ...

        Thank you!

        I will not give an accurate description of how to do this yet, but what can you do Brief profile:

          Executive () or shell_exec
        • User upload video (or is it already on the server that I'm not sure?)
        • You can use ( ) To play FFPAG, which will convert the flash file to another output, depending on the user's choice.

          What I would suggest is writing a Bash script or something that takes command line parameters (and, of course, the input file), converts the file, and Returns the location of the new file. You can use the output of exec () or shell_exec () in PHP to return the location to the user and allow them to download the file.

          If you want more detail on a certain aspect, please comment, but I am not sure that you have already seen this method, so now it is just a suggestion.

  • No comments:

    Post a Comment