After experimental restauration of btrfs sparse file image, a lot of my video files have missing or added bytes, but only some (file sizes are identical to size of original except < 100 bytes). Is there a program which can
- recognize the video container and encoding (could may also be done separately with a script)
- repair the video file based on eventually existing checksums (I have no idea how popular video formats work)
- recognize missing bytes causing the failure of rendering for single images/sequences and replace them with black images
(1. is optional, 2. and 3. alternatives for each other)?