pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/ffmpeg Update to 0.4.8, and install the hea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6296a68ea9ef
branches:  trunk
changeset: 475771:6296a68ea9ef
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue May 25 21:49:26 2004 +0000

description:
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)

diffstat:

 multimedia/ffmpeg/Makefile         |   26 ++----
 multimedia/ffmpeg/PLIST            |   61 ++++++-----------
 multimedia/ffmpeg/buildlink3.mk    |   18 +++++
 multimedia/ffmpeg/distinfo         |   17 ++--
 multimedia/ffmpeg/patches/patch-aa |   27 ++++---
 multimedia/ffmpeg/patches/patch-ab |   39 ++---------
 multimedia/ffmpeg/patches/patch-ac |  125 ++++++++++++++++++++++++++++--------
 multimedia/ffmpeg/patches/patch-ad |   49 +++++++++-----
 multimedia/ffmpeg/patches/patch-ae |   43 ++++++------
 multimedia/ffmpeg/patches/patch-af |   27 -------
 10 files changed, 232 insertions(+), 200 deletions(-)

diffs (truncated from 572 to 300 lines):

diff -r 885c0eaf6b1c -r 6296a68ea9ef multimedia/ffmpeg/Makefile
--- a/multimedia/ffmpeg/Makefile        Tue May 25 21:30:27 2004 +0000
+++ b/multimedia/ffmpeg/Makefile        Tue May 25 21:49:26 2004 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/05/10 13:41:10 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2004/05/25 21:49:26 wiz Exp $
 
-DISTNAME=      ffmpeg-0.4.5
-PKGREVISION=   2
+DISTNAME=      ffmpeg-0.4.8
 CATEGORIES=    multimedia net
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ffmpeg/}
 
@@ -11,7 +10,6 @@
 
 BUILD_DEPENDS+=        nasm>=0.98:../../devel/nasm
 
-WRKSRC=                ${WRKDIR}/ffmpeg
 HAS_CONFIGURE= YES
 USE_BUILDLINK3=        YES
 USE_GNU_TOOLS+=        make
@@ -21,26 +19,22 @@
                LOCALBASE="${LOCALBASE}"
 
 CONFIGURE_ARGS=        --cc=${CC} --disable-grab --disable-mmx --prefix=${PREFIX}
+CONFIGURE_ARGS+=       --disable-vhook
 
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/include/libav
-       ${INSTALL_DATA_DIR} ${PREFIX}/include/libavcodec
-       ${INSTALL_DATA_DIR} ${PREFIX}/include/libavcodec/i386
-       ${INSTALL_DATA_DIR} ${PREFIX}/include/libavcodec/libac3
-       ${INSTALL_DATA} ${WRKSRC}/libav/*.h ${PREFIX}/include/libav
-       ${INSTALL_DATA} ${WRKSRC}/libavcodec/*.h ${PREFIX}/include/libavcodec
-       ${INSTALL_DATA} ${WRKSRC}/libavcodec/i386/*.h \
-               ${PREFIX}/include/libavcodec/i386
-       ${INSTALL_DATA} ${WRKSRC}/libavcodec/libac3/*.h \
-               ${PREFIX}/include/libavcodec/libac3
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ffmpeg \
                ${PREFIX}/share/examples/ffmpeg
        ${INSTALL_DATA} ${WRKSRC}/libavcodec/apiexample.c \
                ${PREFIX}/share/doc/ffmpeg
-       ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/doc/* \
+       ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/doc/TODO \
+               ${PREFIX}/share/doc/ffmpeg
+       ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.txt \
                ${PREFIX}/share/doc/ffmpeg
-       ${MV} ${PREFIX}/share/doc/ffmpeg/ffserver.conf \
+       ${INSTALL_DATA} ${WRKSRC}/doc/ffserver.conf \
                ${PREFIX}/share/examples/ffmpeg
+       # ffplay not installed
+       ${RM} ${PREFIX}/man/man1/ffplay.1
 
 .include "../../devel/libgetopt/buildlink3.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 885c0eaf6b1c -r 6296a68ea9ef multimedia/ffmpeg/PLIST
--- a/multimedia/ffmpeg/PLIST   Tue May 25 21:30:27 2004 +0000
+++ b/multimedia/ffmpeg/PLIST   Tue May 25 21:49:26 2004 +0000
@@ -1,51 +1,36 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/10 13:41:10 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/05/25 21:49:26 wiz Exp $
 bin/ffmpeg
 bin/ffserver
-include/libav/avformat.h
-include/libav/avi.h
-include/libav/avio.h
-include/libavcodec/ac3enc.h
-include/libavcodec/ac3tab.h
-include/libavcodec/avcodec.h
-include/libavcodec/common.h
-include/libavcodec/dsputil.h
-include/libavcodec/fastmemcpy.h
-include/libavcodec/h263data.h
-include/libavcodec/i386/dsputil_mmx_avg.h
-include/libavcodec/i386/mmx.h
-include/libavcodec/libac3/ac3.h
-include/libavcodec/libac3/ac3_internal.h
-include/libavcodec/libac3/bitstream.h
-include/libavcodec/libac3/tables.h
-include/libavcodec/mpeg12data.h
-include/libavcodec/mpeg4data.h
-include/libavcodec/mpegaudio.h
-include/libavcodec/mpegaudiotab.h
-include/libavcodec/mpegvideo.h
-include/libavcodec/msmpeg4data.h
-lib/libav.a
-lib/libav.la
-lib/libav.so
-lib/libav.so.0
-lib/libav.so.0.0
+include/ffmpeg/avcodec.h
+include/ffmpeg/avformat.h
+include/ffmpeg/avio.h
+include/ffmpeg/common.h
+include/ffmpeg/rtp.h
+include/ffmpeg/rtsp.h
+include/ffmpeg/rtspcodes.h
 lib/libavcodec.a
 lib/libavcodec.la
 lib/libavcodec.so
 lib/libavcodec.so.0
 lib/libavcodec.so.0.0
-share/doc/ffmpeg/FAQ
+lib/libavformat.a
+lib/libavformat.la
+lib/libavformat.so
+lib/libavformat.so.0
+lib/libavformat.so.0.0
+man/man1/ffmpeg.1
+man/man1/ffserver.1
 share/doc/ffmpeg/README
-share/doc/ffmpeg/README.dev
-share/doc/ffmpeg/README.tech
 share/doc/ffmpeg/TODO
 share/doc/ffmpeg/apiexample.c
-share/doc/ffmpeg/bench.txt
-share/doc/ffmpeg/ffmpeg.txt
-share/doc/ffmpeg/ffserver.txt
+share/doc/ffmpeg/faq.html
+share/doc/ffmpeg/ffmpeg-doc.html
+share/doc/ffmpeg/ffmpeg_powerpc_performance_evaluation_howto.txt
+share/doc/ffmpeg/ffplay-doc.html
+share/doc/ffmpeg/ffserver-doc.html
+share/doc/ffmpeg/hooks.html
+share/doc/ffmpeg/optimization.txt
 share/examples/ffmpeg/ffserver.conf
 @dirrm share/examples/ffmpeg
 @dirrm share/doc/ffmpeg
-@dirrm include/libavcodec/libac3
-@dirrm include/libavcodec/i386
-@dirrm include/libavcodec
-@dirrm include/libav
+@dirrm include/ffmpeg
diff -r 885c0eaf6b1c -r 6296a68ea9ef multimedia/ffmpeg/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/ffmpeg/buildlink3.mk   Tue May 25 21:49:26 2004 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/25 21:49:26 wiz Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+FFMPEG_BUILDLINK3_MK:= ${FFMPEG_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    ffmpeg
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nffmpeg}
+BUILDLINK_PACKAGES+=   ffmpeg
+
+.if !empty(FFMPEG_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.ffmpeg+=     ffmpeg>=0.4.8
+BUILDLINK_PKGSRCDIR.ffmpeg?=   ../../multimedia/ffmpeg
+.endif # FFMPEG_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 885c0eaf6b1c -r 6296a68ea9ef multimedia/ffmpeg/distinfo
--- a/multimedia/ffmpeg/distinfo        Tue May 25 21:30:27 2004 +0000
+++ b/multimedia/ffmpeg/distinfo        Tue May 25 21:49:26 2004 +0000
@@ -1,10 +1,9 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/05/10 13:41:10 wiz Exp $
+$NetBSD: distinfo,v 1.2 2004/05/25 21:49:26 wiz Exp $
 
-SHA1 (ffmpeg-0.4.5.tar.gz) = 7d99250eb20c45b77a08e00ecad1f73d11f57cb8
-Size (ffmpeg-0.4.5.tar.gz) = 280506 bytes
-SHA1 (patch-aa) = e2e7ca0465ea69514a6b36e93451ea7eaca0513c
-SHA1 (patch-ab) = e5035ac9a90054fbf11dc7aad52f37a1d6d866f5
-SHA1 (patch-ac) = 1b009f7878ec4b85c0204db210ce26b337422820
-SHA1 (patch-ad) = db06e7ab8d60f523e02051339c5a0b66f8ac497f
-SHA1 (patch-ae) = d0f681ed5878c5e49c3daa956a7e0f28bdaf2b05
-SHA1 (patch-af) = baaaf9349633d7e210d2841b80608100650432e2
+SHA1 (ffmpeg-0.4.8.tar.gz) = 629a0f8f4daa3da1dedd8ba58bfdec4c47581bb4
+Size (ffmpeg-0.4.8.tar.gz) = 1352874 bytes
+SHA1 (patch-aa) = ed0dadc9112d8ae1cdcb30bc08f7e8c27195e027
+SHA1 (patch-ab) = f596db3c555ab772eae2da5b8144c23fb4f2eaa0
+SHA1 (patch-ac) = 6f137ca14131e00c2db89cbe44657f32f3513e98
+SHA1 (patch-ad) = 38ce2de4fd721ed0832669ffb9e30f4a909e10b2
+SHA1 (patch-ae) = 101684310347c26205ff07acfbb62af16e5f633b
diff -r 885c0eaf6b1c -r 6296a68ea9ef multimedia/ffmpeg/patches/patch-aa
--- a/multimedia/ffmpeg/patches/patch-aa        Tue May 25 21:30:27 2004 +0000
+++ b/multimedia/ffmpeg/patches/patch-aa        Tue May 25 21:49:26 2004 +0000
@@ -1,12 +1,17 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/05/10 13:41:10 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2004/05/25 21:49:26 wiz Exp $
 
---- configure.orig     Tue Mar 19 13:11:44 2002
-+++ configure  Tue Mar 19 13:09:04 2002
-@@ -77,7 +77,6 @@
- fi
- 
- echo "prefix=$prefix" >> config.mak
--echo "MAKE=make" >> config.mak
- echo "CC=$cc" >> config.mak
- echo "AR=$ar" >> config.mak
- echo "OPTFLAGS=$CFLAGS" >> config.mak
+--- configure.orig     2003-09-28 17:26:39.000000000 +0200
++++ configure
+@@ -148,11 +148,10 @@ FFSLDFLAGS=""
+ need_inet_aton="yes"
+ extralibs="$extralibs -lsocket -lnsl"
+ ;;
+-FreeBSD)
++FreeBSD|NetBSD)
+ v4l="no"
+ audio_oss="yes"
+ dv1394="no"
+-make="gmake"
+ LDFLAGS="$LDFLAGS -export-dynamic"
+ ;;
+ BSD/OS)
diff -r 885c0eaf6b1c -r 6296a68ea9ef multimedia/ffmpeg/patches/patch-ab
--- a/multimedia/ffmpeg/patches/patch-ab        Tue May 25 21:30:27 2004 +0000
+++ b/multimedia/ffmpeg/patches/patch-ab        Tue May 25 21:49:26 2004 +0000
@@ -1,45 +1,22 @@
-$NetBSD: patch-ab,v 1.1.1.1 2004/05/10 13:41:10 wiz Exp $
+$NetBSD: patch-ab,v 1.2 2004/05/25 21:49:26 wiz Exp $
 
---- ffserver.c.orig    2001-08-14 17:38:17.000000000 -0500
+--- ffserver.c.orig    2003-09-28 17:26:39.000000000 +0200
 +++ ffserver.c
-@@ -20,6 +20,7 @@
- #include <stdlib.h>
- #include <stdio.h>
- #include <string.h>
-+#include <sys/types.h>
- #include <netinet/in.h>
- #include <unistd.h>
- #include <fcntl.h>
-@@ -28,8 +29,9 @@
- #include <errno.h>
- #include <sys/time.h>
- #include <time.h>
-+#ifndef __FreeBSD__
- #include <getopt.h>
--#include <sys/types.h>
-+#endif
- #include <sys/socket.h>
- #include <arpa/inet.h>
- #include <netdb.h>
-@@ -1491,7 +1493,7 @@ void help(void)
+@@ -4488,7 +4488,7 @@ static void show_help(void)
             "\n"
-            "-L            : print the LICENCE\n"
+            "-L            : print the LICENSE\n"
             "-h            : this help\n"
 -           "-f configfile : use configfile instead of /etc/ffserver.conf\n"
 +           "-f configfile : use configfile instead of " FFSERVER_CONF "\n"
             );
  }
  
-@@ -1523,10 +1525,10 @@ int main(int argc, char **argv)
+@@ -4546,7 +4546,7 @@ int main(int argc, char **argv)
  
-     register_all();
+     av_register_all();
  
 -    config_filename = "/etc/ffserver.conf";
 +    config_filename = FFSERVER_CONF;
  
-     for(;;) {
--        c = getopt_long_only(argc, argv, "Lh?f:", NULL, NULL);
-+        c = getopt(argc, argv, "Lh?f:");
-         if (c == -1)
-             break;
-         switch(c) {
+     my_program_name = argv[0];
+     my_program_dir = getcwd(0, 0);
diff -r 885c0eaf6b1c -r 6296a68ea9ef multimedia/ffmpeg/patches/patch-ac
--- a/multimedia/ffmpeg/patches/patch-ac        Tue May 25 21:30:27 2004 +0000
+++ b/multimedia/ffmpeg/patches/patch-ac        Tue May 25 21:49:26 2004 +0000
@@ -1,41 +1,108 @@
-$NetBSD: patch-ac,v 1.1.1.1 2004/05/10 13:41:10 wiz Exp $
+$NetBSD: patch-ac,v 1.2 2004/05/25 21:49:26 wiz Exp $
 
---- Makefile.orig      Wed Aug 15 15:12:07 2001
-+++ Makefile   Fri Mar 22 12:43:45 2002
-@@ -3,8 +3,8 @@
- #
- include config.mak
+--- Makefile.orig      2003-09-28 17:26:39.000000000 +0200
++++ Makefile
+@@ -6,8 +6,7 @@ include config.mak
  
--CFLAGS= $(OPTFLAGS) -Wall -g -I./libavcodec -I./libav 
--LDFLAGS= -g 
-+CFLAGS= $(OPTFLAGS) -Wall -I./libavcodec -I./libav -I$(LOCALBASE)/include 
-+LDFLAGS= -L$(LOCALBASE)/lib
+ VPATH=$(SRC_PATH)
+ 
+-CFLAGS= $(OPTFLAGS) -Wall -g -I. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
+-LDFLAGS+= -g 
++CFLAGS= $(OPTFLAGS) -Wall -I. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
+ 
  ifeq ($(TARGET_GPROF),yes)
  CFLAGS+=-p
- LDFLAGS+=-p
-@@ -18,17 +18,19 @@
+@@ -42,6 +41,8 @@ ifeq ($(CONFIG_VORBIS),yes)
+ EXTRALIBS+=-logg -lvorbis -lvorbisenc
+ endif



Home | Main Index | Thread Index | Old Index