Skip to content

Instantly share code, notes, and snippets.

@adamvr
Last active December 26, 2015 05:29
Show Gist options
  • Save adamvr/7100750 to your computer and use it in GitHub Desktop.
Save adamvr/7100750 to your computer and use it in GitHub Desktop.
#!/bin/sh
cat | sed "s/^\(.*\)$/'\1'/" | sed 's/^/file /' | ffmpeg -f concat -i - -acodec copy -vcodec copy "$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment