Guidance please with yt-dlp download

I have been away from YT for a while but wish to use it to download some videos so that I can play without buffering issues which we have with our rather slow broadband connection.

As I understand it should download 1080 video if available but must have the best audio and have the downloads in an .mp4 container. My first experiment gave me a .webm file but otherwise appeared OK but there was no thumbnail and I was not aware of the component resolutions downloaded although I can find out. Here is the resulting file title:-

Claudio Monteverdi - L’Incoronazione di Poppea _ La Venexiana _ Schwetzinger SWR Festspiele [FqMrivd0iUo].webm

When I tried to specify the download using specified details rather than relying on defaults I was less successful as I received the .mp4 file but no thumbnail or title, just the YT number. Here is the command I used:-

alastair@IBMT530:~> yt-dlp -f 'bv[height=1080][ext=mp4]+ba[ext=m4a]' --embed-thumbnail --merge-output-format mp4 
FqMrivd0iUo -o '%(id)s.mp4'

And the resulting file title:-

FqMrivd0iUo.mp4

Please could somebody help me get this right.

Budge

To be more explicit how can I extract and display the file title data rather than just the YT number. The downloading to mp4 is fine but I do not want to have to try and tag the files. I have read the voluminous notes but not yet found what I seek. Grateful for some help please.

Hello,
the option

-o ‘%(id)s.mp4’
can be the culprit. Maybe try

-o '%(name)s.mp4'
or
-o '%(title)s.mp4'

see man page of yt-dlp and specifically section OUTPUT TEMPLATE (at +/- lines 850 )

Regards
Philippe

Hi Philippe,
Many thanks. Found it now.
Regards,
Budge.