From nobody Mon May 16 21:08:57 2022 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 886921AE38A3 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 4L2Bgv2lybz5910 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 3B6F5271F4 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 24GL8xcZ078147 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 24GL8xjv078146 for multimedia@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: multimedia@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: 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 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=dieVw+CtE1dtN78ceKdH3/k/v+DIzZf8gpQCFymhRIygLEzqSnTP2K4LeC3nu6xRZg7Dww iMYS0b+SIWVOlcDFUDXP7Wdw7CFGajysH3t+r3OH8YQQXjskDcUr9Egzb/4QiX9Mue6A+L 2XL2TSGn8Bf4QZjvNqli8bhPMrx+i2jvc+s29mUzxU4PuoY8Q8kVwJ60EGJRqGpc8YqJQW qpK7QbSwbwoq8DqW+cOel/AMzJIqd4xV3k2rEvG3zRS/N24fxDjzo3+KDsJ7qGTIgpRvUx ioL24vpLajWJFyCYwt7l3MPGA0AAaZN1LBuE785M0cLU/tKVdgjWAMuPFSR+4w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652735339; a=rsa-sha256; cv=none; b=OdP3SDl1Ov6w4CUaYyauYC2NLqGJLhhe6BIN4av5r0/oRj5tMPMRyr4jbzvF/yXgwvqUHX rOr50iBw4XxFvhKlv0WGTbcFmiIGGzi1o6kMjo6SO63L9QED3hr7llAUn2/LlMrvBFEdGW ph63PUlvdv42SBna0524YK9qi29sFhc/VUUbgUquFuTkaSD0Z9ZmsVwsmtnJvr9lynvw/k SR5G0EWYYJ2KKy7u7Kevb2pv00+wnLUa/ZQPf0o2MVk1E77DMB9A/V3/qykSX+O9XCbVxQ WlwW5PnBAPRI6FQMqr71e16Z0TUcUm0HyJsAzK+zFiiPMx/XBOs7cLzgZN6tig== 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.=