[mythtv] [patch] multi channel audio patch 1

Mark Spieth mark at dclabs.com.au
Mon Jan 2 07:26:22 EST 2006


woops spotted a bug already.
attached is another patch.
mark

> ok this patch will convert PCM to AC3/DTS (whatever the original codec is)
> It is untested as I dont have an AC3 setup to test with. If things go 
> badly
> Ill have to think how I can test this without such a setup.
> turn on audio and playback to get more info in the log. perhaps timestamp
> too.
> how it behaves is as per normal with ac3passthru until timestretch is
> changed the first time. after that the new functionality kicks in.
> avformatdecoder decodes the packets but lets audiooutput know about the
> codec type and settings so the encoder can be configured. then everything
> from the timestretch engine is reencoded in suitable blocks and thrown 
> into
> the output buffer.
> should work with dts too.
> I may also have to guide in a specific break in gdb with certain data
> structures dumped.
> I dont think its too far away but cross your fingers.
> no mmx support  as yet of course.
> dont forget to change maxchannels in audio setup too otherwise youll only
> get 2
> mark
>
>> On Sun, 01 Jan 2006 10:15:48 +1100, Mark Spieth wrote:
>>>> On Saturday 31 December 2005 14:37, Allan Stirling wrote:
>>>> bummer. Maybe then just convert the AC3 to stereo PCM for timestretch?
>>>> At least you'd get sound...
>>>>
>>>> I dunno, I've never used timestretch, so I don't know what the needs of
>>>> people
>>>> that do are, just throwing ideas out there...
>>>>
>>> ok then how about if passthru is on, if the output is reencoded to AC3 
>>> so
>>> you get the multichannel audio that is desirable?
>>
>> That would be great. I'm keen to try your patch but I only have digital
>> output on my system and no way of hooking up multichannel analogue.
>>
>> Cheers,
>>
>> Martin.
>>
>> _______________________________________________
>> mythtv-dev mailing list
>> mythtv-dev at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>>
>


--------------------------------------------------------------------------------


_______________________________________________
mythtv-dev mailing list
mythtv-dev at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythtv_ac3.4.patch.bz2
Type: application/octet-stream
Size: 15904 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20060102/4975c9fe/mythtv_ac3.4.patch.obj


More information about the mythtv-dev mailing list