mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
New ports: graphics/php4-ffmpeg graphics/php5-ffmpeg
The ffmpeg-php is an extension for PHP that adds an easy to use, object-oriented API for accessing and retrieving information from video and audio files. It has methods for returning frames from movie files as images that can be manipulated using PHP's image functions. This works well for automatically creating thumbnail images from movies. ffmpeg-php is also useful for reporting the duration and bitrate of audio files (mp3, wma...). The ffmpeg-php can access many of the video formats supported by ffmpeg (mov, avi, mpg, wmv...) WWW: http://ffmpeg-php.sourceforge.net/
This commit is contained in:
parent
22e331944c
commit
5184d4f1dc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177468
@ -501,9 +501,11 @@
|
||||
SUBDIR += photopc
|
||||
SUBDIR += php-magickwand
|
||||
SUBDIR += php4-exif
|
||||
SUBDIR += php4-ffmpeg
|
||||
SUBDIR += php4-gd
|
||||
SUBDIR += php4-ming
|
||||
SUBDIR += php5-exif
|
||||
SUBDIR += php5-ffmpeg
|
||||
SUBDIR += php5-gd
|
||||
SUBDIR += php5-ming
|
||||
SUBDIR += phplot
|
||||
|
30
graphics/php4-ffmpeg/Makefile
Normal file
30
graphics/php4-ffmpeg/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# New ports collection makefile for: php4-ffmpeg
|
||||
# Date created: 2006-10-19
|
||||
# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ffmpeg
|
||||
PORTVERSION= 0.5.0
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR=${PORTNAME}-${PKGNAMEPREFIX:S/4-//}
|
||||
PKGNAMEPREFIX?= php4-
|
||||
DISTNAME= ${PORTNAME}-${PKGNAMEPREFIX:S/4-//:S/5-//}-${PORTVERSION}
|
||||
EXTRACT_SUFX= .tbz2
|
||||
|
||||
MAINTAINER= acm@FreeBSD.org
|
||||
COMMENT= The ffmpeg shared extension for php
|
||||
|
||||
LIB_DEPENDS= avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
|
||||
gd.4:${PORTSDIR}/graphics/gd
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_PHP= yes
|
||||
USE_PHPEXT= yes
|
||||
IGNORE_WITH_PHP?=5
|
||||
DEFAULT_PHP_VER?=4
|
||||
CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/php4-ffmpeg/distinfo
Normal file
3
graphics/php4-ffmpeg/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (ffmpeg-php-0.5.0.tbz2) = f13bbbe9d46ba29402fefb942a2c4adf
|
||||
SHA256 (ffmpeg-php-0.5.0.tbz2) = 9f6ac3ca74cd867c60fd84eab026493e558f5d929be7bb9028dfad1955926962
|
||||
SIZE (ffmpeg-php-0.5.0.tbz2) = 1606351
|
11
graphics/php4-ffmpeg/pkg-descr
Normal file
11
graphics/php4-ffmpeg/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
The ffmpeg-php is an extension for PHP that adds an easy to use,
|
||||
object-oriented API for accessing and retrieving information from video and
|
||||
audio files. It has methods for returning frames from movie files as images
|
||||
that can be manipulated using PHP's image functions. This works well for
|
||||
automatically creating thumbnail images from movies. ffmpeg-php is also useful
|
||||
for reporting the duration and bitrate of audio files (mp3, wma...).
|
||||
|
||||
The ffmpeg-php can access many of the video formats supported by ffmpeg (mov,
|
||||
avi, mpg, wmv...)
|
||||
|
||||
WWW: http://ffmpeg-php.sourceforge.net/
|
17
graphics/php5-ffmpeg/Makefile
Normal file
17
graphics/php5-ffmpeg/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
# New ports collection makefile for: php4-ffmpeg
|
||||
# Date created: 2006-10-19
|
||||
# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
CATEGORIES= graphics
|
||||
|
||||
PKGNAMEPREFIX= php5-
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../../graphics/php4-ffmpeg
|
||||
|
||||
IGNORE_WITH_PHP=4
|
||||
DEFAULT_PHP_VER=5
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
3
graphics/php5-ffmpeg/distinfo
Normal file
3
graphics/php5-ffmpeg/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (ffmpeg-php-0.5.0.tbz2) = f13bbbe9d46ba29402fefb942a2c4adf
|
||||
SHA256 (ffmpeg-php-0.5.0.tbz2) = 9f6ac3ca74cd867c60fd84eab026493e558f5d929be7bb9028dfad1955926962
|
||||
SIZE (ffmpeg-php-0.5.0.tbz2) = 1606351
|
11
graphics/php5-ffmpeg/pkg-descr
Normal file
11
graphics/php5-ffmpeg/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
The ffmpeg-php is an extension for PHP that adds an easy to use,
|
||||
object-oriented API for accessing and retrieving information from video and
|
||||
audio files. It has methods for returning frames from movie files as images
|
||||
that can be manipulated using PHP's image functions. This works well for
|
||||
automatically creating thumbnail images from movies. ffmpeg-php is also useful
|
||||
for reporting the duration and bitrate of audio files (mp3, wma...).
|
||||
|
||||
The ffmpeg-php can access many of the video formats supported by ffmpeg (mov,
|
||||
avi, mpg, wmv...)
|
||||
|
||||
WWW: http://ffmpeg-php.sourceforge.net/
|
Loading…
Reference in New Issue
Block a user