• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

struts video file upload

 
Ranch Hand
Posts: 46
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i need guidance for uploading video file to server side with compressing data using struts...
 
prasad guna
Ranch Hand
Posts: 46
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 46
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not a Struts question; running an external program is a straight Java question--try in the appropriate forum.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic