I have a .mov file with a video and several audio tracks. To md5 the entire file I can do:
[pdev@d ~]$ md5sum 1_TRAILER_HD_2CH_ES419_ENSUB_16X9_178_2398_DIGITAL_FINAL.mov
042f0e177fe25f562079cc07208ec446
Though when I try doing the same thing in ffmpeg, I get a different value:
$ ffmpeg -i 1_TRAILER_HD_2CH_ES419_ENSUB_16X9_178_2398_DIGITAL_FINAL.mov -f md5 -
MD5=74bd904f1edb4eb1368040e2792d7497 0kB time=00:01:59.11 bitrate= 0.0kbits/s speed=2.36x
frame= 2867 fps= 56 q=-0.0 Lsize= 0kB time=00:01:59.57 bitrate= 0.0kbits/s speed=2.35x
video:23222700kB audio:22421kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Why is the value different? Additionally, how can I checksum only the video track? I have various files that have different audio tracks and want to see if I have the same video track on those files.
Update: I believe this answer shows how to compute an audio-only checksum, but not sure about video-only: https://superuser.com/a/1044419/118248.