shaka-project / shaka-packager

A media packaging and development framework for VOD and Live DASH and HLS applications, supporting Common Encryption for Widevine and other DRM Systems.
https://shaka-project.github.io/shaka-packager/
Other
1.98k stars 507 forks source link

HEVC in TS #915

Closed synologic closed 6 months ago

synologic commented 3 years ago

System info

Debian 9.13 v2.4.3-dd98700-release

Reopen of #588.

HEVC in TS would be very useful when packaging for older devices which don't support fMP4, for example WebOS v3 does not support HLS version higher than 3 nor fMP4 but works just fine with HEVC in TS.

While the original issue mentions that Apple supports HEVC only in fMP4, there are other use cases where this is useful.

Would you reconsider implementing this, it would prevent packaging infrastructures being too complicated.

Thank you

kqyang commented 3 years ago

While the original issue mentions that Apple supports HEVC only in fMP4, there are other use cases where this is useful.

There isn't a specification on how the HEVC should be encrypted and signaled in TS. Do you just want to package clear HEVC in TS?

synologic commented 3 years ago

What we're doing now is to package HEVC in TS and encrypt with AES-128 on the fly and craft the playlist with the proper key URL. It would be great if this can also be done at the time of packaging. It works well for a lot of players, including Exoplayer :)

kqyang commented 3 years ago

Shaka packager does not support AES-128 encryption right now. See #776.

I'll keep this issue open but in the keep in the backlog for now.

cosmin commented 6 months ago

Closing this since AES-128 encryption is covered by #776