[FFmpeg-user] Self-Compiled "ffmpeg" still uses system libraries

Alexey Eromenko al4321 at gmail.com
Tue Oct 11 16:40:26 EEST 2016


I have downloaded ffmpeg-git to $HOME

alexey at deb9ws:~/ffmpeg$ pwd
/home/alexey/ffmpeg
alexey at deb9ws:~/ffmpeg$ ./ffmpeg -version
ffmpeg version N-81947-gc45ba26-3 Copyright (c) 2000-2016 the FFmpeg developers

Plus I have Debian's version of ffmpeg installed, for reference (it
cannot be removed, since Debian's KDE depends on it).


Starting "ffmpeg" locally instantly gives me library warnings, and it
doesn't use my code at all
=====================================================
alexey at deb9ws:~/ffmpeg$ ./ffmpeg  -y -i
/mnt/E/Video-MPEG4-AVC-test/Pocahontas2.avi -map 0 -b:v 800k -pix_fmt
yuv420p -to 00:08:00 -vcodec libx264 -ac 2 -b:a 128k
/mnt/E/Video-MPEG4-AVC-test/Pocahontas2.mov
ffmpeg version N-81947-gc45ba26-3 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 6.1.1 (Debian 6.1.1-11) 20160802
  configuration: --enable-gpl --extra-version=3 --enable-libx264
--enable-libvorbis --enable-libvpx --enable-libmp3lame
--enable-libopus --enable-libx265
  WARNING: library configuration mismatch
  avutil      configuration: --extra-version=1 --toolchain=hardened
--libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl
--enable-shared --disable-stripping --disable-decoder=libopenjpeg
--disable-decoder=libschroedinger --enable-avresample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio
--enable-libebur128 --enable-libflite --enable-libfontconfig
--enable-libfreetype --enable-libfribidi --enable-libgme
--enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopus --enable-libpulse --enable-librubberband
--enable-librtmp --enable-libschroedinger --enable-libshine
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
--enable-libtheora --enable-libtwolame --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265
--enable-libxvid --enable-libzvbi --enable-openal --enable-opengl
--enable-x11grab --enable-libdc1394 --enable-libiec61883
--enable-libzmq --enable-frei0r --enable-chromaprint
--enable-libopencv --enable-libx264
  avcodec     configuration: --extra-version=1 --toolchain=hardened
--libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl
--enable-shared --disable-stripping --disable-decoder=libopenjpeg
--disable-decoder=libschroedinger --enable-avresample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio
--enable-libebur128 --enable-libflite --enable-libfontconfig
--enable-libfreetype --enable-libfribidi --enable-libgme
--enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopus --enable-libpulse --enable-librubberband
--enable-librtmp --enable-libschroedinger --enable-libshine
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
--enable-libtheora --enable-libtwolame --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265
--enable-libxvid --enable-libzvbi --enable-openal --enable-opengl
--enable-x11grab --enable-libdc1394 --enable-libiec61883
--enable-libzmq --enable-frei0r --enable-chromaprint
--enable-libopencv --enable-libx264
  avformat    configuration: --extra-version=1 --toolchain=hardened
--libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl
--enable-shared --disable-stripping --disable-decoder=libopenjpeg
--disable-decoder=libschroedinger --enable-avresample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio
--enable-libebur128 --enable-libflite --enable-libfontconfig
--enable-libfreetype --enable-libfribidi --enable-libgme
--enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopus --enable-libpulse --enable-librubberband
--enable-librtmp --enable-libschroedinger --enable-libshine
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
--enable-libtheora --enable-libtwolame --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265
--enable-libxvid --enable-libzvbi --enable-openal --enable-opengl
--enable-x11grab --enable-libdc1394 --enable-libiec61883
--enable-libzmq --enable-frei0r --enable-chromaprint
--enable-libopencv --enable-libx264
  avdevice    configuration: --extra-version=1 --toolchain=hardened
--libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl
--enable-shared --disable-stripping --disable-decoder=libopenjpeg
--disable-decoder=libschroedinger --enable-avresample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio
--enable-libebur128 --enable-libflite --enable-libfontconfig
--enable-libfreetype --enable-libfribidi --enable-libgme
--enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopus --enable-libpulse --enable-librubberband
--enable-librtmp --enable-libschroedinger --enable-libshine
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
--enable-libtheora --enable-libtwolame --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265
--enable-libxvid --enable-libzvbi --enable-openal --enable-opengl
--enable-x11grab --enable-libdc1394 --enable-libiec61883
--enable-libzmq --enable-frei0r --enable-chromaprint
--enable-libopencv --enable-libx264
  avfilter    configuration: --extra-version=1 --toolchain=hardened
--libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl
--enable-shared --disable-stripping --disable-decoder=libopenjpeg
--disable-decoder=libschroedinger --enable-avresample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio
--enable-libebur128 --enable-libflite --enable-libfontconfig
--enable-libfreetype --enable-libfribidi --enable-libgme
--enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopus --enable-libpulse --enable-librubberband
--enable-librtmp --enable-libschroedinger --enable-libshine
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
--enable-libtheora --enable-libtwolame --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265
--enable-libxvid --enable-libzvbi --enable-openal --enable-opengl
--enable-x11grab --enable-libdc1394 --enable-libiec61883
--enable-libzmq --enable-frei0r --enable-chromaprint
--enable-libopencv --enable-libx264
  swscale     configuration: --prefix=/usr --extra-version=1
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl
--enable-shared --disable-stripping --disable-decoder=libopenjpeg
--disable-decoder=libschroedinger --enable-avresample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio
--enable-libebur128 --enable-libflite --enable-libfontconfig
--enable-libfreetype --enable-libfribidi --enable-libgme
--enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-librubberband --enable-librtmp --enable-libschroedinger
--enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libspeex --enable-libssh --enable-libtheora
--enable-libtwolame --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid
--enable-libzvbi --enable-openal --enable-opengl --enable-x11grab
--enable-libdc1394 --enable-libiec61883 --enable-libzmq
--enable-frei0r --enable-chromaprint --enable-libopencv
--enable-libx264
  swresample  configuration: --extra-version=1 --toolchain=hardened
--libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl
--enable-shared --disable-stripping --disable-decoder=libopenjpeg
--disable-decoder=libschroedinger --enable-avresample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio
--enable-libebur128 --enable-libflite --enable-libfontconfig
--enable-libfreetype --enable-libfribidi --enable-libgme
--enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopus --enable-libpulse --enable-librubberband
--enable-librtmp --enable-libschroedinger --enable-libshine
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
--enable-libtheora --enable-libtwolame --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265
--enable-libxvid --enable-libzvbi --enable-openal --enable-opengl
--enable-x11grab --enable-libdc1394 --enable-libiec61883
--enable-libzmq --enable-frei0r --enable-chromaprint
--enable-libopencv --enable-libx264
  postproc    configuration: --prefix=/usr --extra-version=1
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl
--enable-shared --disable-stripping --disable-decoder=libopenjpeg
--disable-decoder=libschroedinger --enable-avresample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio
--enable-libebur128 --enable-libflite --enable-libfontconfig
--enable-libfreetype --enable-libfribidi --enable-libgme
--enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-librubberband --enable-librtmp --enable-libschroedinger
--enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libspeex --enable-libssh --enable-libtheora
--enable-libtwolame --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid
--enable-libzvbi --enable-openal --enable-opengl --enable-x11grab
--enable-libdc1394 --enable-libiec61883 --enable-libzmq
--enable-frei0r --enable-chromaprint --enable-libopencv
--enable-libx264
  libavutil      55. 32.100 / 55. 32.100
  libavcodec     57. 61.100 / 57. 61.100
  libavformat    57. 51.103 / 57. 51.103
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 63.100 /  6. 63.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  2.100 /  2.  2.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, avi, from '/mnt/E/Video-MPEG4-AVC-test/Pocahontas2.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.2 (build 2542/release)
    title           :
Pokahontas.2.Puteshestvie.V.Novyj.Mir.1998.DUAL.BDRip.XviD.AC3.-HELLYWOOD
    artist          : Gummy
  Duration: 01:13:09.84, start: 0.000000, bitrate: 2841 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID /
0x44495658), yuv420p, 704x400 [SAR 1:1 DAR 44:25], 1930 kb/s, 23.98
fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz,
5.1(side), fltp, 448 kb/s
    Stream #0:2: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz,
5.1(side), fltp, 448 kb/s
[libx264 @ 0x1f49760] using SAR=1/1
[libx264 @ 0x1f49760] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 0x1f49760] profile High, level 3.0
[libx264 @ 0x1f49760] 264 - core 148 r2708 86b7198 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html -
options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7
psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2
threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1
interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2
b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr
mbtree=1 bitrate=800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4
ip_ratio=1.40 aq=1:1.00
[mov @ 0x1f34ce0] WARNING codec timebase is very high. If duration is too long,
file may not be playable by quicktime. Specify a shorter timebase
or choose different container.
Output #0, mov, to '/mnt/E/Video-MPEG4-AVC-test/Pocahontas2.mov':
  Metadata:
    artist          : Gummy
    title           :
Pokahontas.2.Puteshestvie.V.Novyj.Mir.1998.DUAL.BDRip.XviD.AC3.-HELLYWOOD
    encoder         : Lavf57.51.103
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p,
704x400 [SAR 1:1 DAR 44:25], q=-1--1, 800 kb/s, 23.98 fps, 10000k tbn,
23.98 tbc
    Metadata:
      encoder         : Lavc57.61.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/800000 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc57.61.100 aac
    Stream #0:2: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc57.61.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
  Stream #0:2 -> #0:2 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help


==============
This "WARNING codec timebase is very high" message was modified by my
code, yet executed old code. Basically it executed a system library --
libavformat from Debian, rather than my self-compiled code.

Plus I have deleted everything from /usr/local/lib/* and /usr/local/bin/*

Any ideas ?

-Alexey


More information about the ffmpeg-user mailing list