Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Roger Pack
On Thu, Jul 10, 2014 at 6:42 AM, Rickoo wrote: > Hi everyone, > > Im trying to write a bitbake recipe for crossbuilding ffmpeg2.1.1 for arm > (Colibri-t20), i wrote this simple recipe: > > SRC_URI = "https://www.ffmpeg.org/releases/ffmpeg-2.1.1.tar.gz"; > SRC_URI[md5sum] = "294749b2ebdd22ef7d9b9d

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Carl Eugen Hoyos
Rickoo hotmail.fr> writes: > | ERROR: oe_runmake failed What is oe_runmake ? Note that the other files it cannot find are part of the FFmpeg source (since a long time). Please explain what you were doing and please also explain why: I still believe that building FFmpeg is not difficult and w

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Carl Eugen Hoyos
Rickoo hotmail.fr> writes: > Configure goes well but when compiling i get error : > libavdevice/alldevices.c:21:20: fatal error: > config.h: No such file or directory config.h is one of two files created by configure. Did you do the following or something different? $ cd ffmpeg $ make distclean

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Rickoo
> Copy or symlink the cross-compiled sdl-config to that path I found : /home/rick/oe-core/build/out-eglibc/work/armv7ahf-vfp-angstrom-linux-gnueabi/libsdl/1.2.15-r2/package/usr/bin/sdl-config, which im guessing is the crosscompiled sdl-config your were talking about, and cp it to : /home/rick/o

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Carl Eugen Hoyos
Rickoo hotmail.fr> writes: > The path you mentionned does not provide any > pkg-config or sdl-config Yes, this is the problem that you have to fix. Copy or symlink the cross-compiled sdl-config to that path. (You can specify your global sdl-config or pkg-config to use with configure but this

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Rickoo
The path you mentionned does not provide any pkg-config or sdl-config (/home/rick/oe-core/build/out-eglibc/sysroots/i686-linux/usr/bin/armv7ahf-vfp-angstrom-linux-gnueabi) -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Issue-Crossbuilding-ffplay-with-openembedded-tp46

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Carl Eugen Hoyos
Rickoo hotmail.fr> writes: > I have both pkg-config(0.26) For cross-compiling, pkg-config defaults to: ${cross_prefix}pkg-config so you don't need pkg-config but: .../armv7ahf-vfp-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-pkg-config > and sdl-config(1.2.15) installed. Same for sdl-conf

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Rickoo
I have both pkg-config(0.26) and sdl-config(1.2.15) installed. So it means that the recipe cannot use "inherit pkgconfig" for some reasons? I dont understand : "Since you are cross-compiling, you do not need: $ sdl-config --version But (using your variable): $ ${CROSS_COMPILE}sdl-config --version"

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Carl Eugen Hoyos
Rickoo hotmail.fr> writes: > check_pkg_config sdl SDL_events.h SDL_PollEvent > false --exists --print-errors sdl > check_header linux/fb.h sdl can either be enabled via pck_config or via sdl-config. If I read your config.log correctly, you don't have pkg-config installed so you have to use sd

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-16 Thread Rickoo
Output of config.log : check_pkg_config sdl SDL_events.h SDL_PollEvent false --exists --print-errors sdl check_header linux/fb.h check_cpp BEGIN /tmp/ffconf.BBrjntYs.c 1 #include 2 int x; END /tmp/ffconf.BBrjntYs.c /home/rick/oe-core/build/out-eglibc/sysroots/i686-linux/usr/bin/armv7

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-15 Thread Carl Eugen Hoyos
Rickoo hotmail.fr> writes: > Using the current version of ffmpeg now, removed the > depends and libs (i found out gpl is needed x11grab) (You didn't enable x11grab in your original report iirc.) [...] > no errors, but ffplay is not built Please post the content of config.log starting with "

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-15 Thread Rickoo
EDIT: trying with ffmpeg-2.2.5 gives me the same error than before : Unknown option "--build=i686-linux" with no do_configure() -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Issue-Crossbuilding-ffplay-with-openembedded-tp4666284p4666356.html Sent from the FFmpeg-user

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-15 Thread Rickoo
Using the current version of ffmpeg now, removed the depends and libs (i found out gpl is needed x11grab) I tried to things: *First* removing the do_ configure SRC_URI = "https://www.ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2"; SRC_URI[md5sum] = "7ebd50489b9f32de95c17661501e5635" SRC_URI[sha256s

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-12 Thread Carl Eugen Hoyos
Rickoo hotmail.fr> writes: > Im using 2.1.1 of ffmpeg because I want to use it as a > depend to crossbuild a framework based on it, and tested > with this version, might work with recent version but > since i dont know... It appears to me that 2.1.1 does not work for you... Anyway: Please und

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-11 Thread Rickoo
HI, Im using 2.1.1 of ffmpeg because I want to use it as a depend to crossbuild a framework based on it, and tested with this version, might work with recent version but since i dont know... About the configure options, im not sure yet which libs i am going to need for my application later so

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-11 Thread Carl Eugen Hoyos
Patrick Shirkey boosthardware.com> writes: > > Please post the content of config.log starting with > > "check_pkg_config sdl" until "check_header linux" or > > "check_header sys". > > > > FWIW I have the same result building for android-4.4: Sorry, how is the content of your config.log related

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-11 Thread Patrick Shirkey
On Fri, July 11, 2014 5:02 pm, Carl Eugen Hoyos wrote: > Rickoo hotmail.fr> writes: > >> SRC_URI = "https://www.ffmpeg.org/releases/ffmpeg-2.1.1.tar.gz"; > > This is horribly outdated, why are you using it? > >> DEPENDS = "yasm-native libsdl libx11 zlib libtheora >> libogg libass libtool" > > You

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-11 Thread Carl Eugen Hoyos
Rickoo hotmail.fr> writes: > SRC_URI = "https://www.ffmpeg.org/releases/ffmpeg-2.1.1.tar.gz"; This is horribly outdated, why are you using it? > DEPENDS = "yasm-native libsdl libx11 zlib libtheora > libogg libass libtool" You don't use libass, why did you add it to depend? Not sure about libx

Re: [FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-10 Thread Moritz Barsnick
On Thu, Jul 10, 2014 at 05:42:24 -0700, Rickoo wrote: > My problem is that ffmpeg ffprobe and ffserver are built but not > ffplay. Can someone help me with that? We can't guess your error messages. Please attach config.log. Thanks, Moritz ___ ffmpeg-use

[FFmpeg-user] Issue Crossbuilding ffplay with openembedded

2014-07-10 Thread Rickoo
Hi everyone, Im trying to write a bitbake recipe for crossbuilding ffmpeg2.1.1 for arm (Colibri-t20), i wrote this simple recipe: SRC_URI = "https://www.ffmpeg.org/releases/ffmpeg-2.1.1.tar.gz"; SRC_URI[md5sum] = "294749b2ebdd22ef7d9b9d12a70d5b8c" SRC_URI[sha256sum] = "66f521dffefcbb6c09a402f637