m3u

package
v1.22.7 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2022 License: OSL-3.0 Imports: 5 Imported by: 0

README

M3U

yt-dlp --proxy 127.0.0.1:8080 --no-check-certificate `
paramountplus.com/shows/star-trek-prodigy/video/3htV4fvVt4Z8gDZHqlzPOGLSMgcGc_vy/star-trek-prodigy-dreamcatcher

#EXT-X-KEY

If IV is missing, then use KEY for both.

https://github.com/oopsguy/m3u8/blob/master/tool/crypt.go#L25-L39

CBC

Why does this:

#EXT-X-KEY:METHOD=AES-128,URI="https://cbsios-vh.akamaihd.net/i/temp_hd_galle...

mean CBC?

An encryption method of AES-128 signals that Media Segments are completely encrypted using the Advanced Encryption Standard (AES) [AES_128] with a 128-bit key, Cipher Block Chaining (CBC)

https://datatracker.ietf.org/doc/html/rfc8216#section-4.3.2.4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block added in v1.20.8

type Block struct {
	cipher.Block
	// contains filtered or unexported fields
}

func NewCipher added in v1.20.8

func NewCipher(key []byte) (*Block, error)

func (Block) Decrypt added in v1.20.8

func (b Block) Decrypt(src []byte) []byte

We do not care about the ciphertext, so this works in place.

type Format

type Format map[string]string

func Decode

func Decode(src io.Reader, dir string) ([]Format, error)

func Unmarshal

func Unmarshal(buf []byte, dir string) []Format

Jump to

Keyboard shortcuts

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