How can I convert *.flv file to *.ts file using FFmpeg on command line?

ffmpeg, flv

Solution

`ffmpeg -i abc.flv abc.ts` This will generate .ts with mpeg2video and mp2 audio. To generate with h264 video use

ffmpeg -i abc.flv -vcodec libx264 abc.ts

Problem

How can I convert *.flv file to *.ts file using FFmpeg on command line? Is there any document about this? Best Regards, Defonds

Original source