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 badlyIll 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 everythingfrom the timestretch engine is reencoded in suitable blocks and thrown intothe 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 markOn Sun, 01 Jan 2006 10:15:48 +1100, Mark Spieth wrote:ok then how about if passthru is on, if the output is reencoded to AC3 soOn 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...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@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
-------------------------------------------------------------------------------- _______________________________________________ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
mythtv_ac3.4.patch.bz2
Description: Binary data
_______________________________________________ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev