Giter Site home page Giter Site logo

kevmo314 / ffmpeg-webrtc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ffmpeg/ffmpeg

21.0 2.0 3.0 334.51 MB

FFmpeg WebRTC (WHIP) muxer

Home Page: https://ffmpeg.org/

License: Other

Shell 0.08% Ruby 0.01% C++ 0.17% Python 0.05% Perl 0.04% C 91.43% Objective-C 0.16% Verilog 0.01% Assembly 6.61% Awk 0.01% Cuda 0.11% Makefile 1.31% HTML 0.01% Metal 0.01% Roff 0.01% Rust 0.02%
ffmpeg webrtc

ffmpeg-webrtc's Introduction

kevmo314/ffmpeg-webrtc

It's ffmpeg with WebRTC support! This fork uses webrtc-rs to publish WebRTC streams using the WHIP protocol.

This work is inspired by a pull request to add WebRTC support to OBS Studio, which also did most of the heavy lifting for this implementation.

This work is sponsored by Muxable.

Compiling

Build FFmpeg:

./configure
make -j

The build step requires that Rust is installed, as it will call cargo build to build the WebRTC bindings.

Running

A WHIP server is necessary. If you want one to test with, check out TinyWHIP.

Then, run:

./ffmpeg  -re -stream_loop -1 -i ~/video.mp4 -c:v copy -c:a copy -f whip http://localhost:8080

Where ~/video.mp4 is an h264 + opus encoded video file. Some sample videos can be downloaded here.

ffmpeg-webrtc's People

Contributors

michaelni avatar richardpl avatar mkver avatar dondiego avatar elenril avatar jamrial avatar mansr avatar ubitux avatar mstorsjo avatar cehoyos avatar justinruggles avatar bcoudurier avatar rbultje avatar saste avatar rdoeffinger avatar lu-zero avatar kodawah avatar aurelj avatar cus avatar nevcairiel avatar dwbuiten avatar fhvwy avatar ramiropolla avatar aconverse avatar rouseabout avatar lance-lmwang avatar yuvi avatar btbn avatar mypopydev avatar cyanreg avatar

Stargazers

 avatar 88act avatar schenklklopfer avatar Behnam Kakavand avatar zhaozhao avatar clarkh avatar milzero avatar  avatar  avatar DRiding avatar  avatar Vittorio Palmisano avatar  avatar Jonathan Maye-Hobbs avatar mk avatar  avatar Andrew Gunnerson avatar Brendan Irvine-Broque avatar ぐるぐる avatar LiTong avatar Tim Kersey avatar

Watchers

blackswan avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.