{"success":true,"data":{"ext":"mp4v","name":"MP4V","description":"MP4V is a video file format associated with MPEG-4 Part 2 content and standardized by the Moving Picture Experts Group and ISO/IEC. It is used for digital video playback, distribution, and archival in media players, editing tools, and streaming systems. The format is generally safe, though like other media files it may trigger decoder vulnerabilities in outdated software; it is considered a legacy codec compared with newer H.264 and H.265 variants.","mime":["video/mp4"],"risk_level":"Safe","signatures":[{"hex":"66 74 79 70 6D 70 34 31","offset":4,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"66 74 79 70 6D 70 34 32","offset":4,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":["m4v","mp4","mpg4"],"usage":{"python":"def is_mp4v(file_path: str) -> bool:\n    \"\"\"Check if file is a valid MP4V by magic bytes at offset 4.\"\"\"\n    signature = bytes([0x66, 0x74, 0x79, 0x70, 0x6D, 0x70, 0x34, 0x31])\n    with open(file_path, \"rb\") as f:\n        f.seek(4)\n        return f.read(8) == signature","node":"function isMP4V(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x66, 0x74, 0x79, 0x70, 0x6D, 0x70, 0x34, 0x31]);\n  if (buffer.length < 12) return false;\n  return buffer.subarray(4, 12).equals(signature);\n}","go":"func IsMP4V(data []byte) bool {\n    signature := []byte{0x66, 0x74, 0x79, 0x70, 0x6D, 0x70, 0x34, 0x31}\n    if len(data) < 12 {\n        return false\n    }\n    return bytes.Equal(data[4:12], signature)\n}"},"category":"Video"}}