public FFmpegMediaFrame GetFrameAt(int index) { lock (SyncLock) { if (index < Frames.Count && index >= 0) return Frames[index]; else return null; } }