HC-SR04 Ultrasonic sensor

Hello I am new to this and need some advice on how to start it up.

I am using a HC-SR04 Ultrasonic sensor and when at a specific distance
would like for it to start and stop a specific frame of a video.

Would I need to use processing for this? or can this be done only with Arduino software?

Would I need to use processing for this?

No, not necessarily but it might be an option.

or can this be done only with Arduino software?

No, because the Arduino cannot play videos. So you need some code on the computer playing the video.