From aa9969dbcfca36106b6c9a37554221ecd621afd0 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Thu, 11 Dec 2003 21:07:25 +0000 Subject: This is a first attempt at a wrapper for the lib'ified mpeg2enc of mjpegtools. Currently, there's a few release candi... Original commit message from CVS: This is a first attempt at a wrapper for the lib'ified mpeg2enc of mjpegtools. Currently, there's a few release candidates for mjpegtools-1.6.2 available, but no stable version yet. I've made 4 small subclasses to wrap input, output, options and generic encoding model. The last .cc file is the GStreamer plugin element. Note that it doesn't actually work yet, I'm doing something wrong with header parsing and Andrew asked me to commit so he could help debugging that. Apart from that, we should soon be able to make top-quality MPEG encodes! :). mpeg2enc licensing is tricky, btw, I don't even want to start discussing that... --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f380cf09..6126372f 100644 --- a/configure.ac +++ b/configure.ac @@ -1029,6 +1029,16 @@ GST_CHECK_FEATURE(MPEG2DEC, [mpeg2dec], mpeg2dec, [ AC_SUBST(MPEG2DEC_LIBS) ]) +dnl *** mpeg2enc *** +translit(dnm, m, l) AM_CONDITIONAL(USE_MPEG2ENC, true) +GST_CHECK_FEATURE(MPEG2ENC, [mpeg2enc], mpeg2enc, [ + PKG_CHECK_MODULES(MPEG2ENC, mjpegtools >= 1.6.1.92, + HAVE_MPEG2ENC="yes", HAVE_MPEG2ENC="no") + MPEG2ENC_LIBS="$MPEG2ENC_LIBS -lmpeg2encpp" + AC_SUBST(MPEG2ENC_CFLAGS) + AC_SUBST(MPEG2ENC_LIBS) +]) + dnl *** mplex *** translit(dnm, m, l) AM_CONDITIONAL(USE_MPLEX, true) GST_CHECK_FEATURE(MPLEX, [mplex], mplex, [HAVE_MPLEX=$HAVE_CXX]) @@ -1460,6 +1470,7 @@ ext/mad/Makefile ext/mas/Makefile ext/mikmod/Makefile ext/mpeg2dec/Makefile +ext/mpeg2enc/Makefile ext/mplex/Makefile ext/ogg/Makefile ext/pango/Makefile -- cgit v1.2.1