Solution 1:

ffmpeg used to have support for libquvi that would allow to download video directly. Since it does not support the library anymore, to process a video from YouTube, you should download it using youtube-dl instead.

I am not aware of any live-processing capabilities.