appId: com.edde746.plezy
name: Codec sample - HEVC10 FLAC and ASS
tags:
  - e2e
  - media
  - hevc
---
- runFlow:
    file: ../subflows/open_codec_sample.yaml
    env:
      SAMPLE_TITLE: "Codec HEVC10 FLAC ASS"
      SAMPLE_OVERVIEW: "HEVC Main 10 video with dual FLAC 5.1 audio, styled ASS subtitles, and embedded fonts."
- runFlow:
    file: ../subflows/switch_codec_tracks.yaml
    env:
      AUDIO_TRACK: "(?is)^Japanese\\s+[^,]*(?:FLAC|Surround|5\\.1)[^,]*$"
      SUBTITLE_TRACK: "(?is)^English\\s+[^,]*(?:ASS|TEXT/X-SSA)[^,]*$"
- back
- waitForAnimationToEnd:
    timeout: 3000
- runFlow:
    when:
      notVisible: "Overview"
    commands:
      - back
- extendedWaitUntil:
    visible: "Overview"
    timeout: 10000
