Kodi Community Forum

Full Version: [Solved] ffmpeg not found
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Hi all, i'm trying to recompile kodi on armhf machine, but i'm having some troubles Sad
i cloned git (git clone git://github.com/xbmc/xbmc.git kodi), runned ./bootstrap, than
Quote:./configure --enable-gles --enable-player=omxplayer
but seems it doesn't compile ffmpeg.
So i used
Quote:./configure --enable-gles --enable-player=omxplayer --disable-gl --with-ffmpeg=/usr/bin/ffmpeg
to use my ffmpeg, but
Quote:configure: "using ffmpeg: /usr/bin/ffmpeg"
checking for FFMPEG... no
configure: error: "ffmpeg not found"
but this the report of my ffmpeg
Quote:/usr/bin/ffmpeg
ffmpeg version 2.4.3 Copyright © 2000-2014 the FFmpeg developers
built on Nov 8 2014 16:22:18 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --prefix=/usr --enable-nonfree --enable-gpl --enable-version3 --enable-libx264 --enable-libmp3lame --enable-x11grab --enable-libpulse --enable-libv4l2 --enable-libtheora --enable-libvorbis --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libvpx --enable-static --disable-shared --enable-libspeex --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libvo-aacenc --enable-gray --enable-libopenjpeg --disable-ffserver --enable-libass --enable-gnutls --enable-vdpau
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
Hyper fast Audio and Video encoder

Have i used a wrong command, or there is an issue compiling?Confused
Cheers
Tk
Leave that custom ffmpeg thing out completely, we ship latest 2.4 version internally. That configure does not need the bin, but the libs
Is there any reason to retain the
configure --with-ffmpeg=
option if the only working option is the Kodi version of ffmpeg?
Hi, the reason is that leaving the default ffmpeg option i get:
Quote:ERROR: building ffmpeg failed
checking for FFMPEG... no
configure: error: "ffmpeg not found"
Huh
But using --with-ffmpeg= give me error too, as said
Have i lost something? Blush
You should have something else, like "missing gnutls" or something
Quote:ERROR: building ffmpeg failed

It even tells you why it failed - that is needed as Pinpin mentioned, gnutls is a candidate often seen missing in that forum.
Surely you'r right, i miss something, but i don't find what Sad
Quote:sudo apt-get install libcurl4-gnutls-dev
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
libcurl4-gnutls-dev è già alla versione più recente
and libcurl4gnutls is not present in repos, i have only lincurl3-gnutls (installed)
in external lib i have this message
Quote:External libraries:
bzlib iconv xlib
gnutls libvorbis zlib
Quote:checking for GNUTLS... yes
but i have these messages
Quote:checking for CRYPTO_set_locking_callback(0) in libcurl-gnutls.so.4... no
checking for embedded_mDNSInit in -lmDNSEmbedded... no
configure: == Could not find mDNSEmbedded. Might prevent zeroconf support. ==
maybe this the error i have?
Thanks a lot Smile

edit: another strange thing
Quote:checking for SAMBA... no
but
smbd --version
Version 3.6.3
may be some difference between config file and ubuntu 12.04 armhf? (i know, this question has not sense, but errors too haven't Sad
provide config.log and config.status.
Hi Wsnipex, here is config.status (sorry, i have to split in multiple messages Sad )

mod edit: log removed. use pastebin!
do not post those here, use pastebin
sorry, i used only for one Sad
Here are both:
config.status: http://pastebin.com/riB3YgXn

config.log: http://pastebin.com/PUWdw1fF
libsmbclient-dev <- install that one

Btw. if that's not clear you need -dev packages or -devel how suse calls them to build it correctly.
Yes, i understood that *-dev packages are needed, but
Quote:cubie@QBee-X:~$ sudo apt-get install libsmbclient-dev
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
libsmbclient-dev è già alla versione più recente

libsmbclient-dev is just installed Confused

forcing a reinstall seems fix samba, but i've not understood what i'm missing about ffmepg :'(

running again config it says:
Quote:configure: "FFmpeg installation forced by user - installing our version"
install prefix /home/cubie/Documenti/kodi/tools/depends/target/ffmpeg/ffmpeg-install
source path . --edit: may be source path is missed, or it is right this way?
C compiler gcc
C library glibc
ARCH arm (armv7-a)
version string suffix xbmc-2.4.3-Helix-beta1
big-endian no
runtime cpu detection yes

.......

ERROR: building ffmpeg failed
checking for FFMPEG... no
configure: error: "ffmpeg not found"
What other infos could i give you? i know i may not express myself in the better way, so tell me whitout problems how can i help you to help me Nod
Thanks a lot guys Smile
whats the output of
Code:
pkg-config --static --libs-only-l gnutls
Its empty in your log, but it really must not be empty

and please pastebin tools/depends/target/ffmpeg/ffmpeg-2.4.3-Helix-beta1/config.log
(2014-11-16, 18:18)wsnipex Wrote: [ -> ]whats the output of
Code:
pkg-config --static --libs-only-l gnutls
Its empty in your log, but it really must not be empty
How can i be empty it? there is a way to restore it?Huh
edit: sorry, i'm too fast to answear Undecided
if i give from shell:
Quote:cubie@QBee-X:~/Documenti/kodi$ pkg-config --static --libs-only-l gnutls
-lgnutls -lgcrypt -lgpg-error -ltasn1 -lz -lp11-kit
so, it doesn't seems empity

(2014-11-16, 18:18)wsnipex Wrote: [ -> ]and please pastebin tools/depends/target/ffmpeg/ffmpeg-2.4.3-Helix-beta1/config.log

here it is: http://pastebin.com/Z9FhHpui
Pages: 1 2 3 4