Skip to content

Instantly share code, notes, and snippets.

View gavanderhoorn's full-sized avatar

G.A. vd. Hoorn gavanderhoorn

View GitHub Profile
#!/bin/bash
if [ ! -x "$(command -v aptitude)" ]; then
printf "You don't appear to have aptitude installed, aborting\n" >&2
exit 1
fi
aptitude search \
'?exact-name(camera-calibration-parsers-tools) ~i' \
'?exact-name(catkin) ~i' \
@gavanderhoorn
gavanderhoorn / kr6r900sixx.urdf
Created October 20, 2020 08:27
kr6r900sixx.urdf
<?xml version="1.0" encoding="utf-8"?>
<!-- =================================================================================== -->
<!-- | This document was autogenerated by xacro from kr6r900sixx.xacro | -->
<!-- | EDITING THIS FILE BY HAND IS NOT RECOMMENDED | -->
<!-- =================================================================================== -->
<robot name="kuka_kr6r900sixx">
<!-- colours based on RAL values given in "FAQ - Colours of robot and robot
controller", version "KUKA.Tifs | 2010-01-21 |YM| DefaultColorsRobotAndController.doc",
downloaded 2015-07-18 from
http://www.kuka.be/main/cservice/faqs/hardware/DefaultColorsRobotAndController.pdf
@gavanderhoorn
gavanderhoorn / ffmpeg-livestream-to-streaming-sites-vaapi-nvenc.md
Created February 20, 2021 15:15 — forked from Brainiarc7/ffmpeg-livestream-to-streaming-sites-vaapi-nvenc.md
ffmpeg livestreaming to youtube via Nvidia's NVENC and Intel's VAAPI on supported hardware

Streaming your Linux desktop to Youtube and Twitch via Nvidia's NVENC and VAAPI:

Considerations to take when live streaming:

The following best practice observations apply when using a hardware-based encoder for live streaming to any platform:

  1. Set the buffer size (-bufsize:v) equal to the target bitrate (-b:v). You want to ensure that you're encoding in CBR mode.

  2. Set up the encoders as shown: