View Issue Details

IDProjectCategoryView StatusLast Update
0000346fileGeneralpublic2022-05-20 11:12
Reporterjukuisma Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionreopened 
Product Version5.41 
Fixed in VersionHEAD 
Summary0000346: Incorrect video/dv mimetype
Description`file` identifies DV files correctly, but returns `application/octet-stream` as the mimetype. No mimetype has been defined for DV files: https://github.com/file/file/blob/22209154702032e9b7f2e96eb7eab174f8e87af9/magic/Magdir/animation#L944.
Steps To Reproduce$ wget https://github.com/Digital-Preservation-Finland/file-scraper/raw/c9facae6df774544e4ef8f7a039a926796ef57b8/tests/data/video_dv/valid__pal_lossy.dv
$ file valid__pal_lossy.dv
$ file --mime-type valid__pal_lossy.dv
Additional Informationhttps://www.iana.org/assignments/media-types/video/DV
TagsNo tags attached.

Activities

christos

2022-05-14 22:06

manager   ~0003743

Fixed, thanks

jukuisma

2022-05-20 11:12

reporter   ~0003744

Shouldn't this be "video/DV" or "video/dv" instead of "video/x-dv"? MIME type "video/DV" is registered in IANA, see the RFC of the registration:

https://www.rfc-editor.org/rfc/rfc6469.html

As we understand, MIME types with "x-" prefix should be avoided:

https://www.rfc-editor.org/rfc/rfc6838.html#section-3.4 (last paragraph of section 3.4)

which refers to:

https://www.rfc-editor.org/rfc/rfc6648.html

Issue History

Date Modified Username Field Change
2022-05-13 12:09 jukuisma New Issue
2022-05-14 22:06 christos Assigned To => christos
2022-05-14 22:06 christos Status new => assigned
2022-05-14 22:06 christos Status assigned => resolved
2022-05-14 22:06 christos Resolution open => fixed
2022-05-14 22:06 christos Fixed in Version => HEAD
2022-05-14 22:06 christos Note Added: 0003743
2022-05-20 11:12 jukuisma Status resolved => feedback
2022-05-20 11:12 jukuisma Resolution fixed => reopened
2022-05-20 11:12 jukuisma Note Added: 0003744