Attempting to re-encode the decoded frames. Not working yet.