[MPlayer-users] faad2 help
Michael A. Peters
mpeters at mac.com
Thu Mar 6 13:12:19 CET 2003
I ran across an mp4 video that didn't play right.
video was fine, but no audio.
mplayer output regarding audio:
Requested audio codec family [faad] (afm=faad) not available (enable it
at compilation)
so I compile and install libsndfile-1.0.4
I try to compile faad2 and first I have to edit the
faad2/frontend/audio.c file.
I changed:
aufile->sfinfo.samples = 0;
to
aufile->sfinfo.frames = 0;
(the sndfile.h header file says it changed)
That got me farther - but then I ran into a bunch of unresolved symbol
file later on:
gcc -O2 -D_FILE_OFFSET_BITS=64 -o .libs/faad main.o audio.o
../libfaad/.libs/libfaad.so ../common/mp4v2/.libs/libmp4v2.so
/usr/lib/libsndfile.so -lm
../common/mp4v2/.libs/libmp4v2.so: undefined reference to `operator
new[](unsigned)'
../common/mp4v2/.libs/libmp4v2.so: undefined reference to `vtable for
__cxxabiv1::__pointer_type_info'
../common/mp4v2/.libs/libmp4v2.so: undefined reference to `vtable for
__cxxabiv1::__si_class_type_info'
../common/mp4v2/.libs/libmp4v2.so: undefined reference to `operator
delete(void*)'
../common/mp4v2/.libs/libmp4v2.so: undefined reference to
`__cxa_end_catch'
../common/mp4v2/.libs/libmp4v2.so: undefined reference to
`__gxx_personality_v0'../common/mp4v2/.libs/libmp4v2.so: undefined
reference to `__cxa_pure_virtual'
../common/mp4v2/.libs/libmp4v2.so: undefined reference to `vtable for
__cxxabiv1::__class_type_info'
../common/mp4v2/.libs/libmp4v2.so: undefined reference to `__cxa_throw'
../common/mp4v2/.libs/libmp4v2.so: undefined reference to `operator
delete[](void*)'
../common/mp4v2/.libs/libmp4v2.so: undefined reference to
`__cxa_begin_catch'
../common/mp4v2/.libs/libmp4v2.so: undefined reference to
`__cxa_allocate_exception'
../common/mp4v2/.libs/libmp4v2.so: undefined reference to `operator
new(unsigned)'
collect2: ld returned 1 exit status
make[1]: *** [faad] Error 1
I'm using the gcc on Red Hat 8
-=-
I know this isn't the faad2 help list (I asked on their forum too) - but
I'm guessing people here might have run into this problem?
Thanks for any suggestions. I'd really like to get past this so I can
rebuild my mplayer :D
--
Michael A. Peters <mpeters at mac.com>
More information about the MPlayer-users
mailing list