Convert Video into FLV format

Reply

Join Date: Oct 2008
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

 
0
  #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
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,600
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: 462
Super 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

 
0
  #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.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
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

 
0
  #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 Quick reply to this message  
Join Date: Apr 2006
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

 
0
  #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 Quick reply to this message  
Join Date: Dec 2002
Posts: 12
Reputation: test is an unknown quantity at this point 
Solved Threads: 0
test test is offline Offline
Newbie Poster

Re: Convert Video into FLV format

 
0
  #5
Aug 12th, 2009
Java Audio Video Encoder (Jave). Java wrapper for FFMpeg.
Hmm i am a test acount how vcome im still here? :idea:
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC