aspose file tools*
The moose likes Java in General and the fly likes Convert Video into SWF and FLV format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Convert Video into SWF and FLV format" Watch "Convert Video into SWF and FLV format" New topic
Author

Convert Video into SWF and FLV format

Nina Anderson
Ranch Hand

Joined: Jul 18, 2006
Posts: 148
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.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8927
    
    9

Working with video is nontrivial. The Java Multimedia Framework supports a fraction of the functionality you require. My advice is search for a product that can do what you require and buy it. Adobe Flash CS3 Professional is $700. It includes Flash Video Encoder which may do what you require, and it's much cheaper than the time it would cost you to get up to speed on encoding video and writing your own encoder for each format/codec you want to support.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Pauline McNamara
Sheriff

Joined: Jan 19, 2001
Posts: 4012
    
    6
Maybe you can take advantage of what others have already done. HeyWatch is an online encoding service with a REST API. Just an idea, I haven't used it.

I've also been told that ffmpeg (encoding) and flvtool2 (metadata) work well together. Again, I've no first hand experience with them, but maybe they're something to get you started.
[ December 30, 2007: Message edited by: Pauline McNamara ]
Katya shmatya
Greenhorn

Joined: Feb 12, 2008
Posts: 3
hi
i want to advice very good tool its VisiFly
this prog works with all common formats,very helpful,has demo without timelimit!i think its great=))you can find more info and downlode it herehere
GLuck
kukla kukla
Greenhorn

Joined: May 19, 2008
Posts: 2
I use Video To Flash Converter!
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

"kukla kukla"

Please check your private messages.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Nina Anderson
Ranch Hand

Joined: Jul 18, 2006
Posts: 148
we need something that can convert the video at runtime (eg. YouTube). NOT a manual tool!!!
kukla kukla
Greenhorn

Joined: May 19, 2008
Posts: 2
This converter is the best =)
Carey Evans
Ranch Hand

Joined: May 27, 2008
Posts: 225

ffmpeg and flvtool2 can be started from Java using ProcessBuilder, wihout manual intervention. See Pauline's post above.
[ July 21, 2008: Message edited by: Carey Evans ]
Kristofer Klon
Greenhorn

Joined: Jul 21, 2008
Posts: 2
I have Video to Flash Converter Pro.I recommend to all, it's a good thing
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39436
    
  28
Welcome to JavaRanch

You have arrived a bit late on that thread, however; once a thread is that old it is probably best to let it rest in peace!

CR
Kristofer Klon
Greenhorn

Joined: Jul 21, 2008
Posts: 2
Thank you

I think that this thread isn't too old. It's actual.
All new long-forgotten old
[ July 22, 2008: Message edited by: Kristofer Klon ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Convert Video into SWF and FLV format