Skip to content

Instantly share code, notes, and snippets.

@ifyour
Last active December 6, 2019 08:02
Show Gist options
  • Save ifyour/a3b9f75425a4c259ad5621ab6c7ad235 to your computer and use it in GitHub Desktop.
Save ifyour/a3b9f75425a4c259ad5621ab6c7ad235 to your computer and use it in GitHub Desktop.
使用 ffmpeg 转换流媒体文件到 MP4
# 设置快捷方式 保存到 ~/.zshrc
$ alias ts2mp4="ffmpeg -i ./*.ts -c:v libx264 -c:a copy output.mp4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment