Any idea how to make this work? I've already installed FFMPEG.exec ffmpeg -i rtmp://localhost/test/$name -crf 30 -preset ultrafast -acodec aac -strict experimental -ar 44100 -ac 2 -b:a 64k -vcodec libx264 -x264-params keyint=60:no-scenecut=1 -r 30 -b:v 500k -s 960x540 -f flv rtmp://va.pscp.tv:80/x/SOME_NODE/YOUR_KEY_HERE;
Last edit: by lionsground
jacobgkau said
Oh, I thought that I responded to your last post, but I guess I didn't.
So basically, like I mentioned before, Periscope's ingest requirements are lower than most other services can handle, so you can't just duplicate the signal packet-for-packet between all the services like NGINX normally does. By using the "exec" solution, you're running FFmpeg on your server transcoding the input in real-time to a format that Periscope can handle. That's likely to mean your CPU requirements are a lot higher, but since you're going down in quality, it might not be too bad.
As far as the key goes, it looks like Periscope gives you a different key every time you stream, so editing the nginx.conf file is how I would do it. The new Livestream.com also has that issue, since they give each "event" its own stream key, rather than having one persistent key per channel. It's just a limitation of platforms to watch out for.
You could always make a Bash script or something to generate you a config file based on keys that you input, but you'd still have to run the script every time. Maybe you could make a web app so you can paste the keys into a GUI and have the app generate the config file on the backend… but that's a lot of scripting, so you'll have to decide whether that's worth it to not have to edit the config file manually every stream.
From “Post #276”, July 20th 2018, 5:06 PM
jacobgkau said
It looks like they give a streaming URL and stream key just like every other service. VK's support page even says you can combine the URL and stream key into a single line for server-side software.From “Post #278”, July 21st 2018, 11:51 PM