laundry icon indicating copy to clipboard operation
laundry copied to clipboard

Use ytdl native downloader

Open endquote opened this issue 9 years ago • 1 comments

Currently we use ytdl.getInfo to get the URL of a video stream, and then use our own logic to download it. Instead, we should use ytdl's native downloading facility to download to a temp location, and then move it to wherever it needs to be.

This should hopefully allow ytdl to do its own post-processing and merging of streams, as in this example: https://github.com/fent/node-youtube-dl/issues/97

However to get that working we'll also need ffmpeg installed, which may need to be done as a post-install step in the laundry package.

endquote avatar Mar 27 '16 16:03 endquote

This would also enable the ability to download just audio from youtube, which would be helpful for podcast feeds.

endquote avatar Jun 27 '16 18:06 endquote