RSS Forums RSS

Convert Video into FLV format

Please support our Java advertiser: Programming Forums
Reply
Posts: 1
Reputation: alrevolver is an unknown quantity at this point 
Solved Threads: 0
alrevolver alrevolver is offline Offline
Newbie Poster

Convert Video into FLV format

  #1  
Oct 10th, 2008
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
AddThis Social Bookmark Button
Reply With Quote  
Posts: 7,398
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 439
Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: Convert Video into FLV format

  #2  
Oct 12th, 2008
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.
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 :-(
Reply With Quote  
Posts: 1
Reputation: rana84 is an unknown quantity at this point 
Solved Threads: 0
rana84 rana84 is offline Offline
Newbie Poster

Re: Convert Video into FLV format

  #3  
Oct 29th, 2008
I want a library to use it in my java code. so I allow the user to upload his video in any format and I'll store it somewhere in flv format
Reply With Quote  
Posts: 164
Reputation: orko is an unknown quantity at this point 
Solved Threads: 10
orko orko is offline Offline
Junior Poster

Re: Convert Video into FLV format

  #4  
Oct 29th, 2008
I will assume Alrevolver and rana84 are the same person. I will just ask did you understand what s.o.s. just have told? :-| Read his post again and again and try to make sense. Your answer is already given.
A Perfect World
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the Java Forum
Views: 1419 | Replies: 3 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 3:27 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC