code: def __init__(
      self,
      second_video_path: str,
      use_second_audio: bool,
      orientation: str,
  ):
      assert (
          type(use_second_audio) == bool
      ), "Expected a boolean value for use_second_audio"
      assert orientation in [
          "hstack",
          "vstack",
      ], "Expected orientation to be either 'hstack' or 'vstack'"
  
      self.second_video_path = pathmgr.get_local_path(second_video_path)
      self.use_second_audio = use_second_audio
      self.orientation = orientation
  
file_path: AugLy/augly/video/augmenters/ffmpeg/stack.py
imports: from typing import List
  from augly.utils import pathmgr
  from augly.video.augmenters.ffmpeg.base_augmenter import BaseVidgearFFMPEGAugmenter
  from augly.video.helpers import get_video_info, has_audio_stream
label_desc: Use image node_id 1 to create a new VideoAugmenterByStack object from inherited base classes: BaseVidgearFFMPEGAugmenter with example: obj = VideoAugmenterByStack(second_video_path, use_second_audio, orientation)