Use AviSynth+ (
r2506 is the latest, but this stuff has been around since last August/September), and after telling f3kdb to use
output_depth=10 (and
output_mode=2),
Code:
ConvertFromDoubleWidth(10)
Also requires that the receiving application has been updated to understand AviSynth+ giving it high bit depth pixel formats. FFmpeg, for example.