doodlecz wrote:
If someone would like to participate, I could attach my sources logging PES headers, packets etc.
Do you think, may it be possible to capture / dump audio streams from (e.g) uldAvfd_InterfacerSkipUnknownData()
or uldAvfd_InterfacerSkipUnknownEsData() ? I want to try some things.
Recently I got my hands on external USB sound card (Creative Sound Blaster Live! 24-bit External USB). As it turned out, after some fiddling, it also works while connected to the TV

. Compiling kernel modules for USB audio is the easy part; setting up & configuring ALSA not that easy one.. But basically it works, except for the mixer (very limited settings available for analog audio; it's a known limitation for this device on older kernels and alsa versions).
Stereo and 5.1 pcm/wav files are playable with aplay (from debian lenny armel alsa-utils package), and SPDIF passthrough for AC3 & DTS files seems to work well with mplayer.
To test software DTS decoding possibilities I [cross]compiled libdca/dcadec, ffmpeg and mplayer for ARM v6 CPU with VFP optimizations turned on, and here are preliminary results:
- ffmpeg DTS decoding implementation seems to be the most efficient (ca. 30% CPU utilisation while decoding and playing .dts files in real time, with stereo downmixing); some patching may be required, as recent ffmpeg from current CVS snapshot is unable to downmix 5.1 DTS audio to stereo on arm v6 platform;
- for some reasons DTS software decoding is not working with my test mplayer binary; on the other hand, this mplayer is able to do DTS/AC3 passthrough from TV to external USB sound card with just 3-5% CPU;
- dcadec can decode and play *.dts files directly to external sound card (through oss compatibily layer, in. 2.0 and 5.1 modes), but is significantly slower (45-65% CPU) compared to ffmpeg. It's visibly faster with dts decoding to .wav file; I don't know, maybe oss -> alsa pathway is responsible for some additional overhead (?).
Surely external USB sound card is not in any way practical remedy for samsung "DTS audio handling problem", but I think test results imply that some properly implemented DTS software decoding on TV embeeded ARM may be quite doable..
I'm pretty sure samsung chelsea chip should not overheat/desolder itself from mainboard with just 30% extra cycles on ARM core

.