Skip to content

Instantly share code, notes, and snippets.

View isaactzab's full-sized avatar

Isaac Levi Tzab Poot isaactzab

View GitHub Profile
@isaactzab
isaactzab / FFmpeg-tricks.md
Last active June 10, 2022 14:30
FFmpeg on ubuntu

FFmpeg Tricks

Repeat/loop Input Video

The -loop option is specific to the image file demuxer and gif muxer, so it can't be used for typical video files, but you can use the concat demuxer.

Concat demuxer

Make a text file. Contents of an example text file to repeat 4 times.

$ cat list.txt
file 'input.mp4'
@isaactzab
isaactzab / download-mp3-youtube-dl.md
Last active August 4, 2023 03:12
Install YouTube-DL in Ubuntu/Linux Mint and Debian

#How to download an MP3 track from a YouTube video You can also download the mp3 directly from youtube without converting using ffmpeg

youtube-dl --extract-audio --audio-format mp3 <video URL>

From the online help:

-x, --extract-audio        convert video files to audio-only files (requires
                           ffmpeg or avconv and ffprobe or avprobe)
@isaactzab
isaactzab / Nautilus File Manager Installation
Created February 25, 2016 23:16
The Nautilus File Manager Installation with extensions
sudo apt-get install nautilus
#extension open in terminal
sudo apt-get install nautilus-open-terminal
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// Sassy-validation (v0.4.0)
// ----
@import "sassy-validation";
Sassy-validation {
is-measure: val(10px, 'measure');