I would like stream the video signal from the gameshell. the api is quite simple on the twitch side, but what I am looking for is a hint how to get the video and preferably also the audio signal captured on the device.
anyone has an idea?
you may have a look at cli possibilities of Streaming to twitch.tv - ArchWiki
I already have seen that, thank you. What I need is a possibility to get the videostream itsself. from then onwards I have an idea how to
The easiest way would be to get a USB HDMI adapter and then just use the Gameshell’s video output as a USB video-in on your PC. Though I’ve never used the Gameshell as input, I got one of these and it worked fine for streaming from an XBOX 360. As long as you can produce HDMI video output, you can stream anything this way:
For playing games, I’d recommend getting an HDMI splitter as well. Otherwise, the only way to see your video output will be through your PC’s streaming software, and there’s a small delay. For gaming, that delay is noticeable and can be annoying since it’s like having a slightly laggy controller. With a splitter you can have the Gameshell (or whatever device) hooked up simultaneously to the adapter for streaming and a monitor for playing. This splitter worked for me:
I’m not sure if it would be possible to stream directly from the Gameshell, but if some software exists it would be interesting to try. While it might be convenient since it would only require the one device, you’d probably have a hard time getting anything other than the display streaming. If you send the video signal through a PC, then you can use OBS or whatever other streaming software you want, and have customized overlays, webcam(s), etc.
I already thought about that, but unfortunately I still got a first generation Gameshell without hdmi out -_-
I will try to figure out if it works on the device itsself. I saw some hacks on retroPi devices using ffmpeg, so I guess it’s just a question of performance in the end
Understandable. I’d love to see if the Gameshell could handle it.
I poked around online, and this seemed to be the most promising option. They’re using Retropie, but the tools and methods mentioned in the links might get you closer to getting it working on a Gameshell too. I haven’t tried any of it myself, but it sounded like this was successful on an older Pi, and might be possible on the Gameshell too.
There is a setting in Retroarch to put your twitch stream key. It’s in ~/.config/retroarch/retroarch.cfg
You get your twitch stream key from your dashboard under settings.
It’s using the ffmpeg driver, so you’re probability bang on the money. I’m using Retroarch 1.9.0. I built it with all the features enabled. From memory, the official image has a lot of things stripped down; including streaming. You might need to rebuild Retroarch.
I’m doing a stream now. See how it works here:
The only thing is, you would need to be doing something in Retroarch.
coolio! that’s what I know from other retropie installations, eg. on my desktop. so I will recompile retroarch for the cpi
I think the current retropie for rpi4 is based on Debian Buster; with an emulation station front end launcher. It uses a mix of Retroarch and standalone emulators; basically the same as gameshell. Heck you can even put emulationstation on gameshells.
I’d say anything you can do on retro pie ahold be able to be done on Gameshell.
could you provide some help with rebuilding retroarch? I would love to stream fromt he gameshell directly but I can’t get it working
Check this thread out. First post goes through that.
You can just enable/disable parameters as you see fit.
If your Retroarch doesn’t have twitch enabled, sounds like you’re using a very old version of the OS, in which case an update might be a good thing. I think os 0.5 had it by default.
Otherwise, my image has the latest version of Retroarch installed. Here’s a link: Custom D.E.O.T. V2.0+/Clockwork OS v0.5 image - With customised DEOT interface, Kernel 5.7, Optional 1400MHz OC, Debian 10 Buster, Retroarch 1.9.0, Mupen64+ plus more! (Current build: 200903)
thank you. I hate these megathreads cause I am alyways unsure where the right bit of information is.
I think I already have OS 0.5 installed. retorarch is 1.8.1 though
If you do decide upgrade your Retroarch, you’ll probably also need to completely rewrite your config file from scratch, as there will no doubt be things that just break on first run if you try to use your old one. It will be a case of spending more time than it’s worth fixing it.
For now, if you still want to upgrade knowing this, if you have a spare SD card install my OS to it, run it, then look in the utilities folder for a Retroarch update script. Use this script in your own installation to upgrade your installation.
It’s 2am, and I should be in bed, so apologies for not just pasting the instructions here. I may have time on the weekend.
Alternatively, give my custom OS a shot. It might answer more questions, plus give you a few bonuses you didn’t realise you needed.