I want to live stream me coding on TwitchTV. Back in my vim days, I would open up several terminals and leave a small hole in the corner to put a quicktime webcam display so that my screen recorder would capture my face. What I would like is the ability to embed a webcam feed into a buffer of emacs so that it will be integrated with emacs tiling ability. Is this possible? If so, how would I go about doing it?
Take my answer with a grain of salt, it's untested and I'm not sure if it works, and it certainly won't do audio.
Create a live-streaming .gif file from your video stream:
git clone https://github.com/jbochi/gifstreamingcd gifstreamingmkdir inputmkdir partsffmpeg -re -i rtmp:///dev/video0 -pix_fmt pal8 -s 159x97 -r 10 input/in%d.gif &python transform.pynode server.js
https://github.com/jbochi/gifstreaming
M-x eww RET http://localhost:8080/ RET
Alternatively, you could try streaming directly from your webcam without the gif step, but I doubt eww can display video files inline.
http://www.area536.com/projects/streaming-video/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With