Skip to content

Instantly share code, notes, and snippets.

@lazanet
Last active November 5, 2019 01:45
Show Gist options
  • Save lazanet/5afdbebd08038bdf82b8b6fd0eb95685 to your computer and use it in GitHub Desktop.
Save lazanet/5afdbebd08038bdf82b8b6fd0eb95685 to your computer and use it in GitHub Desktop.
ffmpeg -i "concat:$(echo `ls .`|sed 's/ /|/g')" -c copy output.mts
rm 00*.MTS
ffmpeg -i output.mts file.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment