[poky] Problem while adding "ffmpeg"

Tian, Kevin kevin.tian at intel.com
Thu Mar 10 17:20:31 PST 2011


> From: kubera samrat
> Sent: Thursday, March 10, 2011 5:51 PM
> 
> Hi all,
> 
> I have added ffmpeg to my recipe. I have created the following recipe
> for ffmpeg and placed in "meta/recipes-multimedia/ffmpeg" folder.
> 
> ****************************************************************
> ****************************************************************
> **********************************************************
> # ffmpeg_0.6.1.bb
> DESCRIPTION = "Complete and free Internet live audio and video
> broadcasting solution for Linux/Unix"
> DEPENDS = "alsa-lib bzip2 lame libvorbis faad2 zlib x264 libtheora
> libxfixes schroedinger libvpx sdl xvidcore libvdpau libva"
> 
> LICENSE = "GPL"
> 
> inherit autotools pkgconfig
> 
> PR="r0"
> #S = "${WORKDIR}/ffmpeg-${PV}"
> 
> 
> SRC_URI = "http://ffmpeg.org/releases/ffmpeg-${PV}.tar.bz2"
> EXTRA_OECONF += "--enable-shared \
> 	--enable-pthreads\
> 	--enable-gpl\
> 	--enable-libmp3lame\
> 	--enable-libvorbis\
> 	--enable-libfaac\
> 	--enable-libxvid\
> 	--enable-libx264\
>    	--enable-libvpx\
>     	--enable-libtheora\
>     	--enable-postproc \
>     	--enable-shared \
>     	--enable-x11grab \
>    	--enable-libopencore_amrnb \
>     	--enable-libopencore_amrwb \
>     	--enable-libschroedinger \
>     	--enable-libopenjpeg \
>     	--enable-version3 \
>     	--enable-nonfree \
>     	--enable-runtime-cpudetect \
>     	--disable-debug \
>     	--disable-asm"
> 
> do_configure(){
> 	oe_conf	--prefix=${D}
> }
> 
> do_compile(){
>         oe_runmake
> }
> 
> do_install(){
>         oe_runmake install DESTDIR=${D}
> }
> 
> SRC_URI[md5sum] = "4f5d732d25eedfb072251b5314ba2093"
> ****************************************************************
> ****************************************************************
> ****************************************************************
> ***************
> 
> While building, I am getting the following error:
> 
> 
> ERROR: Nothing RPROVIDES 'ffmpeg' (but
> /home/kuberasamrat/poky-chrome/meta/recipes-core/images/poky-image-mi
> nimal-akshat.bb
> RDEPENDS on or otherwise requires it)
> NOTE: Runtime target 'ffmpeg' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['ffmpeg']
> ERROR: Required build target 'poky-image-minimal-akshat-live' has no
> buildable providers.
> Missing or unbuildable dependency chain was:
> ['poky-image-minimal-akshat-live', 'poky-image-minimal-akshat',
> 'ffmpeg']
> 
> Please guide me, if you have any solution or advice, if I am doing
> something wrong.
> 

ffmpeg requires a commercial license, and thus is disabled from inclusion in Poky by default.
You can enable it by comment below line in your local.conf:

COMMERCIAL_LICENSE ?= "lame gst-fluendo-mp3 libmad mpeg2dec ffmpeg qmmp"

Thanks
Kevin



More information about the poky mailing list