That looks like an answer to the original question to me, as it will convert flv to ts as asked. It also gives useful information that this transformation can be done without re-encoding.
0
To get a .ts video you'd need to encode video with h264 and the best way to do that with ffmpeg is via libx264. If you want audio be sure to encode audio with aac. The command would look something like this