AC3 in Australia (Was Re: [mythtv] DVB 3.4 report)

Marcus Metzler mocm at mocm.de
Sat Jan 8 03:30:31 EST 2005


>>>>> "Mark" == Mark Anderson <markjanderson at mail.com> writes:

    Mark> For those that are interested, attached is a patch that
    Mark> allows AC3 audio to work in Australia. All previous problems
    Mark> outlined in this thread have been resolved, some via dirty
    Mark> hacks.

    Mark> The stuttering I was experiencing was caused by the hack to
    Mark> mpeg.c. The changes in mpeg.c treat all PRIVATE_STREAM_1
    Mark> packets as AC3 audio with no header (0x80), which appears to
    Mark> be what oz stations are transmitting. However, transform.c
    Mark> doesn't realise this and was occasionally finding
    Mark> PRIVATE_STREAM_1 packets that had 0x80 or 0x20 as the first
    Mark> byte and adding an extra header to them, which created an
    Mark> invalid AC3 packet for the hacked mpeg.c and resulting in
    Mark> the stutter. I have hacked transform.c to not put the extra
    Mark> headers on which fixes the stutter problem. This of course
    Mark> is not a workable solution in the long term since the hack
    Mark> will only work in aus presumably. Maybe someone who knows
    Mark> more about mpeg.c and transform.c can look at this and see
    Mark> if they can work it out?

I already sent Taylor a patch for transport.c that fixes that problem
and makes it easier for transform.c to recognize AC3.
The patch is against the DVB patch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: newmyth.patch.gz
Type: application/octet-stream
Size: 3983 bytes
Desc: transform_patch
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050108/1e24f280/newmyth.patch.obj
-------------- next part --------------

Marcus

-- 
/--------------------------------------------------------------------\
| Dr. Marcus O.C. Metzler        |                                   |
| mocm at metzlerbros.de            | http://www.metzlerbros.de/        |
\--------------------------------------------------------------------/
 |>>>             Quis custodiet ipsos custodies                 <<<|


More information about the mythtv-dev mailing list