On Friday, 29 August 2014, 21:59, wm4 <nfxjfg at googlemail.com> wrote: > For such files, doing byte based seeks is probably the only thing > that works. Please elaborate. Are you suggesting using the standard C library rewind(FILE *) ? How do you access the file pointer ? Doesn't that break the AVFormatContext ?