forgotthetimer | 2 years ago | on: Show HN: Send me an IRL message and watch it arrive
forgotthetimer's comments
Update: there's been a bunch of great messages so far, from people all over. But most importantly we've had a
forgotthetimer | 2 years ago | on: Show HN: Send me an IRL message and watch it arrive
Getting the data onto the screen is fine, and IRL I can't see any flicker, but the OLED screen itself is apparently refreshing at something like 107 or 133 Hz.
forgotthetimer | 2 years ago | on: Show HN: Send me an IRL message and watch it arrive
Yep, it should show on the screen but unfortunately the camera refresh rate is out of sync with the screen's refresh rate so it's a bit hard to see. I need to read the datasheet again and drop the screen's refresh rate - I tried adjusting the camera's instead but it was never quite right.
forgotthetimer | 2 years ago | on: Show HN: Send me an IRL message and watch it arrive
(OP, temp user, forgot to disable the HN procrastination timer)
For anyone trying to do this in the future, here's the command to stream from a modern Pi camera module / driver to twitch. IIRC I also had to install the full version of the libcamera tools to use the libav switches.
libcamera-vid -v 0 -t 0 --codec libav --libav-format flv -o "rtmp://<twitch stream url>/<twitch stream key>" --rotation 180 --width 1920 --height 1080 --framerate 30 --bitrate 4000000 --autofocus-mode auto --autofocus-window 0.25,0.15,0.5,0.5
page 1