Recover Frame Compression Lossiness from Many Similar Frames
The method to improve resolution by few frames is called Multi Image Super Resolution (As opposed to Single Image Super Resolution).
For compression artifacts you can look for JPEG Deblocking algorithms.