[Bug 1162300] [NEW] 'file' reports improper mime type on video

Launchpad Bug Tracker 1162300 at bugs.launchpad.net
Sun Apr 7 07:20:48 UTC 2013


You have been subscribed to a public bug:

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/octet-stream; charset=binary
 
~$ 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/octet-stream; charset=binary

$ 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: file (Ubuntu)
     Importance: Undecided
         Status: New

-- 
'file' reports improper mime type on video
https://bugs.launchpad.net/bugs/1162300
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to file in Ubuntu.




More information about the foundations-bugs mailing list