Skip to content

Instantly share code, notes, and snippets.

Moving to Gitlab

Ray Foss rayfoss

Moving to Gitlab
View GitHub Profile
rayfoss /
Last active Aug 18, 2017 — forked from dcondrey/
Use ffmpeg to split file by chapters. Python version and bash version
# m4v and mp4 video, Chapter Marker splitter
# May be particularly good with final cut DVD chapter markers
# This standard seems to be popular in MP3's... cant find the official spec
# Chapter #0:0: start 0.000000, end 1290.013333
# Metadata:
# title : 3.4 - Rigging and Replacement
View github-labels.txt
// finds the "99 Open issues" part of the github lables page.
/[ Edit Delete ]*?[0-9|,]* open issues? ?/
rayfoss /
Last active Feb 3, 2016
Windows 10 for Linux Users Configuration guide
rayfoss /
Last active Mar 30, 2016 — forked from anonymous/
January 2015 Fedora 23 Workstation Configuration Notes
rayfoss / gist:908303fd7482751eb60e
Last active Nov 30, 2015
Clean up windows 10 garbage
View gist:908303fd7482751eb60e
// uninstall all windows 8 apps, including one drive
Get-AppxPackage -AllUsers | Remove-AppxPackage
// Todo: Group policies for
// Turn off Windows Defender
// Remove OneDrive from file explorer
rayfoss / gdoceverything.bat
Last active Aug 29, 2015
Google Office Editing For Docs, Sheets and Slides windows file extension association script
View gdoceverything.bat
Assoc .docx=cdocfile
Ftype cdocfile="C:\Program Files (x86)\Google\Chrome\Chrome.exe" %1
Work in progress, verify that path and copy for all other office files.
rayfoss /
Last active Sep 23, 2015 — forked from anonymous/
Simplest lossy web ready x.264 ffmpeg command
# strict 2 is required to use the built in aac codec
# Fast start may not be needed when using the built in aac, but it is for h264
ffmpeg -i -vcodec h264 -acodec aac -strict -2 -movflags faststart output.mp4
# Better Quality, medium compression
ffmpeg -i input.avi -vcodec h264 -preset veryslow -crf 18 -acodec aac -strict -2 -b:a 240k -movflags faststart helvet.mp4
# Doing lossy X to lossy x264/aac right, crf 18 - 1 to account for compression artifacts
ffmpeg.exe -i input.avi -vcodec h264 -crf 17 -preset veryslow -acodec aac -strict -2 -b:a 240k -movflags faststart output.mp4
You can’t perform that action at this time.