Live data from Hacker News

How to Run a Live Coding Stream on Twitch Using OBS

jordanlewis.org

111–120 of 193 posts

Re: How to Run a Live Coding Stream on Twitch Using OBS

#111
post #4

Do a lot of programmers feel like they could be effective on a livestream? I might be in a minority, but my preferred coding style is very non-linear and sporadic, and wouldn't make for an enjoyable viewing experience.

having watched a lot of coding streams on twitch and have done a few myself, it is really varied, some are sometimes very focused on doing something specific and is just full steam ahead in knocking it out, some are very stop start with lots of reflection and changes of direction. But it is also interactive, people chime in and you end up in meta discussions or sidetracks, or people offer help, etc. So there is no real set style.

Re: How to Run a Live Coding Stream on Twitch Using OBS

#113
If you’re looking to bring HDMI content into OBS easily and cheaply, check out my review on the $15 HDMI capture card that recently made the rounds here on Hacker News. Essentially this card has a native resolution of 1280x720, which is a good target if you’re trying to make text legible.

https://www.naut.ca/blog/2020/07/09/cheap-hdmi-capture-card-...

Re: How to Run a Live Coding Stream on Twitch Using OBS

#114
post #72

One thing that I was surprised not to see in the post was how to deal with editing files that have secrets (such as API keys or email credentials). When I set up OBS, I overlayed a full screen image that says I'm showing something secret which had nothing but a small webcam feed in the bottom right so folks could still see me but not my desktop. It was assigned to a global hotkey toggle of course.

This reminds me of a very funny moment I saw where a streamer was opening his beta invite key for a new game live and realized when he did that he had just leaked the key and someone was going to steal his invite, but he had a 10 second stream delay setup which give him just enough time to rush and enter the key before anyone else could use it.

Re: How to Run a Live Coding Stream on Twitch Using OBS

#115
post #4

Do a lot of programmers feel like they could be effective on a livestream? I might be in a minority, but my preferred coding style is very non-linear and sporadic, and wouldn't make for an enjoyable viewing experience.

this is why most streams you find are front end development based.

Re: How to Run a Live Coding Stream on Twitch Using OBS

#116
post #4

Do a lot of programmers feel like they could be effective on a livestream? I might be in a minority, but my preferred coding style is very non-linear and sporadic, and wouldn't make for an enjoyable viewing experience.

It's an easy way to do pair programming without needing to arrange for anyone. Explaining your thinking and process is quite helpful.

But yes, I've certainly found it slower.

Re: How to Run a Live Coding Stream on Twitch Using OBS

#117

If you’re looking to bring HDMI content into OBS easily and cheaply, check out my review on the $15 HDMI capture card that recently made the rounds here on Hacker News. Essentially this card has a native resolution of 1280x720, which is a good target if you’re trying to make text legible. https://www.naut.ca/blog/2020/07/09/cheap-hdmi-capture-card-...

Hey, I can't link to it right now but there's a couple of Twitter threads about that card and some true USB3 1080p capable ones - they're about $50AUD on AliExpress. I still wonder why the manufacturer or seller filed off the names of the chips.

Re: How to Run a Live Coding Stream on Twitch Using OBS

#118
post #4

Do a lot of programmers feel like they could be effective on a livestream? I might be in a minority, but my preferred coding style is very non-linear and sporadic, and wouldn't make for an enjoyable viewing experience.

I've seen a few streams of people who are like this, and they seem to do ok. One of the pidgin devs migrated their mercurial repos from bitbucket to their own self-hosted environment, live, on stream.

I think the personality of the person has a lot more to do about whether they keep the attention of their viewers. The ones who seem to get things done seem to speak out their internal dialog.

Re: How to Run a Live Coding Stream on Twitch Using OBS

#119
post #44

I love live coding streams but I don't understand why you'd stream a video of your keyboard at all times? From the screenshots it doesn't look like you'd be able to pick up on things like hotkeys when watching in real-time, but as mentioned in the article it does open the possibility for somebody to watch replays and figure out your passwords. Keyboard cameras make sense to me if somebody is streaming eg starcraft wh…

Technically this is still kind of the best way of doing it. Guy who wrote this article made a mistake, his keyframe interval is set to 0, which tells his encoder its free to do scene detection... however, he's exploiting the nature of the encoder (the scene never changes, as its a static image) to create extremely large GOPs, but not as big as manually setting it can go. Twitch, as do other platforms, have recommenda…

I haven't had a chance to play with Turing NVENC yet - how much of a real step up from Pascal is it? How does it compare to x264 veryslow quality wise (I know it'll beat x264 in realtime encoding, but I'm more interested in archival)

Re: How to Run a Live Coding Stream on Twitch Using OBS

#120
post #72

One thing that I was surprised not to see in the post was how to deal with editing files that have secrets (such as API keys or email credentials). When I set up OBS, I overlayed a full screen image that says I'm showing something secret which had nothing but a small webcam feed in the bottom right so folks could still see me but not my desktop. It was assigned to a global hotkey toggle of course.

Personally, I would stream on a VM to avoid secret leak. PR you own projects, never put any secret on this VM.
Post reply on HN