I'm wanting to stream my prints to my Twitch channel and I'm trying to find out if mjpg-streamer has the capability. I have figured out a little work around, by installing libav-tools and using the following command:
raspivid -t 0 -fps 25 -hf -b 2000000 -o - | avconv -i - -vcodec copy -an -r 30 -g 30 -bufsize 2000000 -pix_fmt yuv420p -f flv rtmp://TWITCH_INGEST_ENDPOINT/YOUR_STREAM_KEY_HERE
The only thing is, you have to kill the mjpg_streamer process for this to work, or you'll get
mmal_vc_component_enable failed to enable component enospc since mjpg-streamer is started at boot and is using the camera.
So, I'm trying to figure out if mjpg-streamer can stream to Twitch by itself, instead of me installing other software, using it, and killing the mjpg-streamer process.