[FFmpeg-user] Simple question regarding probing and resetting position in C

JULIAN GARDNER joolzg at btinternet.com
Wed Apr 1 08:50:19 CEST 2015


I have the generic code to open a small file and start getting packets 
from it, but it seems that the probing moves the internal pointers along around 20 seconds into the file.

I have tried to avio_seek (pb, 0, SEEK_SET) to reset it to the start but this has not helped.

What is the correct way of resetting the opened file so i can decode from the start,

joolz


More information about the ffmpeg-user mailing list