shaka-player-embedded icon indicating copy to clipboard operation
shaka-player-embedded copied to clipboard

Support for FLAC in ISO-BMFF

Open bnge opened this issue 6 years ago • 4 comments

Shaka-player on Chrome enables playback of encrypted FLAC in ISO-BMFF, will that also be a feature of shaka-player-embedded when it's out of beta?

bnge avatar Apr 29 '19 06:04 bnge

It is probably supported now, you just need to enable the codec from FFmpeg using the --codecs flag to ./configure. We limit the default codecs to H.264 and AAC by default since (a) those are the only ones we've tested hardware decode on and (b) they are the most common and reduces binary size. But you can enable any codec FFmpeg supports and there's a good chance it will work:

./configure --codecs h264,flac ...

Encryption support should only depend on the container, and we support encrypted MP4, so again it should work. Does it work for you? Can you provide any example content?

TheModMaker avatar Apr 29 '19 15:04 TheModMaker

Excellent! I haven't tried it out, but I can provide example content within a day or two.

bnge avatar Apr 29 '19 17:04 bnge

@TheModMaker I sent you an email with some example content.

bnge avatar Apr 30 '19 14:04 bnge

Just an update as I've started testing a bit. Playback of FLAC in ISO-BMFF does work according to the pointers given by @TheModMaker above. I haven't tested with protected content yet, though.

bnge avatar Jun 23 '19 12:06 bnge