Error in building "libav" and "ffmpeg"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error in building "libav" and "ffmpeg"

Jump to solution
5,452 Views
manjunathjoshi
Contributor V

Hello All,

I added packages "libav" and "ffmpeg" in sources/recipies-fsl/images/fsl-image-multimedia.bb but i got the logs as seen below. multimedia images doesn't support this kind of audio/video codec or vice versa. But the same error was found for core-image-minimal as well. Can anyone help me in this?

######################################################################################################################################################################################################################################

manju@manju-ThinkCentre-A85:~/projects/yocto/fsl-community-bsp/build$ bitbake fsl-image-multimedia

Loading cache: 100% |###########################################| ETA:  00:00:00

Loaded 2078 entries from dependency cache.

Parsing recipes: 100% |#########################################| Time: 00:00:00

Parsing of 1621 .bb files complete (1619 cached, 2 parsed). 2077 targets, 127 skipped, 0 masked, 0 errors.

NOTE: Resolving any missing task queue dependencies

ERROR: Nothing RPROVIDES 'libav' (but /home/manju/projects/yocto/fsl-community-bsp/sources/meta-pga/recipes-fsl/images/fsl-image-multimedia.bb RDEPENDS on or otherwise requires it)

ERROR: libav was skipped: because it has a restricted license not whitelisted in LICENSE_FLAGS_WHITELIST

ERROR: libav was skipped: because it has a restricted license not whitelisted in LICENSE_FLAGS_WHITELIST

NOTE: Runtime target 'libav' is unbuildable, removing...

Missing or unbuildable dependency chain was: ['libav']

ERROR: Required build target 'fsl-image-multimedia' has no buildable providers.

Missing or unbuildable dependency chain was: ['fsl-image-multimedia', 'libav']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

#######################################################################################################################################################################################################################################

Which image is most suited for libav or ffmpeg?

Regards,

Manju

Labels (4)
1 Solution
2,592 Views
jimmychan
NXP TechSupport
NXP TechSupport

how about using gstreamer ffmpeg.

ffmpeg  --> gst-ffmpeg

for your reference : GStreamer ffmpeg

View solution in original post

0 Kudos
8 Replies
2,592 Views
manjunathjoshi
Contributor V

Thank you for replying. I could build Yocto with "libav" but not "ffmpeg".

0 Kudos
2,592 Views
jimmychan
NXP TechSupport
NXP TechSupport

any error message for "ffmpeg"?

0 Kudos
2,592 Views
manjunathjoshi
Contributor V

manju@manju-ThinkCentre-A85:~/projects/yocto/fsl-community-bsp/build$ bitbake fsl-image-multimedia

Loading cache: 100% |########################################################################################################################################################################| ETA:  00:00:00

Loaded 2078 entries from dependency cache.

Parsing recipes: 100% |######################################################################################################################################################################| Time: 00:00:00

Parsing of 1621 .bb files complete (1619 cached, 2 parsed). 2077 targets, 106 skipped, 0 masked, 0 errors.

NOTE: Resolving any missing task queue dependencies

ERROR: Nothing RPROVIDES 'ffmpeg' (but /home/manju/projects/yocto/fsl-community-bsp/sources/meta-pga/recipes-fsl/images/fsl-image-multimedia.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 'fsl-image-multimedia' has no buildable providers.

Missing or unbuildable dependency chain was: ['fsl-image-multimedia', 'ffmpeg']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

0 Kudos
2,592 Views
jimmychan
NXP TechSupport
NXP TechSupport

I think there may something wrong in the bb file. could you show the bb file?

0 Kudos
2,592 Views
manjunathjoshi
Contributor V

DESCRIPTION = "A console-only image that includes gstreamer packages and \

Freescale's multimedia packages (VPU and GPU) when available for the specific \

machine."

IMAGE_FEATURES += "\

    ${@base_contains('DISTRO_FEATURES', 'x11', 'x11-base', '', d)} \

"

LICENSE = "MIT"

inherit core-image

CORE_IMAGE_EXTRA_INSTALL += " \

  # (qt multimedia related other packages here) \

    ffmpeg \

"

0 Kudos
2,593 Views
jimmychan
NXP TechSupport
NXP TechSupport

how about using gstreamer ffmpeg.

ffmpeg  --> gst-ffmpeg

for your reference : GStreamer ffmpeg

0 Kudos
2,592 Views
manjunathjoshi
Contributor V

Thanks a lot jimmychan

0 Kudos