Stream audio/video in realtime with webrtc
Find frames in videos matching text queries
Generate videos from text prompts
Create a video from an image and audio
Generate videos from an image and text prompt
Video upscaler/restorer
Generate animations from images or prompts
Interact with video using OpenAI's Vision API
Generate lip-synced video from video/image and audio
https://huggingface.co/papers/2501.03006
Generate a video from text prompts
Detect deepfakes in uploaded videos
Dub videos into different languages
gradio_webrtc is a WebRTC-based plug-in for Gradio that allows real-time streaming of audio and video. It provides an easy-to-use interface for developers to incorporate real-time communication features into their applications. This tool leverages the WebRTC protocol, enabling low-latency, peer-to-peer communication directly in the browser.
• Real-time Audio/Video Streaming: Enable live communication with minimal delay. • WebRTC Compatibility: Built on the WebRTC standard for reliable and secure connections. • Bi-directional Communication: Supports both sending and receiving audio/video streams. • Cross-Platform Support: Works seamlessly across modern browsers and devices. • Secure Communication: Includes built-in encryption for data security. • Easy Integration: Simple API for developers to implement real-time streaming in Gradio interfaces. • Open Source: Free to use and modify under an open-source license.
import gradio_webrtc as webrtc
with gradio.Blocks() as demo:
webrtc_output = webrtc.WebRTC(label="WebRTC Stream")
@demo демокит(
inputs=webrtc_input,
outputs=webrtc_output
)
if __name__ == "__main__":
demo.launch()
What is WebRTC?
WebRTC (Web Real-Time Communication) is a free, open-source project that enables real-time communication over peer-to-peer connections.
How do I handle disconnections?
You can monitor connection status using event handlers and implement reconnect logic if needed.
Is gradio_webrtc secure?
Yes, WebRTC encrypts all communication by default, ensuring secure data transmission.