BSD Ports

audio/liba52 0.8.0 MidnightBSD

Free library for decoding ATSC A/52 streams, aka AC-3

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

Description

[ from developer's site ] It is a free library for decoding ATSC A/52 streams, aka AC-3. The A/52 standard is used in a variety of applications, e.g., digital television and DVD. The main goals in liba52 development are:

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.

Reusability - we do not want liba52 to include any project-specific code, but it should still include enough features to be used by very diverse projects.

Precision - We are trying to implement all of the A/52 standard, and to have a very precise output by doing all the calculations in floating point. We have a test suite that detects any deviation in the output when compared to previous versions. We do not have access to official A/52 test vectors though, so we have to use our judgement to ensure that such deviations are only introduced when we fix bugs!

Speed - liba52 is really fast, on any modern PC it should take only a few percent of CPU time.

In the other systems

SystemPortVersion
MidnightBSDaudio/liba520.8.0
FreeBSDaudio/liba520.8.0_2
OpenBSDaudio/liba520.7.5p4
NetBSDaudio/liba520.7.4nb3
DragonFlyaudio/liba520.8.0_2
HardenedBSDaudio/liba520.8.0_2
GhostBSDaudio/liba520.8.0_2

Install

Binary package:

mport install liba52

From mports:

cd /usr/mports/audio/liba52 && make install clean

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

RUN_DEPENDS=	liba52>0:audio/liba52
LIB_DEPENDS=	liba52.so:audio/liba52

Dependencies

Required by 1

Configuration

Options name: audio_liba52

OptionDefaultDescription
DOCSoff
USES
autoreconf libtool pathfix
Service scripts
none

Files

Manual pages 2
  • a52dec(1)
  • extract_a52(1)
pkg-plist 15
  • bin/a52dec
  • bin/extract_a52
  • include/a52dec/a52.h
  • include/a52dec/a52_internal.h
  • include/a52dec/attributes.h
  • include/a52dec/audio_out.h
  • include/a52dec/mm_accel.h
  • lib/liba52.so.0.0.0
  • lib/liba52.so.0
  • lib/liba52.so
  • lib/liba52.a
  • libdata/pkgconfig/liba52.pc
  • share/man/man1/a52dec.1.gz
  • share/man/man1/extract_a52.1.gz
  • share/doc/liba52/liba52.txt
distinfo 1
FileSizeSHA256
a52dec-0.8.0.tar.gz45619203c181ce9c3fe0d2f5130de18dab9bd8bc63c354071515aa56983c74a9cffcc9
Master sites 1
  • https://distfiles.adelielinux.org/source/a52dec/