mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 12:02:11 +00:00
FFMPEG Download Example
If you want to download vidoes in their best quality, you're going to have to download the audio and video separately. We can use ffmpeg to mux the audio and video streams back together.
This example uses ffmpeg-static package to provide a static binary of ffmpeg.