ffmpeg \
-f lavfi -i "sine=frequency=1000:duration=120" \
-f lavfi \
-i testsrc=duration=5:size=1280x720:rate=24 \
-t 120 \
-map 0:0 \
-map 1:0 \
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
| GIMP Palette | |
| Name: OpenGolfSim Surfaces v3 | |
| # | |
| 0 196 35 #00C423 #fairway | |
| 17 91 19 #115B13 #rough | |
| 41 103 213 #2967D5 #water | |
| 52 62 19 #343E13 #trees | |
| 130 221 160 #82DDA0 #fringe | |
| 142 254 180 #8EFEB4 #green | |
| 134 181 154 #86B59A #tee |
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
| # Define the P/Invoke signatures | |
| Add-Type @" | |
| using System; | |
| using System.Runtime.InteropServices; | |
| using System.Text; | |
| public class WindowTools { | |
| [StructLayout(LayoutKind.Sequential)] | |
| public struct RECT { | |
| public int Left; |
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
| #!/usr/bin/env bash | |
| ROKU_IP="192.168.1.167" | |
| ROKU_USER="rokudev" | |
| ROKU_PASSWORD="XXXXXXX" | |
| APP_FOLDER="app" | |
| DEST_FOLDER="dist" | |
| timestamp=$(date +%s) | |
| zipfile="../$DEST_FOLDER/rokuapp-$timestamp.zip" |
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 | |
| wget "https://nodejs.org/dist/v20.9.0/node-v20.9.0-linux-arm64.tar.xz" | |
| tar -xf node-v20.9.0-linux-arm64.tar.xz | |
| cd node-v20.9.0-linux-arm64 | |
| sudo cp -R bin include lib share /usr/local/ | |
| node -v | |
| npm -v |
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 | |
| ffprobe \ | |
| -v error \ | |
| -select_streams v \ | |
| -show_entries frame=pict_type,pts_time \ | |
| -of csv=p=0 \ | |
| -skip_frame nokey \ | |
| $INPUT_FILE > iframes.txt |
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 | |
| packager \ | |
| 'in=./tmp/output_540p.mp4,stream=video,init_segment=./tmp/output/video_3000_0/video_init.mp4,segment_template=./tmp/output/video_3000_0/video_$Number$.m4s' \ | |
| 'in=./tmp/output_720p.mp4,stream=video,init_segment=./tmp/output/video_1700_1/video_init.mp4,segment_template=./tmp/output/video_1700_1/video_$Number$.m4s' \ | |
| 'in=./tmp/output_1080p.mp4,stream=video,init_segment=./tmp/output/video_1200_2/video_init.mp4,segment_template=./tmp/output/video_1200_2/video_$Number$.m4s' \ | |
| 'in=./tmp/output_audio_128.mp4,stream=audio,language=en,roles=main,hls_name=main_en_2,init_segment=./tmp/output/audio_96_2/audio_init.mp4,segment_template=./tmp/output/audio_96_2/audio_$Number$.m4s' \ | |
| 'in=./tmp/output_audio_196.mp4,stream=audio,language=en,roles=main,hls_name=main_en_3,init_segment=./tmp/output/audio_64_3/audio_init.mp4,segment_template=./tmp/output/audio_64_3/audio_$Number$.m4s' \ | |
| --fragment_duration 6 \ | |
| --segment_duration 6 \ |
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 | |
| BUILD_ID=$(date +"%s") | |
| SRC_DIR="MyApp" | |
| ZIP_FILE="dist/devbuild_$BUILD_ID.zip" | |
| ROKU_URL="http://192.168.1.167" | |
| ROKU_DEV_USER="rokudev" | |
| ROKU_DEV_PW="******" |
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 | |
| ffmpeg \ | |
| -i "http://relay.publicdomainradio.org/classical.mp3" \ | |
| -f lavfi \ | |
| -re \ | |
| -i testsrc=duration=120:size=1280x720:rate=24 \ | |
| -map 0:0 \ | |
| -map 1:0 \ | |
| -c:v libx264 \ |
Some notes on getting Debian 10 (stable) installed and running on the Beelink U57 Mini PC with Intel Core i5-5257u Processor.
Create a bootable USB Flash drive of the Debian 10 netinst ISO using Etcher.
- Download ISO from Debian: https://www.debian.org/distrib/netinst
- Flash to SD Card using Balena Etcher https://www.balena.io/etcher/
- Connect ethernet cable to Beelink
Note: The firmware needed to use the Beelink's onboard Intel Wifi is proprietary, and is not included with the default install of Debian. If you don't have the option of a wired LAN connection you can use an "unofficial" Debian CD image, that includes the proprietary (non-free) firmware. (https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/) See the below section on installing the firmware later on.
- Immediately after startup press the
Delkey to enter the BIOS.
NewerOlder