basically what I'm doing is grabbing a twitch stream via streamlink and outputting it to a youtube stream via ffmpeg. When looking up how I could do that I (admittedly) just copied the first command on the documentation and tweaked it a bit and ended up with this command:
streamlink -O twitch.tv/boxbox best | ffmpeg -i pipe:0 -s 1920x1200 -framerate 30 -vcodec libx264 -preset veryfast -s 1280x720 -threads 0 -f flv "rtmp://a.rtmp.youtube.com/live2/-------------"
running this command works, a stream appears on youtube, but it is very laggy. the console tells me that I'm streaming at a consistent 9fps which is not really what I want. Since this is my very first experience with ffmpeg I dont really know what is causing this. It might even be my server since I'm running a pretty cheap debian VPS. Is this expectable or can I tweak this to stream it better?