[mythtv] Re: Software AC3 decoding when watching TV

Tj htpc at treblid.dyndns.org
Wed Dec 15 09:54:24 UTC 2004


Following up my mails about software AC3 decoding. Found some things so far:

(1) It appears that AC3 of DVB and A52 of ASTC are one and the same 
(ac3dec.c doesn't work as there is no directory called libac3, even in 
the latest ffmpeg sources).

(2) I added a "DEFINES+=CONFIG_AC3" in "settings.pro" so that #ifdef 
CONFIG_AC3 works properly and registers the A52 codec.

(3) Tuned to HDTV channel. No go. AC3 has the same startcode as MPEG2, 
thus myth(or ffmpeg?) gives it the codec_id = CODEC_ID_MPEG2. Hence all 
along Myth is trying to use the MPEG2 decoder to decode AC3 streams 
(that's why I am hearing rubbish when I use a AC3 APID).

(4) Quick hack to force it to use the AC3 decoder for audio stream. seg 
fault. :p Probably I'm not doing it right, will try to find proper way..

Can somebody in the US who has a HDTV tuner but no AV receiver, try the 
settings.pro outlined in (2) and tell me whether you can hear surround 
sound? If yes, then australia's HDTV broadcast is really messed up.


Regards.





More information about the mythtv-dev mailing list