让人抓狂的ffmpeg,让人崩溃的exec函数
MicrosoftWindows[版本5.2.3790]
(C)版权所有1985-2003MicrosoftCorp.
C:\DocumentsandSettings\Administrator>E:/upload_code/FFmpeg/ffmpeg.exe-
iE:/2010/05/09/1273413491.flv-y-ss00:00:09-t00:00:10-s320*240-fmjpeg-
vframes10E:/2010/05/09/1273413491.jpg
FFmpegversionSVN-r19590,Copyright(c)2000-2009FabriceBellard,etal.
configuration:--prefix=e:/ffmpeg_build/r19590--enable-gpl--enable-nonfree-
-enable-version3--enable-pthreads--enable-memalign-hack--enable-shared--disa
ble-static--enable-encoder=snow--disable-encoder=vorbis--disable-decoder=aac
--disable-encoder=aac--disable-ffserver--enable-mpegaudio-hp--enable-avisynth
--enable-bzlib--enable-libdirac--enable-libfaac--enable-libfaad--enable-lib
mp3lame--enable-libgsm--enable-libopenjpeg--enable-libschroedinger--enable-l
ibspeex--enable-libtheora--enable-libvorbis--enable-libx264--enable-libxvid
--enable-libopencore-amrnb--enable-libopencore-amrwb--enable-avfilter--enable
-avfilter-lavf--extra-cflags='-U__STRICT_ANSI__-I/usr/local/include-I/usr/loc
al/include/schroedinger-1.0-I/usr/local/include/dirac'--extra-ldflags=-L/usr/l
ocal/lib--extra-libs='-lpthreadGC2-lstdc++'
libavutil50.3.0/50.3.0
libavcodec52.32.0/52.32.0
libavformat52.37.0/52.37.0
libavdevice52.2.0/52.2.0
libavfilter0.5.0/0.5.0
libswscale0.7.1/0.7.1
builtonAug5200912:50:56,gcc:4.3.3
-------------------------------------------------------
Support/discussiongroup:http://www.www.k686.com
-----------------------Enjoyit!-----------------------
E:/2010/05/09/1273413491.flv:nosuchfileordirectory
C:\DocumentsandSettings\Administrator>E:/upload_code/FFmpeg/ffmpeg.exe-
iE:/2010/05/09/1273413491.flv-y-ss00:00:09-t00:00:10-s320*240-fmjpeg-
vframes10E:/2010/05/09/1273413491.jpg
FFmpegversionSVN-r19590,Copyright(c)2000-2009FabriceBellard,etal.
configuration:--prefix=e:/ffmpeg_build/r19590--enable-gpl--enable-nonfree-
-enable-version3--enable-pthreads--enable-memalign-hack--enable-shared--disa
ble-static--enable-encoder=snow--disable-encoder=vorbis--disable-decoder=aac
--disable-encoder=aac--disable-ffserver--enable-mpegaudio-hp--enable-avisynth
--enable-bzlib--enable-libdirac--enable-libfaac--enable-libfaad--enable-lib
mp3lame--enable-libgsm--enable-libopenjpeg--enable-libschroedinger--enable-l
ibspeex--enable-libtheora--enable-libvorbis--enable-libx264--enable-libxvid
--enable-libopencore-amrnb--enable-libopencore-amrwb--enable-avfilter--enable
-avfilter-lavf--extra-cflags='-U__STRICT_ANSI__-I/usr/local/include-I/usr/loc
al/include/schroedinger-1.0-I/usr/local/include/dirac'--extra-ldflags=-L/usr/l
ocal/lib--extra-libs='-lpthreadGC2-lstdc++'
libavutil50.3.0/50.3.0
libavcodec52.32.0/52.32.0
libavformat52.37.0/52.37.0
libavdevice52.2.0/52.2.0
libavfilter0.5.0/0.5.0
libswscale0.7.1/0.7.1
builtonAug5200912:50:56,gcc:4.3.3
-------------------------------------------------------
Support/discussiongroup:http://www.www.k686.com
-----------------------Enjoyit!-----------------------
Seemsstream0codecframeratediffersfromcontainerframerate:1000.00(1000
/1)->12.00(12/1)
Input#0,flv,from'E:/2010/05/09/1273413491.flv':
Duration:00:00:18.16,start:0.000000,bitrate:261kb/s
Stream#0.0:Video:flv,yuv420p,320x240,261kb/s,12tbr,1ktbn,1ktbc
Stream#0.1:Audio:mp3,22050Hz,2channels,s16
Output#0,mjpeg,to'E:/2010/05/09/1273413491.jpg':
Stream#0.0:Video:mjpeg,yuvj420p,320x240,q=2-31,200kb/s,90ktbn,12
tbc
Streammapping:
Stream#0.0->#0.0
Press[q]tostopencoding
frame=10fps=0q=15.4Lsize=128kBtime=0.83bitrate=1259.8kbits/s
video:128kBaudio:0kBglobalheaders:0kBmuxingoverhead0.000000%
C:\DocumentsandSettings\Administrator>E:/upload_code/FFmpeg/ffmpeg.exe-
iE:/2010/05/09/1273413491.flv-y-ss00:00:09-t00:00:10-s320*240-fmjpeg-
vframes10E:/2010/05/09/1273413491.jpg
哭,网络访问执行不了啊.救命.
ffmpeg在windows2003下采用exec函数执行,总是不成功怎么回事呢.在本地是可以的哦.能分析下么.
echoexec("pinglocalhost");
就可以执行,输出最后一行结果.但是ffmpeg就不行.没有任何输出.