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");
 %>