This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes struts video file upload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts video file upload" Watch "struts video file upload" New topic
Author

struts video file upload

prasad guna
Ranch Hand

Joined: Feb 12, 2009
Posts: 43

i need guidance for uploading video file to server side with compressing data using struts...


Prasath.G
SCJP
prasad guna
Ranch Hand

Joined: Feb 12, 2009
Posts: 43

any one can tell how to configure ffmpeg with struts because i am using ffmpeg for video format conversion
but in struts can't possible to handle those things

i need alternative for this video conversion

thanks for advance...
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

This has nothing to do with Struts, although it might be possible to compress the stream on-the-fly depending on the compression scheme you want to use. How that would be best accomplished would depend on whether you're using Struts 1 or 2, and would require the use of a custom multipart handler.

It'd be easier to handle it after the file is uploaded, which takes it out of the Struts realm.
prasad guna
Ranch Hand

Joined: Feb 12, 2009
Posts: 43


thanks newton

i use struts 1.2.9,in video uploading i use (org.apache.struts.upload.FormFile;) class,and i got the file data format in byte[].after its need to convert the .flv format so i use ffmpeg through

how can i pass object data into 'ffmpeg'?
but its through


so what can i use to run this file...

i dont have idea about struts realm so give if that detailed its more help to me...

thanks.....
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Not a Struts question; running an external program is a straight Java question--try in the appropriate forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts video file upload
 
Similar Threads
How to find the duration of the media?
A Video Player
Retrieving any frame from the video in the database.
WA #1.....word association
Video website like YouTube