find /path/to/parent/directory -type f \( -name "*.mp4" -o -name "*.hvec" \) -exec mv -t /path/to/parent/directory {} +
Explanation:
• find /path/to/parent/directory: Start the search from the specified parent directory.
• -type f: Restrict the search to files (not directories).
• \( -name "*.mp4" -o -name "*.hvec" \): Look for files with either a .mp4 or .hvec extension.
• -exec mv -t /path/to/parent/directory {} +: Execute the mv command to move the found files to the specified parent directory.