Skip to content

Instantly share code, notes, and snippets.

Avatar

PhillyBass fweller

View GitHub Profile
@fweller
fweller / mx8mplus-gstreamer-gists.txt
Created Apr 19, 2022
Flint's cheat-sheet for GStreamer on the NXP i.MX 8M Plus
View mx8mplus-gstreamer-gists.txt
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 Oct 16, 2021
Uses GStreamer to generate a bunch of video files from a single video file. These files are useful for testing embedded microprocessors.
View generate_test_videos
#!/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 Sep 8, 2021 — forked from antiproblemist/excel2sql.py
Convert complete excel workbook to SQLite database (All Sheets)
View excel2sql.py
'''
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
View 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: