Closed markseanryan closed 2 months ago
The wireshark capture of the RTMP stream being published to MediaMTX is attached. wireshark_60.zip
Sometimes ffplay
reports there is no video when trying to play the 60Hz stream:
[flv @ 0x7f8bcc000c80] Could not find codec parameters for stream 0 (Video: h264, none, 128 kb/s): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, flv, from 'rtmp://127.0.0.1/lll/abc':
Duration: N/A, start: 353.813000, bitrate: 128 kb/s
ream #0:0: Video: h264, none, 128 kb/s, 1k tbn
Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp
This was failing because gstreamer had a gop length of 60 by default. Changing the gop length to 30 solved the problem
Which version are you using?
v1.5.1
Which operating system are you using?
Describe the issue
I have a GStreamer pipeline with audio and video publishing to MediaMTX.
When the pipeline framerate is set to 60Hz the video cannot be played from MediaMTX using
ffplay
.At lower framerates (25,30,50Hz) the video can be played with
ffplay
.Describe how to replicate the issue
sudo ./mediamtx
ffplay -i rtmp://127.0.0.1/lll/abc
Did you attach the server logs?
yes:
Did you attach a network dump?
yes