-
Notifications
You must be signed in to change notification settings - Fork 89
/
Copy pathdoc.go
27 lines (23 loc) · 844 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
mp4ff-encrypt encrypts a fragmented mp4 file using Common Encryption with cenc or cbcs scheme.
A combined fragmented file with init segment and media segment(s) will be encrypted.
For a pure media segment, an init segment with encryption information is needed.
Usage of mp4ff-encrypt:
mp4ff-encrypt [options] infile outfile
options:
-init string
Path to init file with encryption info (scheme, kid, pssh)
-iv string
Required: iv (16 or 32 hex chars)
-key string
Required: key (32 hex or 24 base64 chars)
-kid string
key id (32 hex or 24 base64 chars). Required if initFilePath empty
-pssh string
file with one or more pssh box(es) in binary format. Will be added at end of moov box
-scheme string
cenc or cbcs. Required if initFilePath empty (default "cenc")
-version
Get mp4ff version
*/
package main