Date: Mon, 8 Jan 2024 21:07:13 +0100 From: Mario Marietto <marietto2008@gmail.com> To: Jan Beich <jbeich@freebsd.org> Cc: Kevin Oberman <rkoberman@gmail.com>, Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com>, multimedia@freebsd.org Subject: Re: FFmpeg VAAPI H264 /HEVC encoding not supported Message-ID: <CA%2B1FSiiVmU5hZ8CExt8VM6bSAtc-nF_Qc_ySO6vPDaL8cs3uFw@mail.gmail.com> In-Reply-To: <cyub-a988-wny@FreeBSD.org> References: <CA%2B1FSigT0kW_XBuWrf2-%2BuNi=A=PoB-1Bi%2BzqO4TbwtbOhS58A@mail.gmail.com> <CAOgwaMt9QOQCWPKGA_LUXe-rk2K1kdXop2zXo-s=EwRtyQk7uA@mail.gmail.com> <CA%2B1FSihw3HJNHmF7QifUZHKTPKkXMdEDOuHZ0T3S%2Bg53yJq7fA@mail.gmail.com> <CAN6yY1tkwiF6i0fAoMzmgoixiUYFz1xFj1__RkNriyvPevxs2w@mail.gmail.com> <cyub-a988-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000008e832a060e74c0a3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ---> Are you building ffmpeg from 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 : =3D=3D=3D> obs-studio-30.0.2 is marked as broken: Needs CEF (Chromium Embedded 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 <jbeich@freebsd.org> wrote= : > Kevin Oberman <rkoberman@gmail.com> 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%3A1704557479= 981&ei=3Dp3uZZZXGOLbjxc8P9e66mAU&ved=3D0ahUKEwjVtdy4k8mDAxW2cfEDHXW3DlMQ4dU= DCBA&uact=3D5&oq=3Dis+VAAPI+HEVC+encoding+patented+or+not&gs_lp=3DEgxnd3Mtd= 2l6LXNlcnAiJmlzIFZBQVBJIEhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90SO6EAVDyClii= gQFwAXgBkAEAmAGiAaAB9xGqAQQwLjE5uAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBxAjGLACGCf= CAggQABgIGB4YDcICCxAAGIAEGIoFGIYDwgIKECEYChigARjDBMICCBAhGKABGMMEwgIFECEYoA= HCAgQQIRgV4gMEGAAgQYgGAZAGCA&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%3A1704557529= 388&ei=3D2XuZZYKcF8m9xc8Pj6u0OA&ved=3D0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ4dUD= CBA&uact=3D5&oq=3Dis+VAAPI+H264+encoding+patented+or+not&gs_lp=3DEgxnd3Mtd2= l6LXNlcnAiJmlzIFZBQVBJIEgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90MggQABiABBiiB= EiP0wZQ5psGWLu5BnADeAGQAQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGEcY1gQYsAPi= AwQYACBBiAYBkAYI&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 what > > 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. > --=20 Mario. --0000000000008e832a060e74c0a3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><span>---> Are you building ffmpeg from source or = installing a package ?</span></div><div><span><br></span></div><div><span>I= have installed ffmpeg and obs (30) from packages. I can't install obs = 30 from ports,otherwise I get the following error :</span></div><div><span>= <br></span></div><div><span style=3D"font-family:monospace"><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 Embedded </span>Framework) which isn't yet ported.</span></div><div><span style= =3D"font-family:monospace"><br></span></div><div><span style=3D"font-family= :monospace">For this reason I can't explore the compilation options tha= t it can offer. <br></span></div></div><br><div class=3D"gmail_quote"><div = dir=3D"ltr" class=3D"gmail_attr">On Mon, Jan 8, 2024 at 8:58=E2=80=AFPM Jan= Beich <<a href=3D"mailto:jbeich@freebsd.org" target=3D"_blank">jbeich@f= reebsd.org</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex">Kevin Oberman <<a href=3D"mailto:rkoberman@gmail.com" target= =3D"_blank">rkoberman@gmail.com</a>> writes:<br> <br> >> On Sat, Jan 6, 2024 at 5:23=E2=80=AFPM Mehmet Erol Sanliturk <<= br> >> <a href=3D"mailto:m.e.sanliturk@gmail.com" target=3D"_blank">m.e.s= anliturk@gmail.com</a>> wrote:<br> >><br> >>> Another issue about video encoders and decoders is patents .<b= r> >>><br> >>> <a href=3D"https://www.google.com/search?q=3Dis+VAAPI+HEVC+enc= oding+patented+or+not&sca_esv=3D596226834&sxsrf=3DAM9HkKnkHnL5dsq45= dd5uDNCjL9Olnwl_A%3A1704557479981&ei=3Dp3uZZZXGOLbjxc8P9e66mAU&ved= =3D0ahUKEwjVtdy4k8mDAxW2cfEDHXW3DlMQ4dUDCBA&uact=3D5&oq=3Dis+VAAPI+= HEVC+encoding+patented+or+not&gs_lp=3DEgxnd3Mtd2l6LXNlcnAiJmlzIFZBQVBJI= EhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90SO6EAVDyCliigQFwAXgBkAEAmAGiAaAB9xGq= AQQwLjE5uAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBxAjGLACGCfCAggQABgIGB4YDcICCxAAGIA= EGIoFGIYDwgIKECEYChigARjDBMICCBAhGKABGMMEwgIFECEYoAHCAgQQIRgV4gMEGAAgQYgGAZ= AGCA&sclient=3Dgws-wiz-serp" rel=3D"noreferrer" target=3D"_blank">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</a><br> >>> is VAAPI HEVC encoding patented or not<br> >>><br> >>><br> >>> <a href=3D"https://www.google.com/search?q=3Dis+VAAPI+H264+enc= oding+patented+or+not&sca_esv=3D596226834&sxsrf=3DAM9HkKl4fSR7Myk6m= ZQSftwHYdNbZhnr4Q%3A1704557529388&ei=3D2XuZZYKcF8m9xc8Pj6u0OA&ved= =3D0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ4dUDCBA&uact=3D5&oq=3Dis+VAAPI+= H264+encoding+patented+or+not&gs_lp=3DEgxnd3Mtd2l6LXNlcnAiJmlzIFZBQVBJI= EgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90MggQABiABBiiBEiP0wZQ5psGWLu5BnADeAGQ= AQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGEcY1gQYsAPiAwQYACBBiAYBkAYI&sc= lient=3Dgws-wiz-serp" rel=3D"noreferrer" target=3D"_blank">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</a><br> >>> is VAAPI H264 encoding patented or not<br> ><br> > Are you building ffmpeg from source or installing a package? Patented = ports<br> > need to be built "NONFREE=3Don" for patented codecs. I am no= t sure what<br> > options the ffmpeg package is built with.<br> <br> FreeBSD doesn't cripple packages due to patents. See<br> <a href=3D"https://cgit.freebsd.org/ports/commit/?id=3D6356d8c7e8a5" rel=3D= "noreferrer" target=3D"_blank">https://cgit.freebsd.org/ports/commit/?id=3D= 6356d8c7e8a5</a><br> <br> NONFREE in multimedia/ffmpeg refers to the code under GPL-incompatible<br> licenses. It mainly affects OPENSSL and FDK_AAC options. For example,<br> NVENC is enabled by default unlike NONFREE option.<br> <br> FFmpeg also supports CUDA- and NPP- based filters but those are not<br> exposed in the port due to missing dependencies. Both would be NONFREE<br> as SDKs for CUDA (e.g., nvcc) and NPP (e.g., libnpp) are proprietary.<br> </blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre= fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Mario.<br></d= iv> --0000000000008e832a060e74c0a3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSiiVmU5hZ8CExt8VM6bSAtc-nF_Qc_ySO6vPDaL8cs3uFw>