Convert Video into FLV format
Please support our Java advertiser: Programming Forums
![]() |
•
•
Posts: 1
Reputation:
Solved Threads: 0
Hi,
We have a java web application where users will be submitting videos. I'm trying to write a java program that is able to convert any movie file into compressed SWF video and FLV streaming video formats. The code should convert almost all popular file extensions such as AVI, MPEG, WMV, ASF and 3GP.
I've never worked with filestreaming etc before, so I would appreciate any insight you can provide on how I can go about doing this.
Thanks
We have a java web application where users will be submitting videos. I'm trying to write a java program that is able to convert any movie file into compressed SWF video and FLV streaming video formats. The code should convert almost all popular file extensions such as AVI, MPEG, WMV, ASF and 3GP.
I've never worked with filestreaming etc before, so I would appreciate any insight you can provide on how I can go about doing this.
Thanks
Pure Java solutions / libraries for converting videos to different formats might be a bit hard to get by. There are a lot of open source / free converters out there [like ffmpeg] which you can use in conjunction with your application to achieve the desired task since re-writing the entire thing in Java would be a significant act.
One of the ways to do it:
• Use your web application as a front end for allowing users to upload their videos.
• When storing the videos, either store them directly to your File system or use a Database; depends on how your project is engineered.
• Run a background process which would pick up the file from a specified directory, convert it and put it in another directory [or table if using Database].
• The background process would run a command line version of the file conversion utility for converting files.
Another way would be to create a thin wrapper around the open source libraries out there which are written in C or C++ and make native calls using JNI.
But on a final note, this is by no means a simple project and having an architect on your team who *knows* things really helps.
One of the ways to do it:
• Use your web application as a front end for allowing users to upload their videos.
• When storing the videos, either store them directly to your File system or use a Database; depends on how your project is engineered.
• Run a background process which would pick up the file from a specified directory, convert it and put it in another directory [or table if using Database].
• The background process would run a command line version of the file conversion utility for converting files.
Another way would be to create a thin wrapper around the open source libraries out there which are written in C or C++ and make native calls using JNI.
But on a final note, this is by no means a simple project and having an architect on your team who *knows* things really helps.
I don't accept change; I don't deserve to live.
Act from reason, and failure makes you rethink and study harder.
Act from faith, and failure makes you blame someone and push harder.
-- Eric Naggum RIP :-(
Act from reason, and failure makes you rethink and study harder.
Act from faith, and failure makes you blame someone and push harder.
-- Eric Naggum RIP :-(
![]() |
Similar Threads
Other Threads in the Java Forum
- video to flash conversion (PHP)
- Soft for webmasters! (Windows Software)
- How to Download FLV offline and enjoy FLV on portable devices (Graphics and Multimedia)
- More Codec Problems!! (Windows NT / 2000 / XP / 2003)
- flash help (Graphics and Multimedia)
- videoclip get thumbnail using php (PHP)
- Understanding whats best when hosting mp3s and video (Graphics and Multimedia)
Other Threads in the Java Forum
- Previous Thread: help agaaaaain ???
- Next Thread: GUI problem
•
•
•
•
Views: 1419 | Replies: 3 | Currently Viewing: 1 (0 members and 1 guests)






Linear Mode