Koldflux test log: MP4 vs MOV, what a MOV to MP4 conversion keeps (written November 20, 2026) Server: Ubuntu 24.04, ffmpeg 6.1.1, Playwright Chromium (headless). Rerun everything: bash test-run.sh . Test clip: Big Buck Bunny, Blender Foundation, CC BY 3.0, 3 s cut, 1920x1080, 30 fps, plus a 440 Hz tone as sound. ## 1. Test MOVs (make-movs.sh). Built with ffmpeg; the iphone-* files copy the layout of an iPhone recording, they were not recorded on a phone. iphone-h264.mov H.264 High + AAC, rotation 90, recording date, make Apple, model, GPS location 3,133,521 bytes iphone-hevc10.mov HEVC Main 10 (hvc1), HLG / BT.2020, rotation 90, same metadata 1,854,121 bytes hevc-hev1.mov HEVC Main, hev1 tag, no metadata 1,853,766 bytes h264-timecode.mov H.264 + AAC + a QuickTime timecode track (tmcd) 3,132,458 bytes h264-pcm.mov H.264 + uncompressed PCM sound (pcm_s16le) 3,371,846 bytes prores422-pcm.mov ProRes 422 10-bit + PCM sound 59,969,768 bytes ## 2. Live Koldflux MOV to MP4 tool (movtool.cjs), https://koldflux.com/tools/convert/video/mov-to-mp4, November 20, 2026 secs = file chosen until the download link appears, one run each, engine load included on the first file only iphone-h264: in 3133521 bytes, out 3132934 bytes, 2.3 s, saved as converted.mp4 iphone-hevc10: in 1854121 bytes, out 1853531 bytes, 1.6 s, saved as converted.mp4 hevc-hev1: in 1853766 bytes, out 1853711 bytes, 1.6 s, saved as converted.mp4 h264-timecode: in 3132458 bytes, out 3132245 bytes, 2.1 s, saved as converted.mp4 Tool note shown under the button: "Streams are copied into the new container; re-encoded only if a codec does not fit. Remux (container swap). Browser-side via FFmpeg WASM - nothing uploaded." The tool screenshot tool-mov-to-mp4.png is the iphone-hevc10 run, cropped to the converter panel. ## 3. Source MOV against Koldflux MP4 (analyze.sh): codecs, tags, packet MD5 of video and audio, metadata, index position ==== iphone-h264 -- src/iphone-h264.mov index=0|codec_name=h264|profile=High|codec_type=video|codec_tag_string=avc1|width=1920|height=1080|pix_fmt=yuv420p|color_transfer=unknown|color_primaries=unknown|bit_rate=8034200|side_datum/display_matrix:rotation=90 index=1|codec_name=aac|profile=LC|codec_type=audio|codec_tag_string=mp4a|sample_rate=48000|bit_rate=128099 duration=3.066667|size=3133521|tag:com.apple.quicktime.location.ISO6709=+48.8584+002.2945/|tag:major_brand=isom|tag:minor_version=512|tag:compatible_brands=isomiso2avc1mp41|tag:creation_time=2026-11-20T10:00:00Z|tag:com.apple.quicktime.make=Apple|tag:com.apple.quicktime.model=iPhone-test|tag:encoder=Lavf60.16.100 vhash 0,v,MD5=e82743ea048acf26f2c5a91043b238dd ahash 0,a,MD5=f47f82295be72790c74ebb9803f3a38b mdat_first -- work/iphone-h264-tool.mp4 index=0|codec_name=h264|profile=High|codec_type=video|codec_tag_string=avc1|width=1920|height=1080|pix_fmt=yuv420p|color_transfer=unknown|color_primaries=unknown|bit_rate=8034200|side_datum/display_matrix:rotation=90 index=1|codec_name=aac|profile=LC|codec_type=audio|codec_tag_string=mp4a|sample_rate=48000|bit_rate=128099 duration=3.066667|size=3132934|tag:major_brand=isom|tag:minor_version=512|tag:compatible_brands=isomiso2avc1mp41|tag:encoder=Lavf59.27.100 vhash 0,v,MD5=e82743ea048acf26f2c5a91043b238dd ahash 0,a,MD5=f47f82295be72790c74ebb9803f3a38b moov_first ==== iphone-hevc10 -- src/iphone-hevc10.mov index=0|codec_name=hevc|profile=Main 10|codec_type=video|codec_tag_string=hvc1|width=1920|height=1080|pix_fmt=yuv420p10le|color_transfer=arib-std-b67|color_primaries=bt2020|bit_rate=4690082|side_datum/display_matrix:rotation=90 index=1|codec_name=aac|profile=LC|codec_type=audio|codec_tag_string=mp4a|sample_rate=48000|bit_rate=128099 duration=3.066667|size=1854121|tag:com.apple.quicktime.location.ISO6709=+48.8584+002.2945/|tag:major_brand=isom|tag:minor_version=512|tag:compatible_brands=isomiso2avc1mp41|tag:creation_time=2026-11-20T10:00:00Z|tag:com.apple.quicktime.make=Apple|tag:com.apple.quicktime.model=iPhone-test|tag:encoder=Lavf60.16.100 vhash 0,v,MD5=f6c50f779c688e0e75ff7e4f694cc335 ahash 0,a,MD5=f47f82295be72790c74ebb9803f3a38b mdat_first -- work/iphone-hevc10-tool.mp4 index=0|codec_name=hevc|profile=Main 10|codec_type=video|codec_tag_string=hvc1|width=1920|height=1080|pix_fmt=yuv420p10le|color_transfer=arib-std-b67|color_primaries=bt2020|bit_rate=4690082|side_datum/display_matrix:rotation=90 index=1|codec_name=aac|profile=LC|codec_type=audio|codec_tag_string=mp4a|sample_rate=48000|bit_rate=128099 duration=3.066667|size=1853531|tag:major_brand=isom|tag:minor_version=512|tag:compatible_brands=isomiso2mp41|tag:encoder=Lavf59.27.100 vhash 0,v,MD5=f6c50f779c688e0e75ff7e4f694cc335 ahash 0,a,MD5=f47f82295be72790c74ebb9803f3a38b moov_first ==== hevc-hev1 -- src/hevc-hev1.mov index=0|codec_name=hevc|profile=Main|codec_type=video|codec_tag_string=hev1|width=1920|height=1080|pix_fmt=yuv420p|color_transfer=unknown|color_primaries=unknown|bit_rate=4690591 index=1|codec_name=aac|profile=LC|codec_type=audio|codec_tag_string=mp4a|sample_rate=48000|bit_rate=128099 duration=3.066667|size=1853766|tag:major_brand=qt |tag:minor_version=512|tag:compatible_brands=qt |tag:encoder=Lavf60.16.100 vhash 0,v,MD5=c7298b9c36bd8638a345a49821d6aacf ahash 0,a,MD5=f47f82295be72790c74ebb9803f3a38b mdat_first -- work/hevc-hev1-tool.mp4 index=0|codec_name=hevc|profile=Main|codec_type=video|codec_tag_string=hev1|width=1920|height=1080|pix_fmt=yuv420p|color_transfer=unknown|color_primaries=unknown|bit_rate=4690591 index=1|codec_name=aac|profile=LC|codec_type=audio|codec_tag_string=mp4a|sample_rate=48000|bit_rate=128099 duration=3.066667|size=1853711|tag:major_brand=isom|tag:minor_version=512|tag:compatible_brands=isomiso2mp41|tag:encoder=Lavf59.27.100 vhash 0,v,MD5=c7298b9c36bd8638a345a49821d6aacf ahash 0,a,MD5=f47f82295be72790c74ebb9803f3a38b moov_first ==== h264-timecode -- src/h264-timecode.mov index=0|codec_name=h264|profile=High|codec_type=video|codec_tag_string=avc1|width=1920|height=1080|pix_fmt=yuv420p|color_transfer=unknown|color_primaries=unknown|bit_rate=8034200 index=1|codec_name=aac|profile=LC|codec_type=audio|codec_tag_string=mp4a|sample_rate=48000|bit_rate=125075 index=2|codec_name=unknown|profile=unknown|codec_type=data|codec_tag_string=tmcd|bit_rate=10 duration=3.066667|size=3132458|tag:major_brand=qt |tag:minor_version=512|tag:compatible_brands=qt |tag:encoder=Lavf60.16.100 vhash 0,v,MD5=e82743ea048acf26f2c5a91043b238dd ahash 0,a,MD5=fa6953451f5c5797486e28aab0ccd0f8 mdat_first -- work/h264-timecode-tool.mp4 index=0|codec_name=h264|profile=High|codec_type=video|codec_tag_string=avc1|width=1920|height=1080|pix_fmt=yuv420p|color_transfer=unknown|color_primaries=unknown|bit_rate=8034200 index=1|codec_name=aac|profile=LC|codec_type=audio|codec_tag_string=mp4a|sample_rate=48000|bit_rate=125075 index=2|codec_name=unknown|profile=unknown|codec_type=data|codec_tag_string=tmcd|bit_rate=10 duration=3.066667|size=3132245|tag:major_brand=isom|tag:minor_version=512|tag:compatible_brands=isomiso2avc1mp41|tag:encoder=Lavf59.27.100 vhash 0,v,MD5=e82743ea048acf26f2c5a91043b238dd ahash 0,a,MD5=fa6953451f5c5797486e28aab0ccd0f8 moov_first ## 4. ffmpeg 6.1.1 on the same files (native.sh) ## plain copy: ffmpeg -i in.mov -map 0 -c copy out.mp4 iphone-h264 rc=0 secs=0.35 3132934 iphone-hevc10 rc=0 secs=0.19 1853531 hevc-hev1 rc=0 secs=0.20 1853711 h264-timecode rc=234 secs=0.21 [mp4 @ 0x5b7915a9a100] Could not find tag for codec none in stream #2, codec not currently supported in container [out#0/mp4 @ 0x5b7915a45740] Could not write h h264-pcm rc=0 secs=0.24 3371865 prores422-pcm rc=234 secs=0.15 [mp4 @ 0x5ec481079e40] Could not find tag for codec prores in stream #0, codec not currently supported in container [out#0/mp4 @ 0x5ec48107cec0] Could not write ## copy video, AAC audio: ffmpeg -i h264-pcm.mov -c:v copy -c:a aac -b:a 192k -movflags +faststart out.mp4 h264-pcm-fix secs=0.65 bytes=3142401 vhash_same=yes ## ProRes full encode: ffmpeg -i prores.mov -c:v libx264 -crf 18 -preset medium -pix_fmt yuv420p -c:a aac -b:a 192k -movflags +faststart out.mp4 prores-fix secs=6.85 bytes=4790476 High,yuv420p ## keep date and location: ffmpeg -i in.mov -map 0 -c copy -map_metadata 0 -movflags use_metadata_tags+faststart out.mp4 tag:com.apple.quicktime.location.ISO6709=+48.8584+002.2945/|tag:major_brand=isom|tag:minor_version=512|tag:compatible_brands=isomiso2avc1mp41|tag:creation_time=2026-11-20T10:00:00Z|tag:com.apple.quicktime.make=Apple|tag:com.apple.quicktime.model=iPhone-test|tag:encoder=Lavf60.16.100 ## Koldflux output, stream-level recording date (empty = none) | ## SSIM / PSNR of the ProRes re-encode against the MOV (decoded, all frames) prores-fix.mp4 vs prores422-pcm.mov SSIM All:0.986717 PSNR average:43.826210 ## 5. Timecode file with the default stream choice: ffmpeg -i h264-timecode.mov -c copy out.mp4 (no -map 0) h264-timecode default-map rc=0 secs=0.40 bytes=3132245 avc1 mp4a tmcd ## 6. What survived each route (extra.sh): v/a = packet MD5, tags, recording date, GPS location, make, index position ../src/iphone-h264.mov | v=e82743ea048acf26f2c5a91043b238dd a=f47f82295be72790c74ebb9803f3a38b | codec_tag_string=avc1|color_transfer=unknown|color_primaries=unknown|side_datum/display_matrix:rotation=90 | date=2026-11-20T10:00:00Z loc=+48.8584+002.2945/ make=Apple | mdat_first iphone-h264-tool.mp4 | v=e82743ea048acf26f2c5a91043b238dd a=f47f82295be72790c74ebb9803f3a38b | codec_tag_string=avc1|color_transfer=unknown|color_primaries=unknown|side_datum/display_matrix:rotation=90 | date= loc= make= | moov_first iphone-h264-copy.mp4 | v=e82743ea048acf26f2c5a91043b238dd a=f47f82295be72790c74ebb9803f3a38b | codec_tag_string=avc1|color_transfer=unknown|color_primaries=unknown|side_datum/display_matrix:rotation=90 | date= loc= make= | mdat_first iphone-h264-meta.mp4 | v=e82743ea048acf26f2c5a91043b238dd a=f47f82295be72790c74ebb9803f3a38b | codec_tag_string=avc1|color_transfer=unknown|color_primaries=unknown|side_datum/display_matrix:rotation=90 | date=2026-11-20T10:00:00Z loc=+48.8584+002.2945/ make=Apple | moov_first ../src/iphone-hevc10.mov | v=f6c50f779c688e0e75ff7e4f694cc335 a=f47f82295be72790c74ebb9803f3a38b | codec_tag_string=hvc1|color_transfer=arib-std-b67|color_primaries=bt2020|side_datum/display_matrix:rotation=90 | date=2026-11-20T10:00:00Z loc=+48.8584+002.2945/ make=Apple | mdat_first iphone-hevc10-tool.mp4 | v=f6c50f779c688e0e75ff7e4f694cc335 a=f47f82295be72790c74ebb9803f3a38b | codec_tag_string=hvc1|color_transfer=arib-std-b67|color_primaries=bt2020|side_datum/display_matrix:rotation=90 | date= loc= make= | moov_first iphone-hevc10-copy.mp4 | v=f6c50f779c688e0e75ff7e4f694cc335 a=f47f82295be72790c74ebb9803f3a38b | codec_tag_string=hvc1|color_transfer=arib-std-b67|color_primaries=bt2020|side_datum/display_matrix:rotation=90 | date= loc= make= | mdat_first iphone-hevc10-meta.mp4 | v=f6c50f779c688e0e75ff7e4f694cc335 a=f47f82295be72790c74ebb9803f3a38b | codec_tag_string=hvc1|color_transfer=arib-std-b67|color_primaries=bt2020|side_datum/display_matrix:rotation=90 | date=2026-11-20T10:00:00Z loc=+48.8584+002.2945/ make=Apple | moov_first ## 7. Negative control for the MD5 check: ffmpeg -i iphone-h264.mov -map 0 -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p -c:a copy out.mp4 neg-reencode.mp4 (iphone-h264 re-encoded with the same x264 settings it was made with) v=49037e43597907c95972d7408ffa4004 src v=e82743ea048acf26f2c5a91043b238dd All:0.990795 ## 8. The exact commands printed on the page (cmds.sh), second run of the PCM and ProRes commands phone: ffmpeg -i iphone-hevc10.mov -c copy -movflags +faststart | rc=0 secs=0.30 bytes=1853531 | video same=yes audio same=yes | hevc,hvc1, aac,mp4a | date= | moov_first keepmeta: ffmpeg -i iphone-h264.mov -map 0 -c copy -map_metadata 0 -movflags use_metadata_tags+faststart | rc=0 secs=0.33 bytes=3133405 | video same=yes audio same=yes | h264,avc1, aac,mp4a | date=2026-11-20T10:00:00Z | moov_first timecode: ffmpeg -i h264-timecode.mov -c copy -movflags +faststart | rc=0 secs=0.25 bytes=3132245 | video same=yes audio same=yes | h264,avc1 aac,mp4a unknown,tmcd | date= | moov_first pcm: ffmpeg -i h264-pcm.mov -c:v copy -c:a aac -b:a 192k -movflags +faststart | rc=0 secs=0.76 bytes=3142401 | video same=yes audio same=no | h264,avc1 aac,mp4a | date= | moov_first prores: ffmpeg -i prores422-pcm.mov -c:v libx264 -crf 18 -preset medium -pix_fmt yuv420p -c:a aac -b:a 192k -movflags +faststart | rc=0 secs=7.42 bytes=4790476 | video same=no audio same=no | h264,avc1 aac,mp4a | date= | moov_first ## Controls Packet MD5 of every source MOV is the reference: identical MD5 after conversion = same compressed data, nothing re-encoded. Negative control (section 7): re-encoding the same file with the same encoder settings changes the video MD5, so an identical MD5 cannot come from a re-encode. Index position: the first of "moov" or "mdat" in the file; all six source MOVs read mdat_first. ==== 9. probe.txt: codec check printed on the page (ffprobe 6.1.1, 2026-11-20) command: ffprobe -v error -show_entries stream=codec_type,codec_name -of csv=p=0 in.mov == iphone-h264.mov h264,video, aac,audio == iphone-hevc10.mov hevc,video, aac,audio == hevc-hev1.mov hevc,video aac,audio == h264-timecode.mov h264,video aac,audio unknown,data == h264-pcm.mov h264,video pcm_s16le,audio == prores422-pcm.mov prores,video pcm_s16le,audio reading: h264 or hevc + aac = plain copy works; prores = copy refused (section 4); pcm_s16le = convert the sound to AAC; unknown,data = timecode, do not add -map 0 ==== 10. PCM sound in the test files (ffprobe 6.1.1, 2026-11-20) h264-pcm.mov codec_name=pcm_s16le|sample_rate=48000|channels=1|bit_rate=768000 prores422-pcm.mov codec_name=pcm_s16le|sample_rate=48000|channels=1|bit_rate=768000 768000 b/s = 768 kb/s (48,000 samples x 16 bits x 1 channel)