Chocobozzz / PeerTube

ActivityPub-federated video streaming platform using P2P directly in your web browser
https://joinpeertube.org/
GNU Affero General Public License v3.0
13.03k stars 1.5k forks source link

Add support for AV1 streaming with Enhanced RTMP #5740

Open Conan-Kudo opened 1 year ago

Conan-Kudo commented 1 year ago

Describe the problem to be solved

It should be possible to stream to PeerTube using open, royalty-free codecs like AV1 rather than using encumbered codecs like H.264.

Describe the solution you would like

Now that the Enhanced RTMP specification is available and OBS Studio implemented support for it in v29.1, PeerTube should implement support for the new spec so that OBS can stream in AV1+Opus to PeerTube.

Chocobozzz commented 1 year ago

Hi,

As an information we use https://github.com/illuspas/Node-Media-Server to handle RTMP streams, and ffmpeg to mux/transcode it to HLS.

Does ffmpeg support enhanced RTMP?

Conan-Kudo commented 1 year ago

There's a patch set by @T-bagwell to add this capability to FFmpeg under review. I'm optimistic that it'll land soon. 😄

Conan-Kudo commented 10 months ago

This is all now available with FFmpeg 6.1.