2006-02-16 11:26:30 +01:00
|
|
|
# $NetBSD: Makefile,v 1.22 2006/02/16 10:26:30 abs Exp $
|
2004-05-10 15:41:10 +02:00
|
|
|
|
2006-02-16 11:26:30 +01:00
|
|
|
DISTNAME= ffmpeg-0.4.9-pre1
|
|
|
|
PKGNAME= ffmpeg-0.4.9pre1
|
|
|
|
CATEGORIES= multimedia
|
2004-05-10 15:41:10 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ffmpeg/}
|
|
|
|
|
2006-02-16 11:26:30 +01:00
|
|
|
MAINTAINER= zul@NetBSD-fr.org
|
2004-05-10 15:41:10 +02:00
|
|
|
HOMEPAGE= http://ffmpeg.sourceforge.net/
|
|
|
|
COMMENT= MPEG decoding, encoding and streaming software
|
|
|
|
|
|
|
|
HAS_CONFIGURE= YES
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2004-05-10 15:41:10 +02:00
|
|
|
USE_LIBTOOL= YES
|
2004-06-20 04:36:24 +02:00
|
|
|
|
2006-02-16 11:26:30 +01:00
|
|
|
CONFLICTS+= ffmpeg-devel-[0-9]*
|
|
|
|
|
|
|
|
REPLACE_PERL= doc/texi2pod.pl
|
|
|
|
|
2004-06-20 04:36:24 +02:00
|
|
|
CONF_FILES= ${PREFIX}/share/examples/ffmpeg/ffserver.conf \
|
|
|
|
${PKG_SYSCONFDIR}/ffserver.conf
|
|
|
|
|
2006-02-16 11:26:30 +01:00
|
|
|
MAKE_ENV+= EXTRA_LIBS=${LIBGETOPT:Q} \
|
|
|
|
FFSERVER_CONF=${PKG_SYSCONFDIR}/ffserver.conf \
|
2005-05-25 05:39:44 +02:00
|
|
|
LOCALBASE=${LOCALBASE:Q}
|
2004-05-10 15:41:10 +02:00
|
|
|
|
2006-02-16 11:26:30 +01:00
|
|
|
CONFIGURE_ARGS= --cc=${CC:Q} --prefix=${PREFIX:Q}
|
|
|
|
CONFIGURE_ARGS+= --enable-pp --disable-vhook --disable-debug
|
|
|
|
CONFIGURE_ARGS+= --enable-gpl
|
|
|
|
CONFIGURE_ARGS+= --enable-ffplay
|
2004-06-20 01:15:12 +02:00
|
|
|
|
2006-02-16 11:26:30 +01:00
|
|
|
.include "options.mk"
|
2004-08-30 00:43:50 +02:00
|
|
|
|
2004-05-10 15:41:10 +02:00
|
|
|
post-install:
|
2004-06-20 04:36:24 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ffmpeg \
|
|
|
|
${PREFIX}/share/doc/ffmpeg \
|
|
|
|
${PREFIX}/include/ffmpeg/libpostproc
|
2004-05-10 15:41:10 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/libavcodec/apiexample.c \
|
|
|
|
${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 \
|
2004-05-10 15:41:10 +02:00
|
|
|
${PREFIX}/share/doc/ffmpeg
|
2006-02-16 11:26:30 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${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 \
|
2004-05-10 15:41:10 +02:00
|
|
|
${PREFIX}/share/examples/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
|
|
|
# ffplay not installed
|
2006-02-16 11:26:30 +01:00
|
|
|
if [ -f ${PREFIX}/man/man1/ffplay.1 ]; then \
|
|
|
|
${RM} ${PREFIX}/man/man1/ffplay.1 ; \
|
|
|
|
fi
|
2004-06-20 04:36:24 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/libavcodec/libpostproc/postprocess.h \
|
|
|
|
${PREFIX}/include/ffmpeg/libpostproc
|
2004-05-10 15:41:10 +02:00
|
|
|
|
|
|
|
.include "../../devel/libgetopt/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|