FFMpeg和png图像(glob/libav格式)中出错

FFMpeg和png图像(glob/libav格式)中出错,ffmpeg,Ffmpeg,我正在尝试使用FFMpeg生成基于几个png图像的动画 不跟在序列号后面的。具有 ffmpeg-f image2-r1-pattern_-type glob-i'*.png'-c:v libx264 mov.mp4 我得到以下错误 ffmpeg version N-53033-g56ba331 Copyright (c) 2000-2013 the FFmpeg developers built on May 13 2013 22:18:29 with gcc 4.7.3 (GCC) con

我正在尝试使用FFMpeg生成基于几个png图像的动画 不跟在序列号后面的。具有

ffmpeg-f image2-r1-pattern_-type glob-i'*.png'-c:v libx264 mov.mp4
我得到以下错误

ffmpeg version N-53033-g56ba331 Copyright (c) 2000-2013 the FFmpeg developers built on May 13 2013 22:18:29 with gcc 4.7.3 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 52. 31.100 / 52. 31.100 libavcodec 55. 9.100 / 55. 9.100 libavformat 55. 7.100 / 55. 7.100 libavdevice 55. 0.100 / 55. 0.100 libavfilter 3. 65.100 / 3. 65.100 libswscale 2. 3.100 / 2. 3.100 libswresample 0. 17.102 / 0. 17.102 libpostproc 52. 3.100 / 52. 3.100 [image2 @ 0268b600] Pattern type 'glob' was selected but globbing is not supported by this libavformat build '*.png': Function not implemented ffmpeg版本N-53033-g56ba331版权所有(c)2000-2013 ffmpeg开发者 建造于2013年5月13日22:18:29,通用条款4.7.3(通用条款) 配置:--enable-gpl--enable-version3--disable-w32threads --启用avisynth--enable bzlib--enable fontconfig--enable-frei0r --enable gnutls--enable iconv--enable libass--enable libbluray --enable libcaca--enable libfreetype--enable libgsm--enable libilbc --enable-libmp3lame—enable libopencore amrnb—enable libopencore amrwb --启用libopenjpeg--启用libopus--启用librtmp --启用libschroedinger--enable libsoxr--enable libspeex --enable libthera--enable libtwolame--enable libvo aacenc --enable libvo amrwbenc--enable libvorbis--enable libvpx--enable-libx264 --启用libxavs--启用libxvid--启用zlib libavutil 52。31.100 / 52. 31.100 libavcodec55。9.100 / 55. 9.100 libav55格式。7.100 / 55. 7.100 libav55设备。0.100 / 55. 0.100 libavfilter 3。65.100 / 3. 65.100 libswscale 2。3.100 / 2. 3.100 libswresample 0。17.102 / 0. 17.102 libroc 52。3.100 / 52. 3.100 [image2@0268b600]已选择图案类型“glob”,但未选择globbing 此libavformat版本支持 “*.png”:未实现函数 我正在Windows 7上工作。

就像您一样 , 要使globbing正常工作,您需要
glob.h

根据我的快速查找,MinGW-w64不包含此文件,因此您需要使用Cygwin编译器。但是,这可能并不理想,因为生成的FFmpeg需要Cygwin dll。

来自:“
glob
只有在使用globbing支持编译libavformat时才是可选的”。我不确定这对Windows用户意味着什么,但它可能会为您指明正确的方向。