1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Requantize MPEG-2 streams without recompressing. M2VRequantiser

accepts raw MPEG2 video data (not VOB) from standard input and
writes the recompressed frames to standard output.

Usage is :
	M2VRequantiser recompression_factor inputM2Vsize <input.m2v >output.m2v

WWW: https://launchpad.net/m2vrequantiser
This commit is contained in:
Juergen Lock 2011-09-16 18:34:01 +00:00
parent 2620a877c9
commit 39e880b1ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281850
5 changed files with 44 additions and 0 deletions

View File

@ -184,6 +184,7 @@
SUBDIR += lsdvd
SUBDIR += lxdvdrip
SUBDIR += m2tstoavi
SUBDIR += m2vrequantiser
SUBDIR += mandvd
SUBDIR += mediadownloader
SUBDIR += mediainfo

View File

@ -0,0 +1,22 @@
# New ports collection makefile for: m2vrequantiser
# Date created: Thu Sep 14 20:47:38 CEST 2011
# Whom: Juergen Lock <nox@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= m2vrequantiser
PORTVERSION= 1.1
CATEGORIES= multimedia
MASTER_SITES= http://launchpadlibrarian.net/52366061/
DISTNAME= M2VRequantiser-v${PORTVERSION}
MAINTAINER= nox@FreeBSD.org
COMMENT= Requantize MPEG-2 streams without recompressing
PATCH_STRIP= -p1
CFLAGS+= -Duint=unsigned
MAKE_ARGS+= CC=${CC} CXX=${CXX}
PLIST_FILES+= bin/M2VRequantiser
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (M2VRequantiser-v1.1.tar.gz) = e537c7894edc4ae446d71e8f597aa1fcec85c3e76748ba0aaa289cc667c94209
SIZE (M2VRequantiser-v1.1.tar.gz) = 34472

View File

@ -0,0 +1,11 @@
--- a/main.c
+++ b/main.c
@@ -2315,7 +2315,7 @@ int main (int argc, const char * argv[])
if (argc < 5) { USAGE }
delta_bright = atoi(argv[4]);
#else
- if (argc < 2) { USAGE }
+ if (argc < 3) { USAGE }
#endif
fact_x = atof(argv[1]);
sscanf(argv[2], "%lld", &orim2vsize);

View File

@ -0,0 +1,8 @@
Requantize MPEG-2 streams without recompressing. M2VRequantiser
accepts raw MPEG2 video data (not VOB) from standard input and
writes the recompressed frames to standard output.
Usage is :
M2VRequantiser recompression_factor inputM2Vsize <input.m2v >output.m2v
WWW: https://launchpad.net/m2vrequantiser