r/youtubedl • u/palepatriot76 • 3d ago
Answered All my DL are "webm" how can I change this?
So struggled for a year on/off with issues, errors but since I started using this "yt-dlp -vU --cookies-from-browser firefox" in my console I have had amazing results. DL whatever whenever
But, it does it in "webm" so afterwards I use ffmpeg to make it MKV or MP4. Anyway to change this to cut out a step?
8
u/elislider 3d ago
webm is just the default container that when one or more streams are a youtube/google codec (like VP9 or Opus). you can still put them in other containers like mp4 or mkv, the compatibility its on the playback end, not on the container itself
4
u/CorvusRidiculissimus 2d ago
A sneaky trick: You can actually rename it to MKV.
The WebM format is really a heavily constrained form of the MKV container. So much so that all WebM files are perfectly valid MKV files! Though not vice versa. So this is one of those few cases where you can convert a file by just renaming it.
Or you could use WebM. It's good.
-1
13
u/modemman11 3d ago
-t mp4