title: ffmpeg fmp4 segment encryption
body: <p>I'm searching for a solution to protect HLS streams using DRM/AES encryption.</p>
  <p>Currently, it seems that this is only working with .ts segments not with .m4s segments and .ts files again don't work with HEVC / 4k HDR content, so it seems I'm 100% stuck at this point.</p>
  <p>There is also a report from another user (4 years ago) with exactly the same issue: <a href="https://trac.ffmpeg.org/ticket/7138" rel="nofollow noreferrer">https://trac.ffmpeg.org/ticket/7138</a>
  Is there any kind of workaround? Maybe outside of ffmpeg?</p>