BSD Ports

multimedia/libmpeg2 0.5.1_1 MidnightBSD

Free library for decoding mpeg-2 and mpeg-1 video streams

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
gpl2
Categories
multimedia

Description

[ excerpt from developer's site ] It is a free library for decoding mpeg-2 and mpeg-1 video streams. The main goals in libmpeg2 development are:

Conformance - libmpeg2 is able to decode all mpeg streams that conform to certain restrictions: "constrained parameters" for mpeg-1, and "main profile" for mpeg-2. In practice, this is what most people are using. For streams that follow these restrictions, we believe libmpeg2 is 100% conformant to the mpeg standards - and we have a pretty extensive test suite to check this.

Speed - for most current systems, the display will actually take more time than the mpeg-2 decoding. For systems that have hardware color conversion and scaling (as we can use with the xv extension in Xfree 4), you should be able to watch DVD streams on a Celeron 400. On a PIII/666 with null display you should get about 110 frames per second.

Portability - most of the code is written in C, and when we use platform-specific optimizations we always have a generic C routine to fall back on.

In the other systems

SystemPortVersion
MidnightBSDmultimedia/libmpeg20.5.1_1
FreeBSDmultimedia/libmpeg20.5.1_8
OpenBSDgraphics/libmpeg20.5.1p5
NetBSDmultimedia/libmpeg20.5.1
DragonFlymultimedia/libmpeg20.5.1_8

Install

Binary package:

mport install libmpeg2

From mports:

cd /usr/mports/multimedia/libmpeg2 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libmpeg2>0:multimedia/libmpeg2
LIB_DEPENDS=	libmpeg2.so:multimedia/libmpeg2

Dependencies

Required by 1

Configuration

Options name: multimedia_libmpeg2

OptionDefaultDescription
DOCSoff
SDLoff
X11off
USES
libtool pathfix
Service scripts
none

Files

Manual pages 2
  • extract_mpeg2(1)
  • mpeg2dec(1)
pkg-plist 19
  • bin/corrupt_mpeg2
  • bin/extract_mpeg2
  • bin/mpeg2dec
  • include/mpeg2dec/mpeg2.h
  • include/mpeg2dec/mpeg2convert.h
  • include/mpeg2dec/video_out.h
  • lib/libmpeg2.a
  • lib/libmpeg2.so
  • lib/libmpeg2.so.0
  • lib/libmpeg2.so.0.1.0
  • lib/libmpeg2convert.a
  • lib/libmpeg2convert.so
  • lib/libmpeg2convert.so.0
  • lib/libmpeg2convert.so.0.0.0
  • lib/libvo.a
  • libdata/pkgconfig/libmpeg2.pc
  • libdata/pkgconfig/libmpeg2convert.pc
  • share/man/man1/extract_mpeg2.1.gz
  • share/man/man1/mpeg2dec.1.gz
distinfo 1
FileSizeSHA256
libmpeg2-0.5.1.tar.gz524776dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4
Master sites 1
  • http://libmpeg2.sourceforge.net/files/