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
read SRT not work with interlaced video #3239
Comments
Aditional info.
The connection its closed by package mediacommon/blob/main/pkg/codecs/h264/dts_extractor.go and reconnect by srt-live-transmit continuously.
If I use an RTSP reader there are no errors in the mediamtx log, ffmpeg correctly detects the format (size, pix_fmt, field_order,...), mediamtx not closes the connection but some DTS errors appear in the ffmpeg log.
With VLC reading RTMP from SRT interlaced input also fails after 1 second of playing. It seems that all requests for signals ingested with h264 interlaced fails. |
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
srt-live-transmit <udp h264 mpgts source> srt://localhost:10099?streamid=publish:mystream&pkt_size=1316
ffprobe srt://xxxxxxxx.xx:10099?streamid=read:mystream
Did you attach the server logs?
yes
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:
Did you attach a network dump?
no
The text was updated successfully, but these errors were encountered: