Deploying FFMPEG/ GStreamer based python applications on Railways
Has anyone deployed applications that use FFMPEG and Gstreamer on Railway?
I like to use GStreamer for live streaming to Facebook and stream start/stop controlled by posting a RESTFul request on FASTAPI.
Is Railway.dev a good choice as hosting for this scenario?
6 Replies
Project ID:
N/A
i dont know what "GStreamer" is but you can certainly install ffmpeg onto a railway deployment
https://gstreamer.freedesktop.org/
It has python bindings
what is the apt package you need to install?
It seems it is prebuilt for most linux distribution. https://gstreamer.freedesktop.org/documentation/installing/on-linux.html?gi-language=c
for Ubuntu/Debian
apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
try adding this nixpacks.toml file to your project