supports extract and encode FV on the fly