He heard the victim shouting for help. [continuous action]
He heard the victim shout for help. [ one-time action]
Mary saw the children jumping on the bed.[continuous action]
Mary saw the children jump on the bed [one-time action]
Obs.: Sometimes the simple-verb version might seem unconventional, so it`s safer in most cases to use the gerund version.