From nobody Mon May 16 21:08:57 2022 X-Original-To: ports-bugs@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 8598C1AE3A9A for ; Mon, 16 May 2022 21:08:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L2Bgv1kd1z599X for ; Mon, 16 May 2022 21:08:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 18DBA274D7 for ; Mon, 16 May 2022 21:08:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24GL8xHB078139 for ; Mon, 16 May 2022 21:08:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24GL8xQK078138 for ports-bugs@FreeBSD.org; Mon, 16 May 2022 21:08:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264027] multimedia/ffmpeg: add NVENC option Date: Mon, 16 May 2022 21:08:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iwtcex@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652735339; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KBDWSZub6HayfklU7xtbC3ne9nD5UMBU0dN77ewLKHs=; b=Ly5MtC7vMTZU2+uw4TKru7VB+0QVwujpf+9+xZUugKi7P3XILyYMBIcbd6UjDgK1fG1Z6e NhjO7ibvENdgjNam12g7+ITWHQW9xRZnz5ShLACTdS2yqt5aOwexlAB77xNhiCxfxXEthQ 3bTMdeqFp/sqMBPSSV6Npn+2v9LXNf2uNwbmVrhAG47trwgHEf76efzKhegR9BjgQlgjGt a65cztkpW5U4St92xnf31ZncBfK+8e5VpEnZNjOj3j3w6truLyP2xe10ZCfNJuaHsiH7dZ EvfxApLOEc9+HGtMP0YzHWts+6vdIDmH0otKisOsAs09GciImFosAb73Vm4OhA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652735339; a=rsa-sha256; cv=none; b=QTlsrZkn5nbYVsW2VgA4HEkrhJCsyfzi1KCydhbsSJm7+h89DQZL72J2FeWEpdxHO/l2ln nwclk3N+wPQ4mHIL292nbVNxukKfSAwHx4DWMvrBa1mGU0gFzyMHLDqnapdQlxfK+On/Pl zVq3Gqu43EWF065u/scDIFRAhqdskup1Xo5rbxVfauqqnL5ZQmy2chOTwWL+SM9S1Sb4Sk qWPK9V3vf7G2arJc0RBlVGkCk7VR2E84j1Ux6m7FevHPJ2C4TrbrCA7ZkpsbZYj7hDPWuX BLq6LiO2HKz3eM2k9KSzlfjlooOrxa7HqzxRuISgicfF5chRE4QIA+QKFVMROw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264027 Bug ID: 264027 Summary: multimedia/ffmpeg: add NVENC option Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: multimedia@FreeBSD.org Reporter: iwtcex@gmail.com CC: scf@FreeBSD.org Flags: maintainer-feedback?(multimedia@FreeBSD.org) Assignee: multimedia@FreeBSD.org Created attachment 233972 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233972&action= =3Dedit nvenc support 1. Mostly taken from https://github.com/scfarley/ports/commit/42b8875ea435c0fb4ff8a1d9db8797f6fa= 25be37. 2. Would be nice to make this a default setting as well. 3. At the moment there are no native FreeBSD versions of libcuda.so/libnvidia-encode.so/libnvcuvid.so, so to actually use NVENC we n= eed to load the Linux binaries for those libs with the help of emulators/libc6-= shim and the `nv-sglrun` script from that port. Something like this: % sudo pkg install nvidia-driver linux-nvidia-libs libc6-shim obs-studio % nv-sglrun obs 4. nvidia-driver version should be >=3D 495. --=20 You are receiving this mail because: You are the assignee for the bug.=