This content has been marked as final. Show 10 replies
I personally would do it before uploading. That said, Youtube converts several formats into FLV upon upload so you might Google what Youtube does to make the conversion.
I cannot do it before uploading, it is a user interface that enables them to uploads vids and convert them into FLV 'behind the scenes'.
I was wondering if there is a Flex Class for just this.
Ah, thank you John, I appreciate your effort! :)
I know how to do that with PHP, there's a nice library that does that, but I wanted to show progress bar info about that, and can't. Plus it's rather complicated. I was hoping Flex had a built-in Class for just that.
Well maybe one of the gurus will have one. Then we can all take advantage.
Flex doesn't have a class to convert videos, you'd have to run special software on the server to do the conversion.
The Flash FLVPlayback component DOES handle both AVI and MPEG4 files. This component can be used directly within Flex.
rtalton , are you saying I can use FLV, AVI and MPG/MPEG files to work with VideoDisplay component?
The Help Reference for that component says it is used to display FLV files.
The Flex VideoDisplay component can only handle FLV files.
The Flash FLVPlayback component DOES handle both AVI and MPEG4 files. And of course, FLV files. This component can be used directly within Flex. It has skins with all the buttons/controls already on it so you don't to build a control interface for it. You simply can add the SWC for the FLVPlayback componenet to your Flex project's Library Path.
On an XP machine, the SWC is located here:
C:/Program Files/Adobe/Adobe Flash CS3/en/Configuration/Components/Video/FLVPlaybackAS3.swc
...and the FLVPlayback's skins are located here:
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\FLVPlayback Skins\ActionScript 3.0
...you can copy the one(s) you need into a project folder.
So if you only need your users to upload these three filetypes, you are good to go.
Brilliant! Thank you a lot! :)