I thought star trek iv was the one about the whales??
It is. An alien probe wants to contact Humpback whales that are then extinct.