Package: file
Version: 4.17-5
Severity: wishlist

I've recently processed a lot of video files, and one of the source
formats is *.m2t.  File failed to recognize it, so I had a hard time
figuring it out, but it seem to be a mpeg transport format commonly
used by HDV-cameras.

This is how one such file is described by ffmpeg:

  Input #0, mpegts, from 'tor_21042005_start.m2t':
    Duration: 00:01:14.72, start: 2.840000, bitrate: 26045 kb/s
    Program 100
      Stream #0.0[0x810]: Video: mpeg2video, yuv420p, 1440x1080 [PAR 4:3 DAR 
16:9], 25000 kb/s, 25.00 tb(r)
      Stream #0.1[0x814]: Audio: mp2, 48000 Hz, stereo, 384 kb/s

Running 'file tor_21042005_start.m2t' just return 'data' as the
format for the same file.

From
<URL:https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/89543>
see that the MIME type should be video/mpeg, and am slightly confused
by the use of .mt2 as the file ending (I believe the use is a typo in
the changelog listed in the bug report).

I'm not sure how such file could be recognized, but an example file is
currently available from
<URL:http://www.nuug.no/pub/video/raw/Hdv/20050421-tor/tor_21042005_start.m2t>.

I find the format discussed on
<URL:http://en.wikipedia.org/wiki/MPEG_transport_stream>, where the
m2t name is mentioned.  I hope it can be used to teach file to
recognize such file.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to