java - Programmatically convert a video to FLV -


I am currently working on a web application that uploaded videos in any format (.avi, .mov , Etc.) and flash-based players to convert them to FLV.

Since the site is OpenCMS-based, the best solution will be a ready plugin for OpenCM, which allows uploading and running video transcoded in the background, but to transcode the Java classes only One set will be good and then I can do the upload form and playback part on my own.

If you go to the 'Local FFMPEG route', then I suggest making a processbilder only and I create a command line to execute FFMPG. In this way you get complete control over what you are performing, you avoid JNI, which is a complete nightmare to work, and you keep your app's OS-specific code. You can find FFMPEG with all the bells and seats for much of any platform. There is already a good chance on your server.

The good thing about the 'Local FFMPEG' route is that you do not have to pay for any additional hosting, and everything is going locally, even if your hosting is not available for the disc and If you are using a crazy amount of CPU, then the administrator can start complaining. There are some other stack overflow questions that talk about some of the flavver making which you can use As the player can actually play.

The web service is good because it includes less setup but I have not used it but it looks promising, it is easy to set up and it works well, as well as your extra video Without additional effort you can get on S3.


Comments