Sign inSign up

parallelcc/ffmpeg-whip-whep

By parallelcc

•Updated over 1 year ago

Enable WHIP/WHEP support in FFmpeg using libdatachannel

Image
Developer tools
0

4.2K

parallelcc/ffmpeg-whip-whep repository overview

⁠FFmpeg-WHIP-WHEP

https://github.com/parallelcc/FFmpeg-WHIP-WHEP⁠

This is a fork of the FFmpeg⁠ project that adds support for the WHIP⁠ (WebRTC-HTTP ingestion protocol) and WHEP⁠ (WebRTC-HTTP Egress Protocol) using libdatachannel⁠.

⁠Supported Codecs

WHIP

Default: H264 / OPUS

  • Video: H264 / H265
  • Audio: OPUS / PCMA / PCMU / G722

WHEP

  • Video: H264 / H265 / VP8 / VP9
  • Audio: OPUS / PCMA / PCMU / G722

⁠Usage

⁠WHIP
docker run --rm -it -v $(pwd):/app \
    parallelcc/ffmpeg-whip-whep:7.1.1 \
    -re -i /app/input.mp4 -f whip -token <token> <whip_url>
⁠WHEP
docker run --rm -it -v $(pwd):/app \
    parallelcc/ffmpeg-whip-whep:7.1.1 \
    -f whep -token <token> -i <whep_url> \
    -c:v libx264 -c:a aac /app/output.mp4

Tag summary

Content type

Image

Digest

sha256:7a3eb903d…

Size

224.9 MB

Last updated

over 1 year ago

docker pull parallelcc/ffmpeg-whip-whep