Hey guys, I'm trying to convert an uncompressed (raw) AVI file to uncompressed (raw) AVI. So, essentially, just converting it back to the same format to test if it works. I don't want to just copy the already working video steam.

The command I use is:

./ffmpeg.exe -i <input-filename> -f avi -c:v rawvideo -pix_fmt bgr24 output.avi
Am I using the correct command here? The output file is not viewable in the latest VLC player (v3.0.6). The codec information has the incorrect height too: codec information. The ffprobe output shows the same input and output format.

The sample AVI I got from this website (HD Uncompressed AVI link link on the site, in case anyone cares).

If anyone can help me, I would greatly appreciate it! Thanks.