I
I
Ivan2021-01-23 23:17:01
YouTube
Ivan, 2021-01-23 23:17:01

How to download video from youtube to webm?

You need to download a video from YouTube and eventually get a file with a webm extension.
Downloading to mp4 is no problem, but translating to webm does not work.

I tried this command with ffmpeg, it doesn't work, the file is simply not created. I tried like this, for example, first translate into avi, everything is buzzing, and then again into webm - exec("ffmpeg -i input.avi -c:v libvpx -crf 4 -c:a libvorbis -b:a 192K output.webm") ; but doesn't help. I can translate from mp4 to mp3 using ffmpeg, but in webm it doesn’t work at all, the file is simply not created.

Interested in a solution or an mp4 and webm converter, or immediately download from YouTube to webm.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav, 2021-01-24
@Chebaa

Guaranteed to download from YouTube in webm is unlikely to succeed. Usually I download via savefrom, but it gives webm without sound. And convert from mp4 to webm

ffmpeg -i input.mp4 -c:v vp9 -lossless 1 input.webm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question