Why parsing for actual duration when selecting .m2ts

Free video converter, convert from any format to any format, mkv to avi, m2ts to avi, mp4, h264, mts, wmv, mov, DVD, etc.

Moderators: Maggie, ckhouston, JJ, Phil, Forum admin

Post Reply
dosibo51
Posts: 112
Joined: Thu Jul 03, 2014 9:38 pm
Location: Europe

Why parsing for actual duration when selecting .m2ts

Post by dosibo51 »

Hi,

can someone please explain me why when I select a .m2ts file it must be parsed for the actual duration which takes a long time from an original remuxed blu-ray (30 GB)?
cxv-parsingactualduration.jpg
Isn't the information that mediainfo reads out within a second enough (and CXV can do the same?)?

e.g.

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 4 Ref Frames
Duration : 2 h 0 min
Bit rate mode : Variable
Bit rate : 31.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
..
Bits/(Pixel*Frame) : 0.624
Stream size : 26.0 GiB (95%)

felicia
VSO Team Member
Posts: 599
Joined: Thu Jul 23, 2009 9:50 am

Re: Why parsing for actual duration when selecting .m2ts

Post by felicia »

The parsing looks for time inconsistency in files that may have them. Those errors can't be found just parsing the header and will cause the conversion to fail if not fixed by the parsing.

dosibo51
Posts: 112
Joined: Thu Jul 03, 2014 9:38 pm
Location: Europe

Re: Why parsing for actual duration when selecting .m2ts

Post by dosibo51 »

Thanks a lot - I understand.

The m2ts file has been created with VSO blu-ray converter - so the header should be correct. ;)

felicia
VSO Team Member
Posts: 599
Joined: Thu Jul 23, 2009 9:50 am

Re: Why parsing for actual duration when selecting .m2ts

Post by felicia »

Timestamps are not in the header but in frames. We don't look for the stream generator because there's no way to check if the file has been modified afterwards.

Post Reply