'file' reports improper mime type on video
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
file (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The utility 'file' reports different results depending on invocation, which it shouldn't.
several of my videofiles named xyz.mpg are playing well in any video player tried, but to pick two examples:
1st example - ffplay says:
... Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 720x576 [PAR 178:163 DAR 445:326], 104857 kb/s, 25 tbr, 90k tbn, 25 tbc
file gives these results with / without option -i:
~$ file -i "celciuspak.mpg"
celciuspak.mpg: application/
~$ file "celciuspak.mpg"
celciuspak.mpg: MPEG sequence, v1, system multiplex
2nd example -ffplay says:
...Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25 tbr, 90k tbn, 50 tbc
$ file -i Untitled.mpg
Untitled.mpg: application/
$ file Untitled.mpg
Untitled.mpg: MPEG sequence, v2, program multiplex
I think file should report a mime type video/...
file is version 'file-5.03' on Ubuntu Lucid
affects: | firefox (Ubuntu) → ubuntu |
affects: | ubuntu → file (Ubuntu) |