Skip to content

Instantly share code, notes, and snippets.

@ryanfb
Last active July 1, 2016 13:29
Show Gist options
  • Select an option

  • Save ryanfb/3fd20b4972573b23e4e5 to your computer and use it in GitHub Desktop.

Select an option

Save ryanfb/3fd20b4972573b23e4e5 to your computer and use it in GitHub Desktop.
Useful commands for Fly6 camera owners

Set date and time:

date "+%Y/%m/%d %H:%M" > /Volumes/Fly6/config.txt

Concatenate/join videos from a folder and make the result YouTube-friendly:

ffmpeg -f concat -safe 0 -i <(for f in *.AVI; do echo "file '$(pwd)/$f'"; done) -c:v libx264 -preset slow -crf 18 -c:a copy -pix_fmt yuv420p ~/Movies/youtube-fly6-ride-$(date "+%Y-%m-%d").mkv

Don't try to write the output to the Fly6 SD card, as the filesystem won't support files >4GB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment