ubuntu - How to compare two mp4 files in linux -


how compare 2 mp4 files in linux? using "diff 1.mp4 2.mp4" doesnot work.

in order between 2 binary files bunch of bytes. can use in order list of differing bytes:

cmp -l filea fileb \    | gawk '{printf "%08x %02x %02x\n", $1, strtonum(0$2), strtonum(0$3)}' \    | head 

this give following result:

offset   byte_in_file_1 byte_in_file_2 00000051 dd             d5 00000052 9b             9c 00000053 4b             c1 00000054 8f             93 00000055 26             e6 .... 

you can't, however, interpret bytes "images", "frames", "video sequences" or whatever if compare mpeg files.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -