Skip to content

Instantly share code, notes, and snippets.

View notklaatu's full-sized avatar

Seth Kenlon notklaatu

View GitHub Profile
@reidransom
reidransom / gist:2630650
Created May 7, 2012 21:41
Timecode burn with ffmpeg
# Timecode burn with ffmpeg
# ffmpeg must be configured with --enable-libfreetype
# box=1 - tells ffmpeg to draw a box around the text
# boxcolor - format is 0xRRGGBB[AA]
ffmpeg -i video.mov -vcodec libx264 -cmp 22 -vf "drawtext=fontfile=DroidSansMono.ttf: timecode='09\:57\:00\:00': r=23.976: x=(w-tw)/2: y=h-(2*lh): fontcolor=white: box=1: boxcolor=0x00000099" -y output.mov
@ruario
ruario / h264-vivaldi-linux.md
Last active March 18, 2023 11:17
How to enable HTML5 MP4 (H.264/AAC) video in Vivaldi for Linux, via an alternative FFMpeg library
@m1st0
m1st0 / flatpak_alias_cli.py
Last active September 12, 2023 16:15
Automatic FlatPak CLI Aliases
#!/usr/bin/python3
"""
flatpak_directory_alias.py
================
Description: Enable ability to run flatpak apps from BASH aliases using flatpak directory names.
Copyright (C) 2023 Maulik Mistry <mistry01@gmail.com>
https://github.com/m1st0