RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Viewing Retropie Gameplay through SSH/Putty?

    Scheduled Pinned Locked Moved Help and Support
    twitchtwitch streamtwitch tvsshputty
    34 Posts 7 Posters 3.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mituM
      mitu Global Moderator @BGallagherLA
      last edited by

      @BGallagherLA said in Viewing Retropie Gameplay through SSH/Putty?:

      My laptop is old but it does have an HDMI port, so I tried running a HDMI micro cable from the HDMI 1 port on the Pi 4 to my laptop, and it didn't seem to work (I'm honestly not sure how that didn't work, but it's been very annoying).

      I honestly don't see how that would work, since both HDMI ports only support outputting the signal, not processing it as an input.

      What I really want to do is keep the games streaming through the Pi and my TV, and find a way to bring that gameplay signal to my laptop.... so I wondered is there a way to access that signal through SSH/Putty?

      No, it's not possible like this. If RetroArch would be able to stream locally, so you could connect a client like VLC to see the stream on your laptop, that would be something.

      B 1 Reply Last reply Reply Quote 0
      • B
        BGallagherLA @mitu
        last edited by

        @mitu In one of my earlier threads (https://retropie.org.uk/forum/topic/26446/how-to-mirror-retropie-from-my-pi-to-my-laptop/2?_=1592410360842) I mentioned using this article (https://maker.pro/raspberry-pi/projects/how-to-connect-a-raspberry-pi-to-a-laptop-display) to connect the Pi to VNC and you said VNC needs a 'desktop environment to mirror' and that 'Retropie runs outside of a desktop environment." Do you think I could follow the same steps in the Maker.pro article and apply it to a VLC player instead of VNC? Would that maybe work?

        1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator
          last edited by

          @BGallagherLA said in Viewing Retropie Gameplay through SSH/Putty?:

          Do you think I could follow the same steps in the Maker.pro article and apply it to a VLC player instead of VNC? Would that maybe work?

          No, VNC and VLC are different things. VNC uses its own protocol to transfer the image (don't know if it also transfers the sound), while VLC is a video player which understands various video streaming protocols.

          B 1 Reply Last reply Reply Quote 0
          • B
            BGallagherLA @mitu
            last edited by

            @mitu So how would I get it to play on VLC? Through my Twitch stream key? I'm kind of amazed that there is no fairly simple way to accomplish what seems fairly simple...

            1 Reply Last reply Reply Quote -1
            • mituM
              mitu Global Moderator
              last edited by

              @BGallagherLA said in Viewing Retropie Gameplay through SSH/Putty?:

              So how would I get it to play on VLC?

              I don't know.

              1 Reply Last reply Reply Quote 0
              • pjftP
                pjft
                last edited by pjft

                I don't want to derail this confusing thread, but is this what you'd want?

                https://www.google.com/amp/s/amp.reddit.com/r/VLC/comments/9akigp/is_there_a_way_to_view_twitch_streams_through_vlc/

                A user says that you can open twitch URLs straight on VLC 3, it seems, though I'm still a bit confused as to what you are trying to accomplish.

                B 1 Reply Last reply Reply Quote 0
                • B
                  BGallagherLA @pjft
                  last edited by

                  @pjft OK. I can currently stream games to Twitch solely through my Pi 4. This works great. But I also want to add a video feed to my stream. The video stream would be through my laptop. However, on streaming programs like OBS and Streamlabs, the video feed (webcam) and the gameplay have to be on the same computer. I am playing RetroPie through my Pi 4 that is hooked up to my nice smart tv. I want a way to send that gameplay stream from my pi/TV to my laptop, so it can be seen by OBS and I can add my camera feed and perhaps other stream elements and such.

                  I'm realizing that sending the Twitch URL to VLC wouldn't work, because with a video feed I would be launching to Twitch through OBS or Streamlabs and that would conflict with me launching Twitch through my Pi. So I need a way to send my video feed from my TV/Pi to my laptop so it can be seen on OBS/Streamlabs and then stream to Twitch.

                  Or an alternative would be to set up OBS/Streamlabs within the Pi itself and set up a camera feed there, but I don't know if that's possible either.

                  I hope this clears up confusion.

                  pjftP 1 Reply Last reply Reply Quote 1
                  • pjftP
                    pjft @BGallagherLA
                    last edited by

                    @BGallagherLA got it. Sorry I couldn't help further, I'm not extremely familiar with Twitch.

                    B 1 Reply Last reply Reply Quote 1
                    • B
                      BGallagherLA @pjft
                      last edited by

                      @pjft All good. Thanks!

                      1 Reply Last reply Reply Quote 0
                      • dankcushionsD
                        dankcushions Global Moderator
                        last edited by

                        surely the best approach would be to get a videocapture device for your latop and do the video compositing there via OBS.

                        1 Reply Last reply Reply Quote 0
                        • F
                          froccoar @BGallagherLA
                          last edited by

                          @BGallagherLA So many things to answer.
                          First. HDMI only outputs video. No video input. Unless you have a grabber. HDMI-USB are video outputs.
                          There is an option, which is forwarding the graphic part in an ssh client. Something like "How do I forward x11 using PuTTY?"

                          1 Reply Last reply Reply Quote 0
                          • F
                            froccoar @BGallagherLA
                            last edited by

                            @BGallagherLA https://aruljohn.com/info/x11forwarding/ Testing this.

                            dankcushionsD 1 Reply Last reply Reply Quote 0
                            • dankcushionsD
                              dankcushions Global Moderator @froccoar
                              last edited by

                              @froccoar retropie (on pi) does not use x.

                              F 1 Reply Last reply Reply Quote 0
                              • F
                                froccoar @dankcushions
                                last edited by

                                @dankcushions
                                yeah i just realized when the wall hit my head! BUT ... I managed to open a window and the emulastation throws me an error. What do use then ???

                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  froccoar @froccoar
                                  last edited by

                                  @froccoar https://github.com/ponty/framebuffer-vncserver

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    BGallagherLA @froccoar
                                    last edited by

                                    @froccoar So in theory would installing this on the pi allow me to access the Pi's game feed on the VCN program on my laptop?

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      froccoar @BGallagherLA
                                      last edited by

                                      @BGallagherLA I have not had time to try it. I'm not sure if it will walk. But try it and tell us how it went!

                                      B 1 Reply Last reply Reply Quote 1
                                      • B
                                        BGallagherLA @froccoar
                                        last edited by

                                        @froccoar Sure! Anything is worth a try at this point haha.

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          joesnow81
                                          last edited by

                                          This is something I have been looking into as well. My plan was to get something like this video capture device. Pi hdmi plugs into this and then hdmi out to the tv. USB from this into your laptop. You can then have the webcam, mic and video of the Pi all on the laptop.

                                          B 1 Reply Last reply Reply Quote 1
                                          • B
                                            BGallagherLA @joesnow81
                                            last edited by

                                            @joesnow81 Yes, exactly. I ordered something similar to this. Should be here this weekend. I also am gonna try a more unconventional, roundabout approach as well that, in theory, should work. There is this other article about how to stream to YouTube through your RetroPie - http://selsine.com/2016/10/17/how-to-live-stream-to-youtube-from-a-retropie/ - so in theory, I could stream to my YouTube, put the YouTube full screen, so OBS/Streamlabs captures that, and bam! I signed up to "go live" on youtube but it takes 24 hours for your account to activate, so that should happen later today. Only thing I'm worried about is a lag/delay, but we'll see what happens.

                                            B 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.