Skip to content

Instantly share code, notes, and snippets.

View atlury's full-sized avatar
💭
Working

Rahul Atlury atlury

💭
Working
View GitHub Profile
@atlury
atlury / gstreamer.sh
Created December 26, 2015 05:40
Install Gstreamer on Rasperry Pi
#!/bin/bash --debugger
set -e
[ -n "$1" ] && BRANCH=$1
# Create a log file of the build as well as displaying the build on the tty as it runs
exec > >(tee build_gstreamer.log)
exec 2>&1
# Update and Upgrade the Pi, otherwise the build may fail due to inconsistencies
@atlury
atlury / gstreamer-build.sh
Created December 26, 2015 05:45 — forked from sphaero/gstreamer-build.sh
Install & build gstreamer from git
#!/bin/bash --debugger
set -e
BRANCH="master"
if grep -q BCM2708 /proc/cpuinfo; then
echo "RPI BUILD!"
RPI="1"
fi
[ -n "$1" ] && BRANCH=$1
Hi everybody,
as this was a common subject on IRC and on this mailing list in the past
I decided to write some kind of guide about how to get GStreamer working
as good as possible on the Raspberry Pi. This will also be added to the
GStreamer Wiki once it works again.
I) Preparations
---------------
#!/bin/bash
set -e
exec > >(tee gstreamer-generic.log)
exec 2>&1
export LD_LIBRARY_PATH=/usr/local/lib/
#branch=1.4
#tag=1.5.90
tag=1.6.0
@atlury
atlury / quick-start.txt
Last active March 20, 2021 11:03
Quick-start guide to gst-uninstalled for GStreamer 1.x
PARTA
One of the first tools that you should get if you’re hacking with GStreamer or want to play with the latest version without doing evil things to your system is probably the gst-uninstalled script. It’s the equivalent of Python’s virtualenv for hacking on GStreamer. :)
The documentation around getting this set up is a bit frugal, though, so here’s my attempt to clarify things. I was going to put this on our wiki, but that’s a bit search-engine unfriendly, so probably easiest to just keep it here. The setup I outline below can probably be automated further, and comments/suggestions are welcome.
First, get build dependencies for GStreamer core and plugins on your distribution. Commands to do this on some popular distributions follow. This will install a lot of packages, but should mean that you won’t have to play find-the-plugin-dependency for your local build.
Fedora: $ sudo yum-builddep gstreamer1-*
Debian/Ubuntu: $ sudo apt-get build-dep gstreamer1.0-plugins-{base,good,bad,ugly}
Gentoo: having the GS
@atlury
atlury / masteruninstall.sh
Created December 26, 2015 07:05
Master Gstreamer Uninstalled Setup - static build
#!/bin/sh
# ----------------------------------------------------------------------------
#
# create-uninstalled-setup.sh
#
# Little shell script that creates a fresh GStreamer uninstalled setup in
# your home directory.
#
# ----------------------------------------------------------------------------
#
@atlury
atlury / voidlinuxnotes.txt
Created December 26, 2015 16:44
VoidLinux-Notes
xbps-query -R -f gst-plugins-bad1
xbps-query -R -f gst-plugins-ugly1
xbps-install -S gstreamer1
//incase of voidlinux for musl libc build
gstreamer-1.0 ...
gst-omx
apt-get install autoconf automake libtool gtk-doc-tools libglib2.0-dev
git clone git://anongit.freedesktop.org/gstreamer/gst-omx
cd gst-omx
@atlury
atlury / Read-only FS on Arch Linux ARM.md
Created December 27, 2015 10:22 — forked from yeokm1/Read-only FS on Arch Linux ARM.md
Set up Arch Linux ARM on Raspberry Pi to boot from and use a read-only file-system

##Read-only FS on Arch Linux ARM

Unlike your typical computer where you usually shutdown properly, I cannot rely on this during the use of my Raspberry Pi. If the Raspberry Pi is improperly shutdown too many times, data corruption in the file system leading to unbootable SD card may result. So we should use a read-only file system.

Full instructions and explanations are obtained from this link but you can run these commands directly. I modified some of the instructions for personal convenience.

#Update everything first, remove cache then reboot to detect problems
pacman -Syu  
#May be needed if the pacman version has changed during the update
@atlury
atlury / rPi3-ap-setup.sh
Created March 20, 2016 09:20 — forked from Lewiscowles1986/rPi3-ap-setup.sh
Raspberry Pi 3 access-point-setup
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Must be root"
exit
fi
if [[ $# -ne 1 ]];
then echo "You need to pass a password!"
echo "Usage:"
@atlury
atlury / config
Created April 6, 2016 20:13 — forked from mokomull/config
x86_64 config for Intel Edison
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 3.10.80 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"