Results 1 to 1 of 1
- 12-17-2008, 06:04 AM #1
Member
- Join Date
- Dec 2008
- Posts
- 1
- Rep Power
- 0
Execute the commands in Jsp Program
Hi,
I used the below code to convert the video file into an image.When i run that below code it didn't shows any errors and also didn't convert the video into an image.When i use the command "ffmpeg -i sample.wmv -f image2 -t 0.001 -ss 3 sssssss.jpg in command prompt it works fine and it convert the video into image.But it didn't work in java program.Please tell the solution what changes i have to made in my program
Java Code:<% Process p = Runtime.getRuntime().exec("C:/Program Files/Apache Software Foundation/Tomcat 5.5/webapps/test/ffmpeg -i sample.wmv -f image2 -t 0.001 -ss 3 sssssss.jpg"); %>
Similar Threads
-
How to execute an External Program through Java program
By Java Tip in forum java.ioReplies: 0Last Post: 04-04-2008, 02:40 PM -
Using Runtime to execute external commands
By Java Tip in forum Java TipReplies: 0Last Post: 02-05-2008, 09:14 AM -
How to execute an External Program through Java program
By JavaBean in forum Java TipReplies: 0Last Post: 10-04-2007, 09:33 PM -
Need to write a program to execute a list of system commands
By mdthahir in forum New To JavaReplies: 2Last Post: 08-07-2007, 07:22 PM -
Need to write a program to execute a list of system commands
By mdthahir in forum NetworkingReplies: 1Last Post: 07-27-2007, 05:46 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks