Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Bernd Kuhls <bernd@kuhls.net>
Cc: Julien Corjon <corjon.j@ecagroup.com>,
	Giulio Benetti <giulio.benetti@benettiengineering.com>,
	Mahyar Koshkouei <mahyar.koshkouei@gmail.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 03/18] package/ffmpeg: add optional support for libvpl
Date: Sun, 7 Apr 2024 11:29:00 +0200	[thread overview]
Message-ID: <ZhJnXDUGI80K38Np@landeda> (raw)
In-Reply-To: <20240406073216.1054073-3-bernd@kuhls.net>

On 2024-04-06 09:32 +0200, Bernd Kuhls spake thusly:
> Added with commit
> http://git.videolan.org/?p=ffmpeg.git;a=commit;h=7158f1e64d9b76afea78537a35c465447df0cff8
> 
> "It will fail to run configure script if both libmfx and libvpl are
> enabled.
> 
> It is recommended to use oneVPL for new work, even for currently
> available hardwares"

I like those little quotes and references that explain the reasoning
behind the change, thanks!

> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
>  package/ffmpeg/ffmpeg.mk | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
> index acd5a7d8b2..e7fc1854e5 100644
> --- a/package/ffmpeg/ffmpeg.mk
> +++ b/package/ffmpeg/ffmpeg.mk
> @@ -321,12 +321,18 @@ else
>  FFMPEG_CONF_OPTS += --disable-libbluray
>  endif
>  
> +ifeq ($(BR2_PACKAGE_LIBVPL),y)
> +FFMPEG_CONF_OPTS += --enable-libvpl --disable-libmfx
> +FFMPEG_DEPENDENCIES += libvpl
> +else
>  ifeq ($(BR2_PACKAGE_INTEL_MEDIASDK),y)
>  FFMPEG_CONF_OPTS += --enable-libmfx
>  FFMPEG_DEPENDENCIES += intel-mediasdk
>  else
>  FFMPEG_CONF_OPTS += --disable-libmfx
>  endif
> +FFMPEG_CONF_OPTS += --disable-libvpl
> +endif

I think we can simplify this a little bit:

    ifeq ($(BR2_PACKAGE_LIBVPL),y)
    FFMPEG_CONF_OPTS += --enable-libvpl --disable-libmfx
    FFMPEG_DEPENDENCIES += libvpl
    else ifeq ($(BR2_PACKAGE_INTEL_MEDIASDK),y)
    FFMPEG_CONF_OPTS += --disable-libvpl --enable-libmfx
    FFMPEG_DEPENDENCIES += intel-mediasdk
    else
    FFMPEG_CONF_OPTS += --disable-libvpl --disable-libmfx
    endif

Regards,
Yann E. MORIN.

>  ifeq ($(BR2_PACKAGE_RTMPDUMP),y)
>  FFMPEG_CONF_OPTS += --enable-librtmp
> -- 
> 2.39.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-04-07  9:29 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-06  7:31 [Buildroot] [PATCH 01/18] package/freeswitch: fix build with ffmpeg 6.0 Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 02/18] package/ffmpeg: bump version to 6.1.1 Bernd Kuhls
2024-04-07  9:25   ` Yann E. MORIN
     [not found]   ` <ZhJmcptsEo41MP6G__17866.991232016$1712481939$gmane$org@landeda>
2024-04-07 10:42     ` Bernd Kuhls
2024-04-07 11:24       ` Yann E. MORIN
2024-04-07 11:32         ` Bernd Kuhls
2024-04-07 11:32           ` Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 03/18] package/ffmpeg: add optional support for libvpl Bernd Kuhls
2024-04-07  9:29   ` Yann E. MORIN [this message]
     [not found]   ` <ZhJnXDUGI80K38Np__8173.33832835487$1712482171$gmane$org@landeda>
2024-04-07 10:41     ` Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 04/18] package/bento4: bump version to 1.6.0-641-Omega Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 05/18] package/kodi: bump version to 21.0-Omega Bernd Kuhls
2024-04-07  9:52   ` Yann E. MORIN
     [not found]   ` <ZhJs8G5Uyf0Rs4ai__34546.5504725993$1712483606$gmane$org@landeda>
2024-04-07 11:29     ` Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 06/18] package/kodi-audiodecoder-*: mass version bump to Omega Bernd Kuhls
2024-04-07  9:57   ` Yann E. MORIN
     [not found]   ` <ZhJuDnF5x2UviN68__14164.349895303$1712483892$gmane$org@landeda>
2024-04-07 10:40     ` Bernd Kuhls
2024-04-07 11:19       ` Yann E. MORIN
2024-04-06  7:32 ` [Buildroot] [PATCH 07/18] package/kodi-audioencoder-*: " Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 08/18] package/kodi-imagedecoder-*: " Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 09/18] package/kodi-inputstream-adaptive: bump version to 21.4.4-Omega Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 10/18] package/kodi-inputstream-ffmpegdirect: bump version to 21.3.5-Omega Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 11/18] package/kodi-inputstream-rtmp: bump version to 21.1.0-Omega Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 12/18] package/kodi-peripheral-*: mass version bump to Omega Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 13/18] package/kodi-pvr-*: " Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 14/18] package/kodi-screensaver-*: " Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 15/18] package/kodi-skin-confluence: bump version Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 16/18] package/kodi-vfs-*: mass version bump to Omega Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 17/18] package/kodi-visualisation-*: " Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 18/18] package/kodi: add optional support for pipewire Bernd Kuhls

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZhJnXDUGI80K38Np@landeda \
    --to=yann.morin.1998@free.fr \
    --cc=bernd@kuhls.net \
    --cc=buildroot@buildroot.org \
    --cc=corjon.j@ecagroup.com \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=mahyar.koshkouei@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox