This version of Unity is unsupported.

VideoClip.frameCount

public ulong frameCount;

Description

The length of the VideoClip in frames. (Read Only).

Note that the length returned can be inaccurate as the external encoder can be imprecise. Use VideoPlayer.frameCount to get an adjusted value that is more accurate.