Skip to content

Instantly share code, notes, and snippets.

View leonardAlbert's full-sized avatar

Leonard Albert Mastrochirico Pedro leonardAlbert

View GitHub Profile
@leonardAlbert
leonardAlbert / custom-timesheet-script.js
Last active June 28, 2024 21:39
Script for updating the consumed/paused hours in Time Control.
// ==UserScript==
// @name Custom Timesheet Script
// @namespace custom-timesheet-script
// @version 0.1
// @description Script for updating the consumed/paused hours in Time Control.
// @author Leonard A M Pedro
// @author Randler Ferraz Leal
// @grant none
//
// @note Instructions:
@josby
josby / concat_mp4.sh
Created May 12, 2017 18:38
Concat GoPro Videos with ffmpeg
ffmpeg -f concat -safe 0 -i <(for f in ./*.MP4; do echo "file '$PWD/$f'"; done) -c copy output.MP4
@anton-rudeshko
anton-rudeshko / convert.sh
Last active October 17, 2020 01:01
Convert GoPro photos to timelapse video using ffmpeg CLI.
#!/usr/bin/env bash
# -r 60: 60 FPS
# -y: rewrite output file
# -start_number 11555: first frame number
# -i 'G%07d.JPG': file format
# -vf "crop=h=2250": video filter to crop input frame height from 3000 to 2250 (which will be eventually downscaled to 720)
# -c:v libx264: video codec x264
# -crf 20: x264 encoding quality (less = better)
# -s 1280x720: output size