Hi, What is the best (most universal) way to rewind a file to the start ? Currently I am using av_seek_frame(formatContext, videoStream, 0, AVSEEK_FLAG_ANY); However, in an HEVC bit stream, there are no timestamps (as interpreted by x265) so this method will not work. Thanks in advance