This project demonstrates integrating a GStreamer video player into a Streamlit window. It leverages the power of GStreamer for video processing and rendering while utilizing the user-friendly interface of Streamlit for interactive controls. With this integration, users can easily configure video parameters, start and stop the video playback, and view the output within the Streamlit app. It simplifies creating a GStreamer-based video player and makes it accessible to developers using Streamlit for their applications.
demo.mp4
Before running this application, make sure you have the following dependencies installed:
-
Python 3
You can install Python 3 from the official Python website.
-
Streamlit
To install Streamlit use the following cmd:
pip install streamlit
-
GStreamer
To install GStreamer use the following cmd:
sudo apt-get install libgstreamer1.0-dev gstreamer1.0-plugins-good gstreamer1.0-tools
- Integrating GStreamer-based video player with Streamlit frameworks
- Implementing methods to update the Videotestsrc parameters dynamically
- Adding start, stop, and reset buttons to control the pipeline.
- Displaying the intermediate frames in the Streamlit app from the data recived at appsink
- Displaying/Download the final video output
- Add a pause button to pause and resume the pipeline