Skip to content

Instantly share code, notes, and snippets.

@andrearug
andrearug / ffmpeg-qsv-compile.md
Created November 16, 2017 02:23
Build FFmpeg with Intel's QSV-based encoders with Intel's Media SDK on Ubuntu 16.04

**

How to compile FFmpeg with Intel's QSV (h264_qsv) encoder(s) with Intel's Media SDK on Ubuntu:

**

Install required dependencies:

apt-get install gcc gobjc pkg-config libpthread-stubs0-dev

@haisum
haisum / script.sh
Created September 1, 2015 06:10
comment and uncomment lines in bash script via sed
sed -i '/<pattern>/s/^/#/g' file #comment
sed -i '/<pattern>/s/^#//g' file #uncomment