def ms_to_times(milliseconds: int) -> tuple[int, int, int, int]:
    """Convert PTS to tuple a symbolizing human-readable time chunks.

    :param milliseconds: PTS
    :return: tuple with hours, minutes, seconds and milliseconds
    """
    milliseconds = int(round(max(0, milliseconds)))
    hours, milliseconds = divmod(milliseconds, 3_600_000)
    minutes, milliseconds = divmod(milliseconds, 60000)
    seconds, milliseconds = divmod(milliseconds, 1000)
    return hours, minutes, seconds, milliseconds