Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View fweller's full-sized avatar

Flint fweller

View GitHub Profile
@fweller
fweller / mx8mplus-gstreamer-gists.txt
Created April 19, 2022 16:55
Flint's cheat-sheet for GStreamer on the NXP i.MX 8M Plus
Flint's cheat-sheet for GStreamer on the NXP i.MX 8M Plus
Most of these Gists assume the use of two pieces of hardware:
NXP i.MX 8M Plus Evaluation Kit: 8MPLUSLPD4-EVK i.MX 8M Plus EVK
NXP Basler MIPI 8 Mpixel (4K) camera kit
--------------------------------------------------
Send camera video to HDMI display
export caps="video/x-raw, format=(string)YUY2, width=(int)3840, height=(int)2160, framerate=(fraction)30/1, colorimetry=(string)2:6:5:1, interlace-mode=(string)progressive"
@fweller
fweller / generate_test_videos
Created October 16, 2021 01:42
Uses GStreamer to generate a bunch of video files from a single video file. These files are useful for testing embedded microprocessors.
#!/usr/bin/env bash
# generate_test_videos
# Uses GStreamer to generate a bunch of video files from a single video file
# These files are useful for testing embedded microprocessors
# Flint Weller 20211015
# --------------------------------
# IMPORTANT - Choose 1 or 2 below, and comment out the one you don't want
@fweller
fweller / excel2sql.py
Last active September 8, 2021 15:51 — forked from antiproblemist/excel2sql.py
Convert complete excel workbook to SQLite database (All Sheets)
'''
This code uses the openpyxl package for playing around with excel using Python code
to convert complete excel workbook (all sheets) to an SQLite database
The code assumes that the first row of every sheet is the column name
Every sheet is stored in a separate table
The sheet name is assigned as the table name for every sheet
'''
'''
20210908 Forked from antiproblemist/excel2sql.py
@fweller
fweller / keybase.md
Created April 4, 2021 21:41
keybase.md

Keybase proof

I hereby claim:

  • I am fweller on github.
  • I am flintweller (https://keybase.io/flintweller) on keybase.
  • I have a public key ASCLjlICA68I3UBeevsQNXuTnAbc7JNZf6aCOjDTQdOaOAo

To claim this, I am signing this object: