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.
I am testing mediamtx to use as a SRT relay.
If I use a progressive h.264 video it works fine and the srt clients correctly receive the video and audios.
But if I send an interlaced video, the SRT clients cannot decode the video stream. The same happens if it is published with rtsp, rtmp or udp and the source is interlaced, it cannot be decoded with srt clients. RTSP clients correctly read the same interleaved streams.
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.
Which version are you using?
v1.6.0
Which operating system are you using?
Describe the issue
I am testing mediamtx to use as a SRT relay. If I use a progressive h.264 video it works fine and the srt clients correctly receive the video and audios. But if I send an interlaced video, the SRT clients cannot decode the video stream. The same happens if it is published with rtsp, rtmp or udp and the source is interlaced, it cannot be decoded with srt clients. RTSP clients correctly read the same interleaved streams.
Describe how to replicate the issue
publish:
srt-live-transmit <udp h264 mpgts source> srt://localhost:10099?streamid=publish:mystream&pkt_size=1316
read :ffprobe srt://xxxxxxxx.xx:10099?streamid=read:mystream
Did you attach the server logs?
ffprobe receibed by SRT client with progressive video (work fine):
ffprobe received by SRT client with interlaced video fails (observe the "none" in codec descritption):
ffprobe received by RTSP client with the same interlaced video works fine: