multimedia/py-decord: New port: Efficient video loader for deep learning
This commit is contained in:
parent
bf413b3a6b
commit
dcb22c03fd
@ -303,6 +303,7 @@
|
||||
SUBDIR += py-PySceneDetect
|
||||
SUBDIR += py-av
|
||||
SUBDIR += py-cec
|
||||
SUBDIR += py-decord
|
||||
SUBDIR += py-enzyme
|
||||
SUBDIR += py-ffmpeg-python
|
||||
SUBDIR += py-gstreamer1
|
||||
|
||||
37
multimedia/py-decord/Makefile
Normal file
37
multimedia/py-decord/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
PORTNAME= decord
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.6.0
|
||||
CATEGORIES= multimedia python # machine-learning
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Efficient video loader for deep learning
|
||||
WWW= https://github.com/olemb/mido
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/../LICENSE
|
||||
|
||||
LIB_DEPENDS= libdecord.so:multimedia/decord
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= dmlc
|
||||
|
||||
WRKSRC_SUBDIR= python
|
||||
|
||||
MAKE_ENV= DECORD_LIBRARY_PATH=${LOCALBASE}/lib
|
||||
|
||||
POST_PLIST= fix-plist
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
fix-plist:
|
||||
@${REINPLACE_CMD} -e "s|decord/libdecord.so||" ${TMPPLIST}
|
||||
|
||||
post-install:
|
||||
@${RM} ${STAGEDIR}${PREFIX}/decord/libdecord.so
|
||||
@${RMDIR} ${STAGEDIR}${PREFIX}/decord
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
multimedia/py-decord/distinfo
Normal file
3
multimedia/py-decord/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1721154896
|
||||
SHA256 (dmlc-decord-v0.6.0_GH0.tar.gz) = 4aeeb102973bbf6e3b0344d53b055e49939ea47f3607fd0e8ae4aad2d4e60b5b
|
||||
SIZE (dmlc-decord-v0.6.0_GH0.tar.gz) = 19222049
|
||||
13
multimedia/py-decord/pkg-descr
Normal file
13
multimedia/py-decord/pkg-descr
Normal file
@ -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.
|
||||
Loading…
x
Reference in New Issue
Block a user