[MPlayer-dev-eng] [PATCH] [TEST AFILTER] Encode ac3 at runtime using lavc
Ulion
ulion2002 at gmail.com
Sun Nov 18 21:35:44 CET 2007
Hello,
As a wellknown feature of AC3Filter, it support encode ac3 at runtime
and passthrough it to spdif. With this feature, peoples has only a
decoder support ac3 can enjoy multi-channel audio from dts, aac, wma
pro, eac3, etc.
Here's a test audio filter which do this work by using lavc to encode
ac3 at runtime. It works with me on ppc and intel, but seems it now
introduce a little more flick of subtitles on mac system.
And also, I'm not familar with audio filters, so the code probably do
things in some wrong way, or missed something, such as encode the last
audio frame, calculate the delay, etc, and also the calculate af->mul.
If this filter is worth to do, please give suggests on it, or someone
else make a better one.
The patch need to reorder channels, so it rely on my reorder_copy
patch I sent just now. Or I should make it independent?
--
Ulion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: af_lavcac3enc.diff
Type: text/x-diff
Size: 9874 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071119/fa1745aa/attachment.diff>
More information about the MPlayer-dev-eng
mailing list