From nobody Wed Jul 17 08:44:52 2024 X-Original-To: dev-commits-ports-main@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 4WP8dJ3wkdz5Qsg0; Wed, 17 Jul 2024 08:44:52 +0000 (UTC) (envelope-from git@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WP8dJ3Skrz4Q79; Wed, 17 Jul 2024 08:44:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721205892; 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=QFJLIvSdCMMPGjAXEqisLHEtQIgPgE0HEon0dFoSYVQ=; b=FOymovLKeSiFROnVmSN/UNL5qLSB32wjpaUj/UqwbXEdqOQIQlyCQ8+kCaqmVa9RAQ4cf3 ucMw8/TyD/ORp2XDGGn33A42F63q0FlhZhFjgFj25Cdjvb40AuvZSDEHoBbJtblsae8ayU mAc+WsqEZw0XknCGK6IpkrHOIxCXAb2HLlU+Zex6b4Us2BBBzPpnbbyN5t6dUhnLPhHv/l RlpHBUPQF2qZwWXgy0mY4JuNe+5nYbYjeZVi2YveWGK/Pt5rK2mmqsEL0hgqlRGZicekfI axFFBL9JJf3fTw3toXioZwWBfNc8T1Ar0logTKQDyRxuQ/ZzUZ2rAVn6glN7Pg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721205892; a=rsa-sha256; cv=none; b=tHTnXYUreqhxWTn4c6bm3opkFxglvx6//WV/Wu3cKVFil2RM1Xa+wU+vH6R0bIO+hP22rw pFaLvWksXfgeH5tIGc+1paPSBogfXL9FnLuJxWXsij8vxWpVSgLQ4Lvt/DNuQ1bLWNlL+Z Bd8ZKDbr/0rhQQ7EiCIiGI6MhVaIkbSr/ZDOQ5fJag7AxQ+4ZUdmW6EH6enqrJTa980tV+ TDkbdkFUNTXVFHK/Npd1ZVLfBfZLtCAbguZJTqvzMGJboedM/sQCUzkTOKaOoWzo1hxH9O 3be60C/CTdWp5a8G7BJgpq+lXhUD4Vq/70josz2RNBkxP/1Pq/0ffaBpWEG7/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721205892; 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=QFJLIvSdCMMPGjAXEqisLHEtQIgPgE0HEon0dFoSYVQ=; b=MPxfQoIWSxobE96NwsjuMxBVaRhz1hCRlaQAnxhn94YLA5uyASoRT9m611T2+MGQrBJTEf FtCwFJ41Urp+ngHnSL2pt6cfZ47flf0Yk+Vdd/GkJtZm+yHzkWp9SMdu91gdTrRbtORvZ1 kHgVt7HzvZJpik4wAxazh22dCqkKOe9k+eRUmeYT2mYL/UDEvodfgl1vakxlvOwIr/fyuG eyr4VtwzjLexo5UQrDQ59jGvplyV6lV+5goUmUgblU6sX5XhuozwPLwdkFDKuGYiFC1JGa cpfKBqeQmH5wvFkDdbdjSfaX3c4POuWw6b50c8REl+de+Qw0V7zZIQblaCyo1Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4WP8dJ343Fz1CP3; Wed, 17 Jul 2024 08:44:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46H8iqsr055324; Wed, 17 Jul 2024 08:44:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46H8iqLv055321; Wed, 17 Jul 2024 08:44:52 GMT (envelope-from git) Date: Wed, 17 Jul 2024 08:44:52 GMT Message-Id: <202407170844.46H8iqLv055321@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: bf413b3a6b05 - main - graphics/decord: New port: Efficient video loader for deep learning List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bf413b3a6b05c5bead0931b25d36c0f2d5373720 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=bf413b3a6b05c5bead0931b25d36c0f2d5373720 commit bf413b3a6b05c5bead0931b25d36c0f2d5373720 Author: Yuri Victorovich AuthorDate: 2024-07-17 04:28:22 +0000 Commit: Yuri Victorovich CommitDate: 2024-07-17 08:44:49 +0000 graphics/decord: New port: Efficient video loader for deep learning --- multimedia/Makefile | 1 + multimedia/decord/Makefile | 31 +++++++++++++++++++++++++++++++ multimedia/decord/distinfo | 7 +++++++ multimedia/decord/pkg-descr | 13 +++++++++++++ multimedia/decord/pkg-plist | 16 ++++++++++++++++ 5 files changed, 68 insertions(+) diff --git a/multimedia/Makefile b/multimedia/Makefile index 9dc0e6157116..4212cc6af265 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -34,6 +34,7 @@ SUBDIR += cmrtlib SUBDIR += cx88 SUBDIR += dav1d + SUBDIR += decord SUBDIR += deforaos-player SUBDIR += dirac SUBDIR += dragon diff --git a/multimedia/decord/Makefile b/multimedia/decord/Makefile new file mode 100644 index 000000000000..5340dc1f42f7 --- /dev/null +++ b/multimedia/decord/Makefile @@ -0,0 +1,31 @@ +PORTNAME= decord +DISTVERSIONPREFIX= v +DISTVERSION= 0.6.0-7 +DISTVERSIONSUFFIX= -gd2e5619 +CATEGORIES= multimedia # machine-learning + +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES= e543d1cbd4d21dbac85b1e78e43f59495c8ce78b.patch:-p1 # https://github.com/dmlc/decord/pull/309 + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Efficient video loader for deep learning +WWW= https://github.com/dmlc/decord + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ + libdmlc.so:devel/dmlc-core + +USES= cmake + +USE_GITHUB= yes +GH_ACCOUNT= dmlc +GH_TUPLE= dmlc:dlpack:5c792ce:dlpack/3rdparty/dlpack + +post-install: + # install headers + @cd ${WRKSRC} && \ + ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX} + +.include diff --git a/multimedia/decord/distinfo b/multimedia/decord/distinfo new file mode 100644 index 000000000000..e1079fee207f --- /dev/null +++ b/multimedia/decord/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1721190094 +SHA256 (dmlc-decord-v0.6.0-7-gd2e5619_GH0.tar.gz) = a69c60a41075e5044f7d20484aaf04f1437948af3d1df136f6f8b8b7b8c02404 +SIZE (dmlc-decord-v0.6.0-7-gd2e5619_GH0.tar.gz) = 19223029 +SHA256 (dmlc-dlpack-5c792ce_GH0.tar.gz) = dbcbe1d5ddf8596e18d62906e5467ee2243bb3aff41623fac8dc1ef350cd7539 +SIZE (dmlc-dlpack-5c792ce_GH0.tar.gz) = 37929 +SHA256 (e543d1cbd4d21dbac85b1e78e43f59495c8ce78b.patch) = 924b59877d0f2890f216b8c5dce52e4fd165ae7fe6a3207231178a18e05fca48 +SIZE (e543d1cbd4d21dbac85b1e78e43f59495c8ce78b.patch) = 3846 diff --git a/multimedia/decord/pkg-descr b/multimedia/decord/pkg-descr new file mode 100644 index 000000000000..df595fe969de --- /dev/null +++ b/multimedia/decord/pkg-descr @@ -0,0 +1,13 @@ +Decord is a reverse procedure of Record. It provides convenient video slicing +methods based on a thin wrapper on top of hardware accelerated video decoders, +e.g. + FFMPEG/LibAV(Done) + Nvidia Codecs(Done) + Intel Codecs + +Decord was designed to handle awkward video shuffling experience in order to +provide smooth experiences similar to random image loader for deep learning. + +Decord is also able to decode audio from both video and audio files. One can +slice video and audio together to get a synchronized result; hence providing +a one-stop solution for both video and audio decoding. diff --git a/multimedia/decord/pkg-plist b/multimedia/decord/pkg-plist new file mode 100644 index 000000000000..a74c1e15022d --- /dev/null +++ b/multimedia/decord/pkg-plist @@ -0,0 +1,16 @@ +include/decord/audio_interface.h +include/decord/av_interface.h +include/decord/base.h +include/decord/runtime/c_backend_api.h +include/decord/runtime/c_runtime_api.h +include/decord/runtime/device_api.h +include/decord/runtime/module.h +include/decord/runtime/ndarray.h +include/decord/runtime/node_base.h +include/decord/runtime/packed_func.h +include/decord/runtime/registry.h +include/decord/runtime/serializer.h +include/decord/runtime/threading_backend.h +include/decord/runtime/util.h +include/decord/video_interface.h +lib/libdecord.so