A method includes performing a conversion between a video including video pictures that include one or more subpictures and a bitstream of the video. The bitstream conforms to a format rule specifying that one or more syntax structures are constrained based on a constraint flag of a syntax element that includes general constraints information.