I am having an issue where vlc(others wont play it) playback  reports the length of the videos as about 2-3 seconds but sometimes it is correct. What is the best way and to which element do I need to get it to cleanly close the file and write the correct length to the header?<div>
<br></div><div>pipeline:<br><div><br></div><div>rtspsrc location={0} name=stream tcp-timeout=5000000 timeout=1250000 ! rtph264depay ! h264parse ! matroskamux name=container ! filesink location=\&quot;{1}\&quot; name=file stream. ! rtppcmudepay ! mulawdec ! lamemp3enc ! container. </div>
</div><div><br></div><div><br></div><div><br></div><div>And thanks to all the devs and members who continually help everyone out :)</div>