Use AdobeLicenseEmbedder.jar to embed pre-generated licenses into content that the Media Packager protects.
java -jar AdobeLicenseEmbedder.jar sourcefile destfile [options]
sourcefile
represents an encrypted file.
destfile
specifies the name of the file in which the encrypted content with the embedded license is saved.
If you specify a directory, the file is saved in the destination directory. The name of the source file also becomes the name of the file that is saved in the destination directory.
The following table describes the command line options that you can specify:
Table 7: Options
Command Line Option |
Description |
---|---|
-l license-filename | Name of the file that includes the license that you want to embed. You can specify multiple -l options to embed multiple licenses. |
-m metadata-filename | Specifies the content metadata for which you can generate a license. This option is required to generate a license. |
-noprompt | Do not ask if the destination file should be overwritten. If the destination file already exists and the -o has not been applied, an error occurs. |
-o | If the destination file already exists, you can overwrite it without being prompted. |