frame_count should be an integer so don't use NULL