[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ac3 decoder on PowerPC
Hi all,
I'm trying to get the ac3 decoder to work on my PowerPC (PowerBook G3)
machine. The decoder included in OMS doesn't work at all, so I've been
playing with the standalone 'ac3dec.new' module checked out from CVS.
I'm using the Ghost in the Shell DVD since it has no encryption. I
actually do get a fairly long stretch of audio when playing the first
title. However it eventually stops - I get a long string of ** Invalid
mantissa - skipping frame **, and then a seg fault. Here is the backtrace
from the segfault:
#0 0x10001950 in coeff_unpack (bsi=0x1001b2e0, audblk=0x10019128,
samples=0x1001b374) at coeff.c:132
132 x = mantissa * scale_factor[exp];
(gdb) bt
#0 0x10001950 in coeff_unpack (bsi=0x1001b2e0, audblk=0x10019128,
samples=0x1001b374) at coeff.c:132
#1 0x10000aac in ac3_decode_frame () at decode.c:116
#2 0x100008a0 in main (argc=2147459984, argv=0x7ffffabc) at ac3dec.c:93
#3 0xfebe734 in __libc_start_main (argc=1, argv=0x7ffffabc,
envp=0x7ffffac4,
auxvec=0x7ffffb28, rtld_fini=0x7fffa390, stinfo=0x10006d10,
stack_on_entry=0x3fffc) at ../sysdeps/powerpc/elf/libc-start.c:106
I know not too many people have the drive to work on things for the less
popular architectures, but for what it's worth, I thought I'd throw this
out there.
I have already submitted bug reports to the buzilla tracking system, but
no one seems to want to take them, so I thought I'd throw this out to a
wider audience.
I am using a PowerBook G3 Firewire with AWACS v3 sound hardware, a PowerPC
750 cpu, and the ati rage mobility 128 chip (no hardware decoding). I have
kernel 2.4.2-pre3.
Thanks,
Peter