You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It can be seen that the RTSP output from mediamtx does not contain the input's MPEG-TS data, such as PIDs.
This way, consumers of the RTSP can not discern which PES is which one. For example: having an ffmpeg instance looking for i:0x33 PID will fail because it can not be found.
I'm not sure if this is a consequence of using RTSP as output instead of MPEG-TS, or if it's something else the problem.
I would like to consume mediamtx's output honoring its inputs MPEG-TS data. That could be achieved either by stating output PIDs, or using something like MPEG-TS UDP output, both things I did not found a howto in the docs. A way to achieve such output would be a sollution to my problem. But not having any, I consider this to be a bug in input/output handling, unless it's formally stated as some kind of limitation.
In case it's helpful for someone, here's a ffmpeg command to start an input MPEG-TS stream for the mediamtx source such as the one I'm using:
I've done an extra test, removing RTSP from the way and using SRT instead.
Here's the mediamtx input, generated with ffmpeg as shown in my previous comment:
The output PIDs seems to be the ffmpeg/libav default PIDs. I don't know if mediamtx uses ffmpeg/libav as part of their code, or if this is some standard behaviour.
I believe this to be some kind of bug. In any case, it's a problem if I need to configure anything reading mediamtx's output looking for MPEG-TS parameters. Can't find any workaround so far using mediamtx.
Which version are you using?
latest
Which operating system are you using?
Linux amd64 standard
Describe how to replicate the issue
It can be seen that the RTSP output from mediamtx does not contain the input's MPEG-TS data, such as PIDs.
This way, consumers of the RTSP can not discern which PES is which one. For example: having an ffmpeg instance looking for
i:0x33
PID will fail because it can not be found.I'm not sure if this is a consequence of using RTSP as output instead of MPEG-TS, or if it's something else the problem.
I would like to consume mediamtx's output honoring its inputs MPEG-TS data. That could be achieved either by stating output PIDs, or using something like MPEG-TS UDP output, both things I did not found a howto in the docs. A way to achieve such output would be a sollution to my problem. But not having any, I consider this to be a bug in input/output handling, unless it's formally stated as some kind of limitation.
In case it's helpful for someone, here's a ffmpeg command to start an input MPEG-TS stream for the mediamtx source such as the one I'm using:
Thanks.
Server logs
No response
Network dump
No response
The text was updated successfully, but these errors were encountered: