l-smash icon indicating copy to clipboard operation
l-smash copied to clipboard

Handle non-compliant files

Open Asd-g opened this issue 5 months ago • 2 comments

Blackmagic Design DaVinci Resolve Studio can write mp4 file with ctts version 1 but mark it as ctts version 0.

Always interpreting the sample_offset as signed is safe even if we have ctts version 0. We need offset >= 6.6 hours (a frame, after being decoded, should wait 6.6 hours before being displayed) for getting overflow.

Asd-g avatar Jul 05 '25 19:07 Asd-g

I am not really a fan of parsing files in non-compliant ways... it kind of goes against the ethos of L-SMASH, doesn't it?

CC: @VFR-maniac

dwbuiten avatar Aug 27 '25 15:08 dwbuiten

L-SMASH never yields to and never allows non-compliant files. Use ffmpeg.

VFR-maniac avatar Sep 11 '25 04:09 VFR-maniac

Then I guess this should be closed.

Asd-g avatar Dec 01 '25 01:12 Asd-g