/    Sign up×
Community /Pin to ProfileBookmark

PHP script available for doing my own “Go Live” video performances from home?

I’m a musician, and like many am not able to perform live at this time, due to the Covid-19 situation. So I’d like to do some virtual performances from home. I know YOUTUBE already offers a free service like this, but I’d rather be able to do it independently if possible. After all, they theoretically could shut me down just for playing cover songs. I have a paid hosting service (I’m using A2Hosting right now), and It would be great if I could install it there, and create a simple link on my website which would allow visitors to view and listen to my streamed performances. (I suppose I could also run a server from home, but I doubt I’d have the bandwidth to host more than a dozen viewers doing it directly).

So anyway, In this case I think I’d rather find an existing open source or reasonable priced script I could customize and install on my site, so I could concentrate on the music and performance side of things. I usually like to scratch write my own code, but I’m hoping someone has already invented this wheel. Any suggestions?

to post a comment
PHP

6 Comments(s)

Copy linkTweet thisAlerts:
@daveyerwinAug 01.2020 — @PeterPan_321#1621624

yeah I do that now

it is just crazy simple

Except for the web page part

I do live streaming from a vps

But, to view my stream you must

use VLC or some other media player

VLC for windows is a free down load

https://www.videolan.org/vlc/

it is already installed on linux

really it is a simple task

i just do live only

video on demand is more complicated

of course you can stream from your own

machine but bandwidth might be a drawback

depends on your provider

all the soft ware is free

While I don't really know I have always believed

that you can't do it with shared hosting

maybe your provider will allow it ?

that's is why I got a virtual private server

I use nginx it has a streaming module

https://nginx.org/en/download.html

I have had some bad experiences with

some hosting providers

most are over priced and prone to

down time

contact your isp and discuss streaming

from home with them

for content production here at my house

I use OBS

https://obsproject.com/

also free

if you can code a little and follow instructions

you can probably learn to do the website

thing also

Good Luck
Copy linkTweet thisAlerts:
@PeterPan_321authorAug 01.2020 — Thanks, and sadly you are indeed correct. Id at least need to upgrade to a VPS. My shared A2 hosting has already let me get away with a LOT despite technically crossing several "no-no" rules (I do host MP3s and some videos of my own stuff, and I have tons of photos). They have said they are OK with that, because I've been good about not hogging server bandwidth. But they politely explained that besides it being against the terms of service, it could easily cause my bandwidth resource limit to be exceeded, resulting in automated thottling, and potentially causing instability for other users of the same shared server.

I could try it from a server at home. My "upload" speed is only 25MBps though. So maybe if I kept the video portion down to a small 320 x 240 view (which means it would get blurry if a visitor expanded much), but kept the audio quality good, maybe I could serve a couple dozen viewers. But that would be pushing it.

My budget demands that I play the game of getting multiple year hosting at promo prices, and taking advantage of the lower cost of shared hosting deals. About the only "extravagance" I opt for is to be able to host multiple domains. But as everything I do these days is a labor of love, it will have to do.

Maybe I'll try that NGINX sometime just for fun. Give me an excuse to tinker with that XAMPP install I've barely messed with. But its starting to sound like I'll have to settle for testing the live streaming waters with Youtube or Vimeo or something like that. Especially as this is unlikely to be a permanent endeavor. As soon as vaccines are available and things start getting close to "normal" again, I'll much prefer actually playing for people again.

Anyway, thanks for the tip! Good thing i checked with my hosting company before digging into this too deeply!
Copy linkTweet thisAlerts:
@daveyerwinAug 01.2020 — maybe you can buy more band width from your isp ?
Copy linkTweet thisAlerts:
@PeterPan_321authorAug 04.2020 — They basically told me to upgrade to a VPS. They apparently have throttling and bandwidth limitations on my shared hosting plan, and there would be a good chance my visitors would not have a good experience. They are OK with me putting a link on my site, which would open a window to a video stream I was hosting off site. Bottom line, I'd consider going to a VPS is my performances started generating enough to pay for it (like a paypal tipjar). But in the meantime what I'd really like to do is try to find some kind of livestream video server I can use from home, just to test with friends and see how many views I could host before it started to crap out. I did find an audio.video camera security program called "net studio", which I might try. I thought about setting up XXAMP on my home system and trying something like that nginx streaming module, but that link seems to be written for experts. in the sense that it is a page full of download links without any explanation. So between needing to set up XXAMP and then wade through NGINX, I may have to set this aside for now.

Discouraged.
Copy linkTweet thisAlerts:
@daveyerwinAug 04.2020 — 

nginx is a web server

like apache

or iis

with a linux disto on your computer

you can install nginx with one line

apt install nginx

then you can install the streaming module

with only one line

apt install [the name of the module]

I cant remember it off the

top of my head but if you need

the name i can find it for you

nginx can also be installed on windows



my VPS is set up to stream HLS

make you a web page with embedded video player

compatible with HLS

get OBS for uploading your stream to my VPS

I will happily share my bandwidth with you

with limits of course

I don't have unlimited band width

if you think DASH is a better choice

I can accommodate that also

and if you prefer FLASH player

RTMP is available
Copy linkTweet thisAlerts:
@PeterPan_321authorAug 04.2020 — I may take you up on that. I have some time because recent medical issues have caused me to be too out of practice to do any performance really soon. perhaps in a month or two I'll be ready. At least gives me time to learn some of these new terms and tools. For example, I've done enough web coding over the years to have followed web based video from Flash, un up through HTML5, and am familliare with the encodings I need to support all browsers for HTML-5. But HLS is unfamiliar to me. How compatible with many and varied browsers would an HLS stream be, without the visitor first having to install a browser add-on?" I don't see firefox on the list of HLS supported browsers, for example.

I will also look into that OBS software. Looks like it would be handy for broadcasting to Twitch (Which I'm still looking into) as well as youtube and others.

A lot to learn!

Would you do me a favor and stay in touche with me beyond this forum? If you go to my music page and use the registration tool with an email address, I'll get the request and will be able to save the email to reach you when I'm better prepared. I'll also use your registration to enable permissions for you to listen to full versions of my original music. For live performance, I'm more interested in doing familiar classic rock covers, but you might get a kick out of some of my original "Peter Pan" themed music. The page is here...

`[http://pixyland.org/mymusic.html]
×

Success!

Help @PeterPan_321 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.26,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...