Do a Picture in Picture Stream with OBS and NGINX


Checkout: | |

You may also like...

9 Responses

  1. Julianna says:

    I would like to do a picture in picture stream from two consoles in the same house. Any suggestions?

    • RobinJack0r says:

      Oh in that case you dont need any nginx setup. OBS and 2 capture cards should work best.
      For example, get a HDMI-Splitter for each console, and then one cable from each goes to a central PC with the capture cards. Then you can easily add the Video and Audio of both consoles to a stream. There are two things worth mentioning though:
      You have to find a way to get both voices to this PC if you want them on stream and before you buy the capture cards, make sure two of them work in one PC. The often used ElGato for example, apparently does not support more than one capture device. Oh and a third thing, there are also capture cards with more than one input but they are unfortunately often more expensive than getting two cards with one input each.
      (You could of course do a setup with 2 PCs and nginx as described in this guide, BUT you still need two capture cards and getting a long HDMI cable might be the cheapest and also best way, less hassle with software)

      Hope that helps you, if you have more questions be sure to ask! :)

      • Julianna says:

        Thanks for the quick feedback! Getting 2 capture cards was what I was thinking, but I was wondering if I would be able to run them both on the same PC at the same time. Do you think getting 2 different brands with different viewing software may get around that?

        • RobinJack0r says:

          Well, for example I know that Avermedia updated their driver so you can use two Live Gamer HD (probably also the lite variant) in one PC. A friend to my knowledge also uses 2 Game Broadcaster HD’s at the same time in his PC, while I have to add that someone tried to use 4 of them and got into problems :D Elgato clearly said they do not support more than one device (although, if you can, get an internal capturecard anyway, not an USB2 one [USB3 can be ok])
          If you find 2 devices that generally work very good, but cannot find further alternatives (to the two mentioned) to be sure 2 of the same brand work, then of course you could just grab two from different manufacturers. And if they both offer the usual DirectShow drivers they will work in OBS at the same time.

  2. bshock says:

    You mentioned two options for browser viewing of the OBS-Nginx: JWPlayer and Flowplayer.

    Is it possible to use a free solution like JPlayer? So far I have OBS and Nginx set up well enough that can play the RTMP stream from VLC, but then VLC will play anything.

    My JPlayer test page always fails the initial handshaking phase with Nginx (at least that’s what packet-sniffing seems to indicate). This puzzles me because the same JPlayer test page works for countless other live-streaming RTMP sites (many of which have URLs similar to what I’m using for Nginx, with port 1935 and /live; granted, that doesn’t prove anything).

    Any ideas or advice would be appreciated.

    • RobinJack0r says:

      I had not heard of jplayer yet. So I checked how to use it and got stuck, in the documentation I then found this:

      The RTMP protocol uses a Flash Media Server (FMS) to stream media to jPlayer’s Flash solution. The RTMPA format is an audio RTMP stream, and the RTMPV format is a video RTMP stream. The HTML solution does not support RTMP.

      Seems like rtmp is not supported by jplayer. RTMP A/V seem to be different. Maybe you can ask the jplayer developers for more info!

  3. Cornelius says:

    Thank you for taking the time to put all these guides together.
    I was curious if you could post your index.html so we could see how you put it together to cleanly show stats and the 3 live videos concurrently.

    Thank you
    Cornelius Thompson

  4. Lavina says:

    I’m now not certain where you are getting your info, however great topic.
    I must spend a while learning more or working out more. Thanks
    for fantastic information I used to be on the lookout for
    this info for my mission.