pspvc is a GUI front end to ffmpeg to ease the process of compressing video
to play on portable MPEG4 players (like the Playstation Portable) ok kili@
This commit is contained in:
parent
48e231c6dd
commit
2a573e920c
35
multimedia/pspvc/Makefile
Normal file
35
multimedia/pspvc/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/11/19 21:10:40 ckuethe Exp $
|
||||
|
||||
COMMENT= Video converter for the Playstation Portable
|
||||
|
||||
V= 0.3
|
||||
DISTNAME= pspvc-${V}
|
||||
DISTFILES= pspvc-install-${V}.tar.gz
|
||||
CATEGORIES= multimedia
|
||||
|
||||
HOMEPAGE= http://pspvc.sourceforge.net/
|
||||
MAINTAINER= Chris Kuethe <ckuethe@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB += X11 Xau Xcursor Xdmcp Xext Xfixes freetype
|
||||
WANTLIB += Xi Xinerama Xrandr Xrender expat fontconfig
|
||||
WANTLIB += m z c png iconv intl
|
||||
WANTLIB += atk-1.0 cairo glib-2.0 glitz gmodule-2.0 gobject-2.0
|
||||
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0
|
||||
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pspvc/}
|
||||
|
||||
RUN_DEPENDS= ::graphics/ffmpeg
|
||||
LIB_DEPENDS+= gdk-x11-2.0.>=0.11,gdk_pixbuf-2.0.>=0.11,gtk-x11-2.0.>=0.11::x11/gtk+2
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
|
||||
post-extract:
|
||||
@cd ${WRKDIR} && tar zxf */archives/pspvc-${V}.tar.gz
|
||||
|
||||
.include <bsd.port.mk>
|
5
multimedia/pspvc/distinfo
Normal file
5
multimedia/pspvc/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (pspvc-install-0.3.tar.gz) = elx5YMMNqSwVQmsUECzD+w==
|
||||
RMD160 (pspvc-install-0.3.tar.gz) = q+YB5Y29iDIbfkUVo+JDgRpWxZY=
|
||||
SHA1 (pspvc-install-0.3.tar.gz) = HLyaorF34NQCq3dNbd+HAVbzjbs=
|
||||
SHA256 (pspvc-install-0.3.tar.gz) = 4Wcdm96zAhe6feq7PuentBn7ldqFajaZ/uWq512G4TE=
|
||||
SIZE (pspvc-install-0.3.tar.gz) = 2675111
|
11
multimedia/pspvc/patches/patch-Makefile_in
Normal file
11
multimedia/pspvc/patches/patch-Makefile_in
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig Mon Mar 12 14:54:12 2007
|
||||
+++ Makefile.in Tue Nov 6 20:11:11 2007
|
||||
@@ -217,7 +217,7 @@ sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
SUBDIRS = po src pixmaps data
|
||||
-pspvcdocdir = ${prefix}/doc/pspvc
|
||||
+pspvcdocdir = ${prefix}/share/doc/pspvc
|
||||
pspvcdoc_DATA = \
|
||||
README\
|
||||
COPYING\
|
40
multimedia/pspvc/patches/patch-src_callbacks_c
Normal file
40
multimedia/pspvc/patches/patch-src_callbacks_c
Normal file
@ -0,0 +1,40 @@
|
||||
--- src/callbacks.c.orig Tue Mar 13 05:02:00 2007
|
||||
+++ src/callbacks.c Wed Nov 7 15:06:34 2007
|
||||
@@ -379,9 +379,9 @@ void launchffmpeg_video(struct convparam *param,gint p
|
||||
|
||||
|
||||
// needed stuff for H.264'
|
||||
-// -acodec aac -vcodec h264 width*height<=76800 width%16=0? height%16=0? -ar 48000 -coder 1 -r 30000/1001 -f psp
|
||||
+// -acodec libfaac -vcodec libx264 width*height<=76800 width%16=0? height%16=0? -ar 48000 -coder 1 -r 30000/1001 -f psp
|
||||
|
||||
- args[argc++]=g_strdup(PACKAGE_DATA_DIR"/pspvc/bin/ffmpeg");
|
||||
+ args[argc++]=g_strdup("ffmpeg");
|
||||
if(nb_threads>1)
|
||||
{
|
||||
args[argc++]=g_strdup("-threads");
|
||||
@@ -391,14 +391,14 @@ void launchffmpeg_video(struct convparam *param,gint p
|
||||
args[argc++]=g_strdup("-i");
|
||||
args[argc++]=g_strdup_printf("%s",cparam->filename);
|
||||
args[argc++]=g_strdup("-acodec");
|
||||
- args[argc++]=g_strdup("aac");
|
||||
+ args[argc++]=g_strdup("libfaac");
|
||||
args[argc++]=g_strdup("-ab");
|
||||
args[argc++]=g_strdup_printf("%dkb",cparam->ab);
|
||||
args[argc++]=g_strdup("-vol");
|
||||
args[argc++]=g_strdup_printf("%d",cparam->volume);
|
||||
args[argc++]=g_strdup("-vcodec");
|
||||
if(cparam->codec==0)
|
||||
- args[argc++]=g_strdup("h264");
|
||||
+ args[argc++]=g_strdup("libx264");
|
||||
else
|
||||
args[argc++]=g_strdup("mpeg4");
|
||||
args[argc++]=g_strdup("-b");
|
||||
@@ -549,7 +549,7 @@ void launchffmpeg_thumbnail(struct convparam *param,gi
|
||||
// command=g_strdup_printf("ffmpeg -y -i \"%s\" -title \"%s\" -f singlejpeg -ss 5 -vframes 1 -s %s -padtop %d -padbottom %d -an M4V%05d.THM 2>&1"
|
||||
//,shm_param->filename,shm_param->title,thmsize,cf,cf,shm_param->pspnum);
|
||||
argc=0;
|
||||
- args[argc++]=g_strdup(PACKAGE_DATA_DIR"/pspvc/bin/ffmpeg");
|
||||
+ args[argc++]=g_strdup("ffmpeg");
|
||||
printf("[launchffmpeg] program=%s\n",args[0]);
|
||||
args[argc++]=g_strdup("-y");
|
||||
args[argc++]=g_strdup("-i");
|
3
multimedia/pspvc/pkg/DESCR
Normal file
3
multimedia/pspvc/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
pspvc is a FFMPEG front-end to convert video files for the PSP.
|
||||
It allow you to queue severals conversions with different
|
||||
parameters for each.
|
17
multimedia/pspvc/pkg/PLIST
Normal file
17
multimedia/pspvc/pkg/PLIST
Normal file
@ -0,0 +1,17 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/11/19 21:10:40 ckuethe Exp $
|
||||
bin/pspvc
|
||||
@comment share/doc/pspvc/
|
||||
@comment share/doc/pspvc/AUTHORS
|
||||
@comment share/doc/pspvc/COPYING
|
||||
@comment share/doc/pspvc/ChangeLog
|
||||
@comment share/doc/pspvc/INSTALL
|
||||
@comment share/doc/pspvc/NEWS
|
||||
@comment share/doc/pspvc/README
|
||||
@comment share/doc/pspvc/TODO
|
||||
share/pixmaps/
|
||||
share/pixmaps/psp-console.png
|
||||
share/pixmaps/pspvc_09.png
|
||||
share/pixmaps/pspvc_logo.png
|
||||
share/pixmaps/pspvc_thm.png
|
||||
@comment share/pspvc/
|
||||
@comment share/pspvc/.keep
|
Loading…
Reference in New Issue
Block a user