The twitch.tv grab has stopped for now, but this code could be useful to the ArchiveTeam and Internet Archive anyway, as a way of post-processing all of the grabs they have and perhaps shrinking things down to reclaim space if they deem it necessary.