mp4ff-encrypt

command
v0.47.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

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 chars)
	-kid string
	      key id (32 hex 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL