<HTML><BODY><div>Hi.</div><div> </div><div>Given pipeline «filesrc ! decodebin ! appsink» I need fastest way to navigate to given frame number in file.</div><div>Say, I need frame number 9, what is the fastest way to obtain this frame — iterate in cycle and skip frames via</div><div>PullSample, like :</div><div><div><div> </div><div> var step = 0;</div><div> while (step < frameNumber)</div><div> {</div><div> appSink.PullSample();</div><div> step++;</div><div> }</div><div> var neededSample = appSink.PullSample();</div></div></div><div> </div><div>or there is better and faster option like <strong>Seek </strong>with some parameters like buffer and so on?</div><div> </div><div>Thanks in advance.</div><div> </div><div>KR</div></BODY></HTML>