mtv

package
v1.49.6 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: OSL-3.0 Imports: 6 Imported by: 0

README

MTV

Install system certificate.

MediaGenerator

If we compare this:

topaz.viacomcbs.digital/topaz/api/
mgid:arc:showvideo:mtv.com:f2ea0986-48b0-4d95-ada3-d3d3a89710ed
/mica.json?clientPlatform=android

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1488968,RESOLUTION=768x576,
FRAME-RATE=23.974,CODECS="avc1.4d401f,mp4a.40.2",AUDIO="audio0",SUBTITLES="subs0"

with this:

media-utils.mtvnservices.com/services/MediaGenerator/
mgid:arc:showvideo:mtv.com:f2ea0986-48b0-4d95-ada3-d3d3a89710ed
?acceptMethods=hls

#EXT-X-STREAM-INF:AVERAGE-BANDWIDTH=1575904,BANDWIDTH=2538475,FRAME-RATE=23.976,
CODECS="avc1.4D401F,mp4a.40.2",RESOLUTION=768x576

the second seems to have better BANDWIDTH. However if we run both through FFmpeg, we get this result:

49422944 MediaGenerator.ts
49431404 topaz.ts

Why does this exist?

March 3 2022

https://github.com/ytdl-org/youtube-dl/issues/30678

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel format.LogLevel

Functions

This section is empty.

Types

type Item added in v1.48.8

type Item struct {
	AirDate struct {
		DateString string
	}
	Duration struct {
		Milliseconds int64
	}
	EntityType   string
	ParentEntity struct {
		Title string
	}
	ShortID         string
	Title           string
	VideoServiceURL string
}

func NewItem added in v1.48.8

func NewItem(addr string) Item

func (Item) GetDuration added in v1.49.2

func (i Item) GetDuration() time.Duration

func (Item) Property added in v1.48.8

func (i Item) Property() (*Property, error)

func (Item) String added in v1.49.2

func (i Item) String() string

func (Item) WithURL added in v1.49.6

func (i Item) WithURL(s string) Item

type Property

type Property struct {
	Data struct {
		Item Item
	}
}

func (Property) Base added in v1.48.9

func (p Property) Base() string

func (Property) Topaz

func (p Property) Topaz() (*Topaz, error)

type Topaz

type Topaz struct {
	StitchedStream struct {
		Source string
	}
}

Jump to

Keyboard shortcuts

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