Sending mkv file over udpsink gstreamer

Pkwom kolliaspatrick at
Mon Jun 8 23:18:20 UTC 2020

I am trying to stream an mkv file over udpsink as an rtp payload, but when
the I receive the packets it drops almost every other frame. The stream just
freezes for a couple of seconds and then shows the time synced frame. I have
a timestamp on the video file and it jumps a the same amount of time it
freezes for. The setup is gstreamer is run on a Raspberry Pi 4 and I view
the stream using vlc on another computer.

I have the payload working so it sends over the udpsink successfully using:

gst-launch-1.0 filesrc location=file.mkv ! matroskademux ! rtph264pay !
udpsink host= port=8054

I tried changing the buffer size of the udpsink and it had little effect (it
might have increased the shown frames a bit).

Sent from:

More information about the gstreamer-devel mailing list