bluenviron / mediamtx

Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
10.71k stars 1.4k forks source link

AV1 over rtsp gives a 400 #3340

Closed reluekiss closed 1 month ago

reluekiss commented 1 month ago

Which version are you using?

v1.4.2

Which operating system are you using?

Describe the issue

When streaming to the server with ffmpeg using the following commmand:

ffmpeg -re -i "$1" -c copy -loglevel debug -strict experimental -f rtsp "rtsp://user:streamkey@localhost:8890/mystream"

Will allow me stream without any issues, except when I try to stream AV1 video. Regardless of the container being used (mp4 or mkv), in the documentation it seemed as if rtsp had compatability for the AV1 codec.

Describe how to replicate the issue

  1. start the server
  2. publish with the above ffmpeg code any AV1 encoded video
  3. read with hls, or any other transport protocol.

Did you attach the server logs?

Server logs with debugging on: https://pastebin.com/nTwPZgB3 ffmpeg logs with debugging on: https://pastebin.com/KQw0DC13

Yes

Did you attach a network dump?

Not needed as it didn't work on localhost.

No

reluekiss commented 1 month ago

I didn't ofuscate my password, (I changed it, for any samaritans that read this). I also retried it on the latest version in the releases as of writing (1.8.1) as well as on the Linux amd64 platform. With the same error messages.

aler9 commented 1 month ago

This is a duplicate of #2261 and has been already answered there. Please use the search function before opening a new issue.