node-ytdl-core
node-ytdl-core copied to clipboard
Is there an easy way to create 2 different file from the same stream?
Description
Just wondering if we can currently create 2 types of files from a same pipe? For example :
- mp4
- mp3
Thanks!
since it looks like you want specific formats (mp4 and mp3 don't get used that often for web-streaming) i'd recommend using ffmpeg it has full support for multiple inputs and multiple outputs
you can also checkout the example-folders if i remember correct one of these used a stream input for ffmpeg (so without writing to a file first)