[Libav-user] Rewind file to start

Lyndon Hill emptystate at yahoo.co.uk
Fri Aug 29 08:35:35 CEST 2014


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



More information about the Libav-user mailing list