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

OBS Twitch VOD Track AMFParseError(41) #2986

Closed
1 of 13 tasks
Grimonja opened this issue Feb 4, 2024 · 5 comments
Closed
1 of 13 tasks

OBS Twitch VOD Track AMFParseError(41) #2986

Grimonja opened this issue Feb 4, 2024 · 5 comments
Labels
enhancement New feature or request rtmp

Comments

@Grimonja
Copy link

Grimonja commented Feb 4, 2024

Which version are you using?

v1.5.0

Which operating system are you using?

  • Linux amd64 standard
  • Linux amd64 Docker
  • Linux arm64 standard
  • Linux arm64 Docker
  • Linux arm7 standard
  • Linux arm7 Docker
  • Linux arm6 standard
  • Linux arm6 Docker
  • Windows amd64 standard
  • Windows amd64 Docker (WSL backend)
  • macOS amd64 standard
  • macOS amd64 Docker
  • Other (please describe)

Describe the issue

Trying to stream to the server with OBS and Twitch VOD Track enabled results in:

closed: AMFParseError(41)

Describe how to replicate the issue

  1. To even have an ability to send 2nd audio track with custom server in OBS you need to modify global.ini of OBS and add the following in the [General] options
    EnableCustomServerVodTrack=true
  2. Now select the Twitch VOD Track in encoding settings
  3. Start Streaming

Did you attach the server logs?

no

Did you attach a network dump?

no

@aler9
Copy link
Member

aler9 commented Apr 20, 2024

Hello, the ability to send a 2nd audio track is not present into the RTMP specifications and is probably a custom feature introduced to improve integration with Twitch.
However, this could be a nice enhancement.

@aler9 aler9 added enhancement New feature or request rtmp labels Apr 20, 2024
@krakow10
Copy link

krakow10 commented May 27, 2024

The ability for mediamtx to ingest the twitch VOD audio RTMP protocol extension is not that useful since you can stream with multiple audio tracks using SRT on the latest version of OBS, but being able to publish VOD audio to twitch from mediamtx would be useful.

@aler9
Copy link
Member

aler9 commented May 27, 2024

Summing up:

  • The SRT protocol natively supports streaming multiple audio tracks to Twitch - this is implemented by both MediaMTX and OBS
  • The RTMP protocol requires a custom hack to stream multiple audio tracks to Twitch. MediaMTX currently doesn't support this hack

Since the RTMP hack would benefit only OBS and Twitch, and is not supported by anything else, there are not enough reasons to implement it inside MediaMTX.

@aler9 aler9 closed this as not planned Won't fix, can't repro, duplicate, stale May 27, 2024
@krakow10
Copy link

  • The SRT protocol natively supports streaming multiple audio tracks to Twitch

This is not correct. Twitch can only ingest RTMP, and optionally their VOD track protocol extension. There is no other way to stream multiple audio tracks to Twitch to use their VOD audio feature.

@aler9 aler9 reopened this Jul 11, 2024
@aler9
Copy link
Member

aler9 commented Dec 29, 2024

I was testing the VOD track feature on OBS 31.0.0, and i discovered that it is now implemented through the Enhanced RTMP protocol. Therefore, supporting E-RTMP v2 means implementing this feature too. This is tracked in #3685

@aler9 aler9 closed this as completed Dec 29, 2024
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

No branches or pull requests

3 participants