Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

omxplayer to output RTMP stream to HDMI in nginx #105

Open
lsmith77 opened this issue Mar 21, 2024 · 0 comments
Open

omxplayer to output RTMP stream to HDMI in nginx #105

lsmith77 opened this issue Mar 21, 2024 · 0 comments

Comments

@lsmith77
Copy link

When using Nginx as an RTMP streaming bridge to HDMI, omxplayer used to enable this using an Nginx config like the following


rtmp {
  server {
    listen 1935;

    application live {
      # Enable livestreaming
      live on;

      # Disable recording
      record off;

      # Allow only this machine to play back the stream
      allow play 127.0.0.1;
      deny play all;

      # Start omxplayer and play the stream out over HDMI
      exec omxplayer -o hdmi rtmp://127.0.0.1:1935/live/$name;
    }
  }
}

THe key line relevant for this issue is exec omxplayer -o hdmi rtmp://127.0.0.1:1935/live/$name;

For the full tutorial see:
https://aaronparecki.com/2020/09/07/7/raspberry-pi-streaming-server

Is there any way to achieve the same using VLC?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant