<div dir="ltr"><div><div><div>Hi Bradley,<br><br></div><div>Short answer: I was changing the container to mpegts in the streaming command. Changing the containers probably changes some of variables, such as PTS. Apparently type casts and conversions does not have anything to do with this.<br></div>For detailed answer please check this post in stackoverflow:<br><a href="http://stackoverflow.com/questions/26800760/confusion-about-pts-in-video-files-and-media-streams">http://stackoverflow.com/questions/26800760/confusion-about-pts-in-video-files-and-media-streams</a><br><br></div>Thanks,<br></div>Maziar<br><div><div><br></div></div></div>