Date: Mon, 8 Jan 2024 21:10:31 +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%2B1FSihA5fdATHws_rZMZc0=pH=FfK7GWo%2BZAje3jZKWwJbOrQ@mail.gmail.com> In-Reply-To: <CA%2B1FSiiVmU5hZ8CExt8VM6bSAtc-nF_Qc_ySO6vPDaL8cs3uFw@mail.gmail.com> 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> <CA%2B1FSiiVmU5hZ8CExt8VM6bSAtc-nF_Qc_ySO6vPDaL8cs3uFw@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 PM Mario Marietto <marietto2008@gmail.com> 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 30 > from ports,otherwise I get the following error : > > ===> 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 PM Jan Beich <jbeich@freebsd.org> wrote: > >> Kevin Oberman <rkoberman@gmail.com> writes: >> >> >> On Sat, Jan 6, 2024 at 5:23 PM Mehmet Erol Sanliturk < >> >> m.e.sanliturk@gmail.com> wrote: >> >> >> >>> Another issue about video encoders and decoders is patents . >> >>> >> >>> >> https://www.google.com/search?q=is+VAAPI+HEVC+encoding+patented+or+not&sca_esv=596226834&sxsrf=AM9HkKnkHnL5dsq45dd5uDNCjL9Olnwl_A%3A1704557479981&ei=p3uZZZXGOLbjxc8P9e66mAU&ved=0ahUKEwjVtdy4k8mDAxW2cfEDHXW3DlMQ4dUDCBA&uact=5&oq=is+VAAPI+HEVC+encoding+patented+or+not&gs_lp=Egxnd3Mtd2l6LXNlcnAiJmlzIFZBQVBJIEhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90SO6EAVDyCliigQFwAXgBkAEAmAGiAaAB9xGqAQQwLjE5uAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBxAjGLACGCfCAggQABgIGB4YDcICCxAAGIAEGIoFGIYDwgIKECEYChigARjDBMICCBAhGKABGMMEwgIFECEYoAHCAgQQIRgV4gMEGAAgQYgGAZAGCA&sclient=gws-wiz-serp >> >>> is VAAPI HEVC encoding patented or not >> >>> >> >>> >> >>> >> https://www.google.com/search?q=is+VAAPI+H264+encoding+patented+or+not&sca_esv=596226834&sxsrf=AM9HkKl4fSR7Myk6mZQSftwHYdNbZhnr4Q%3A1704557529388&ei=2XuZZYKcF8m9xc8Pj6u0OA&ved=0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ4dUDCBA&uact=5&oq=is+VAAPI+H264+encoding+patented+or+not&gs_lp=Egxnd3Mtd2l6LXNlcnAiJmlzIFZBQVBJIEgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90MggQABiABBiiBEiP0wZQ5psGWLu5BnADeAGQAQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGEcY1gQYsAPiAwQYACBBiAYBkAYI&sclient=gws-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=on" 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=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. [-- Attachment #2 --] <div dir="ltr">I'm talking with another user on the FreeBSD forum that is running obs 29 and he says that in his system <b>FFmpeg VAAPI H264 encoding and FFmpeg VAAPI HEVC encoding are supported. I'm suspecting that with obs 30 something is broken.<br></b></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 8, 2024 at 9:07 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com">marietto2008@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="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="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">===> obs-studio-30.0.2 is marked as broken: Needs CEF (Chromium Embedded </span>Framework) which isn't yet ported.</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">For this reason I can't explore the compilation options that it can offer. <br></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 8, 2024 at 8:58 PM Jan Beich <<a href="mailto:jbeich@freebsd.org" target="_blank">jbeich@freebsd.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Kevin Oberman <<a href="mailto:rkoberman@gmail.com" target="_blank">rkoberman@gmail.com</a>> writes:<br> <br> >> On Sat, Jan 6, 2024 at 5:23 PM Mehmet Erol Sanliturk <<br> >> <a href="mailto:m.e.sanliturk@gmail.com" target="_blank">m.e.sanliturk@gmail.com</a>> wrote:<br> >><br> >>> Another issue about video encoders and decoders is patents .<br> >>><br> >>> <a href="https://www.google.com/search?q=is+VAAPI+HEVC+encoding+patented+or+not&sca_esv=596226834&sxsrf=AM9HkKnkHnL5dsq45dd5uDNCjL9Olnwl_A%3A1704557479981&ei=p3uZZZXGOLbjxc8P9e66mAU&ved=0ahUKEwjVtdy4k8mDAxW2cfEDHXW3DlMQ4dUDCBA&uact=5&oq=is+VAAPI+HEVC+encoding+patented+or+not&gs_lp=Egxnd3Mtd2l6LXNlcnAiJmlzIFZBQVBJIEhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90SO6EAVDyCliigQFwAXgBkAEAmAGiAaAB9xGqAQQwLjE5uAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBxAjGLACGCfCAggQABgIGB4YDcICCxAAGIAEGIoFGIYDwgIKECEYChigARjDBMICCBAhGKABGMMEwgIFECEYoAHCAgQQIRgV4gMEGAAgQYgGAZAGCA&sclient=gws-wiz-serp" rel="noreferrer" target="_blank">https://www.google.com/search?q=is+VAAPI+HEVC+encoding+patented+or+not&sca_esv=596226834&sxsrf=AM9HkKnkHnL5dsq45dd5uDNCjL9Olnwl_A%3A1704557479981&ei=p3uZZZXGOLbjxc8P9e66mAU&ved=0ahUKEwjVtdy4k8mDAxW2cfEDHXW3DlMQ4dUDCBA&uact=5&oq=is+VAAPI+HEVC+encoding+patented+or+not&gs_lp=Egxnd3Mtd2l6LXNlcnAiJmlzIFZBQVBJIEhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90SO6EAVDyCliigQFwAXgBkAEAmAGiAaAB9xGqAQQwLjE5uAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBxAjGLACGCfCAggQABgIGB4YDcICCxAAGIAEGIoFGIYDwgIKECEYChigARjDBMICCBAhGKABGMMEwgIFECEYoAHCAgQQIRgV4gMEGAAgQYgGAZAGCA&sclient=gws-wiz-serp</a><br> >>> is VAAPI HEVC encoding patented or not<br> >>><br> >>><br> >>> <a href="https://www.google.com/search?q=is+VAAPI+H264+encoding+patented+or+not&sca_esv=596226834&sxsrf=AM9HkKl4fSR7Myk6mZQSftwHYdNbZhnr4Q%3A1704557529388&ei=2XuZZYKcF8m9xc8Pj6u0OA&ved=0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ4dUDCBA&uact=5&oq=is+VAAPI+H264+encoding+patented+or+not&gs_lp=Egxnd3Mtd2l6LXNlcnAiJmlzIFZBQVBJIEgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90MggQABiABBiiBEiP0wZQ5psGWLu5BnADeAGQAQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGEcY1gQYsAPiAwQYACBBiAYBkAYI&sclient=gws-wiz-serp" rel="noreferrer" target="_blank">https://www.google.com/search?q=is+VAAPI+H264+encoding+patented+or+not&sca_esv=596226834&sxsrf=AM9HkKl4fSR7Myk6mZQSftwHYdNbZhnr4Q%3A1704557529388&ei=2XuZZYKcF8m9xc8Pj6u0OA&ved=0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ4dUDCBA&uact=5&oq=is+VAAPI+H264+encoding+patented+or+not&gs_lp=Egxnd3Mtd2l6LXNlcnAiJmlzIFZBQVBJIEgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90MggQABiABBiiBEiP0wZQ5psGWLu5BnADeAGQAQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGEcY1gQYsAPiAwQYACBBiAYBkAYI&sclient=gws-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=on" for patented codecs. I am not sure what<br> > options the ffmpeg package is built with.<br> <br> FreeBSD doesn't cripple packages due to patents. See<br> <a href="https://cgit.freebsd.org/ports/commit/?id=6356d8c7e8a5" rel="noreferrer" target="_blank">https://cgit.freebsd.org/ports/commit/?id=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="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div> </blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSihA5fdATHws_rZMZc0=pH=FfK7GWo%2BZAje3jZKWwJbOrQ>
