Media has the ability to map remote media metadata to fields on the media entity. To do this, create a media type whose Media Source is remote video, hit save, then add your fields. Edit the media type again, then map the metadata to the fields you created.
When you create a media entity of that type, Drupal will grab the metadata from the source (e.g. YouTube, Vimeo, etc.) and then map the metadata to the fields you configured for them. There is an outstanding issue to refresh this metadata after the entity is created, as currently it only does this mapping on creation.
Also, if I remember correctly, this only works on public videos. The video cannot be unlisted, private, age-restricted, or worse, 404. Otherwise, this mechanism will fail getting the metadata.