Page 1 of 1

Why parsing for actual duration when selecting .m2ts

Posted: Fri Dec 29, 2017 3:09 pm
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%)

Re: Why parsing for actual duration when selecting .m2ts

Posted: Fri Jan 12, 2018 2:05 pm
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.

Re: Why parsing for actual duration when selecting .m2ts

Posted: Fri Jan 12, 2018 4:46 pm
by dosibo51
Thanks a lot - I understand.

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

Re: Why parsing for actual duration when selecting .m2ts

Posted: Mon Jan 15, 2018 8:36 am
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.