Skip to content

Instantly share code, notes, and snippets.

View Brainiarc7's full-sized avatar

Dennis E. Mungai Brainiarc7

View GitHub Profile
@softworkz
softworkz / ffmpeg_filtergraph.json
Created May 24, 2020 12:28
ffmpeg Filtergraph Output Example (with hw context)
{
"FilterGraphs": {
"Graphs": [{
"Description": "[0:0]scale_qsv@f1=w=1920:h=800:format=nv12[f1_out0]",
"Filters": [{
"Filter": {
"Description": "QuickSync video scaling and format conversion",
"HwDeviceContext": {
"DeviceType": "qsv",
"HasHwDeviceContext": true
@AnmolTomer
AnmolTomer / ubuntu_setup.md
Last active August 26, 2024 12:42
Ubuntu 18.04 LTS getting started, things to install guide - Updated April 2020
  1. Installing NVIDIA Drivers ❗❗
ubuntu-drivers devices
sudo ubuntu-drivers autoinstall
  1. From last command see nvidia-driver-number and use it in the command below and then reboot 📺 ✔️
@KeitetsuWorks
KeitetsuWorks / boot.bif
Created October 21, 2018 15:35
BIF File for Zynq UltraScale+ MPSoC
the_ROM_image:
{
[fsbl_config] a53_x64
[bootloader] <fsbl.elf>
[pmufw_image] <pmufw.elf>
[destination_device=pl] <bitstream>
[destination_cpu=a53-0, exception_level=el-3, trustzone] <bl31.elf>
[destination_cpu=a53-0, exception_level=el-2] <u-boot.elf>
}
@salaros
salaros / ubuntu-tweak.sh
Last active January 19, 2020 19:40
My tweaks for Ubuntu + Dell Inspiron 5567
#!/usr/bin/env bash
# Require root to run
if [ "$EUID" -ne 0 ]; then
echo "Please run as root"
exit 0
fi
# [PlayOnLinux] - disables protection against the usage of Ptrace
# https://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html
@DiogoMCampos
DiogoMCampos / linux-clevo-n850hk1.md
Created February 5, 2018 11:10
Installing Linux on a Clevo N850HK1

Since buying the Clevo N850HK1, installing linux distributions has always been difficult. After some experimentation, I settled for Ubuntu 17.10 and this is how I installed it.

Here's my notebook specs:

Machine:   Device: laptop System: Notebook product: N85_N87 HJ HJ1 HK1 serial: N/A
           Mobo: Notebook model: N85_N87 HJ HJ1 HK1 serial: N/A
           UEFI: American Megatrends v: 1.05.13 date: 05/08/2017
CPU:       Quad core Intel Core i7-7700HQ (-HT-MCP-) cache: 6144 KB
@Nt-gm79sp
Nt-gm79sp / powercfg-win10-more-settings.cmd
Last active August 3, 2024 19:07 — forked from theultramage/powercfg-win7-all-settings.bat
Show/hide hidden settings in Win10 Power Options
@echo on
REM checked for Windows 10
REM fork from https://gist.github.com/theultramage/cbdfdbb733d4a5b7d2669a6255b4b94b
REM you may want full list https://gist.github.com/raspi/203aef3694e34fefebf772c78c37ec2c
REM SET attrib=+ATTRIB_HIDE
SET attrib=-ATTRIB_HIDE
REM Hard disk burst ignore time
powercfg -attributes 0012ee47-9041-4b5d-9b77-535fba8b1442 80e3c60e-bb94-4ad8-bbe0-0d3195efc663 %attrib%
@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

@zakne
zakne / gist:06618f0af3ddd490df6e8701f0c402c9
Last active January 16, 2018 04:03
GSoC vp9 decoder improvements report
During GSoC I was able to accomplish the following: optimize part of the ipred functions and implement tile threading support.
Links for optimized avx2 ipred functions:
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=35a5d9715dd82fd00f1d1401ec6be2d3e2eea81c
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=81fc617c125734aa6f3b3d938af75fef6db750e7
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=73d9a9a6af5d00cfa9b98c7d9fc9abd0c734ba8e
Links for the tile threading code:
http://ffmpeg.org/pipermail/ffmpeg-devel/2017-August/215363.html
http://ffmpeg.org/pipermail/ffmpeg-devel/2017-August/215361.html
@mauri870
mauri870 / manjaro-avell-g1513.md
Last active March 2, 2022 02:23
Installation of Manjaro 17 and nvidia/bumblebee drivers on Avell G1513

After a weekend of research, stress and pain I finally figure out how to install manjaro 17 and configure the nvidia/bumblebee drivers on my avell laptop

Here's my notebook specs:

$ inxi -MGCNA

Machine:   Device: laptop System: Avell High Performance product: 1513
           Mobo: N/A model: N/A v: 0.1 UEFI: American Megatrends v: N.1.02 date: 09/28/2016
Battery    BAT0: charge: 44.0 Wh 100.0% condition: 44.0/44.0 Wh (100%)