Skip to content

Instantly share code, notes, and snippets.

View hopranch's full-sized avatar

Hop Rancher hopranch

  • Hop Ranch
  • SF Bay Area
View GitHub Profile
@protrolium
protrolium / monty-ffmpeg.md
Last active December 24, 2023 19:03
using ffmpeg to add sound to youtube videos

quick/dirty process to merge audio streams

create initial video offset
ffmpeg -ss 0:00 -t 0:00 -i input.mp4 output.mp4

exctract audio from new output.mp4
ffmpeg -i output.mp4 -f mp3 -ab 192000 -vn output.mp3

merge the two audio files
ffmpeg -i output.mp3 -i audio2.mp3 -filter_complex amerge -ac 2 -c:a libmp3lame -q:a 4 merged.mp3

@bih
bih / README.md
Last active November 10, 2018 22:52
Building API's with Jekyll

Building API's in Jekyll

This is part of a blog post series that I'm writing called Advanced Jekyll which you can find on [my website, bilaw.al][site].

You can read the blog post [Building API's in Jekyll by clicking here][post].

Installation

All the code in this gist is what I use to build API's with in Jekyll.