google / google/magika

[Misdetection] HEIF Image file misdetected as MP4 media file

Open
#1,439 0 comments 0 reactions 0 assignees View on GitHub
misdetection needs triage
Dominant language
Rust
Stars
18.6k
Forks
1.2k
Avg merge
3d 12h
Merged PRs (30d)
20

Description

HEIF image incorrectly identified as mp4 video file.

```shell
└──❯ file sample1.heic
sample1.heic: ISO Media, HEIF Image
└──❯ magika sample1.heic
sample1.heic: MP4 media file (video)
└──❯ magika --version
magika 1.1.0 standard_v3_3
```

[sample1.heic.zip](https://github.com/user-attachments/files/31562482/sample1.heic.zip)

**Additional context**

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the report with the attached sample1.heic using magika 1.1.0 and compare its result with the file command output. Trace the detection path for HEIF and MP4 media files; done means the HEIF sample is no longer reported as an MP4 video file.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.