FFMPEG install on 10.4.11, errors compiling and also using port

i've got an older white macbook running 10.4.11. about 5 years old i think.

trying to install ffmpeg in 2 different ways. having errors on both.
first tried this one:
ffmpeg installation on Mac OSX

and i got this error when i got down to "make" on the ffmpeg itself

make(350) malloc: *** vm_allocate(size=4272988160) failed (error code=3)
make(350) malloc: *** error: can't allocate region
make(350) malloc: *** set a breakpoint in szone_error to debug
make: *** virtual memory exhausted.  Stop.

rebooted and tried it fresh. same result.

then i tried to install using mac ports
which installed and built a whole bunch of dependencies and then failed on the ffmpeg build.

--->  Building ffmpeg
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for ffmpeg is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

the last relevant bit of the log is (i think)

:notice:build --->  Building ffmpeg
:debug:build Executing org.macports.build (ffmpeg)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt
/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_rel
ease_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/.CC_PRINT_OPTIONS' LIBRARY_PAT
H='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.4' V='1'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_va
r_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/f
fmpeg/work/ffmpeg-0.7.6" && /opt/local/bin/gmake -j2 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_loc
al_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffm
peg/ffmpeg/work/ffmpeg-0.7.6" && /opt/local/bin/gmake -j2 -w all 
:info:build gmake: Entering directory `/opt/local/var/macports/build/_opt_local_
var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg
/ffmpeg/work/ffmpeg-0.7.6'
:info:build /usr/bin/gcc-4.0 -dynamiclib -Wl,-single_module -Wl,-install_name,/o
pt/local/lib/libavformat.dylib,-current_version,52.110.0,-compatibility_version,
52 -Wl,-read_only_relocs,suppress -Llibavcodec -Llibavdevice -Llibavfilter -Llib
avformat -Llibavutil -Llibpostproc -Llibswscale -L/opt/local/lib -arch i386 -Wl,
-dynamic,-search_paths_first -o libavformat/libavformat.52.dylib libavformat/4xm
.o libavformat/a64.o libavformat/aacdec.o libavformat/ac3dec.o libavformat/adtse
nc.o libavformat/aea.o libavformat/aiffdec.o libavformat/aiffenc.o libavformat/a
llformats.o libavformat/amr.o libavformat/anm.o libavformat/apc.o libavformat/ap
e.o libavformat/apetag.o libavformat/applehttp.o libavformat/applehttpproto.o li
bavformat/asf.o libavformat/asfcrypt.o libavformat/asfdec.o libavformat/asfenc.o
 libavformat/assdec.o libavformat/assenc.o libavformat/au.o libavformat/audioint
erleave.o libavformat/avc.o libavformat/avi.o libavformat/avidec.o libavformat/a
vienc.o libavformat/avio.o libavformat/aviobuf.o libavformat/avlanguage.o libavf
ormat/avs.o libavformat/bethsoftvid.o libavformat/bfi.o libavformat/bink.o libav
format/c93.o libavformat/caf.o libavformat/cafdec.o libavformat/cafenc.o libavfo
rmat/cavsvideodec.o libavformat/cdg.o libavformat/concat.o libavformat/crcenc.o 
libavformat/crypto.o libavformat/cutils.o libavformat/daud.o libavformat/dfa.o l
ibavformat/diracdec.o libavformat/dnxhddec.o libavformat/dsicin.o libavformat/dt
sdec.o libavformat/dv.o libavformat/dvenc.o libavformat/dxa.o libavformat/eacdat
a.o libavformat/electronicarts.o libavformat/ffmdec.o libavformat/ffmenc.o libav
format/ffmetadec.o libavformat/ffmetaenc.o libavformat/file.o libavformat/filmst
ripdec.o libavformat/filmstripenc.o libavformat/flacdec.o libavformat/flacenc.o 
libavformat/flacenc_header.o libavformat/flic.o libavformat/flvdec.o libavformat
/flvenc.o libavformat/framecrcenc.o libavformat/gif.o libavformat/gopher.o libav
format/gxf.o libavformat/gxfenc.o libavformat/h261dec.o libavformat/h263dec.o li
bavformat/h264dec.o libavformat/http.o libavformat/httpauth.o libavformat/id3v1.
o libavformat/id3v2.o libavformat/idcin.o libavformat/idroqdec.o libavformat/idr
oqenc.o libavformat/iff.o libavformat/img2.o libavformat/ingenientdec.o libavfor
mat/ipmovie.o libavformat/isom.o libavformat/iss.o libavformat/iv8.o libavformat
/ivfdec.o libavformat/ivfenc.o libavformat/jvdec.o libavformat/lmlm4.o libavform
at/lxfdec.o libavformat/m4vdec.o libavformat/matroska.o libavformat/matroskadec.
o libavformat/matroskaenc.o libavformat/md5enc.o libavformat/md5proto.o libavfor
mat/metadata.o libavformat/metadata_compat.o libavformat/microdvddec.o libavform
at/microdvdenc.o libavformat/mm.o libavformat/mmf.o libavformat/mms.o libavforma
t/mmsh.o libavformat/mmst.o libavformat/mov.o libavformat/movenc.o libavformat/m
ovenchint.o libavformat/mp3dec.o libavformat/mp3enc.o libavformat/mpc.o libavfor
mat/mpc8.o libavformat/mpeg.o libavformat/mpegenc.o libavformat/mpegts.o libavfo
rmat/mpegtsenc.o libavformat/mpegvideodec.o libavformat/mpjpeg.o libavformat/msn
wc_tcp.o libavformat/mtv.o libavformat/mvi.o libavformat/mxf.o libavformat/mxfde
c.o libavformat/mxfenc.o libavformat/mxg.o libavformat/ncdec.o libavformat/nsvde
c.o libavformat/nullenc.o libavformat/nut.o libavformat/nutdec.o libavformat/nut
enc.o libavformat/nuv.o libavformat/oggdec.o libavformat/oggenc.o libavformat/og
gparsecelt.o libavformat/oggparsedirac.o libavformat/oggparseflac.o libavformat/
oggparseogm.o libavformat/oggparseskeleton.o libavformat/oggparsespeex.o libavfo
rmat/oggparsetheora.o libavformat/oggparsevorbis.o libavformat/oma.o libavformat
/options.o libavformat/os_support.o libavformat/pcm.o libavformat/pcmdec.o libav
format/pcmenc.o libavformat/pmpdec.o libavformat/psxstr.o libavformat/pva.o liba
vformat/qcp.o libavformat/r3d.o libavformat/rawdec.o libavformat/rawenc.o libavf
ormat/rawvideodec.o libavformat/rdt.o libavformat/riff.o libavformat/rl2.o libav
format/rm.o libavformat/rmdec.o libavformat/rmenc.o libavformat/rpl.o libavforma
t/rso.o libavformat/rsodec.o libavformat/rsoenc.o libavformat/rtmppkt.o libavfor
mat/rtmpproto.o libavformat/rtp.o libavformat/rtpdec.o libavformat/rtpdec_amr.o 
libavformat/rtpdec_asf.o libavformat/rtpdec_h263.o libavformat/rtpdec_h264.o lib
avformat/rtpdec_latm.o libavformat/rtpdec_mpeg4.o libavformat/rtpdec_qcelp.o lib
avformat/rtpdec_qdm2.o libavformat/rtpdec_qt.o libavformat/rtpdec_svq3.o libavfo
rmat/rtpdec_vp8.o libavformat/rtpdec_xiph.o libavformat/rtpenc.o libavformat/rtp
enc_aac.o libavformat/rtpenc_amr.o libavformat/rtpenc_chain.o libavformat/rtpenc
_h263.o libavformat/rtpenc_h264.o libavformat/rtpenc_latm.o libavformat/rtpenc_m
pv.o libavformat/rtpenc_vp8.o libavformat/rtpenc_xiph.o libavformat/rtpproto.o l
ibavformat/rtsp.o libavformat/rtspdec.o libavformat/rtspenc.o libavformat/sapdec
.o libavformat/sapenc.o libavformat/sauce.o libavformat/sdp.o libavformat/seek.o
 libavformat/segafilm.o libavformat/sierravmd.o libavformat/siff.o libavformat/s
macker.o libavformat/sol.o libavformat/soxdec.o libavformat/soxenc.o libavformat
/spdif.o libavformat/spdifdec.o libavformat/spdifenc.o libavformat/srtdec.o liba
vformat/swfdec.o libavformat/swfenc.o libavformat/tcp.o libavformat/thp.o libavf
ormat/tiertexseq.o libavformat/tmv.o libavformat/tta.o libavformat/tty.o libavfo
rmat/txd.o libavformat/udp.o libavformat/utils.o libavformat/vc1test.o libavform
at/vc1testenc.o libavformat/voc.o libavformat/vocdec.o libavformat/vocenc.o liba
vformat/vorbiscomment.o libavformat/vqf.o libavformat/wav.o libavformat/wc3movie
.o libavformat/westwood.o libavformat/wtv.o libavformat/wtvdec.o libavformat/wv.
o libavformat/xa.o libavformat/xwma.o libavformat/yop.o libavformat/yuv4mpeg.o -
lavcodec -lavutil -Wl,-framework,Cocoa -L/opt/local/lib -lSDLmain -lSDL -lxvidco
re -lx264 -lvpx -lvpx -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -
lspeex -L/opt/local/lib -lschroedinger-1.0 -lopenjpeg -lmp3lame -L/opt/local/lib
 -ldirac_encoder -ldirac_decoder -lstdc++ -lm -lbz2 -lz  
:info:build /usr/bin/gcc-4.0 -dynamiclib -Wl,-single_module -Wl,-install_name,/o
pt/local/lib/libswscale.dylib,-current_version,0.14.1,-compatibility_version,0 -
Wl,-read_only_relocs,suppress -Llibavcodec -Llibavdevice -Llibavfilter -Llibavfo
rmat -Llibavutil -Llibpostproc -Llibswscale -L/opt/local/lib -arch i386 -Wl,-dyn
amic,-search_paths_first -o libswscale/libswscale.0.dylib libswscale/options.o l
ibswscale/rgb2rgb.o libswscale/swscale.o libswscale/swscale_unscaled.o libswscal
e/utils.o libswscale/x86/rgb2rgb.o libswscale/x86/swscale_mmx.o libswscale/x86/y
uv2rgb_mmx.o libswscale/yuv2rgb.o -lavutil -Wl,-framework,Cocoa -L/opt/local/lib
 -lSDLmain -lSDL -lxvidcore -lx264 -lvpx -lvpx -lvorbisenc -lvorbis -logg -ltheo
raenc -ltheoradec -logg -lspeex -L/opt/local/lib -lschroedinger-1.0 -lopenjpeg -
lmp3lame -L/opt/local/lib -ldirac_encoder -ldirac_decoder -lstdc++ -lm -lbz2 -lz
  
:info:build ld: -dylib_compatibility_version must be greater than zero
:info:build /usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edi
t command failed
:info:build gmake: *** [libswscale/libswscale.0.dylib] Error 1
:info:build gmake: *** Waiting for unfinished jobs....
:info:build ld: warning multiple definitions of symbol _ff_inverse
:info:build libavutil/libavutil.dylib(single module) definition of _ff_inverse
:info:build libavcodec/libavcodec.dylib(single module) definition of _ff_inverse
:info:build gmake: Leaving directory `/opt/local/var/macports/build/_opt_local_v
ar_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/
ffmpeg/work/ffmpeg-0.7.6'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_mac
ports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg
/work/ffmpeg-0.7.6" && /opt/local/bin/gmake -j2 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log f
or details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for ffmpeg): org.macpo
rts.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for ffmpeg is at: /opt/local/var/macports/logs/_opt_local_var_
macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffm
peg/main.log

any thoughts?

thanks,
dan

Run ffmpeg On Mac Without Compiling Anything | peppoj.net