Skip to content

This repository demonstrate a way how to integrate GStreamer video player with a Streamlit web application

License

Notifications You must be signed in to change notification settings

vishalkmr/Streamlit-x-Gstreamer

Repository files navigation

Streamlit-x-Gstreamer

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

Dependencies

Before running this application, make sure you have the following dependencies installed:

  1. Python 3

    You can install Python 3 from the official Python website.

  2. Streamlit

    To install Streamlit use the following cmd:

    pip install streamlit
  3. GStreamer

    To install GStreamer use the following cmd:

    sudo apt-get install libgstreamer1.0-dev gstreamer1.0-plugins-good gstreamer1.0-tools

Task Done

  • 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

Future Work

  • Add a pause button to pause and resume the pipeline

About

This repository demonstrate a way how to integrate GStreamer video player with a Streamlit web application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages