This project can stream your PS5 game play as a RTMP stream. So that you can stream it to 3rd party platforms like Bilibili.
It is composed of 2 services:
-
dnsmasq
Based on jpillora/dnsmasq, I updated default configuration to use
114.114.114.114as the default DNS and added rules for redirecting PS5 streaming data to nginx-rtmp service. -
nginx-rtmp
This is used to receive rtmp video stream from PS5 and output to rtmp clients.
┌─────────────────────────────────────────────────┐
│ Host Machine (192.168.1.5) │
│ │
┌──────┐ DNS query │ ┌───────────────────────────┐ │
│ │ ────────────►│ │ dnsmasq │ │
│ │◄─────────────│ │ (port 53 UDP) │ │
│ │ 192.168.1.5 │ │ │ │
│ PS5 │ (hijacked) │ │ contribute.live-video.net │ │
│ │ │ │ → 192.168.1.5 │ │
│ │ │ └───────────────────────────┘ │
│ │ RTMP stream │ ┌───────────────────────────┐ │
│ │ ────────────►│ │ nginx-rtmp │ │
│ │ :1935 │ │ (port 1935) │ pull │
└──────┘ │ │ │ (port 1935 rtmp) │
│ │ stats: :8081 │────────────────────► OBS ──► Bilibili
│ └───────────────────────────┘ │
└─────────────────────────────────────────────────┘
Docker (you can run it on your streaming PC)
Checkout Wiki / 使用教程 (it is in Chinese!)
MIT