Skip to content

omxplayer to output RTMP stream to HDMI in nginx #105

@lsmith77

Description

@lsmith77

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions