Skip navigation
PhoeniX_01
Currently Being Moderated

hlspackager - package content for IOS

Jul 10, 2012 8:37 AM

Good day

I have some problems when I encrypt file PR.f4v with hlspackager (from AMS5) – I get error:

«Error 10: Encryption error while processing prog_index.m3u8, Ref: [2:Invalid key file]»

File «common-key.bin» - length 128 bit. I used this file long time  before with f4fpackager and didn’t have any problems.

My string:

hlspackager --input-file=/data/content/PR.f4v --output-path=/data/content/  --protection-scheme=FlashAccessV4 --license-server-url=http://127.0.0.1:8080/flashaccessserver --transport-cert=t.der --license-server-cert=ls.der --packager-credential=package.pfx --credential-pwd=Tae7uiMugyug --policy-file=pcustomauthunlimios.pol --common-key-file=common-key.bin --content-id=123 --faxskey-server-url=http://127.0.0.1:8080/flashaccessserver

I have some questions:

  1. Where is my error?
  2. Where can I see documentation about use this utile 

Thank you.

 
Replies
  • Currently Being Moderated
    Jul 11, 2012 10:23 PM   in reply to PhoeniX_01

    Hello,

     

    Key can be generated using

     

    openssl rand -out keyfile.bin -base64 16

     

    Remember key to be used with hlspackager shouldn't be scrambled key as we used with AMS. With AMS (just-in-time streaming workflows) keys are generally configured on the disk for continuous use while the streaming is going on. So there we need to store it scramble to gaurad against unauthorised access to the disk.

     

    But hlspackager is offline tool, where key is required only at time of packaing the content, so this need not be scrambled.

     

    hlspacakger requires base 64 encoded 16 bytes.

     

    Thanks

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points