[FFmpeg-devel] [PATCH] add (e)ac3float decoders

madshi madshi
Mon Mar 7 20:18:59 CET 2011


attached you'll find a patch which adds "ac3float" and "eac3float" decoders.
The only difference to the "ac3" and "eac3" decoders is that the float
decoders output float, obviously (which is the native decoding format)
instead of rounded down 16bit integer samples. This is quite important,
IMHO, because rounding down digital audio/video data is a violation of
processing laws. When bitdepth is reduced, dithering must be used, to avoid
quantization errors, which libav does currently not do. So outputting float
is a better solution for audio quality.

If this patch will be accepted, I plan to create similar patches for DTS and

Best regards, Mathias.

Systemsoftware Mathias Rauen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ac3float.patch
Type: application/octet-stream
Size: 5253 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110307/355944e8/attachment.obj>

More information about the ffmpeg-devel mailing list