JDownloader is good, lets you pick which quality to download and also which format.
I think main problem is that the stuff exported to youtube is already lower quality than whatever twitch is processing at, so putting it through another conversion process where I can't control the bitrate is murdering it