[FFmpeg-user] Use cropdetect only every xth frame

Gerion Entrup gerion.entrup at t-online.de
Sat Oct 12 20:06:34 CEST 2013


Am Samstag, 12. Oktober 2013, 12:58:48 schrieb Gerion Entrup:
> Am Samstag, 12. Oktober 2013, 10:32:14 schrieb Carl Eugen Hoyos:
> > Consider testing again without the filters, I cannot
> > rule out that the filters take longer than the decoding.
> 
> I will do.
> 
> > After a quick look, I fear that a sample will be needed;-(
> 
> I first try it with other videos and codecs. Maybe this helps.

I took the Big Bug Bunnys HD encodes as samples and there it works as 
expected:

$ for i in *; do ffmpeg -i "$i"; echo "without skip, with filters"; time ffmpeg -
i "$i" -filter:v cropdetect -filter:a volumedetect -map 0:a -map 0:v -f null 
/dev/null 2>/dev/null; echo "with skip, with filters"; time ffmpeg -skip_frame 
nokey -i "$i" -filter:v cropdetect -filter:a volumedetect -map 0:a -map 0:v -f 
null /dev/null 2>/dev/null; echo "with skip, without filters"; time ffmpeg -
skip_frame nokey -i "$i" -map 0:a -map 0:v -f null /dev/null 2>/dev/null; echo 
"without all"; time ffmpeg -i "$i" -map 0:a -map 0:v -f null /dev/null 
2>/dev/null; echo ------------; done
ffmpeg version N-57057-g024bf3a Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 12 2013 01:53:36 with gcc 4.6.3 (Gentoo 4.6.3 p1.13, pie-0.5.2)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --
mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --
cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -
march=native -fomit-frame-pointer' --extra-cflags='-O2 -pipe -march=native -
fomit-frame-pointer' --extra-cxxflags='-O2 -pipe -march=native -fomit-frame-
pointer' --disable-static --enable-gpl --enable-postproc --enable-avfilter --
enable-avresample --disable-stripping --enable-version3 --enable-nonfree --
disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-
outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --
disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --
enable-network --disable-openssl --enable-ffplay --enable-vaapi --enable-vdpau 
--enable-zlib --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-
libmp3lame --enable-libaacplus --disable-libfaac --enable-libtheora --disable-
libtwolame --enable-libwavpack --enable-libx264 --enable-libxvid --enable-
libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-
openal --disable-libv4l2 --disable-libpulse --enable-x11grab --disable-libflite 
--disable-frei0r --disable-fontconfig --enable-ladspa --disable-libass --
enable-libfreetype --disable-libsoxr --enable-pthreads --disable-libopencore-
amrwb --disable-libopencore-amrnb --disable-libfdk-aac --disable-libopenjpeg 
--enable-libbluray --enable-libcelt --disable-libgme --disable-libgsm --
disable-libmodplug --enable-libopus --enable-libquvi --disable-librtmp --
disable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libvpx 
--disable-libzvbi --disable-amd3dnow --disable-amd3dnowext --disable-altivec 
--disable-avx --disable-vis --disable-neon --cpu=host
  libavutil      52. 46.101 / 52. 46.101
  libavcodec     55. 35.100 / 55. 35.100
  libavformat    55. 19.100 / 55. 19.100
  libavdevice    55.  4.100 / 55.  4.100
  libavfilter     3. 88.101 /  3. 88.101
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'big_buck_bunny_1080p_h264.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2008-05-27 18:40:35
    timecode        : 00:00:00:00
  Duration: 00:09:56.46, start: 0.000000, bitrate: 9725 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, 
bt709), 1920x1080, 9282 kb/s, 24 fps, 24 tbr, 2400 tbn, 4800 tbc (default)
    Metadata:
      creation_time   : 2008-05-27 18:40:35
      handler_name    : Apple Alias Data Handler
    Stream #0:1(eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
      creation_time   : 2008-05-27 18:40:35
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
    Stream #0:2(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 437 
kb/s (default)
    Metadata:
      creation_time   : 2008-05-27 18:40:35
      handler_name    : Apple Alias Data Handler
At least one output file must be specified
without skip, with filters

real    0m50.257s
user    2m38.956s
sys     0m1.451s
with skip, with filters

real    0m34.265s
user    1m13.954s
sys     0m1.738s
with skip, without filters

real    0m32.982s
user    1m13.441s
sys     0m1.812s
without all

real    0m50.799s
user    2m41.453s
sys     0m1.593s
------------
ffmpeg version N-57057-g024bf3a Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 12 2013 01:53:36 with gcc 4.6.3 (Gentoo 4.6.3 p1.13, pie-0.5.2)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --
mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --
cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -
march=native -fomit-frame-pointer' --extra-cflags='-O2 -pipe -march=native -
fomit-frame-pointer' --extra-cxxflags='-O2 -pipe -march=native -fomit-frame-
pointer' --disable-static --enable-gpl --enable-postproc --enable-avfilter --
enable-avresample --disable-stripping --enable-version3 --enable-nonfree --
disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-
outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --
disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --
enable-network --disable-openssl --enable-ffplay --enable-vaapi --enable-vdpau 
--enable-zlib --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-
libmp3lame --enable-libaacplus --disable-libfaac --enable-libtheora --disable-
libtwolame --enable-libwavpack --enable-libx264 --enable-libxvid --enable-
libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-
openal --disable-libv4l2 --disable-libpulse --enable-x11grab --disable-libflite 
--disable-frei0r --disable-fontconfig --enable-ladspa --disable-libass --
enable-libfreetype --disable-libsoxr --enable-pthreads --disable-libopencore-
amrwb --disable-libopencore-amrnb --disable-libfdk-aac --disable-libopenjpeg 
--enable-libbluray --enable-libcelt --disable-libgme --disable-libgsm --
disable-libmodplug --enable-libopus --enable-libquvi --disable-librtmp --
disable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libvpx 
--disable-libzvbi --disable-amd3dnow --disable-amd3dnowext --disable-altivec 
--disable-avx --disable-vis --disable-neon --cpu=host
  libavutil      52. 46.101 / 52. 46.101
  libavcodec     55. 35.100 / 55. 35.100
  libavformat    55. 19.100 / 55. 19.100
  libavdevice    55.  4.100 / 55.  4.100
  libavfilter     3. 88.101 /  3. 88.101
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Input #0, avi, from 'big_buck_bunny_1080p_stereo.avi':
  Metadata:
    encoder         : MEncoder 2:1.0~rc2-0ubuntu13
  Duration: 00:09:56.46, start: 0.000000, bitrate: 9586 kb/s
    Stream #0:0: Video: msmpeg4v2 (MP42 / 0x3234504D), yuv420p, 1920x1080, 24 
tbr, 24 tbn, 24 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 245 
kb/s
At least one output file must be specified
without skip, with filters

real    1m3.237s
user    1m2.493s
sys     0m0.363s
with skip, with filters

real    0m3.095s
user    0m2.889s
sys     0m0.189s
with skip, without filters

real    0m2.844s
user    0m2.644s
sys     0m0.174s
without all

real    1m2.768s
user    1m2.070s
sys     0m0.315s
------------
ffmpeg version N-57057-g024bf3a Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 12 2013 01:53:36 with gcc 4.6.3 (Gentoo 4.6.3 p1.13, pie-0.5.2)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --
mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --
cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -
march=native -fomit-frame-pointer' --extra-cflags='-O2 -pipe -march=native -
fomit-frame-pointer' --extra-cxxflags='-O2 -pipe -march=native -fomit-frame-
pointer' --disable-static --enable-gpl --enable-postproc --enable-avfilter --
enable-avresample --disable-stripping --enable-version3 --enable-nonfree --
disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-
outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --
disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --
enable-network --disable-openssl --enable-ffplay --enable-vaapi --enable-vdpau 
--enable-zlib --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-
libmp3lame --enable-libaacplus --disable-libfaac --enable-libtheora --disable-
libtwolame --enable-libwavpack --enable-libx264 --enable-libxvid --enable-
libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-
openal --disable-libv4l2 --disable-libpulse --enable-x11grab --disable-libflite 
--disable-frei0r --disable-fontconfig --enable-ladspa --disable-libass --
enable-libfreetype --disable-libsoxr --enable-pthreads --disable-libopencore-
amrwb --disable-libopencore-amrnb --disable-libfdk-aac --disable-libopenjpeg 
--enable-libbluray --enable-libcelt --disable-libgme --disable-libgsm --
disable-libmodplug --enable-libopus --enable-libquvi --disable-librtmp --
disable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libvpx 
--disable-libzvbi --disable-amd3dnow --disable-amd3dnowext --disable-altivec 
--disable-avx --disable-vis --disable-neon --cpu=host
  libavutil      52. 46.101 / 52. 46.101
  libavcodec     55. 35.100 / 55. 35.100
  libavformat    55. 19.100 / 55. 19.100
  libavdevice    55.  4.100 / 55.  4.100
  libavfilter     3. 88.101 /  3. 88.101
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
[theora @ 0x1b33d00] 7 bits left in packet 82
[ogg @ 0x1b32fe0] Broken file, keyframe not correctly marked.                                                                                                                                                                                                       
Input #0, ogg, from 'big_buck_bunny_1080p_stereo.ogg':
  Duration: 00:09:56.46, start: 0.000000, bitrate: 12191 kb/s
    Stream #0:0: Video: theora, yuv420p, 1920x1080, 24 tbr, 24 tbn, 24 tbc
    Stream #0:1: Audio: vorbis, 48000 Hz, stereo, fltp, 192 kb/s
At least one output file must be specified
without skip, with filters

real    0m47.223s
user    2m31.742s
sys     0m1.204s
with skip, with filters

real    0m2.360s
user    0m2.096s
sys     0m0.247s
with skip, without filters

real    0m2.169s
user    0m1.875s
sys     0m0.273s
without all

real    0m49.617s
user    2m41.024s
sys     0m1.237s
------------
ffmpeg version N-57057-g024bf3a Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 12 2013 01:53:36 with gcc 4.6.3 (Gentoo 4.6.3 p1.13, pie-0.5.2)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --
mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --
cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -
march=native -fomit-frame-pointer' --extra-cflags='-O2 -pipe -march=native -
fomit-frame-pointer' --extra-cxxflags='-O2 -pipe -march=native -fomit-frame-
pointer' --disable-static --enable-gpl --enable-postproc --enable-avfilter --
enable-avresample --disable-stripping --enable-version3 --enable-nonfree --
disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-
outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --
disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --
enable-network --disable-openssl --enable-ffplay --enable-vaapi --enable-vdpau 
--enable-zlib --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-
libmp3lame --enable-libaacplus --disable-libfaac --enable-libtheora --disable-
libtwolame --enable-libwavpack --enable-libx264 --enable-libxvid --enable-
libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-
openal --disable-libv4l2 --disable-libpulse --enable-x11grab --disable-libflite 
--disable-frei0r --disable-fontconfig --enable-ladspa --disable-libass --
enable-libfreetype --disable-libsoxr --enable-pthreads --disable-libopencore-
amrwb --disable-libopencore-amrnb --disable-libfdk-aac --disable-libopenjpeg 
--enable-libbluray --enable-libcelt --disable-libgme --disable-libgsm --
disable-libmodplug --enable-libopus --enable-libquvi --disable-librtmp --
disable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libvpx 
--disable-libzvbi --disable-amd3dnow --disable-amd3dnowext --disable-altivec 
--disable-avx --disable-vis --disable-neon --cpu=host
  libavutil      52. 46.101 / 52. 46.101
  libavcodec     55. 35.100 / 55. 35.100
  libavformat    55. 19.100 / 55. 19.100
  libavdevice    55.  4.100 / 55.  4.100
  libavfilter     3. 88.101 /  3. 88.101
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Input #0, avi, from 'big_buck_bunny_1080p_surround.avi':
  Metadata:
    encoder         : AVI-Mux GUI 1.17.7, Aug  8 2006  20:59:17
    JUNK            : 
  Duration: 00:09:56.46, start: 0.000000, bitrate: 12455 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 
1920x1080 [SAR 1:1 DAR 16:9], 24 tbr, 24 tbn, 24 tbc
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 
448 kb/s
At least one output file must be specified
without skip, with filters

real    0m36.299s
user    1m52.853s
sys     0m1.996s
with skip, with filters

real    0m4.720s
user    0m4.804s
sys     0m0.422s
with skip, without filters

real    0m4.061s
user    0m4.227s
sys     0m0.360s
without all

real    0m35.177s
user    1m51.405s
sys     0m1.869s
------------
ffmpeg version N-57057-g024bf3a Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 12 2013 01:53:36 with gcc 4.6.3 (Gentoo 4.6.3 p1.13, pie-0.5.2)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --
mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --
cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -
march=native -fomit-frame-pointer' --extra-cflags='-O2 -pipe -march=native -
fomit-frame-pointer' --extra-cxxflags='-O2 -pipe -march=native -fomit-frame-
pointer' --disable-static --enable-gpl --enable-postproc --enable-avfilter --
enable-avresample --disable-stripping --enable-version3 --enable-nonfree --
disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-
outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --
disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --
enable-network --disable-openssl --enable-ffplay --enable-vaapi --enable-vdpau 
--enable-zlib --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-
libmp3lame --enable-libaacplus --disable-libfaac --enable-libtheora --disable-
libtwolame --enable-libwavpack --enable-libx264 --enable-libxvid --enable-
libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-
openal --disable-libv4l2 --disable-libpulse --enable-x11grab --disable-libflite 
--disable-frei0r --disable-fontconfig --enable-ladspa --disable-libass --
enable-libfreetype --disable-libsoxr --enable-pthreads --disable-libopencore-
amrwb --disable-libopencore-amrnb --disable-libfdk-aac --disable-libopenjpeg 
--enable-libbluray --enable-libcelt --disable-libgme --disable-libgsm --
disable-libmodplug --enable-libopus --enable-libquvi --disable-librtmp --
disable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libvpx 
--disable-libzvbi --disable-amd3dnow --disable-amd3dnowext --disable-altivec 
--disable-avx --disable-vis --disable-neon --cpu=host
  libavutil      52. 46.101 / 52. 46.101
  libavcodec     55. 35.100 / 55. 35.100
  libavformat    55. 19.100 / 55. 19.100
  libavdevice    55.  4.100 / 55.  4.100
  libavfilter     3. 88.101 /  3. 88.101
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Input #0, matroska,webm, from 'test.mkv':
  Metadata:
    JUNK            : 
    ENCODER         : Lavf55.19.100
  Duration: 00:09:56.48, start: 0.000000, bitrate: 12451 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile), yuv420p, 1920x1080 [SAR 1:1 DAR 
16:9], 24 fps, 24 tbr, 1k tbn, 24 tbc (default)
    Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
At least one output file must be specified
without skip, with filters

real    0m36.583s
user    1m52.900s
sys     0m2.053s
with skip, with filters

real    0m4.750s
user    0m5.065s
sys     0m0.449s
with skip, without filters

real    0m4.225s
user    0m4.612s
sys     0m0.395s
without all

real    0m35.786s
user    1m52.440s
sys     0m1.922s
------------
The last file (test.mkv) I get with an remux of the surround avi (want to test 
Matroska):
ffmpeg -i big_buck_bunny_1080p_surround.avi -c copy -map 0 test.mkv
                           
I tried the same with the original testfile:

$ for i in test.mp4; do ffmpeg -i "$i"; echo "without skip, with filters"; time 
ffmpeg -i "$i" -filter:v cropdetect -filter:a volumedetect -map 0:a -map 0:v -f 
null /dev/null 2>/dev/null; echo "with skip, with filters"; time ffmpeg -
skip_frame nokey -i "$i" -filter:v cropdetect -filter:a volumedetect -map 0:a -
map 0:v -f null /dev/null 2>/dev/null; echo "with skip, without filters"; time 
ffmpeg -skip_frame nokey -i "$i" -map 0:a -map 0:v -f null /dev/null 
2>/dev/null; echo "without all"; time ffmpeg -i "$i" -map 0:a -map 0:v -f null 
/dev/null 2>/dev/null; echo ------------; done
ffmpeg version N-57057-g024bf3a Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 12 2013 01:53:36 with gcc 4.6.3 (Gentoo 4.6.3 p1.13, pie-0.5.2)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --
mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --
cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -
march=native -fomit-frame-pointer' --extra-cflags='-O2 -pipe -march=native -
fomit-frame-pointer' --extra-cxxflags='-O2 -pipe -march=native -fomit-frame-
pointer' --disable-static --enable-gpl --enable-postproc --enable-avfilter --
enable-avresample --disable-stripping --enable-version3 --enable-nonfree --
disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-
outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --
disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --
enable-network --disable-openssl --enable-ffplay --enable-vaapi --enable-vdpau 
--enable-zlib --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-
libmp3lame --enable-libaacplus --disable-libfaac --enable-libtheora --disable-
libtwolame --enable-libwavpack --enable-libx264 --enable-libxvid --enable-
libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-
openal --disable-libv4l2 --disable-libpulse --enable-x11grab --disable-libflite 
--disable-frei0r --disable-fontconfig --enable-ladspa --disable-libass --
enable-libfreetype --disable-libsoxr --enable-pthreads --disable-libopencore-
amrwb --disable-libopencore-amrnb --disable-libfdk-aac --disable-libopenjpeg 
--enable-libbluray --enable-libcelt --disable-libgme --disable-libgsm --
disable-libmodplug --enable-libopus --enable-libquvi --disable-librtmp --
disable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libvpx 
--disable-libzvbi --disable-amd3dnow --disable-amd3dnowext --disable-altivec 
--disable-avx --disable-vis --disable-neon --cpu=host
  libavutil      52. 46.101 / 52. 46.101
  libavcodec     55. 35.100 / 55. 35.100
  libavformat    55. 19.100 / 55. 19.100
  libavdevice    55.  4.100 / 55.  4.100
  libavfilter     3. 88.101 /  3. 88.101
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2013-04-23 18:01:09
  Duration: 00:03:13.17, start: 0.000000, bitrate: 4532 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 
1920x1080, 4338 kb/s, 25 fps, 25 tbr, 50 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 
191 kb/s (default)
    Metadata:
      creation_time   : 2013-04-23 18:01:18
      handler_name    : IsoMedia File Produced by Google, 5-11-2011
At least one output file must be specified
without skip, with filters

real    0m20.888s
user    1m10.111s
sys     0m0.534s
with skip, with filters

real    0m18.642s
user    0m56.650s
sys     0m1.407s
with skip, without filters

real    0m16.847s
user    0m57.600s
sys     0m1.631s
without all

real    0m21.501s
user    1m9.793s
sys     0m0.506s
------------

test.mp4 is from youtube, the 1080p-Verions of 
http://www.youtube.com/watch?v=7dPdyqtgHo8. I can upload it anywhere else, if 
you want it.

Gerion



More information about the ffmpeg-user mailing list