View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000411 | file | General | public | 2022-12-24 18:57 | 2022-12-28 17:50 |
Reporter | yakov | Assigned To | christos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 5.43 | ||||
Fixed in Version | 5.45 | ||||
Summary | 0000411: Sony XAVC reported as application/octet-stream | ||||
Description | The file utility does recognize "MPEG v4 system, Sony XAVC Codec", however it doesn't have a mime-type in the database. Consequently it's reported as application/octet-stream, which prevents xdg-open from opening those files with a video player. Probably reporting it as video/mp4 would be more appropriate. | ||||
Tags | magic | ||||
|
It is very difficult to recognize MPEG4, if you have some suggested magic, by all means, send it to me. |
|
It's already recognized, but it's missing a mime-type; here's a patch. xavc.patch (422 bytes)
diff --git a/magic/Magdir/animation b/magic/Magdir/animation index eb5959a4..b69f6858 100644 --- a/magic/Magdir/animation +++ b/magic/Magdir/animation @@ -37,6 +37,7 @@ 4 string ftyp ISO Media # https://aeroquartet.com/wordpress/2016/03/05/3-xavc-s/ >8 string XAVC \b, MPEG v4 system, Sony XAVC Codec +!:mime video/mp4 >>96 string x \b, Audio "%.4s" >>118 beshort x at %dHz >>140 string x \b, Video "%.4s" |
|
Added, thanks! |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-12-24 18:57 | yakov | New Issue | |
2022-12-24 18:57 | yakov | Tag Attached: magic | |
2022-12-26 19:14 | christos | Assigned To | => christos |
2022-12-26 19:14 | christos | Status | new => assigned |
2022-12-26 19:15 | christos | Status | assigned => feedback |
2022-12-26 19:15 | christos | Note Added: 0003876 | |
2022-12-26 20:25 | yakov | Note Added: 0003880 | |
2022-12-26 20:25 | yakov | File Added: xavc.patch | |
2022-12-26 20:25 | yakov | Status | feedback => assigned |
2022-12-28 17:50 | christos | Status | assigned => resolved |
2022-12-28 17:50 | christos | Resolution | open => fixed |
2022-12-28 17:50 | christos | Fixed in Version | => 5.45 |
2022-12-28 17:50 | christos | Note Added: 0003882 |