its not really a video in that sense but a sequence of images

Parts

  • Lolin D32 (or another board
  • a 128x64 OLED Display (SSD1306)

Windows

  • Install Shortcut @powershell Invoke-WebRequest -Uri " " -OutFile " "
  • Install ImageMagic @powershell Invoke-WebRequest -Uri " " -OutFile " "
  • install mpfshell @powershell Invoke-WebRequest -Uri " " -OutFile " "
  • Open Shotcut > Video Mode (Click on Automatic)
  • Write OLED 128x64 in Name
  • Set Resolution to 128x64, Aspect to 2:1 and Frame rate to 10
  • now drop a video or gif into shotcut, you can now edit it
  • when your finished your edit, open export (ctrl+9) then Stock > Stills > PNG and save your file into a folder
  • now we run magick (imagemagic) in that folder you saved a sequence of png files
  • magick *.png -depth 16 seq%05d.pbm
  • mpfshell COM4 -n -c mput .*pbm (upload to ESP8266)

more info
https://www.twobitarcade.net/article/oled-displays-i2c-micropython/
https://www.twobitarcade.net/article/displaying-images-oled-displays/
https://randomnerdtutorials.com/micropython-oled-display-esp32-esp8266/

why microsoft disabled the gui is beyond me, so here is a little script that enables support for ics via powershell

  • Download win10-ics
  • Run ics-setup.bat as Administrator
  • Run ics-start.bat and enter the network name you want to share the internet connection to (you can find this in Control Panel\Network and Internet\Network Connections)

Install

  • sudo apt-get remove golang --purge
  • curl -LO https://get.golang.org/$(uname)/go_installer && chmod +x go_installer && ./go_installer && rm go_installer
  • source $HOME/.bash_profile

compile something

  • go get github.com/ncw/rclone
  • $HOME/go/bin/rclone help

if you get process killed try

  • go get -d github.com/ncw/rclone
  • go build ./go/src/github.com/ncw/rclone
  • go install ./go/src/github.com/ncw/rclone
  • $HOME/go/bin/rclone

enable more swap if you have a 512MB VPS

  • sudo fallocate -l 1G /swapfile
  • sudo chmod 600 /swapfile
  • sudo mkswap /swapfile
  • sudo swapon /swapfile

Server Setup

  • Get yourself a VPS at DigitalOcean
  • git clone https://github.com/nwgat/wg-quick-setup && cd wg-quick-setup
  • sh wg-quick-setup-auto.sh (automatic, opens firewall, configure routing)
  • sh wg-quick-setup-manual.sh(manually input the ip/domain and ethernet device)
  • sh wg-quick-setup-uninstall.sh (removes /etc/wireguard and wireguard/wireguard-tools packages)

Client Setup

  • Windows: Open Wireguard. Press Ctrl + N. Now Copy & Paste the client config output here
  • Linux: copy the client config output to /etc/wireguard/wg0.conf and starte wireguard with wg-quick up wg0

  • sudo apt-get install git cmake gcc yasm build-essential autoconf libtool libfreetype-dev libfribidi-dev libfontconfig1-dev python libsdl2-2.0-0 libsdl2-dev libgnutls28-dev libva2 libva-dev vainfo libbluray-dev liblua5.3 liblua5.3-dev libdrm-dev libsdl2-dev libsdl2-mixer-dev libarchive-dev wayland-protocols libvdpau-dev libplacebo-dev libgdm-dev libluajit-5.1-dev -y
  • git clone https://github.com/mpv-player/mpv-build.git && cd mpv-build
  • ./use-mpv-release
  • ./use-ffmpeg-release
  • ./rebuild -j8
  • sudo ./install
  • echo "hwdec=vaapi" > .config/mpv/mpv.conf
  • mpv http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_2160p_60fps_normal.mp4
Receive $10 in credit at DigitalOcean for your VPS Hosting
Cheaper Games on Instant-Gaming
Proudly published with Ghost | Theme based on Draugur | Header Image by GUWEIZ@DeviantArt
Creative Commons Licence