Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

ffmpeg

flv

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

Best Regards, Defonds

like image 870
Defonds Avatar asked Dec 05 '25 18:12

Defonds


1 Answers

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
like image 179
d33pika Avatar answered Dec 09 '25 16:12

d33pika



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!