imx8m ffmpeg error

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

imx8m ffmpeg error

Jump to solution
2,298 Views
1444361620
Contributor II

in conf/local.conf

add:

IMAGE_INSTALL_append = "ffmpeg"
LICENSE_FLAGS_WHITELIST = 'commercial'

bitbake fsl-image-validation-imx

ERROR: ffmpeg-3.3.3-r0 do_unpack: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:extend_recipe_sysroot(d)
0003:
File: '/root/imx-yb/sources/poky/meta/classes/staging.bbclass', lineno: 565, function: extend_recipe_sysroot
0561: dest = newmanifest[l]
0562: if l.endswith("/"):
0563: staging_copydir(l, targetdir, dest, seendirs)
0564: continue
*** 0565: staging_copyfile(l, targetdir, dest, postinsts, seendirs)
0566:
0567: bb.note("Installed into sysroot: %s" % str(msg_adding))
0568: bb.note("Skipping as already exists in sysroot: %s" % str(msg_exists))
0569:
File: '/root/imx-yb/sources/poky/meta/classes/staging.bbclass', lineno: 151, function: staging_copyfile
0147: os.symlink(linkto, dest)
0148: #bb.warn(c)
0149: else:
0150: try:
*** 0151: os.link(c, dest)
0152: except OSError as err:
0153: if err.errno == errno.EXDEV:
0154: bb.utils.copyfile(c, dest)
0155: else:
Exception: FileExistsError: [Errno 17] File exists: '/root/imx-yb/build_fsl-test/tmp/sysroots-components/x86_64/autoconf-native/sysroot-providers/autoconf-native' -> '/root/imx-yb/build_fsl-test/tmp/work/aarch64-poky-linux/ffmpeg/3.3.3-r0/recipe-sysroot-native/sysroot-providers/autoconf-native'

ERROR: ffmpeg-3.3.3-r0 do_unpack: Function failed: extend_recipe_sysroot
ERROR: Logfile of failure stored in: /root/imx-yb/build_fsl-test/tmp/work/aarch64-poky-linux/ffmpeg/3.3.3-r0/temp/log.do_unpack.2405
ERROR: Task (/root/imx-yb/sources/poky/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.3.bb:do_unpack) failed with exit code '1'

or add:

IMAGE_INSTALL_append = "gst-ffmpeg"
LICENSE_FLAGS_WHITELIST = 'commercial'

bitbake fsl-image-validation-imx

ERROR: Nothing RPROVIDES 'gst-ffmpeg' (but /root/imx-yb/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-validation-imx.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'gst-ffmpeg' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gst-ffmpeg']
ERROR: Required build target 'fsl-image-validation-imx' has no buildable providers.
Missing or unbuildable dependency chain was: ['fsl-image-validation-imx', 'gst-ffmpeg']

i need imx8 ffmpeg to decode video camera, so i don't how to add ffmpeg support on imx8

yuv422 to rgb888 , how can i add ffmpeg to yocto(imx-4.9.88-2.0.0_ga)

tks!

0 Kudos
1 Solution
1,877 Views
1444361620
Contributor II

hello, i had fixed this question,

must

LICENSE_FLAGS_WHITELIST = "commercial"

View solution in original post

0 Kudos
3 Replies
1,878 Views
1444361620
Contributor II

hello, i had fixed this question,

must

LICENSE_FLAGS_WHITELIST = "commercial"

0 Kudos
1,876 Views
joanxie
NXP TechSupport
NXP TechSupport

checked twice, I didn't find your typo, I thought you use the correct settings because I built suceessfully like this,  thanks for your sharing.

0 Kudos
1,877 Views
1444361620
Contributor II

Joan Xie,

follow your setting, it's ok, very thank you!

0 Kudos