LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-28-2021, 10:23 PM   #1
andersonjos
LQ Newbie
 
Registered: Jan 2021
Posts: 2

Rep: Reputation: Disabled
RTMP streaming server - output to physical display


Hello all,

I'm kinda new to forums, but I'm looking to see if anyone has any experience they would be willing to share regarding setting up a RTMP streaming server using Linux.

I would like to send a video stream from my encoder to a "headless" linux server which would then restream the stream to multiple rtmp services. I would also like to be able to see what the server is sending out on a physical monitor / tv connected to the server.

I have some Linux experience, but am definitely not an expert. Part of the reason I want to do this is to continue learning how to use Linux and learn what it can do.

I currently have the restreaming server already setup using a CLI only Centos 8 machine. Using NGINX and stunnel, I was able to set up the RTMP stream part, but I'm unsure how to also tell the server to send the stream to a physical monitor connected to it. As I understand it, I have to tell NGINX to start a media player that will play on an HDMI port. However, the only guide / instructions that I could find online were for a Raspberry PI device and were PI OS specific. I'm sure they are similar, but I simply do not have the Linux experience yet to know how to adapt it. Any help or direction would be appreciated.

Thanks in advance
 
Old 01-30-2021, 03:39 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
This info probably looks good in a flow chart, but there's no technical information: application & system configuration, commands & output received, files edited, logs etc.
 
Old 02-01-2021, 04:37 PM   #4
andersonjos
LQ Newbie
 
Registered: Jan 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you for the replies guys!

Ondoho, I'm running Centos 7.4 on a HyperV VM on a Windows 2016 server. Plenty of RAM and CPU power. I'm not sure what info you would be interested in. I installed a headless Centos and already have a successful restreaming server running.

I'm trying to set something up for a church broadcast. The church want's to stream their services to YouTube and Facebook but has some financial limitations so we cannot afford professional equipment to send our stream to both places. What I am trying to do is setup a restream server that sends out two streams (already successfully running) and also outputs to an video port to send to an internal cable modulator that our overflow room and cry-room areas use.

I found plenty of guides to set up the server for streaming, but lack the configuration details to send it to a video card. From what I can tell from these posts,

https://raspberrypi.stackexchange.co...output-to-hdmi
https://aaronparecki.com/2020/09/07/...reaming-server

it should be doable. But I am not proficient enough in Linux to translate Pi commands to Linux commands. The biggest thing I can't figure out is how to tell a Linux player to send the stream to a specific video port. From what I can tell, adding exec omxplayer -o hdmi rtmp://127.0.0.1:1935/live/$name; to my NGINX config file should work, but I don't know how to set up the video output configuration as mentioned for the raspberry Pi

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Gnash Flash Player Gains RTMP Streaming Support LXer Syndicated Linux News 0 09-16-2013 01:41 PM
Protect rtmp server hermy7 Linux - Security 1 07-13-2013 04:16 AM
LXer: FOSDEM: Gnash Developer Deciphers RTMP LXer Syndicated Linux News 0 02-10-2009 09:12 PM
LXer: Gnash Flow: LinuxFund.org Supports RTMP for Gnash LXer Syndicated Linux News 0 12-15-2008 03:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration