A method of extracting a sub-bitstream from an encoded video bitstream using at least one processor includes: obtaining an encoded video bitstream, the encoded video bitstream including a plurality of Network Abstraction Layer (NAL) units; obtaining an output layer set list; comparing the NAL units with the output layer set list; and removing NAL units that are not included in the output layer set list.