-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
unsupported video message type when pulling from nginx-rtmp #2384
Comments
Hello, i've simulated your RTMP source by using the network dump you provided and encountered the error "unsupported video codec", so i produced a nightly release that includes #2520 and doesn't have the video codec check. Let me know if it works or if there's another error. In the second case, a sample file that can be passed from FFmpeg to nginx-rtmp-module and then MediaMTX would be of great help, since the network dump doesn't contain additional packets past the one that generates the video codec error. mediamtx_v1.2.0-2-g1e1456d_darwin_amd64.tar.gz |
I managed to reproduce similar error on localhost, by modifying nginx-rtmp config. It turns out that
How to replicate the issueTested with MediaMTX 1.3.0.
When trying to stream from the nginx-rtmp instance I was using when reporting this bug for the first time, different error is printed in MediaMTX log: |
Hello, this should be fixed by #2808. Please test this nightly release and let me know if it works (click on artifacts, binaries): |
This issue is mentioned in release v1.4.1 🚀 |
This issue is being locked automatically because it has been closed for more than 6 months. |
Which version are you using?
v1.1.0
Which operating system are you using?
Describe the issue
When MediaMTX tries to open rtmp:// input coming from FFmpeg through nginx-rtmp-module,
unsupported video message type
message is displayed in log and it fails.Type ids vary, I've encountered 15, 25, 26 and 27.
(before upgrade from 1.0.3 to 1.1.0, the error was
unsupported video codec
with id 6 or 13)In some cases (when nginx-rtmp runs on localhost, but I'm not sure whether it's the actual reason),
stopped: timed out
is logged instead - I've already reported it as #2383Describe how to replicate the issue
#2383 blocks me from writing detailed replication instructions, so I'll skip nginx-rtmp stream setup.
MTX_API=true MTX_APIADDRESS=:9997 MTX_LOGLEVEL=debug ./mediamtx mediamtx.yml
curl -vv -d '{"source":"rtmp://my-nginx-rtmp-server/stream_test/bunny","sourceOnDemand":true}' -X POST -H 'Content-Type: application/json' http://localhost:9997/v2/config/paths/add/test
ffprobe rtmp://localhost/test
Did you attach the server logs?
yes, unsupported_video_codec.log
Did you attach a network dump?
yes,
unsupported_video_codec.pcap.gz
The text was updated successfully, but these errors were encountered: