From owner-freebsd-ports Sat Jun 23 8:20:14 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B3B9837B40A for ; Sat, 23 Jun 2001 08:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5NFK3317561; Sat, 23 Jun 2001 08:20:03 -0700 (PDT) (envelope-from gnats) Received: from ksmail.netcologne.de (mailrelay.netcologne.de [194.8.194.96]) by hub.freebsd.org (Postfix) with ESMTP id 281E137B401 for ; Sat, 23 Jun 2001 08:11:31 -0700 (PDT) (envelope-from marc@van.woerkom@netcologne.de) Received: from oranje.my.domain (dial-195-14-250-100.netcologne.de [195.14.250.100]) by ksmail.netcologne.de (8.9.3/8.9.3) with ESMTP id RAA23725 for ; Sat, 23 Jun 2001 17:11:30 +0200 (MET DST) Received: (from marc@localhost) by oranje.my.domain (8.11.3/8.11.3) id f5NFAfv28221; Sat, 23 Jun 2001 17:10:41 +0200 (CEST) (envelope-from marc) Message-Id: <200106231510.f5NFAfv28221@oranje.my.domain> Date: Sat, 23 Jun 2001 17:10:41 +0200 (CEST) From: Marc.van.Woerkom@van.woerkom@netcologne.de Reply-To: 3d@freebsd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/28366: New port: ac3dec-0.6.1 (AC3 from mpeg extractor and AC3 decoder) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28366 >Category: ports >Synopsis: New port: ac3dec-0.6.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jun 23 08:20:02 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Marc van Woerkom >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD oranje.my.domain 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed May 2 18:47:49 CEST 2001 marc@oranje.my.domain:/usr3/obj/usr/src/sys/ORANJE i386 >Description: ac3dec-0.6.1 features two nifty tools: - extract_ac3 allows to extract the AC3 audio stream from one of those ubiquitous mpeg/VOB trailers, into an .ac3 file for example - ac3dec decodes an AC3 stream and plays it on your audio device I tested it with the AC3 5.1 chanel testfile from http://www.digital-digest.com/dvd/downloads/trailers.html You will need the rar archiver from the ports collection to extract the VOB from that ac3test.exe Except for an "unexpected end of stream" message where I am not sure if this is a bug or a feature, it worked fine. Have fun, Marc >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ac3dec # ac3dec/pkg-comment # ac3dec/Makefile # ac3dec/distinfo # ac3dec/pkg-descr # ac3dec/pkg-plist # echo c - ac3dec mkdir -p ac3dec > /dev/null 2>&1 echo x - ac3dec/pkg-comment sed 's/^X//' >ac3dec/pkg-comment << 'END-of-ac3dec/pkg-comment' XSoftware for research in digital audio coding/decoding END-of-ac3dec/pkg-comment echo x - ac3dec/Makefile sed 's/^X//' >ac3dec/Makefile << 'END-of-ac3dec/Makefile' X# New ports collection makefile for: ac3dev X# Date created: 23 Jun 2001 X# Whom: Marc van Woerkom <3d@freebsd.org> X# X# $FreeBSD: $ X# X XPORTNAME= ac3dec XPORTVERSION= 0.6.1 XCATEGORIES= audio XMASTER_SITES= http://gusnet.cx/aaron/codecs/tarballs/ X XMAINTAINER= 3d@freebsd.org X XGNU_CONFIGURE= yes X XUSE_NEWGCC= yes X Xpre-install: X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/ac3dec X ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ac3dec/README X.endif X X.include END-of-ac3dec/Makefile echo x - ac3dec/distinfo sed 's/^X//' >ac3dec/distinfo << 'END-of-ac3dec/distinfo' XMD5 (ac3dec-0.6.1.tar.gz) = 92b8d3af8d0d06318bb2bb04b8093eef END-of-ac3dec/distinfo echo x - ac3dec/pkg-descr sed 's/^X//' >ac3dec/pkg-descr << 'END-of-ac3dec/pkg-descr' X "This software is completely useless to 99.99 percent of users X out there. It is mostly of use to those interested in audio X coding research and evaluating codecs. It could theoretically X be used as a portion of a DVD playback system for unix systems. X There are issues with DVD encryption and licensing that need to be X resolved however." X Xfrom the original README file X XWWW: http://ess.engr.uvic.ca/~aholtzma/ac3 END-of-ac3dec/pkg-descr echo x - ac3dec/pkg-plist sed 's/^X//' >ac3dec/pkg-plist << 'END-of-ac3dec/pkg-plist' Xbin/ac3dec Xbin/extract_ac3 Xshare/doc/ac3dec/README X@dirrm share/doc/ac3dec X END-of-ac3dec/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message