From owner-freebsd-ports Tue Jun 11 13:13:40 2002 Delivered-To: freebsd-ports@freebsd.org Received: from skaarup.org (skaarup.org [130.228.230.140]) by hub.freebsd.org (Postfix) with SMTP id 780A837B409 for ; Tue, 11 Jun 2002 13:13:37 -0700 (PDT) Received: (qmail 41280 invoked by uid 0); 11 Jun 2002 20:13:30 -0000 Received: from localhost (HELO skaarup.org) (127.0.0.1) by localhost with SMTP; 11 Jun 2002 20:13:26 -0000 Received: (qmail 41264 invoked by uid 1039); 11 Jun 2002 20:13:26 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 11 Jun 2002 20:13:26 -0000 Date: Tue, 11 Jun 2002 22:13:26 +0200 (CEST) From: Rasmus Skaarup To: Alexandr Kovalenko Cc: freebsd-ports@FreeBSD.ORG Subject: Re: mpeg/mp3 recognition tool In-Reply-To: <20020611183538.GA79023@nevermind.kiev.ua> Message-ID: <20020611220558.N41178-100000@skaarup.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS perl-11 @skaarup.org 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 On Tue, 11 Jun 2002, Alexandr Kovalenko wrote: > Hello, Rasmus Skaarup! > > On Tue, Jun 11, 2002 at 08:33:05PM +0200, you wrote: > > > I am hoping some of you tool-gurus knows a tool which can recognize > > mpeg/mp3/avi/whatever files by the header/footer of the file? > file(1) I normally use FreeBSD myself (which is why I am asking you guys), but some customers require Solaris or Tru64 to do the job, which is why I want a tool either in a portable script language (perl for instance) or a piece of portable C-code which compiles on a fair bit of the commercial UNIX platforms (Solaris and Tru64 at least). I obviously forgot to mention that, sorry. I haven't tried pulling the 'file' utility out of the source tree, but would that code work without modifications on another platform? Sincerely, Rasmus Skaarup To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message