Help with converting to AVI file using FFMpeg

Useful and helpful Windows specific command line samples and examples.
Post Reply
Posts: 1
Joined: Wed May 22, 2019 12:42 pm

Help with converting to AVI file using FFMpeg

Post by maxvkwong » Wed May 22, 2019 12:47 pm

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 processes frames correctly. I don't want to just copy the already working video steam.

The command I use is:

Code: Select all

./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:

The ffprobe 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.

Post Reply