Render an animation at a specific resolution, by passing a Python expression
blender --background path/to/file.blend --python-expr 'import bpy; bpy.data.scenes[0].render.resolution_percentage = 25' --render-anim