Search code examples
ffmpegflv

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


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

Best Regards, Defonds


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