Invalid NAL unit size with multitrack h264 when reading with ffmpeg (original) (raw)

Which version are you using?

1.15.0

Which operating system are you using?

Windows amd64 standard

Describe how to replicate the issue

  1. start the server(mediamtx)
  2. stream at least 2 h264 renditions with obs to mediamtx with ertmpv2
  3. read with ffmpeg, it will keep throwing this error.

I streamed 1440p hevc, 720p hevc, 480p h264, 360p h264 and it only threw errors for h264 renditions. Tried with 2 h264 tracks only, it kept erroring out. When streaming directly to ffmpeg, did not have this issue, so i assume its a problem with mediamtx and multitrack h264

Image

Server logs

No response

Network dump

No response