Run Raspberry 3 in digital signage mode with Chromium Web browser on a TV screen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ./gst-launch-1.0 -e videotestsrc ! video/x-raw,width=640,height=480 ! x264enc bitrate=500 ! h264parse ! mpegtsmux name=mux ! rtpmp2tpay! queue ! udpsink port=10001 host=127.0.0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ffmpeg -i udp://235.1.11.12:11112 -vcodec h264_qsv -init_hw_device qsv:hw -profile:v high -preset slow -b:v 5500k -minrate 6M -maxrate 6M -bufsize 1200k -ab 64k -look_ahead 0 -flags:v +ilme+ildct+cgop -mpv_flags +strict_gop -sc_threshold 1000000000 -acodec copy -f mpegts udp://235.1.11.3:11112 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew options ffmpeg | |
| brew install ffmpeg \ | |
| --with-chromaprint \ | |
| --with-fdk-aac \ | |
| --with-fontconfig \ | |
| --with-freetype \ | |
| --with-frei0r \ | |
| --with-game-music-emu \ | |
| --with-libass \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| D1="[f=hls:hls_flags=delete_segments:hls_list_size=10:hls_time=20:use_localtime=1:hls_segment_filename='/var/www/html/hls3/%s.ts']/var/www/html/hls3/stream.m3u8" | |
| D2="[f=mpegts]udp://239.1.1.3:10480?localaddr=10.1.5.99&pkt_size=1316&fifo_size=1000000" | |
| D3="[f=dash:window_size=5:extra_window_size=5:remove_at_exit=1]/var/www/html/dash3/stream.mpd" | |
| ffmpeg \ | |
| -v verbose \ | |
| -f decklink -format_code pal -i "DeckLink Mini Recorder" \ | |
| -vf "setdar=dar=16/9" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "Downloading ipvtl Software \n" | |
| cd /home | |
| wget http://www.ipvideotrans.com/download/ipvtl_trial-x64.tar.xz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # The script configures simultaneous AP and Managed Mode Wifi on Raspberry Pi Zero W (should also work on Raspberry Pi 3) | |
| # Usage: curl https://gist.githubusercontent.com/lukicdarkoo/6b92d182d37d0a10400060d8344f86e4/raw | sh -s WifiSSID WifiPass APSSID APPass | |
| # Licence: GPLv3 | |
| # Author: Darko Lukic <lukicdarkoo@gmail.com> | |
| # Special thanks to: https://albeec13.github.io/2017/09/26/raspberry-pi-zero-w-simultaneous-ap-and-managed-mode-wifi/ | |
| MAC_ADDRESS="$(cat /sys/class/net/wlan0/address)" | |
| CLIENT_SSID="${1}" | |
| CLIENT_PASSPHRASE="${2}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Ffmpegdecklink < Formula | |
| desc "FFmpeg with --enable-decklink" | |
| homepage "https://ffmpeg.org/" | |
| url "https://ffmpeg.org/releases/ffmpeg-4.0.tar.xz" | |
| sha256 "ed945daf40b124e77a685893cc025d086f638bc703183460aff49508edb3a43f" | |
| head "https://github.com/FFmpeg/FFmpeg.git" | |
| keg_only "anything that needs this will know where to look" | |
| option "with-chromaprint", "Enable the Chromaprint audio fingerprinting library" | |
| option "with-fdk-aac", "Enable the Fraunhofer FDK AAC library" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| stream="" | |
| recording_dir=$HOME/recordings | |
| while [[ ! $stream =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+:[0-9] ]]; | |
| do | |
| echo "Please enter a valid multicast address and port in the format: IP.AD.DR.ESS:PORT after the script name!" | |
| read -r stream | |
| done |