Real test for the avi-platform-compatibility page - run: 2026-10-25 12:50:55 UTC, host: Linux 6.8.0-139-generic x86_64 ffmpeg version 6.1.1-3ubuntu5 Copyright (c) 2000-2023 the FFmpeg developers Tool runs: headless Chromium 153.0.8010.12 (Playwright) against the live tools at https://koldflux.com Playwright scripts: pw-run.cjs (open the tool page, choose the file, click the button, wait for the download) and pw-validate.cjs (open /tools/validate, choose the file, print the result). Source footage (real, free licence, not made by us): "Marmalade Hoverfly garden 31 7 2020 1b 4K UHD.webm", Wikimedia Commons, licence CC0, https://commons.wikimedia.org/wiki/File:Marmalade_Hoverfly_garden_31_7_2020_1b_4K_UHD.webm (licence read through the Commons API on 2026-10-25). Test files are derived from it by us with ffmpeg (4 s starting at 5 s, 640x360); they are not AVI files recorded by a camera or capture card. $ ffmpeg -v error -y -ss 5 -t 4 -i /home/ubuntu/codec-work/src/hoverfly.webm -vf scale=640:360 -c:v mpeg4 -q:v 5 -c:a libmp3lame -b:a 128k a1-mpeg4-mp3.avi $ ffmpeg -v error -y -ss 5 -t 4 -i /home/ubuntu/codec-work/src/hoverfly.webm -vf scale=640:360 -c:v libx264 -crf 23 -pix_fmt yuv420p -c:a aac -b:a 128k a2-h264-aac.avi $ ffprobe a1-mpeg4-mp3.avi codec_name=mpeg4 profile=Simple Profile codec_type=video width=640 height=360 pix_fmt=yuv420p r_frame_rate=30000/1001 nb_frames=122 codec_name=mp3 profile=unknown codec_type=audio r_frame_rate=0/0 nb_frames=168 format_name=avi duration=4.070733 size=659898 bit_rate=1296863 $ ffprobe a2-h264-aac.avi codec_name=h264 profile=High codec_type=video width=640 height=360 pix_fmt=yuv420p r_frame_rate=30000/1001 nb_frames=120 codec_name=aac profile=LC codec_type=audio r_frame_rate=0/0 nb_frames=190 format_name=avi duration=4.053333 size=264282 bit_rate=521609 === Koldflux validator (/tools/validate) === $ node pw-validate.cjs https://koldflux.com/tools/validate a1-mpeg4-mp3.avi 9000 (result section only) Replace file Video files, Audio files, Images · Size limited by browser memory a1-mpeg4-mp3.avi a1-mpeg4-mp3.avi (0.6 MB) Could not read this file: Browser could not read media metadata. 2. Pick target platforms $ node pw-validate.cjs https://koldflux.com/tools/validate a2-h264-aac.avi 9000 (result section only) Replace file Video files, Audio files, Images · Size limited by browser memory a2-h264-aac.avi a2-h264-aac.avi (0.3 MB) Could not read this file: Browser could not read media metadata. 2. Pick target platforms === Koldflux AVI to MP4 (/tools/convert/video/avi-to-mp4) === $ node pw-run.cjs https://koldflux.com/tools/convert/video/avi-to-mp4 a1-mpeg4-mp3.avi "convert to mp4" a1-mpeg4-mp3.mp4 clicking: Convert to MP4 result: DOWNLOAD after 8 s saved /home/ubuntu/codec-work/work/avi/a1-mpeg4-mp3.mp4 suggested converted.mp4 ERRS [] $ ffprobe a1-mpeg4-mp3.mp4 codec_name=h264 profile=High codec_type=video width=640 height=360 pix_fmt=yuv420p r_frame_rate=30000/1001 nb_frames=122 codec_name=aac profile=LC codec_type=audio r_frame_rate=0/0 nb_frames=190 format_name=mov,mp4,m4a,3gp,3g2,mj2 duration=4.070733 size=431370 bit_rate=847749 $ ffmpeg -i a1-mpeg4-mp3.avi -i a1-mpeg4-mp3.mp4 -lavfi "[0:v]setpts=PTS-STARTPTS[a];[1:v]setpts=PTS-STARTPTS[b];[a][b]ssim" -f null - (All = whole-frame SSIM) SSIM Y:0.987356 (18.981121) U:0.982470 (17.562191) V:0.985099 (18.267833) All:0.986165 (18.590345) $ node pw-run.cjs https://koldflux.com/tools/convert/video/avi-to-mp4 a2-h264-aac.avi "convert to mp4" a2-h264-aac.mp4 clicking: Convert to MP4 result: DOWNLOAD after 7 s saved /home/ubuntu/codec-work/work/avi/a2-h264-aac.mp4 suggested converted.mp4 ERRS [] $ ffprobe a2-h264-aac.mp4 codec_name=h264 profile=High codec_type=video width=640 height=360 pix_fmt=yuv420p r_frame_rate=30000/1001 nb_frames=122 codec_name=aac profile=LC codec_type=audio r_frame_rate=0/0 nb_frames=190 format_name=mov,mp4,m4a,3gp,3g2,mj2 duration=4.070733 size=239832 bit_rate=471329 $ ffmpeg -i a2-h264-aac.avi -i a2-h264-aac.mp4 -lavfi "[0:v]setpts=PTS-STARTPTS[a];[1:v]setpts=PTS-STARTPTS[b];[a][b]ssim" -f null - (All = whole-frame SSIM) SSIM Y:0.974706 (15.969844) U:0.988066 (19.231968) V:0.991812 (20.868334) All:0.979784 (16.942983) $ ls -l a1-mpeg4-mp3.avi a1-mpeg4-mp3.mp4 a2-h264-aac.avi a2-h264-aac.mp4 -rw-rw-r-- 1 ubuntu ubuntu 659898 Oct 25 12:50 a1-mpeg4-mp3.avi -rw-rw-r-- 1 ubuntu ubuntu 431370 Oct 25 12:51 a1-mpeg4-mp3.mp4 -rw-rw-r-- 1 ubuntu ubuntu 264282 Oct 25 12:50 a2-h264-aac.avi -rw-rw-r-- 1 ubuntu ubuntu 239832 Oct 25 12:51 a2-h264-aac.mp4 === Was the picture copied or re-encoded? decoded-frame hash, source vs result (different hash = re-encoded) === $ ffmpeg -v error -i a2-h264-aac.avi -map 0:v:0 -c:v rawvideo -f md5 - MD5=f437c095d1fb735ed6be07f2135744cc $ ffmpeg -v error -i a2-h264-aac.mp4 -map 0:v:0 -c:v rawvideo -f md5 - MD5=008277e8367da76666d8b77043655a6c === Equivalent command line === $ ffmpeg -v error -y -i a1-mpeg4-mp3.avi -c:v libx264 -crf 23 -pix_fmt yuv420p -c:a aac -b:a 128k -movflags +faststart cli.mp4 $ ffprobe cli.mp4 codec_name=h264 profile=High codec_type=video width=640 height=360 pix_fmt=yuv420p r_frame_rate=30000/1001 nb_frames=122 codec_name=aac profile=LC codec_type=audio r_frame_rate=0/0 nb_frames=190 format_name=mov,mp4,m4a,3gp,3g2,mj2 duration=4.070733 size=431176 bit_rate=847367 === Addendum (same session): can Chromium play AVI? and what does a stream copy do? === $ node /home/ubuntu/codec-work/scripts/canplay.cjs Chromium 153.0.8010.12 video/ogg; codecs=theora => "" video/ogg => "maybe" video/mp4; codecs=avc1.42E01E => "probably" video/webm; codecs=vp9 => "probably" video/3gpp => "maybe" video/avi => "" video/mpeg => "" video/x-m4v => "maybe" $ ffmpeg -v error -y -i a2-h264-aac.avi -c copy -movflags +faststart copy.mp4 $ ffprobe -v error -show_entries format=format_name,duration,size:stream=codec_name,codec_type -of default=nw=1 copy.mp4 codec_name=h264 codec_type=video codec_name=aac codec_type=audio format_name=mov,mp4,m4a,3gp,3g2,mj2 duration=4.032000 size=251548 $ ffmpeg -v error -i a2-h264-aac.avi -map 0:v:0 -c:v rawvideo -f md5 - MD5=f437c095d1fb735ed6be07f2135744cc $ ffmpeg -v error -i copy.mp4 -map 0:v:0 -c:v rawvideo -f md5 - MD5=ee3b8749e73ecec0bad23832ef08983a $ ffmpeg -v error -i a2-h264-aac.avi -map 0:a:0 -c:a pcm_s16le -f md5 - MD5=dfcba4a5619c65b15a1b48c11a712dac $ ffmpeg -v error -i copy.mp4 -map 0:a:0 -c:a pcm_s16le -f md5 - MD5=dfcba4a5619c65b15a1b48c11a712dac $ ffmpeg -v error -y -i a1-mpeg4-mp3.avi -c copy copy-mpeg4.mp4; ffprobe -v error -show_entries stream=codec_name -of csv=p=0 copy-mpeg4.mp4 mpeg4 mp3 === Addendum: frame-by-frame check of the stream copy (framemd5 of every decoded video frame) === $ ffmpeg -v error -i a2-h264-aac.avi -map 0:v:0 -f framemd5 a.fmd5; ffmpeg -v error -i copy.mp4 -map 0:v:0 -f framemd5 b.fmd5 (then compare the hash column) frames decoded from the AVI: 120 frames decoded from the copied MP4: 119 MP4 frames whose hash also occurs in the AVI list: 119