Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Enhanced RTMP v2 #3685

Closed
1 task done
cytrus224 opened this issue Aug 23, 2024 · 4 comments · Fixed by #4088
Closed
1 task done

Support Enhanced RTMP v2 #3685

cytrus224 opened this issue Aug 23, 2024 · 4 comments · Fixed by #4088
Labels
enhancement New feature or request rtmp

Comments

@cytrus224
Copy link

cytrus224 commented Aug 23, 2024

Which version are you using?

v1.8.5

Which operating system are you using?

  • Windows amd64 standard

Describe the issue

I tried ingesting 4 video tracks using Enhanced Broadcasting implementation by OBS and Twitch, hacky workaround pulling their config and setting custom server to MediaMTX, only works with max1 video track. Otherwise keeps connecting and disconnecting

Describe how to replicate the issue

  1. download obs, set service to Twitch
  2. set server to specify custom sever and point it with RTMP to mediamtx
    obraz

Did you attach the server logs?

2024/08/23 22:46:50 INF MediaMTX v1.8.5 2024/08/23 22:46:50 INF configuration loaded from C:\Users\Cytrus\Downloads\mediamtx_v1.8.5_windows_amd64\mediamtx.yml 2024/08/23 22:46:50 DEB path manager created 2024/08/23 22:46:50 INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (UDP/RTCP) 2024/08/23 22:46:50 INF [RTMP] listener opened on :1935 2024/08/23 22:46:50 INF [HLS] listener opened on :8888 2024/08/23 22:46:50 INF [WebRTC] listener opened on :8889 (HTTP), :8189 (ICE/UDP) 2024/08/23 22:46:50 INF [SRT] listener opened on :8890 (UDP) 2024/08/23 22:46:52 INF [RTMP] [conn [::1]:54296] opened 2024/08/23 22:46:52 DEB [path v1_f86b9e6fd6c8b8478d3a3aa747ed6af1a870d5c221f8033377f7dc14306ac495_66c8f520_7b2276223a312c2262223a31303136302c2274223a5b7b2277223a3634302c2268223a3336302c2262223a3530302c226330223a317d2c7b2277223a3835322c2268223a3438302c2262223a313030302c226330223a317d2c7b2277223a313238302c2268223a3732302c2262223a323530302c226330223a317d2c7b2277223a313932302c2268223a313038302c2262223a363030302c226330223a317d5d2c2261223a5b7b2262223a3136307d5d7d_test] created 2024/08/23 22:46:52 INF [RTMP] [conn [::1]:54296] is publishing to path 'v1_f86b9e6fd6c8b8478d3a3aa747ed6af1a870d5c221f8033377f7dc14306ac495_66c8f520_7b2276223a312c2262223a31303136302c2274223a5b7b2277223a3634302c2268223a3336302c2262223a3530302c226330223a317d2c7b2277223a3835322c2268223a3438302c2262223a313030302c226330223a317d2c7b2277223a313238302c2268223a3732302c2262223a323530302c226330223a317d2c7b2277223a313932302c2268223a313038302c2262223a363030302c226330223a317d5d2c2261223a5b7b2262223a3136307d5d7d_test', 2 tracks (H264, MPEG-4 Audio) 2024/08/23 22:46:52 DEB [path v1_f86b9e6fd6c8b8478d3a3aa747ed6af1a870d5c221f8033377f7dc14306ac495_66c8f520_7b2276223a312c2262223a31303136302c2274223a5b7b2277223a3634302c2268223a3336302c2262223a3530302c226330223a317d2c7b2277223a3835322c2268223a3438302c2262223a313030302c226330223a317d2c7b2277223a313238302c2268223a3732302c2262223a323530302c226330223a317d2c7b2277223a313932302c2268223a313038302c2262223a363030302c226330223a317d5d2c2261223a5b7b2262223a3136307d5d7d_test] destroyed: not in use 2024/08/23 22:46:52 INF [RTMP] [conn [::1]:54296] closed: invalid fourCC: 6387299 2024/08/23 22:46:55 INF [RTMP] [conn [::1]:54299] opened 2024/08/23 22:46:55 DEB [path v1_f86b9e6fd6c8b8478d3a3aa747ed6af1a870d5c221f8033377f7dc14306ac495_66c8f520_7b2276223a312c2262223a31303136302c2274223a5b7b2277223a3634302c2268223a3336302c2262223a3530302c226330223a317d2c7b2277223a3835322c2268223a3438302c2262223a313030302c226330223a317d2c7b2277223a313238302c2268223a3732302c2262223a323530302c226330223a317d2c7b2277223a313932302c2268223a313038302c2262223a363030302c226330223a317d5d2c2261223a5b7b2262223a3136307d5d7d_test] created 2024/08/23 22:46:55 INF [RTMP] [conn [::1]:54299] is publishing to path 'v1_f86b9e6fd6c8b8478d3a3aa747ed6af1a870d5c221f8033377f7dc14306ac495_66c8f520_7b2276223a312c2262223a31303136302c2274223a5b7b2277223a3634302c2268223a3336302c2262223a3530302c226330223a317d2c7b2277223a3835322c2268223a3438302c2262223a313030302c226330223a317d2c7b2277223a313238302c2268223a3732302c2262223a323530302c226330223a317d2c7b2277223a313932302c2268223a313038302c2262223a363030302c226330223a317d5d2c2261223a5b7b2262223a3136307d5d7d_test', 2 tracks (H264, MPEG-4 Audio) 2024/08/23 22:46:55 DEB [path v1_f86b9e6fd6c8b8478d3a3aa747ed6af1a870d5c221f8033377f7dc14306ac495_66c8f520_7b2276223a312c2262223a31303136302c2274223a5b7b2277223a3634302c2268223a3336302c2262223a3530302c226330223a317d2c7b2277223a3835322c2268223a3438302c2262223a313030302c226330223a317d2c7b2277223a313238302c2268223a3732302c2262223a323530302c226330223a317d2c7b2277223a313932302c2268223a313038302c2262223a363030302c226330223a317d5d2c2261223a5b7b2262223a3136307d5d7d_test] destroyed: not in use 2024/08/23 22:46:55 INF [RTMP] [conn [::1]:54299] closed: invalid fourCC: 6387299 2024/08/23 22:46:57 INF [RTMP] [conn [::1]:54301] opened 2024/08/23 22:46:57 DEB [path v1_f86b9e6fd6c8b8478d3a3aa747ed6af1a870d5c221f8033377f7dc14306ac495_66c8f520_7b2276223a312c2262223a31303136302c2274223a5b7b2277223a3634302c2268223a3336302c2262223a3530302c226330223a317d2c7b2277223a3835322c2268223a3438302c2262223a313030302c226330223a317d2c7b2277223a313238302c2268223a3732302c2262223a323530302c226330223a317d2c7b2277223a313932302c2268223a313038302c2262223a363030302c226330223a317d5d2c2261223a5b7b2262223a3136307d5d7d_test] created 2024/08/23 22:46:57 DEB [path v1_f86b9e6fd6c8b8478d3a3aa747ed6af1a870d5c221f8033377f7dc14306ac495_66c8f520_7b2276223a312c2262223a31303136302c2274223a5b7b2277223a3634302c2268223a3336302c2262223a3530302c226330223a317d2c7b2277223a3835322c2268223a3438302c2262223a313030302c226330223a317d2c7b2277223a313238302c2268223a3732302c2262223a323530302c226330223a317d2c7b2277223a313932302c2268223a313038302c2262223a363030302c226330223a317d5d2c2261223a5b7b2262223a3136307d5d7d_test] destroyed: not in use 2024/08/23 22:46:57 INF [RTMP] [conn [::1]:54301] closed: invalid fourCC: 39941731

Did you attach a network dump?

no

@cytrus224 cytrus224 changed the title Enhanced RTMP multitrack video is not working [BUG/Feature request] Enhanced RTMP multitrack video is not working Aug 23, 2024
@aler9 aler9 added enhancement New feature or request rtmp labels Aug 26, 2024
@aler9
Copy link
Member

aler9 commented Aug 26, 2024

This feature requires support for Enhanced RTMP v2, which is in alpha stage and has been updated just last month. I don't think it's worth the effort to add support for it right now since it's still in alpha stage and everything can change.

@aler9 aler9 changed the title [BUG/Feature request] Enhanced RTMP multitrack video is not working Support Enhanced RTMP v2 Aug 26, 2024
@cytrus224
Copy link
Author

Just wanna mention, that EnhancedRTMP v2 reached beta state. veovera/enhanced-rtmp@82bfd58

@cytrus224
Copy link
Author

FFMPEG merged ERTMP v2 including multitrack video and audio. https://www.phoronix.com/news/FFmpeg-FLV-Improvements

aler9 added a commit that referenced this issue Dec 29, 2024
aler9 added a commit that referenced this issue Dec 29, 2024
aler9 added a commit that referenced this issue Dec 29, 2024
new features:
* Opus and AC-3 tracks
* multiple tracks
aler9 added a commit that referenced this issue Dec 29, 2024
new features:
* Opus and AC-3 tracks
* multiple tracks
aler9 added a commit that referenced this issue Dec 29, 2024
new features:
* Opus and AC-3 tracks
* multiple tracks
aler9 added a commit that referenced this issue Dec 29, 2024
new features:
* Opus and AC-3 tracks
* multiple tracks
aler9 added a commit that referenced this issue Dec 29, 2024
new features:
* Opus and AC-3 tracks
* multiple tracks
aler9 added a commit that referenced this issue Dec 29, 2024
new features:
* Opus and AC-3 tracks
* multiple tracks
aler9 added a commit that referenced this issue Dec 30, 2024
new features:
* Opus and AC-3 streaming
* multitrack streaming, compatible with OBS multitrack video and OBS VOD audio track
aler9 added a commit that referenced this issue Dec 30, 2024
new features:
* Opus and AC-3 streaming
* multitrack streaming, compatible with OBS multitrack video and OBS VOD audio track
aler9 added a commit that referenced this issue Dec 30, 2024
new features:
* Opus and AC-3 streaming
* multitrack streaming, compatible with OBS multitrack video and OBS VOD audio track
aler9 added a commit that referenced this issue Dec 30, 2024
new features:
* Opus and AC-3 streaming
* multitrack streaming, compatible with OBS multitrack video and OBS VOD audio track
aler9 added a commit that referenced this issue Dec 30, 2024
new features:
* Opus and AC-3 streaming
* multitrack streaming, compatible with OBS multitrack video and OBS VOD audio track
aler9 added a commit that referenced this issue Dec 30, 2024
new features:
* support Opus and AC-3 tracks
* support multitrack streaming, compatible with OBS multitrack video and OBS VOD audio track
aler9 added a commit that referenced this issue Dec 30, 2024
new features:
* support publishing Opus and AC-3 tracks
* support publishing more than 2 tracks. This is compatible with OBS multitrack video and OBS VOD audio track
* support reading AV1, H265, VP9, Opus, AC-3 tracks
* support reading more than 2 tracks
aler9 added a commit that referenced this issue Dec 30, 2024
new features:
* support publishing Opus and AC-3 tracks
* support publishing more than 2 tracks. This is compatible with OBS multitrack video and OBS VOD audio track
aler9 added a commit that referenced this issue Jan 1, 2025
new features:
* support publishing Opus and AC-3 tracks
* support publishing more than 2 tracks. This is compatible with OBS multitrack video and OBS VOD audio track
aler9 added a commit that referenced this issue Jan 1, 2025
new features:
* support publishing Opus and AC-3 tracks
* support publishing more than 2 tracks. This is compatible with OBS multitrack video and OBS VOD audio track
aler9 added a commit that referenced this issue Jan 1, 2025
new features:
* support publishing Opus and AC-3 tracks
* support publishing more than 2 tracks. This is compatible with OBS multitrack video and OBS VOD audio track
aler9 added a commit that referenced this issue Jan 1, 2025
new features:
* support publishing Opus and AC-3 tracks
* support publishing more than 2 tracks. This is compatible with OBS multitrack video and OBS VOD audio track
aler9 added a commit that referenced this issue Jan 1, 2025
new features:
* support publishing Opus and AC-3 tracks
* support publishing more than 2 tracks. This is compatible with OBS multitrack video and OBS VOD audio track
aler9 added a commit that referenced this issue Jan 2, 2025
new features:
* support publishing Opus and AC-3 tracks
* support publishing more than 2 tracks. This is compatible with OBS multitrack video and OBS VOD audio track
Copy link
Contributor

github-actions bot commented Jan 3, 2025

This issue is mentioned in release v1.11.0 🚀
Check out the entire changelog by clicking here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rtmp
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants