How to pay DRM .mpd file Android

283 views
Skip to first unread message

Osp Osp

unread,
Nov 3, 2017, 12:45:38 PM11/3/17
to Shaka Packager Users
Hello,
I have created DRM .mpd file successfully, as below , thanks for all your kind support 

$ packager \
  in=h264_baseline_360p_600.mp4,stream=audio,output=audio.mp4 \
  in=h264_baseline_360p_600.mp4,stream=video,output=h264_360p.mp4 \
  in=h264_main_480p_1000.mp4,stream=video,output=h264_480p.mp4 \
  in=h264_main_720p_3000.mp4,stream=video,output=h264_720p.mp4 \
  in=h264_high_1080p_6000.mp4,stream=video,output=h264_1080p.mp4 \
  --mpd_output h264.mpd \
  --enable_widevine_encryption \
  --key_server_url https://license.uat.widevine.com/cenc/getcontentkey/widevine_test \
  --content_id 7465737420636f6e74656e74206964 \
  --signer widevine_test \
  --aes_signing_key 1ae8ccd0e7985cc0b6203a55855a1034afc252980e970ca90e5202689f947ab9 \
  --aes_signing_iv d58ce954203b7c9a9a9d467f59839249


It created h264.mpd file but how to play ?, i try tp play on Android exoplayer but not playing

{
"name": "WV: Secure Fullsample UHD (WebM,VP9)",
"uri": "https://... /h264.mpd",
"drm_scheme": "widevine",
"drm_license_url": "https://proxy.uat.widevine.com/proxy?provider=widevine_test"
},

Please help

KongQun Yang

unread,
Nov 3, 2017, 1:10:41 PM11/3/17
to Osp Osp, Shaka Packager Users
Hi,

You can use Shaka Player Demo: https://shaka-player-demo.appspot.com/demo/. Remember to specify the custom license server url.

For exo-player, please ask in exo-player Github issues page: https://github.com/google/ExoPlayer/issues


-- KongQun Yang (KQ)

--
You received this message because you are subscribed to the Google Groups "Shaka Packager Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-packager-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-packager-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-packager-users/3a5e1ec5-87d6-40fe-a903-6985f8bfce3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages