After recovered ".mp4" videos from mobile phone, some videos were corrupt. I used the FFMPEG method to fix the videos. Some CMD commands below;
First Code: recover_mp4.exe good.mp4 --analyze Second: recover_mp4.exe bad.mp4 recovered.h264 recovered.aac Third: ffmpeg.exe -r 30 -i recovered.h264 -i recovered.aac -bsf:a aac_adtstoasc -c:v copy -c:a copy recovered.mp4 Alternate code: ffmpeg -i recovered.h264 -pix_fmt yuv420p -crf 18 result.mp4
Some videos have been improved after using the above codes. Some videos work fine. On the other hand some videos work in video players, but images are only gray or green screen or a mix of both. In short, some videos do not work properly.
Below I am sharing a screenshot from the video that is not working properly.
Is it possible to fix the above errors? Is there any other code or method I should use? How can I handle the gray screen problems in the video?
Note: I have used all versions of FFMPEG and Recover_mp4.exe.