Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 1999 12:09:24 +0200
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Cc:        Jonathan Belson <jon@dookie.demon.co.uk>, David Kelly <dkelly@hiwaay.net>, freebsd-questions@FreeBSD.ORG, Nathan Ahlstrom <nrahlstr@winternet.com>, ports@FreeBSD.ORG
Subject:   Re: viewing .AVI files?
Message-ID:  <19990412120924.A15464@internal>
In-Reply-To: <19990412110116.A14566@internal>; from Andre Albsmeier on Mon, Apr 12, 1999 at 11:01:16AM %2B0200
References:  <199904100340.WAA72429@nospam.hiwaay.net> <XFMail.990410114021.jon@dookie.demon.co.uk> <19990412095555.A91706@internal> <19990412110116.A14566@internal>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 12-Apr-1999 at 11:01:16 +0200, Andre Albsmeier wrote:
> On Mon, 12-Apr-1999 at 09:55:55 +0200, Andre Albsmeier wrote:
> > On Sat, 10-Apr-1999 at 11:40:21 +0100, Jonathan Belson wrote:
> > > 
> > > On 10-Apr-99 David Kelly wrote:
> > > >> > 
> > > >> > This found too many things, incorrectly:
> > > >> > % make search key=avi
> > > >> > 
> > > >> > Any way to view such a file on FreeBSD?
> > > >> 
> > > >> You might try Xanim.  /usr/ports/graphics/xanim.
> > > > 
> > > > Well, it was worth a try:
> > > > 
> > > > nospam: {1139} xanim *.avi &
> > > > [4] 72396
> > > > nospam: {1140} XAnim Rev 2.80.0 by Mark Podlipec Copyright (C) 1991-1999. All
> > > > Rights Reserved
> > > > AVI Video Codec: Intel Indeo R3.2 is unsupported by this executable.(E18)
> > > >       Please see the file "indeo.readme".
> > > >   AVI Notice: No supported Video frames - treating as audio only file
> > > 
> > > Intel are very possessive  when it comes to their AVI codecs.  AIUI
> > > they let Mark have the necessary files under NDA, but he can only
> > > release the decoder in object format.  This is explained in the
> > > documentation.  
> > 
> > 
> > Interesting. The older version does it:
> > 
> > andre@bali:~>xanim  +Aev90 +Sr +Wp +Zper +v video.avi  
> > XAnim Rev 2.70.7.0 by Mark Podlipec (c) 1991-1998
> > Reading RIFF AVI File video.avi
> >   Video Codec: Intel Indeo R3.2 depth=24
> >   Audio Codec: MS ADPCM Rate=11025 Chans=1 bps=4
> >   Frame Stats: Size=240x180  Frames=228  fps=12.0
> > 
> > 
> > The AVI File runs great. Including audio...
> > 
> > Either the port or xanim 2.8 is broken...
> 
> Have to quote myself:
> 
> The port is broken. The following patch to the port Makefile
> fixes it:
> 
> --- Makefile.ORI	Mon Apr 12 10:57:50 1999
> +++ Makefile	Mon Apr 12 10:53:29 1999
> @@ -18,8 +18,8 @@
>  EXTRACT_ONLY=   ${DISTNAME}.tar.gz
>  USE_IMAKE=	yes
>  MAN1=		xanim.1
> -MAKE_ENV=	XA_IV32_DEF=-DXA_INDEO \
> -		XA_CVID_DEF=-DXA_CINEPAK \
> +MAKE_ENV=	XA_IV32_DEF=-DXA_IV32 \
> +		XA_CVID_DEF=-DXA_CVID \
>  		XA_CYUV_DEF=-DXA_CYUV
>  
>  .include <bsd.port.pre.mk>


One more followup: I even managed to use the external loadable modules
from ftp://xanim.va.pubnix.com/modules :-) This is what I have done:

1. mget *c5.tgz from ftp://xanim.va.pubnix.com/modules
2. gunzip and untar them all
3. mv vid*.xa to /some/dir
4. export XANIM_MOD_DIR=/some/dir
5. export LD_LIBRARY_PATH=/compat/linux/lib (linux emu must be installed of course).
6. run xanim 2.80.0 from the ports

Step 5 is only neccessary to satisfy the need for _IO_stderr_ needed by some
of the vid*.xa files. This is a hack and there is surely a more elegant solution...

Now, I finally got indeo 4.1 and indeo 5.0 support!!! 

	-Andre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990412120924.A15464>