Software Encoding/decoding
The liba52 decoder library for AC3 and A52 digital sound optionally exports stereo sound compatible with Dolby Surround and Pro Logic.
HandBrake is capable of downmixing Dolby Digital AC-3 5.1 to Stereo for Dolby Pro Logic I & II for surround playback.
Read more about this topic: Dolby Pro Logic