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 #3339

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.

Debug information:

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

Did you attach a network dump?

Not needed as it didn't work on localhost.

github-actions[bot] commented 1 month ago

This issue is being automatically closed because it does not follow the issue template. Please reopen the issue and make sure to include all sections of the template.