Open bertho-zero opened 8 years ago
It's a little like -o -
parameter but for ffmpeg.
I'd need that as well. Is it possible yet to let youtube-dl stream directly into ffmpeg to write a .mp3 file directly (mp3 is just an example).
I really cant use youtube-dl like I want because the -x only operates on a finished file. But its not possible to completely download a radio stream or twitch or so because they are practically infinite length.
youtube-dl should use ffmpeg to convert, using stdin/stdout so it continously writes to the file and we can start using the audio file while data is still being written to it.
Please make this possible! @rg3
Any news of this ?
I'd find this very helpful as well.
I want to extract audio from video streams too.
youtube-dl -x -o - vAKtNV8KcWg | node pipe.js
youtube-dl: error: Cannot download a video and extract audio into the same file! Use "-.%(ext)s" instead of "-" as the output template
I would like to know if is possible to add a parameter (e.g: --stream) for execute the last ffmpeg command with the argument
pipe:1
instead offile:xxx
.The utility of this argument is that we can make on-the-fly conversion.
For example:
become:
That would be really cool and it would help me a lot for a personal project, thank you in advance.