axiomatic-systems / Bento4

Full-featured MP4 format, MPEG DASH, HLS, CMAF SDK and tools
http://www.bento4.com
1.96k stars 478 forks source link

Could not play HLS fmp4 FairPlay from mp4-dash #671

Open haisk opened 2 years ago

haisk commented 2 years ago

Hi

I've tried to create a HLS fmp4 FairPlay stream but could not play it. Here's some information:

Bento4 version: 2.0.0-637 DRM Server: Castlab's DRMToday Video codec: H264 & HEVC Audio codec: AAC

Command:

python mp4-dash.py --profiles=on-demand --no-split --hls --hls-master-playlist-name=playlist.m3u8 --hls-media-playlist-name=profile.m3u8 --encryption-cenc-scheme=cbcs --encryption-key=38dffe880e4144cdb24f80fb69072840:2fc82db180354074953f066ff433948f --fairplay-key-uri=skd://drmtoday?assetId=86af6166-18a0-4c8d-8228-8d2f70daff89 video_h264.mp4 video_hevc.mp4 audio_aac.mp4 -f -o HLS_packaged

I don't know what's wrong with my command, cause it produce the stream successful but I could not play the stream on safari (Mac) and iOS using Shaka Player

WitchfndrGeneral commented 1 year ago

Hi there,

Did you manage to get it to work in the end? I had an almost identical command, but unable to playback through Safari.