Skip to content

Needs time-based profile support! #1

@Thulinma

Description

@Thulinma

Great idea, but this needs time-based profile support!
Perhaps something like this, with times forced to be contiguous and in milliseconds?

{
    "version" : 1,
    "manifest_ttl": 2,
    "adaptation_sets" : [
        {
            "mime_type" : "video/mp4",
            "segment_template" : {
                "init": "http://example.com/ace6123d-021d-41e2-bc31-4a082df189f9/$representation$/init.m4f",
                "media": "http://example.com/ace6123d-021d-41e2-bc31-4a082df189f9/$representation$/segment$time$.m4f",
                "times": [0, 500, 1000, 2500, 5000, 7500, 10000, 12500, 15000, 17500]
            },
            "representations" : {
                "c6a8533d-ff8f-437e-80d7-780f86a07ecd" : {
                    "bandwidth": 400000,
                    "codecs": "avc1.4d4015",
                    "height": 240,
                    "width": 426
                },
                "98bb279a-73bf-40b6-9c6a-f633ce8d2759" : {
                    "bandwidth": 800000,
                    "codecs": "avc1.4d401e",
                    "height": 480,
                    "width": 852
                }
            }
        },
        {
            "language" : "en",
            "mime_type" : "audio/mp4",
            "segment_template": {
                "init": "http://example.com/ace6123d-021d-41e2-bc31-4a082df189f9/$representation$/init.m4f",
                "media": "http://example.com/ace6123d-021d-41e2-bc31-4a082df189f9/$representation$/segment$time$.m4f",
                "times": [0, 5000, 10000, 15000]
            },
            "representations": {
                "c578f804-74aa-4aa5-887c-8837c81cc11d" : {
                    "bandwidth": 64000,
                    "codecs": "mp4a.40.2"
                }
            }
        }
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions