Lloyd Banks
Lloyd Banks

Reputation: 36638

Detect QuickTime .MOV Files Using FFMPEG in Command Line

How do I check whether a video file (without an extension on the file name) is a .MOV file using FFMPEG?

Upvotes: 0

Views: 314

Answers (1)

szatmary
szatmary

Reputation: 31101

Loot at the first 4 bytes, if it is moov or mdat, it is probablly a .mov (or .mp4 or .m4v, or m4a, or m4b, as these are supersets of mov)

Upvotes: 1

Related Questions