2011-04-29 09:44:28 +02:00
|
|
|
# $NetBSD: Makefile,v 1.68 2011/04/29 07:44:28 obache Exp $
|
2009-08-10 22:37:15 +02:00
|
|
|
|
2011-04-29 09:41:01 +02:00
|
|
|
# XXX This is release 0.6.3 but we had date-based pkgnames before.
|
|
|
|
PKGNAME= ffmpeg-20110426.${DISTVERSION}
|
2004-05-10 15:41:10 +02:00
|
|
|
|
2010-10-24 23:56:51 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-10-25 16:02:00 +02:00
|
|
|
HOMEPAGE= http://ffmpeg.mplayerhq.hu/
|
2009-06-12 18:25:34 +02:00
|
|
|
COMMENT= Decoding, encoding and streaming software
|
2004-05-10 15:41:10 +02:00
|
|
|
|
2007-12-22 01:05:25 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2004-06-20 04:36:24 +02:00
|
|
|
|
2011-01-17 17:51:04 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-avfilter
|
|
|
|
CONFIGURE_ARGS+= --enable-avfilter-lavf
|
|
|
|
CONFIGURE_ARGS+= --enable-postproc
|
|
|
|
CONFIGURE_ARGS+= --enable-libvorbis
|
|
|
|
CONFIGURE_ARGS+= --enable-libmp3lame
|
|
|
|
CONFIGURE_ARGS+= --enable-libx264
|
2004-06-20 01:15:12 +02:00
|
|
|
|
2008-09-08 01:39:37 +02:00
|
|
|
INSTALLATION_DIRS= lib share/examples/ffmpeg share/doc/ffmpeg
|
2007-12-22 01:05:25 +01:00
|
|
|
|
2009-06-12 18:25:34 +02:00
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/ffmpeg/ffserver.conf \
|
|
|
|
${PKG_SYSCONFDIR}/ffserver.conf
|
2004-08-30 00:43:50 +02:00
|
|
|
|
2011-01-17 23:14:02 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
|
|
CONFIGURE_ARGS+= --disable-asm
|
|
|
|
.endif
|
|
|
|
|
2011-04-29 09:44:28 +02:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
2010-09-06 00:55:18 +02:00
|
|
|
post-install:
|
2009-06-12 18:25:34 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/libavcodec/api-example.c \
|
2007-12-22 01:05:25 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/doc/ffmpeg
|
Update to 0.4.8, and install the header files that are customarily
installed.
Changes:
version 0.4.8:
- MPEG2 video encoding (Michael)
- Id RoQ playback subsystem (Mike Melanson and Tim Ferguson)
- Wing Commander III Movie (.mve) file playback subsystem (Mike Melanson
and Mario Brito)
- Xan DPCM audio decoder (Mario Brito)
- Interplay MVE playback subsystem (Mike Melanson)
- Duck DK3 and DK4 ADPCM audio decoders (Mike Melanson)
version 0.4.7:
- RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders. Author unknown, code from a mplayerhq
(originally from public domain player for Amiga at http://www.honeypot.net/audio)
- Current version now also compiles with older GCC (Fabrice)
- 4X multimedia playback system including 4xm file demuxer (Mike
Melanson), and 4X video and audio codecs (Michael)
- Creative YUV (CYUV) decoder (Mike Melanson)
- FFV1 codec (our very simple lossless intra only codec, compresses much better
then huffyuv) (Michael)
- ASV1 (Asus), H.264, Intel indeo3 codecs has been added (Various)
- Tiny PNG encoder and decoder, tiny GIF decoder, PAM decoder (PPM with
alpha support), JPEG YUV colorspace support. (Fabrice Bellard)
- ffplay has been replaced with a newer version which uses SDL (optionally)
for multi platform support (fabrice)
- Sorenson Version 3 codec (SVQ3) support has been added (decoding only) - donated
by anonymous
- AMR format has been added (Johannes Carlsson)
- 3gp support has been added (Johannes Carlsson)
- VP3 codec has been added (Mike Melanson)
- more MPEG-1/2 fixes
- Better Multi platform support, MS Visual Studio fixes (various)
- Altivec optimizations (Magnus Damn and others)
- SH4 processor support has been added (BERO)
- New public interfaces (avcodec_get_pix_fmt) (Roman Shaposhnick)
- VOB Streaming support (Brian Foley)
- Better MP3 Autodetection (Andriy Rysin)
- qpel encoding (Michael)
- 4mv+b frames encoding finally fixed (Michael)
- chroma ME (Michael)
- 5 comparission functions for ME (Michael)
- b frame encoding speedup (Michael)
- wmv2 codec (unfinished - Michael)
- user specified diamond size for EPZS (Michael)
- Playstation STR playback subsystem, still experimental (Mike and Michael)
- ASV2 codec (Michael)
- CLJR decoder (Alex)
.. And lots more new enhances and fixes.
version 0.4.6:
- completely new integer only mpeg audio layer 1/2/3 decoder rewritten
from scratch.
- recoded dct and motion vector search with gcc (no longer depends on
nasm).
- fix quantization bug in AC3 encoder.
- added PCM codecs and format. Corrected wav/avi/asf pcm issues.
- added prototype ffplay program.
- added GOB header parsing on H.263/H.263+ decoder. (Juanjo)
- bug fix on MCBPC tables of H.263. (Juanjo)
- bug fix on DC coefficients of H.263. (Juanjo)
- added Advanced Prediction Mode on H.263/H.263+ decoder. (Juanjo)
- now we can decode H.263 streams found on QuickTime files. (Juanjo)
- now we can decode H.263 streams found on VIVO v1 files.(Juanjo)
- preliminary RTP "friendly" mode for H.263/H.263+ coding. (Juanjo)
- added GOB header for H.263/H.263+ coding on RTP mode. (Juanjo)
- now H.263 picture size is returned on the first decoded frame. (Juanjo)
- added first regression tests
- added MPEG2 TS demux
- new demux API for libav
- more accurate and faster IDCT (Michael)
- faster and entropy controlled motion search (Michael)
- two pass video encoding (Michael)
- new video rate control (Michael)
- added MSMPEG4V1, MSMPEGV2 and WMV1 support (Michael)
- great performance improvement of video encoders and decoders (Michael)
- new and faster bit readers and vlc parsers (Michael)
- high quality encoding mode : tries all macroblock/VLC types (Michael)
- added DV video decoder
- preliminary RTP/RTSP support in ffserver and libavformat
- H.263+ AIC decoding/encoding support. (Juanjo)
- VCD MPEG-PS mode. (Juanjo)
- PSNR stuff. (Juanjo)
- Simple stats output. (Juanjo)
- 16-bit and 15-bit rgb/bgr/gbr support (Bisqwit)
2004-05-25 23:49:26 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/doc/TODO \
|
2007-12-22 01:05:25 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/doc/ffmpeg
|
2009-06-12 18:25:34 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.txt \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/ffmpeg
|
Update to 0.4.8, and install the header files that are customarily
installed.
Changes:
version 0.4.8:
- MPEG2 video encoding (Michael)
- Id RoQ playback subsystem (Mike Melanson and Tim Ferguson)
- Wing Commander III Movie (.mve) file playback subsystem (Mike Melanson
and Mario Brito)
- Xan DPCM audio decoder (Mario Brito)
- Interplay MVE playback subsystem (Mike Melanson)
- Duck DK3 and DK4 ADPCM audio decoders (Mike Melanson)
version 0.4.7:
- RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders. Author unknown, code from a mplayerhq
(originally from public domain player for Amiga at http://www.honeypot.net/audio)
- Current version now also compiles with older GCC (Fabrice)
- 4X multimedia playback system including 4xm file demuxer (Mike
Melanson), and 4X video and audio codecs (Michael)
- Creative YUV (CYUV) decoder (Mike Melanson)
- FFV1 codec (our very simple lossless intra only codec, compresses much better
then huffyuv) (Michael)
- ASV1 (Asus), H.264, Intel indeo3 codecs has been added (Various)
- Tiny PNG encoder and decoder, tiny GIF decoder, PAM decoder (PPM with
alpha support), JPEG YUV colorspace support. (Fabrice Bellard)
- ffplay has been replaced with a newer version which uses SDL (optionally)
for multi platform support (fabrice)
- Sorenson Version 3 codec (SVQ3) support has been added (decoding only) - donated
by anonymous
- AMR format has been added (Johannes Carlsson)
- 3gp support has been added (Johannes Carlsson)
- VP3 codec has been added (Mike Melanson)
- more MPEG-1/2 fixes
- Better Multi platform support, MS Visual Studio fixes (various)
- Altivec optimizations (Magnus Damn and others)
- SH4 processor support has been added (BERO)
- New public interfaces (avcodec_get_pix_fmt) (Roman Shaposhnick)
- VOB Streaming support (Brian Foley)
- Better MP3 Autodetection (Andriy Rysin)
- qpel encoding (Michael)
- 4mv+b frames encoding finally fixed (Michael)
- chroma ME (Michael)
- 5 comparission functions for ME (Michael)
- b frame encoding speedup (Michael)
- wmv2 codec (unfinished - Michael)
- user specified diamond size for EPZS (Michael)
- Playstation STR playback subsystem, still experimental (Mike and Michael)
- ASV2 codec (Michael)
- CLJR decoder (Alex)
.. And lots more new enhances and fixes.
version 0.4.6:
- completely new integer only mpeg audio layer 1/2/3 decoder rewritten
from scratch.
- recoded dct and motion vector search with gcc (no longer depends on
nasm).
- fix quantization bug in AC3 encoder.
- added PCM codecs and format. Corrected wav/avi/asf pcm issues.
- added prototype ffplay program.
- added GOB header parsing on H.263/H.263+ decoder. (Juanjo)
- bug fix on MCBPC tables of H.263. (Juanjo)
- bug fix on DC coefficients of H.263. (Juanjo)
- added Advanced Prediction Mode on H.263/H.263+ decoder. (Juanjo)
- now we can decode H.263 streams found on QuickTime files. (Juanjo)
- now we can decode H.263 streams found on VIVO v1 files.(Juanjo)
- preliminary RTP "friendly" mode for H.263/H.263+ coding. (Juanjo)
- added GOB header for H.263/H.263+ coding on RTP mode. (Juanjo)
- now H.263 picture size is returned on the first decoded frame. (Juanjo)
- added first regression tests
- added MPEG2 TS demux
- new demux API for libav
- more accurate and faster IDCT (Michael)
- faster and entropy controlled motion search (Michael)
- two pass video encoding (Michael)
- new video rate control (Michael)
- added MSMPEG4V1, MSMPEGV2 and WMV1 support (Michael)
- great performance improvement of video encoders and decoders (Michael)
- new and faster bit readers and vlc parsers (Michael)
- high quality encoding mode : tries all macroblock/VLC types (Michael)
- added DV video decoder
- preliminary RTP/RTSP support in ffserver and libavformat
- H.263+ AIC decoding/encoding support. (Juanjo)
- VCD MPEG-PS mode. (Juanjo)
- PSNR stuff. (Juanjo)
- Simple stats output. (Juanjo)
- 16-bit and 15-bit rgb/bgr/gbr support (Bisqwit)
2004-05-25 23:49:26 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/ffserver.conf \
|
2007-12-22 01:05:25 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/ffmpeg
|
2004-05-10 15:41:10 +02:00
|
|
|
|
2009-06-12 18:25:34 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2010-01-06 00:12:54 +01:00
|
|
|
# "lame-3.98" isn't compatible with "ffmpeg" which breaks audio encoding.
|
|
|
|
BUILDLINK_ABI_DEPENDS.lame+= lame>=3.98.2nb1
|
|
|
|
|
2008-09-08 01:39:37 +02:00
|
|
|
.include "../../audio/lame/buildlink3.mk"
|
|
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
2009-06-12 18:25:34 +02:00
|
|
|
.include "../../multimedia/ffmpeg/Makefile.common"
|