* [oe-core][PATCH 1/2] introduce virtual/ffmpeg
@ 2025-09-16 15:57 Markus Volk
2025-09-16 15:58 ` [oe-core][PATCH 2/2] gstreamer1.0-libav: depend on virtual/ffmpeg Markus Volk
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Markus Volk @ 2025-09-16 15:57 UTC (permalink / raw)
To: openembedded-core
- add 'ffmpeg' as the preferred provider for virtual/ffmpeg
Using virtual/ffmpeg can be useful for recipes that require a different version
to that provided by oe-core (e.g. kodi)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
meta/conf/distro/include/default-providers.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
index 3f113543cd..7c969b0889 100644
--- a/meta/conf/distro/include/default-providers.inc
+++ b/meta/conf/distro/include/default-providers.inc
@@ -13,6 +13,7 @@ PREFERRED_PROVIDER_virtual/nativesdk-libgl ?= "${@bb.utils.contains('DISTRO_FEAT
PREFERRED_PROVIDER_virtual/libgles1 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'glvnd', 'libglvnd', 'mesa',d)}"
PREFERRED_PROVIDER_virtual/libgles2 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'glvnd', 'libglvnd', 'mesa',d)}"
PREFERRED_PROVIDER_virtual/libgles3 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'glvnd', 'libglvnd', 'mesa',d)}"
+PREFERRED_PROVIDER_virtual/ffmpeg ?= "ffmpeg"
PREFERRED_PROVIDER_virtual/mesa ?= "mesa"
PREFERRED_PROVIDER_virtual/update-alternatives ?= "opkg-utils"
PREFERRED_PROVIDER_virtual/update-alternatives-native ?= "opkg-utils-native"
--
2.50.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* [oe-core][PATCH 2/2] gstreamer1.0-libav: depend on virtual/ffmpeg
2025-09-16 15:57 [oe-core][PATCH 1/2] introduce virtual/ffmpeg Markus Volk
@ 2025-09-16 15:58 ` Markus Volk
2025-09-16 16:04 ` Patchtest results for [oe-core][PATCH 1/2] introduce virtual/ffmpeg patchtest
2025-09-16 16:26 ` Alexander Kanavin
2 siblings, 0 replies; 9+ messages in thread
From: Markus Volk @ 2025-09-16 15:58 UTC (permalink / raw)
To: openembedded-core
use the new introduced virtual/ffmpeg provider
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.5.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.5.bb
index c3ee529497..0fc1ce100d 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.5.bb
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "d6de05884ef42376dd8cde89940f7b50ced96f4f6f52888e764cd8233e
S = "${UNPACKDIR}/gst-libav-${PV}"
-DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg"
+DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base virtual/ffmpeg"
inherit meson pkgconfig upstream-version-is-even
--
2.50.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* Patchtest results for [oe-core][PATCH 1/2] introduce virtual/ffmpeg
2025-09-16 15:57 [oe-core][PATCH 1/2] introduce virtual/ffmpeg Markus Volk
2025-09-16 15:58 ` [oe-core][PATCH 2/2] gstreamer1.0-libav: depend on virtual/ffmpeg Markus Volk
@ 2025-09-16 16:04 ` patchtest
2025-09-16 16:26 ` Alexander Kanavin
2 siblings, 0 replies; 9+ messages in thread
From: patchtest @ 2025-09-16 16:04 UTC (permalink / raw)
To: Markus Volk; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 3186 bytes --]
Thank you for your submission. Patchtest identified one
or more issues with the patch. Please see the log below for
more information:
---
Testing patch /home/patchtest/share/mboxes/1-2-introduce-virtual-ffmpeg.patch
FAIL: test shortlog format: Commit shortlog (first line of commit message) should follow the format "<target>: <summary>" (test_mbox.TestMbox.test_shortlog_format)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)
SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: pretest src uri left files: No modified recipes, skipping pretest (test_metadata.TestMetadata.pretest_src_uri_left_files)
SKIP: test CVE check ignore: No modified recipes or older target branch, skipping test (test_metadata.TestMetadata.test_cve_check_ignore)
SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum modified not mentioned: No modified recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test src uri left files: No modified recipes, skipping pretest (test_metadata.TestMetadata.test_src_uri_left_files)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)
---
Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this
email with an explanation of why the patch should be accepted. If you
believe these results are due to an error in patchtest, please submit a
bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category
under 'Yocto Project Subprojects'). For more information on specific
failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank
you!
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [oe-core][PATCH 1/2] introduce virtual/ffmpeg
2025-09-16 15:57 [oe-core][PATCH 1/2] introduce virtual/ffmpeg Markus Volk
2025-09-16 15:58 ` [oe-core][PATCH 2/2] gstreamer1.0-libav: depend on virtual/ffmpeg Markus Volk
2025-09-16 16:04 ` Patchtest results for [oe-core][PATCH 1/2] introduce virtual/ffmpeg patchtest
@ 2025-09-16 16:26 ` Alexander Kanavin
2025-09-16 16:51 ` Markus Volk
` (3 more replies)
2 siblings, 4 replies; 9+ messages in thread
From: Alexander Kanavin @ 2025-09-16 16:26 UTC (permalink / raw)
To: f_l_k; +Cc: openembedded-core
On Tue, 16 Sept 2025 at 17:58, Markus Volk via lists.openembedded.org
<f_l_k=t-online.de@lists.openembedded.org> wrote:
> - add 'ffmpeg' as the preferred provider for virtual/ffmpeg
>
> Using virtual/ffmpeg can be useful for recipes that require a different version
> to that provided by oe-core (e.g. kodi)
This needs more detail. What else would be providing virtual/ffmpeg,
other than ffmpeg itself? Why the justification is talking about
'different versions', and not different providers?
Alex
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [oe-core][PATCH 1/2] introduce virtual/ffmpeg
2025-09-16 16:26 ` Alexander Kanavin
@ 2025-09-16 16:51 ` Markus Volk
[not found] ` <1865D16D5AB1B07F.13540@lists.openembedded.org>
` (2 subsequent siblings)
3 siblings, 0 replies; 9+ messages in thread
From: Markus Volk @ 2025-09-16 16:51 UTC (permalink / raw)
To: Alexander Kanavin; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
On Tue, Sep 16 2025 at 18:26:32 +02:00:00, Alexander Kanavin
<alex.kanavin@gmail.com> wrote:
> This needs more detail. What else would be providing virtual/ffmpeg,
> other than ffmpeg itself? Why the justification is talking about
> 'different versions', and not different providers?
I was talking about versions, because thats what I use it for. A
different provider would be e.g libav,but in meta-kodi I have older
versions of ffmpeg
called ffmpeg-6 and ffmpeg-7 and let them provide virtual/ffmpeg. Dont
ask me why I didn't stick with
preferred_version. I only remember that I had issues with using it but
not exactly what it was. But if you think this
is the way it should be, I can give it another try
[-- Attachment #2: Type: text/html, Size: 921 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <1865D16D5AB1B07F.13540@lists.openembedded.org>]
* Re: [oe-core][PATCH 1/2] introduce virtual/ffmpeg
[not found] ` <1865D16D5AB1B07F.13540@lists.openembedded.org>
@ 2025-09-16 17:06 ` Markus Volk
2025-09-16 19:14 ` Alexander Kanavin
0 siblings, 1 reply; 9+ messages in thread
From: Markus Volk @ 2025-09-16 17:06 UTC (permalink / raw)
To: Alexander Kanavin; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 526 bytes --]
I think that was because I had to build Kodi and mpv with different
ffmpeg versions at the time, because mpv was updated to ffmpeg 7 but
Kodi wasn't ready yet.
Similar situation like today with ffmpeg 8. There exists a patch to add
ffmpeg 8 support in kodi but to me it feels like its a bit to early for
this step.
couldn't find a way to use two different system versions of ffmpeg as
long as they only differed in the version number.
> I only remember that I had issues with using it but not exactly what
> it was.
[-- Attachment #2: Type: text/html, Size: 760 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [oe-core][PATCH 1/2] introduce virtual/ffmpeg
2025-09-16 17:06 ` Markus Volk
@ 2025-09-16 19:14 ` Alexander Kanavin
0 siblings, 0 replies; 9+ messages in thread
From: Alexander Kanavin @ 2025-09-16 19:14 UTC (permalink / raw)
To: Markus Volk; +Cc: openembedded-core
virtual/ prefix is meant for recipes that are genuine alternative
implementations of the same function, e.g. pkgconf and pkg-config, or
systemd udev and eudev.
If you only want two different versions of the same things to coexist,
then name one ffmpeg, and the other ffmpeg-7, and adjust dependencies
as needed for the things that need the older version.
Alex
On Tue, 16 Sept 2025 at 19:06, Markus Volk <f_l_k@t-online.de> wrote:
>
> I think that was because I had to build Kodi and mpv with different ffmpeg versions at the time, because mpv was updated to ffmpeg 7 but Kodi wasn't ready yet.
> Similar situation like today with ffmpeg 8. There exists a patch to add ffmpeg 8 support in kodi but to me it feels like its a bit to early for this step.
>
> couldn't find a way to use two different system versions of ffmpeg as long as they only differed in the version number.
>
> I only remember that I had issues with using it but not exactly what it was.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [oe-core][PATCH 1/2] introduce virtual/ffmpeg
2025-09-16 16:26 ` Alexander Kanavin
2025-09-16 16:51 ` Markus Volk
[not found] ` <1865D16D5AB1B07F.13540@lists.openembedded.org>
@ 2025-09-20 10:49 ` Markus Volk
[not found] ` <1866F8043523DE78.12551@lists.openembedded.org>
3 siblings, 0 replies; 9+ messages in thread
From: Markus Volk @ 2025-09-20 10:49 UTC (permalink / raw)
To: Alexander Kanavin; +Cc: openembedded-core
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=windows-1251; format=flowed, Size: 680 bytes --]
On Tue, Sep 16 2025 at 18:26:32 +02:00:00, Alexander Kanavin
<alex.kanavin@gmail.com> wrote:
> This needs more detail. What else would be providing virtual/ffmpeg,
> other than ffmpeg itself? Why the justification is talking about
> 'different versions', and not different providers?
Because it's been a while, I found it surprisingly difficult to get to
the point ;)
I think I tried it as you recommended, and I also think that I only
needed ‘virtual/kodi’ at the time.
The 'idea' of virtual/ffmpeg is introduced in meta-raspberrypi because
it provides rpidistro-ffmpeg,
and the build system therefore expects me to set a PREFERRED_PROVIDER
for it.
[-- Attachment #2: Type: text/html, Size: 893 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <1866F8043523DE78.12551@lists.openembedded.org>]
* Re: [oe-core][PATCH 1/2] introduce virtual/ffmpeg
[not found] ` <1866F8043523DE78.12551@lists.openembedded.org>
@ 2025-09-20 11:02 ` Markus Volk
0 siblings, 0 replies; 9+ messages in thread
From: Markus Volk @ 2025-09-20 11:02 UTC (permalink / raw)
To: Alexander Kanavin; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 909 bytes --]
But that's only because I had to think about it again. I totally
understand your point.
On Sat, Sep 20 2025 at 12:49:50 +02:00:00, Markus Volk via
lists.openembedded.org <f_l_k=t-online.de@lists.openembedded.org> wrote:
> On Tue, Sep 16 2025 at 18:26:32 +02:00:00, Alexander Kanavin
> <alex.kanavin@gmail.com> wrote:
>> This needs more detail. What else would be providing virtual/ffmpeg,
>> other than ffmpeg itself? Why the justification is talking about
>> 'different versions', and not different providers?
>
>
> Because it's been a while, I found it surprisingly difficult to get
> to the point ;)
>
> I think I tried it as you recommended, and I also think that I only
> needed virtual/kodi at the time.
> The 'idea' of virtual/ffmpeg is introduced in meta-raspberrypi
> because it provides rpidistro-ffmpeg,
> and the build system therefore expects me to set a PREFERRED_PROVIDER
> for it.
[-- Attachment #2: Type: text/html, Size: 1243 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-09-20 11:03 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-16 15:57 [oe-core][PATCH 1/2] introduce virtual/ffmpeg Markus Volk
2025-09-16 15:58 ` [oe-core][PATCH 2/2] gstreamer1.0-libav: depend on virtual/ffmpeg Markus Volk
2025-09-16 16:04 ` Patchtest results for [oe-core][PATCH 1/2] introduce virtual/ffmpeg patchtest
2025-09-16 16:26 ` Alexander Kanavin
2025-09-16 16:51 ` Markus Volk
[not found] ` <1865D16D5AB1B07F.13540@lists.openembedded.org>
2025-09-16 17:06 ` Markus Volk
2025-09-16 19:14 ` Alexander Kanavin
2025-09-20 10:49 ` Markus Volk
[not found] ` <1866F8043523DE78.12551@lists.openembedded.org>
2025-09-20 11:02 ` Markus Volk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox