<div dir="ltr">I'm trying to serve an MPEG-TS file over RTSP and view it using VLC. VLC opens the source TS file without problems. My pipeline for "gst_rtsp_media_factory_set_launch" is as follows:<div><br></div>
<div>filesrc location=file.ts ! queue ! mpegtsparse ! rtpmp2tpay name=pay0 pt=96</div><div><br></div><div>VLC can access the stream, but playback is very jittery and fast. It will play about 1 second of audio and video, then skip forward.</div>
<div><br></div><div>Many posts online suggest setting "sync=true" in udpsink. Since udpsink is managed by rtsp-server, I tried modifying the code to set sync to true, but this doesn't seem to fix the issue.</div>
<div><br></div><div>Any thoughts on what I'm missing that correct my playback speed? I'm trying to avoid re-encoding the file, as VLC is able to play back the TS file as-is.</div></div>