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

Dominik Stadler Dominik.Stadler at gmx.at
Sun Apr 7 07:20:46 UTC 2013


** Package changed: ubuntu => file (Ubuntu)

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

Title:
  'file' reports improper mime type on video

Status in “file” package in Ubuntu:
  New

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/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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/file/+bug/1162300/+subscriptions




More information about the foundations-bugs mailing list