Open luckytyphlosion opened 2 years ago
Bonus feature: synced double replays ( https://youtu.be/jM02XE4A-_E?t=8851 )
Also maybe build a minimal FFmpeg executable which only has the necessary codecs for what bbn6 will do? Pre-built binary releases are ~76MB.
Also should have support to dump frames at unlimited speed (which nearly all emulators support).
https://pkg.go.dev/github.com/Microsoft/go-winio has support for named pipes, it seems (on posix just syscall.Mkfifo would work fine)
Article explaining pros and cons of using libavcodec vs ffmpeg image2pipe: https://www.drmaciver.com/2010/12/reading-video-frame-by-frame-with-ffmpeg/
Probably just pipe in video and audio data. Two options: