I just finished writing up a short article describing how to convert h.264 files into .ts files for Amazon Cloudfront streaming with HLS (HTTP Live Streaming)
It is not a difficult process although you need to have the latest version of ffmpeg.
For more details about converting mov files to ts files for HLS streaming, check out [How to use HLS (HTTP Live Streaming) with Amazon CloudFront](https://techblog.willshouse.com/2013/02/25/using-hls-http-live-streaming-with-amazon-cloudfront/)