summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorjmcneill <jmcneill>2009-01-23 15:00:05 +0000
committerjmcneill <jmcneill>2009-01-23 15:00:05 +0000
commit5064bd96536e18bfb10794945a0fc93b7248d12c (patch)
tree531459bb3f20dd00671416f01872a91b93f2cea7 /multimedia
parentfc643e45a1350cd0a04a22f7591b79cba5d0d273 (diff)
downloadpkgsrc-5064bd96536e18bfb10794945a0fc93b7248d12c.tar.gz
Import mkv2mp4 based on SVN revision r11. I think I'll nominate it for
the 'ugliest package name of the month' award (py25-mkv2mp4-0.0alpha11), but it is in fact quite handy. mkv2mp4 is a commandline utility, written in Python, which allows conversion of video files in the Matroska container (*.mkv file extension) containing H.264 video to be converted into a format which the Xbox 360 can play. It differs from other similar tools in that no video transcoding is performed; the video is passed through untouched and the just the audio is transcoded if necessary. This means that the conversion is much faster (the whole process being quicker than realtime on reasonably modern machines), and more importantly that there is no degradation in video quality (which makes it very suitable for HD video).
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mkv2mp4/DESCR10
-rw-r--r--multimedia/mkv2mp4/Makefile32
-rw-r--r--multimedia/mkv2mp4/PLIST4
-rw-r--r--multimedia/mkv2mp4/distinfo8
4 files changed, 54 insertions, 0 deletions
diff --git a/multimedia/mkv2mp4/DESCR b/multimedia/mkv2mp4/DESCR
new file mode 100644
index 00000000000..a1e4b1c2181
--- /dev/null
+++ b/multimedia/mkv2mp4/DESCR
@@ -0,0 +1,10 @@
+mkv2mp4 is a commandline utility, written in Python, which allows conversion
+of video files in the Matroska container (*.mkv file extension) containing
+H.264 video to be converted into a format which the Xbox 360 can play.
+
+It differs from other similar tools in that no video transcoding is
+performed; the video is passed through untouched and the just the audio is
+transcoded if necessary. This means that the conversion is much faster
+(the whole process being quicker than realtime on reasonably modern
+machines), and more importantly that there is no degradation in video quality
+(which makes it very suitable for HD video).
diff --git a/multimedia/mkv2mp4/Makefile b/multimedia/mkv2mp4/Makefile
new file mode 100644
index 00000000000..586ee420c68
--- /dev/null
+++ b/multimedia/mkv2mp4/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/23 15:00:05 jmcneill Exp $
+#
+
+SVNREV= 11
+DISTNAME= mkv2mp4
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}-0.0alpha${SVNREV}
+CATEGORIES= multimedia
+MASTER_SITES= http://mkv2mp4.googlecode.com/svn-history/r${SVNREV}/trunk/
+NO_BUILD= yes
+
+DISTFILES= ${DISTNAME}.py README
+DIST_SUBDIR= mkv2mp4
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://mkv2mp4.googlecode.com/
+COMMENT= Remux mkv files to mp4 files compatible with standalone players
+WRKSRC= ${WRKDIR}
+
+REPLACE_PYTHON= ${DISTNAME}.py
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.py \
+ ${DESTDIR}${PREFIX}/bin/${DISTNAME}.py
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/${DISTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/README \
+ ${DESTDIR}${PREFIX}/share/doc/${DISTNAME}/README
+
+.include "../../lang/python/application.mk"
+.include "../../multimedia/ffmpeg/buildlink3.mk"
+.include "../../multimedia/gpac/buildlink3.mk"
+DEPENDS+= mkvtoolnix>=1.7.0:../../multimedia/mkvtoolnix
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/mkv2mp4/PLIST b/multimedia/mkv2mp4/PLIST
new file mode 100644
index 00000000000..51093c5ab50
--- /dev/null
+++ b/multimedia/mkv2mp4/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/23 15:00:05 jmcneill Exp $
+bin/mkv2mp4.py
+share/doc/mkv2mp4/README
+@dirrm share/doc/mkv2mp4
diff --git a/multimedia/mkv2mp4/distinfo b/multimedia/mkv2mp4/distinfo
new file mode 100644
index 00000000000..445fdf88bd8
--- /dev/null
+++ b/multimedia/mkv2mp4/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/23 15:00:05 jmcneill Exp $
+
+SHA1 (mkv2mp4/README) = 6ec8e50ab84e2d264b70169799e5a77da29558d0
+RMD160 (mkv2mp4/README) = 567760fb28bcd19abcdd6312b363df60f86575ec
+Size (mkv2mp4/README) = 3855 bytes
+SHA1 (mkv2mp4/mkv2mp4.py) = dbbe5dc7e6913cf2d7109648e0031465fafab8e1
+RMD160 (mkv2mp4/mkv2mp4.py) = f03a5151ce18a3e87c747b2478beb569c611d3b5
+Size (mkv2mp4/mkv2mp4.py) = 17413 bytes