Skip to content

Instantly share code, notes, and snippets.

View FossPrime's full-sized avatar
💭
GitLab rocks!

Ray Foss FossPrime

💭
GitLab rocks!
View GitHub Profile
@FossPrime
FossPrime / webreadyx264.sh
Last active September 23, 2015 18:21 — forked from anonymous/webreadyx264.sh
Simplest lossy web ready x.264 ffmpeg command
#!/bin/bash
# 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 input.mov -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
@FossPrime
FossPrime / Fedora-23-Nvidia-Workstation-Notes.md
Last active March 30, 2016 12:29 — forked from anonymous/Fedora-23-Nvidia-Workstation-Notes.md
January 2015 Fedora 23 Workstation Configuration Notes
@FossPrime
FossPrime / ffmpegchapters-explicit.sh
Last active August 18, 2017 16:21 — forked from dcondrey/ffmpegchapters-explicit.sh
Use ffmpeg to split file by chapters. Python version and bash version
#!/bin/bash
# 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
# http://linuxcommand.org/lc3_man_pages/readh.html