Skip to content

Instantly share code, notes, and snippets.

itsuwari / sending-raw-ethernet-packets-from-a-specific-interface-in-c-on-linux.c
Created Aug 22, 2017
Sending raw Ethernet packets from a specific interface in C on Linux
View sending-raw-ethernet-packets-from-a-specific-interface-in-c-on-linux.c
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
#include <arpa/inet.h>
#include <linux/if_packet.h>
#include <stdio.h>
This work, excluding the Arch Linux logo, is made available under CC0:
Brainiarc7 / VAAPI-hwaccel-encode-Linux-Ffmpeg&
Last active Apr 25, 2022
This gist contains instructions on setting up FFmpeg and Libav to use VAAPI-based hardware accelerated encoding (on supported platforms) for H.264 (and H.265 on supported hardware) video formats.
View VAAPI-hwaccel-encode-Linux-Ffmpeg&

Using VAAPI's hardware accelerated video encoding on Linux with Intel's hardware on FFmpeg and libav

Hello, brethren :-)

As it turns out, the current version of FFmpeg (version 3.1 released earlier today) and libav (master branch) supports full H.264 and HEVC encode in VAAPI on supported hardware that works reliably well to be termed "production-ready".

alias roulette='[ $[ $RANDOM % 6 ] == 0 ] && rm -f $(shuf -n1 -e *) && echo "BOOM" || echo *Click*'
poliveira89 / gist:5966434
Created Jul 10, 2013
How to use WebDav on Linux+XFCE+Thunar
View gist:5966434