From nobody Mon Jan 08 20:10:31 2024 X-Original-To: multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T84vM2Gjsz56dtn for ; Mon, 8 Jan 2024 20:11:11 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T84vL35pDz4QFk; Mon, 8 Jan 2024 20:11:10 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=anvz9EQ0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::631 as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a293f2280c7so242931066b.1; Mon, 08 Jan 2024 12:11:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704744668; x=1705349468; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=z8UGUE+r94djQ3Qwq96dW95Cwiqtx6SJH3dxMqQyw28=; b=anvz9EQ0XMMXLk7fX+13wAqBXAOwHmsjbch5pjuUIfJcZSD0NTVRnfis8aD2z8XINd 30+Cc6jr1whM7BO7VSKzwzQSGcRzdsJS6l440HdqpxXfEdB76p0kVzoARDPTJOcRKAst 9vqszGFREU6x6jUBWm0AUSwmMfUIlCl7a65q6Ekgy90psWW8bzFJeKvg9Jp/Wgjgw8v+ LQTFlh2GwTr4CppRBE8UHgmbK94lty7oUXs9UTRZ/z41oRFO1cL97Dai3y/q5LSwzCfU DmH8OD5VFYuefc1ln0tk1MKeNaVytigfPyxlt9OUNvwBUrEZCIRhiJGUbgoaSIuqvkBs rHNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704744668; x=1705349468; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=z8UGUE+r94djQ3Qwq96dW95Cwiqtx6SJH3dxMqQyw28=; b=lyDj4O3XRMuqH3NqnaKRkmCf8kJ1dmlO1+/+unQSmf+2b7dVrjP1SMbabPMkjVHPBr rsK2tI0OJAn29WP1T8FpBE76PNJ7+XpnfgD9KdYL7A4izKaJMr/c2OWyXK+gCBh2LcqP QS7phkJKceOZ/oU8OOHpFnBAFs2D8RUGRSk4UoInkuIrSBOOQGdcueIvKI+M7trJDd2r ZaAkx3iJoc+KJifXEutCRbj/FbCgNz20t6Of+A8nPrYBKGSOS4VulS8XwMBsyGs9wySz VkhDzIRMwPWWr2Jk+JZ7S79gmt8bE76GsXvquFtdexbTdSdZN39xn2/n7pRBirJX1srp WndA== X-Gm-Message-State: AOJu0YxMjyPlUhn8fdNmd967BHnq4StXiieWoe4VTtZT/L1DrbXlb9HG dd8RxiXPuDbqLIqj3ixzuyRQHHW/r7GlJUUBIacyKdk+OKJh0Q== X-Google-Smtp-Source: AGHT+IFBl0hyO9vxTMzpDgZj8lODE1/4wqf2wl/wR4QAm1SnoKXg7tGP+npnnyJy+nDPmuyDlhaBTdTsBawMbw6HE+w= X-Received: by 2002:a17:906:7388:b0:a2a:1f1c:a317 with SMTP id f8-20020a170906738800b00a2a1f1ca317mr625685ejl.208.1704744668236; Mon, 08 Jan 2024 12:11:08 -0800 (PST) List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Mon, 8 Jan 2024 21:10:31 +0100 Message-ID: Subject: Re: FFmpeg VAAPI H264 /HEVC encoding not supported To: Jan Beich Cc: Kevin Oberman , Mehmet Erol Sanliturk , multimedia@freebsd.org Content-Type: multipart/alternative; boundary="0000000000006211a5060e74ccc1" X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.30 / 15.00]; SUSPICIOUS_RECIPS(1.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; HFILTER_URL_ONLY(0.20)[0.089468122578372]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[multimedia@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_RCPT(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::631:from]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com] X-Rspamd-Queue-Id: 4T84vL35pDz4QFk --0000000000006211a5060e74ccc1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm talking with another user on the FreeBSD forum that is running obs 29 and he says that in his system *FFmpeg VAAPI H264 encoding and FFmpeg VAAPI HEVC encoding are supported. I'm suspecting that with obs 30 something is broken.* On Mon, Jan 8, 2024 at 9:07=E2=80=AFPM Mario Marietto wrote: > ---> Are you building ffmpeg from source or installing a package ? > > I have installed ffmpeg and obs (30) from packages. I can't install obs 3= 0 > from ports,otherwise I get the following error : > > =3D=3D=3D> obs-studio-30.0.2 is marked as broken: Needs CEF (Chromium Em= bedded Framework) > which isn't yet ported. > > For this reason I can't explore the compilation options that it can offer= . > > On Mon, Jan 8, 2024 at 8:58=E2=80=AFPM Jan Beich wro= te: > >> Kevin Oberman writes: >> >> >> On Sat, Jan 6, 2024 at 5:23=E2=80=AFPM Mehmet Erol Sanliturk < >> >> m.e.sanliturk@gmail.com> wrote: >> >> >> >>> Another issue about video encoders and decoders is patents . >> >>> >> >>> >> https://www.google.com/search?q=3Dis+VAAPI+HEVC+encoding+patented+or+not= &sca_esv=3D596226834&sxsrf=3DAM9HkKnkHnL5dsq45dd5uDNCjL9Olnwl_A%3A170455747= 9981&ei=3Dp3uZZZXGOLbjxc8P9e66mAU&ved=3D0ahUKEwjVtdy4k8mDAxW2cfEDHXW3DlMQ4d= UDCBA&uact=3D5&oq=3Dis+VAAPI+HEVC+encoding+patented+or+not&gs_lp=3DEgxnd3Mt= d2l6LXNlcnAiJmlzIFZBQVBJIEhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90SO6EAVDyCli= igQFwAXgBkAEAmAGiAaAB9xGqAQQwLjE5uAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBxAjGLACGC= fCAggQABgIGB4YDcICCxAAGIAEGIoFGIYDwgIKECEYChigARjDBMICCBAhGKABGMMEwgIFECEYo= AHCAgQQIRgV4gMEGAAgQYgGAZAGCA&sclient=3Dgws-wiz-serp >> >>> is VAAPI HEVC encoding patented or not >> >>> >> >>> >> >>> >> https://www.google.com/search?q=3Dis+VAAPI+H264+encoding+patented+or+not= &sca_esv=3D596226834&sxsrf=3DAM9HkKl4fSR7Myk6mZQSftwHYdNbZhnr4Q%3A170455752= 9388&ei=3D2XuZZYKcF8m9xc8Pj6u0OA&ved=3D0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ4dU= DCBA&uact=3D5&oq=3Dis+VAAPI+H264+encoding+patented+or+not&gs_lp=3DEgxnd3Mtd= 2l6LXNlcnAiJmlzIFZBQVBJIEgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90MggQABiABBii= BEiP0wZQ5psGWLu5BnADeAGQAQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGEcY1gQYsAP= iAwQYACBBiAYBkAYI&sclient=3Dgws-wiz-serp >> >>> is VAAPI H264 encoding patented or not >> > >> > Are you building ffmpeg from source or installing a package? Patented >> ports >> > need to be built "NONFREE=3Don" for patented codecs. I am not sure wha= t >> > options the ffmpeg package is built with. >> >> FreeBSD doesn't cripple packages due to patents. See >> https://cgit.freebsd.org/ports/commit/?id=3D6356d8c7e8a5 >> >> NONFREE in multimedia/ffmpeg refers to the code under GPL-incompatible >> licenses. It mainly affects OPENSSL and FDK_AAC options. For example, >> NVENC is enabled by default unlike NONFREE option. >> >> FFmpeg also supports CUDA- and NPP- based filters but those are not >> exposed in the port due to missing dependencies. Both would be NONFREE >> as SDKs for CUDA (e.g., nvcc) and NPP (e.g., libnpp) are proprietary. >> > > > -- > Mario. > --=20 Mario. --0000000000006211a5060e74ccc1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm talking with another user on the FreeBSD forum tha= t is running obs 29 and he says that in his system FFmpeg VAAPI H264 enc= oding and FFmpeg VAAPI HEVC encoding are supported. I'm suspecting that= with obs 30 something is broken.

On Mon, Jan 8, 2024 at 9:07=E2=80= =AFPM Mario Marietto <marietto= 2008@gmail.com> wrote:
---> Are you building ffmpeg f= rom source or installing a package ?

I have installed ffmpeg and obs (30) from packages. I can'= t install obs 30 from ports,otherwise I get the following error :

<= span style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)">=3D=3D=3D= > =C2=A0obs-studio-30.0.2 is marked as broken: Needs CEF (Chromium Embed= ded Framework) which isn't yet ported.

For this reason I can't explore the compilation options tha= t it can offer.

On Mon, Jan 8, 2024 at 8:58=E2=80=AFPM Jan= Beich <jbeich@f= reebsd.org> wrote:
Kevin Oberman <rkoberman@gmail.com> writes:

>> On Sat, Jan 6, 2024 at 5:23=E2=80=AFPM Mehmet Erol Sanliturk <<= br> >> m.e.s= anliturk@gmail.com> wrote:
>>
>>> Another issue about video encoders and decoders is patents . >>>
>>> https= ://www.google.com/search?q=3Dis+VAAPI+HEVC+encoding+patented+or+not&sca= _esv=3D596226834&sxsrf=3DAM9HkKnkHnL5dsq45dd5uDNCjL9Olnwl_A%3A170455747= 9981&ei=3Dp3uZZZXGOLbjxc8P9e66mAU&ved=3D0ahUKEwjVtdy4k8mDAxW2cfEDHX= W3DlMQ4dUDCBA&uact=3D5&oq=3Dis+VAAPI+HEVC+encoding+patented+or+not&= amp;gs_lp=3DEgxnd3Mtd2l6LXNlcnAiJmlzIFZBQVBJIEhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQ= gb3Igbm90SO6EAVDyCliigQFwAXgBkAEAmAGiAaAB9xGqAQQwLjE5uAEDyAEA-AEBwgIKEAAYRx= jWBBiwA8ICBxAjGLACGCfCAggQABgIGB4YDcICCxAAGIAEGIoFGIYDwgIKECEYChigARjDBMICC= BAhGKABGMMEwgIFECEYoAHCAgQQIRgV4gMEGAAgQYgGAZAGCA&sclient=3Dgws-wiz-ser= p
>>> is VAAPI HEVC encoding patented or not
>>>
>>>
>>> https://www.goog= le.com/search?q=3Dis+VAAPI+H264+encoding+patented+or+not&sca_esv=3D5962= 26834&sxsrf=3DAM9HkKl4fSR7Myk6mZQSftwHYdNbZhnr4Q%3A1704557529388&ei= =3D2XuZZYKcF8m9xc8Pj6u0OA&ved=3D0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ4dUDCB= A&uact=3D5&oq=3Dis+VAAPI+H264+encoding+patented+or+not&gs_lp=3D= Egxnd3Mtd2l6LXNlcnAiJmlzIFZBQVBJIEgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90Mgg= QABiABBiiBEiP0wZQ5psGWLu5BnADeAGQAQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGE= cY1gQYsAPiAwQYACBBiAYBkAYI&sclient=3Dgws-wiz-serp
>>> is VAAPI H264 encoding patented or not
>
> Are you building ffmpeg from source or installing a package? Patented = ports
> need to be built "NONFREE=3Don" for patented codecs. I am no= t sure what
> options the ffmpeg package is built with.

FreeBSD doesn't cripple packages due to patents. See
https://cgit.freebsd.org/ports/commit/?id=3D= 6356d8c7e8a5

NONFREE in multimedia/ffmpeg refers to the code under GPL-incompatible
licenses. It mainly affects OPENSSL and FDK_AAC options. For example,
NVENC is enabled by default unlike NONFREE option.

FFmpeg also supports CUDA- and NPP- based filters but those are not
exposed in the port due to missing dependencies. Both would be NONFREE
as SDKs for CUDA (e.g., nvcc) and NPP (e.g., libnpp) are proprietary.


--
Mario.


--
Mario.
--0000000000006211a5060e74ccc1--