Serving videos from local while moving into Cloudfront

Hi we have uploaded a lot of videos into our own server. However we are slowly copying those files into cloudfront. While doing this process I want to serve videos locally.
I tried S2stream and s2files codes with local option but didnt work. Which shortcode do I require?