add support for chapters definition in lavf