If your file truly is not corrupt, then it is likely you have to reindex the AVI files.
There is a known bug in the write algorithm that Bambu absolutely refuses to address. It is very annoying indeed and, unless you have the technical acumen, very difficult to diagnose and remedy. I recognize the output file. This is tell-tale remnant code that is left over from the core Linux that they use. It was never intended for production but obviously Bambu doesn’t give a damn.
I might also recommend switching your video player to the open source VLC. It is the universal swiss Army Knife of video players. If it can’t play your video, it is unlikely anything else can unless they are using a proprietary CODEC. VLC will give you an error message but also prompt you for the option to reindex and play the file anyway.
To fix Bambu AVI file index issues, use the open-source utility FFmpeg to reindex and output to MP4. A Mac version is available. VLC can also be used but requires more clicks. FFmpeg is not user-friendly but is effective with its lightweight command-line features.
https://www.ffmpeg.org/download.html
Here is the command line version of how to execute that file.
ffmpeg -loglevel quiet -i "input_filename.mp4" -c:v copy -c:a copy -f avi -y "output_filename.mp4"
____________________________________________________
Fix for Windows Users
For Windows users, I created a quick batch file to reindex the AVIs found in the folder the script is running from and output them into a sub-folder called “reindexed”. The older files are moved to a sub-folder called “old_file”
Both folders needs to exist for the script to run, otherwise it will throw an error.
Take the following text and save it to a filename with a .bat extension.
If you don’t know how to create a .bat file or how to run something from the command prompt, then this tip is not for you and you could cause files to be deleted or moved unintentionally.
In my case, I simply called the file reindex.bat. How the script works is that any AVI files that I store from the FTP copy from my printer are converted en masse.
for %%i in (*.avi) do (
ffmpeg -loglevel quiet -i "%%i" -c:v copy -c:a copy -f avi -y "reindexed\reindexed_%%i"
move %%i .\old_files\
)
echo All files have been reindexed.
pause