首页上一页 1 下一页尾页 1 条记录 1/1页
19章视频博客模块,关于ffmpeg使用错误
发表在JavaWeb图书答疑
2012-02-20
是否精华
是
否
版块置顶:
是
否
信息: Server startup in 7713 ms
STR:2&&&&5
STR:1&&&&5
java.io.IOException: CreateProcess: "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\my_video\videos\ffmpeg.exe" -i "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\my_video\videos\temp\1329726896015.mp4" -qscale 6 -ab 64 -acodec mp3 -ac 2 -ar 22050 -r 24 -y "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\my_video\videos\1329726896015.flv" error=2
java.io.IOException: CreateProcess: "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\my_video\videos\ffmpeg.exe" -i "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\my_video\videos\temp\1329726896015.mp4" -qscale 6 -ab 64 -acodec mp3 -ac 2 -ar 22050 -r 24 -y "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\my_video\videos\1329726896015.flv" error=2
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at com.wy.sevlet.MediaServlet.convertVideo(MediaServlet.java:151)
at com.wy.sevlet.MediaServlet.doInsert(MediaServlet.java:54)
at com.wy.sevlet.MediaServlet.doGet(MediaServlet.java:32)
at com.wy.sevlet.MediaServlet.doPost(MediaServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)[/font]
[font color=#FF0000]主要是在servlet进行上传文件进行转码、截图时候出现错误[/font]
STR:2&&&&5
STR:1&&&&5
java.io.IOException: CreateProcess: "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\my_video\videos\ffmpeg.exe" -i "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\my_video\videos\temp\1329726896015.mp4" -qscale 6 -ab 64 -acodec mp3 -ac 2 -ar 22050 -r 24 -y "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\my_video\videos\1329726896015.flv" error=2
java.io.IOException: CreateProcess: "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\my_video\videos\ffmpeg.exe" -i "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\my_video\videos\temp\1329726896015.mp4" -qscale 6 -ab 64 -acodec mp3 -ac 2 -ar 22050 -r 24 -y "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\my_video\videos\1329726896015.flv" error=2
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at com.wy.sevlet.MediaServlet.convertVideo(MediaServlet.java:151)
at com.wy.sevlet.MediaServlet.doInsert(MediaServlet.java:54)
at com.wy.sevlet.MediaServlet.doGet(MediaServlet.java:32)
at com.wy.sevlet.MediaServlet.doPost(MediaServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)[/font]
[font color=#FF0000]主要是在servlet进行上传文件进行转码、截图时候出现错误[/font]