Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Xlink attributes #102

Open
wants to merge 50 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
5427950
return element name unrecognized in adaptation set
flavioribeiro Oct 31, 2019
b6bd25e
extend elements in adaptation set to cover accessibility elements
flavioribeiro Nov 1, 2019
abd1b79
Merge pull request #1 from zencoder/master
flavioribeiro Dec 19, 2019
22110e3
mpd: support float durations for SegmentTemplate
flavioribeiro Dec 19, 2019
2095bf4
fork: merge from upstream
zsiec Feb 5, 2020
7cf0e9b
essential property should be an Element not an attribute (#4)
krystalmejia24 Feb 14, 2020
c978edf
adding accessibility element for unmarshalling adaptation sets (#6)
krystalmejia24 Mar 9, 2020
dcd6d6a
sync upstream (#7)
krystalmejia24 Mar 17, 2020
e1a70e6
Add selectionPriority (#5)
sam-eng Mar 30, 2020
3c33641
dash: marshal ContentProtection into custom type
zsiec Jun 16, 2020
7c810a9
fix: existing type error
zsiec Jun 16, 2020
f9149df
wip: mpd: cenc: parse and marshal namespace on cenc:pssh
zsiec Jun 17, 2020
5401051
testing: update fixtures
zsiec Jun 17, 2020
8beae51
Support Scte35 Splice Inserts in EventStream.
keithrichardscbs Oct 29, 2020
7b7c37d
Merge pull request #9 from cbsinteractive/scte35-splice-insert
keithrichardscbs Oct 29, 2020
d66b7f1
dash: merge upstream and fix conflicts
vish91 Jul 7, 2021
ff2c68a
fix: add github actions
vish91 Jul 7, 2021
b2ceb13
Merge branch 'master' into dash-drm
zsiec Jul 9, 2021
21d6f17
Merge pull request #10 from cbsinteractive/NT-upstream
vish91 Jul 9, 2021
24ae5d6
Merge branch 'master' into dash-drm
zsiec Jul 9, 2021
7bef151
Merge pull request #8 from cbsinteractive/dash-drm
vish91 Jul 9, 2021
5f022e3
fix: xml syntax error
vish91 Jul 21, 2021
23330ac
Merge pull request #11 from cbsinteractive/NT-scte-typo
vish91 Jul 21, 2021
66e55d5
mpd: map top-level cenc and mspr values in mpd element
zsiec Aug 15, 2021
c356e55
fix: change mapping for extra xmlns attrs
zsiec Aug 15, 2021
94aba6b
MT-2383 DASH sync features and set Label as element per spec
vish91 Aug 18, 2023
943559d
Adds support for reading and writing a comment that comes after the x…
broganross Aug 25, 2023
7bcf639
add comments to more tests
broganross Aug 28, 2023
290ec5c
Merge pull request #12 from cbsinteractive/cenc-mpd
vish91 Aug 31, 2023
76ad024
Merge pull request #14 from cbsinteractive/VIDROBOT-3415-add-comment-…
vish91 Aug 31, 2023
97a7a22
Merge branch 'master' of https://github.com/cbsinteractive/go-dash in…
vish91 Aug 31, 2023
020cffd
Merge pull request #13 from cbsinteractive/MT-2383
vish91 Aug 31, 2023
85e5a88
fix for duration format with precision sign char
bpogy Dec 8, 2023
0477c24
fix for ISO 8601 duration format
bpogy Dec 8, 2023
b7a0c49
fix
bpogy Dec 8, 2023
71b4879
cleanup
bpogy Dec 8, 2023
7c633da
duration to string conversion fix
bpogy Dec 18, 2023
4574847
go v change to 1.18
bpogy Dec 18, 2023
178c130
updates
bpogy Dec 18, 2023
0701e40
Merge pull request #15 from cbsinteractive/duration_fix
bpogy Dec 18, 2023
0f67981
clean up
bpogy Dec 19, 2023
68a80e7
Rename package from `zencoder/go-dash` to `cbsinteractive/go-dash`
rlenk Jan 17, 2024
dd38324
Merge pull request #16 from cbsinteractive/NO-TICKET-Rename-Package
rlenk Jan 17, 2024
3f6b7b8
Merge branch 'master' of https://github.com/zencoder/go-dash into Aud…
vish91 Feb 8, 2024
3ec8553
update tests
vish91 Feb 8, 2024
0016219
test updates
vish91 Feb 8, 2024
646fef5
Merge pull request #17 from cbsinteractive/AudioLabel
vish91 Feb 8, 2024
600f7f1
Add MessageData field to Event element (required for DAI)
JackDunham Feb 28, 2024
c20d8d5
Merge pull request #18 from cbsinteractive/feature/Event_MessageData
JackDunham Feb 28, 2024
0dc4ad3
Add Xlint attributes
JackDunham May 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.16
uses: actions/setup-go@v2
with:
go-version: ^1.16

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Regenerate and Test
run: |
make clean fmt
make generate
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ endif
.DEFAULT_GOAL := all

.PHONY: all
all: test
all: clean fmt test

.PHONY: test
test:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ go get -u github.com/zencoder/go-dash
* DRM (ContentProtection)
* PlayReady
* Widevine
* Scte35 Splice Insert

## Known Limitations (for now) (PRs welcome)

* No PSSH/PRO generation
* Limited Profile Support
* Scte35 Time Signal

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion examples/live.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/zencoder/go-dash/v3/mpd"
"github.com/cbsinteractive/go-dash/v3/mpd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/ondemand.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/zencoder/go-dash/v3/mpd"
"github.com/cbsinteractive/go-dash/v3/mpd"
)

func exampleOndemand() {
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/zencoder/go-dash/v3
module github.com/cbsinteractive/go-dash/v3

go 1.13
go 1.16
1 change: 1 addition & 0 deletions helpers/require/require.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ func EqualStringPtr(t *testing.T, expected, actual *string, msgs ...string) {
}

func EqualString(t *testing.T, expected, actual string, msgs ...string) {
t.Helper()
if expected != actual {
t.Errorf("Expected %s but got %s", expected, actual)
for _, msg := range msgs {
Expand Down
3 changes: 2 additions & 1 deletion helpers/testfixtures/testfixtures.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"testing"

"github.com/zencoder/go-dash/v3/helpers/require"
"github.com/cbsinteractive/go-dash/v3/helpers/require"
)

// Load test fixture from path relative to fixtures directory
Expand All @@ -19,6 +19,7 @@ func LoadFixture(path string) (js string) {
}

func CompareFixture(t *testing.T, fixturePath string, actualContent string) {
t.Helper()
expectedContent := LoadFixture(fixturePath)
if os.Getenv("GENERATE_FIXTURES") != "" {
_ = ioutil.WriteFile(fixturePath, []byte(actualContent), os.ModePerm)
Expand Down
27 changes: 7 additions & 20 deletions mpd/duration.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,29 +54,16 @@ func (d *Duration) String() string {
if u < uint64(time.Second) {
// Special case: if duration is smaller than a second,
// use smaller units, like 1.2ms
var prec int
w--
buf[w] = 'S'
w--
// time.Duration & zerocoder packages convert seconds to nano ('nS'), micro ('µS') or milliseconds ('mS') with corresponding designation
// Fix for "Duration must be in the format: P[nD][T[nH][nM][nS]]" error is to keep seconds.
if u == 0 {
return "PT0S"
} else {
du := float64(u) / float64(time.Second)
s := fmt.Sprintf("%2f", du)
sf := strings.TrimRight(s, "0")
return fmt.Sprintf("PT%sS", sf)
}
/*
switch {
case u < uint64(Millisecond):
// print microseconds
prec = 3
// U+00B5 'µ' micro sign == 0xC2 0xB5
w-- // Need room for two bytes.
copy(buf[w:], "µ")
default:
// print milliseconds
prec = 6
buf[w] = 'm'
}
*/
w, u = fmtFrac(buf[:w], u, prec)
w = fmtInt(buf[:w], u)
} else {
w--
buf[w] = 'S'
Expand Down
12 changes: 8 additions & 4 deletions mpd/duration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@ import (
"testing"
"time"

"github.com/zencoder/go-dash/v3/helpers/require"
"github.com/cbsinteractive/go-dash/v3/helpers/require"
)

func TestDuration(t *testing.T) {
in := map[string]string{
"0s": "PT0S",
"6m16s": "PT6M16S",
"1.97s": "PT1.97S",
"0s": "PT0S",
"6m16s": "PT6M16S",
"1.97s": "PT1.97S",
"1.0s": "PT1S",
"0.0021s": "PT0.0021S",
"0.0000021s": "PT0.000002S",
"0.021s": "PT0.021S",
}
for ins, ex := range in {
timeDur, err := time.ParseDuration(ins)
Expand Down
12 changes: 7 additions & 5 deletions mpd/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ type EventStream struct {
XMLName xml.Name `xml:"EventStream"`
SchemeIDURI *string `xml:"schemeIdUri,attr"`
Value *string `xml:"value,attr,omitempty"`
Timescale *uint `xml:"timescale,attr"`
Timescale *uint64 `xml:"timescale,attr"`
Events []Event `xml:"Event,omitempty"`
}

type Event struct {
XMLName xml.Name `xml:"Event"`
ID *string `xml:"id,attr,omitempty"`
PresentationTime *uint64 `xml:"presentationTime,attr,omitempty"`
Duration *uint64 `xml:"duration,attr,omitempty"`
XMLName xml.Name `xml:"Event"`
ID *string `xml:"id,attr,omitempty"`
SpliceInfoSection *Scte35SpliceInfoSection `xml:"SpliceInfoSection,omitempty"`
PresentationTime *int64 `xml:"presentationTime,attr,omitempty"`
Duration *int64 `xml:"duration,attr,omitempty"`
MessageData *string `xml:"messageData,attr,omitempty"`
}
22 changes: 11 additions & 11 deletions mpd/events_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ package mpd
import (
"testing"

"github.com/zencoder/go-dash/v3/helpers/ptrs"
"github.com/zencoder/go-dash/v3/helpers/require"
"github.com/zencoder/go-dash/v3/helpers/testfixtures"
"github.com/cbsinteractive/go-dash/v3/helpers/ptrs"
"github.com/cbsinteractive/go-dash/v3/helpers/require"
"github.com/cbsinteractive/go-dash/v3/helpers/testfixtures"
)

const (
VALID_EVENT_STREAM_SCHEME_ID_URI = "urn:example:eventstream"
VALID_EVENT_STREAM_VALUE = "eventstream"
VALID_EVENT_STREAM_TIMESCALE uint = 10
VALID_EVENT_STREAM_SCHEME_ID_URI = "urn:example:eventstream"
VALID_EVENT_STREAM_VALUE = "eventstream"
VALID_EVENT_STREAM_TIMESCALE uint64 = 10
)

func newEventStreamMPD() *MPD {
Expand All @@ -25,19 +25,19 @@ func newEventStreamMPD() *MPD {
es := EventStream{
SchemeIDURI: ptrs.Strptr(VALID_EVENT_STREAM_SCHEME_ID_URI),
Value: ptrs.Strptr(VALID_EVENT_STREAM_VALUE),
Timescale: ptrs.Uintptr(VALID_EVENT_STREAM_TIMESCALE),
Timescale: ptrs.Uint64ptr(VALID_EVENT_STREAM_TIMESCALE),
}

e0 := Event{
ID: ptrs.Strptr("event-0"),
PresentationTime: ptrs.Uint64ptr(100),
Duration: ptrs.Uint64ptr(50),
PresentationTime: ptrs.Int64ptr(100),
Duration: ptrs.Int64ptr(50),
}

e1 := Event{
ID: ptrs.Strptr("event-1"),
PresentationTime: ptrs.Uint64ptr(200),
Duration: ptrs.Uint64ptr(50),
PresentationTime: ptrs.Int64ptr(200),
Duration: ptrs.Int64ptr(50),
}

es.Events = append(es.Events, e0, e1)
Expand Down
3 changes: 3 additions & 0 deletions mpd/fixtures/comment.mpd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Generated with https://github.com/shaka-project/shaka-packager version 288eddc863-release-->
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="dynamic" availabilityStartTime="1970-01-01T00:00:00Z" minimumUpdatePeriod="PT5S" publishTime="1970-01-01T00:00:00Z"></MPD>
10 changes: 5 additions & 5 deletions mpd/fixtures/hbbtv_profile.mpd
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<AdaptationSet mimeType="audio/mp4" startWithSAP="1" id="7357" segmentAlignment="true" lang="en">
<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" xmlns:cenc="urn:mpeg:cenc:2013" cenc:default_KID="08e36702-8f33-436c-a5dd-60ffe5571e60" value="cenc"></ContentProtection>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed" xmlns:cenc="urn:mpeg:cenc:2013">
<cenc:pssh>AAAAYXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEEIARIQWr3VL1VKTyq40GH3YUJRVRoIY2FzdGxhYnMiGFdyM1ZMMVZLVHlxNDBHSDNZVUpSVlE9PTIHZGVmYXVsdA==</cenc:pssh>
<cenc:pssh xmlns:cenc="urn:mpeg:cenc:2013">AAAAYXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEEIARIQWr3VL1VKTyq40GH3YUJRVRoIY2FzdGxhYnMiGFdyM1ZMMVZLVHlxNDBHSDNZVUpSVlE9PTIHZGVmYXVsdA==</cenc:pssh>
</ContentProtection>
<ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:mspr="urn:microsoft:playready">
<mspr:pro>BgIAAAEAAQD8ATwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAE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h xmlns:cenc="urn:mpeg:cenc:2013">AAACJnBzc2gAAAAAmgTweZhAQoarkuZb4IhflQAAAgYGAgAAAQABAPwBPABXAFIATQBIAEUAQQBEAEUAUgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAvAEQAUgBNAC8AMgAwADAANwAvADAAMwAvAFAAbABhAHkAUgBlAGEAZAB5AEgAZQBhAGQAZQByACIAIAB2AGUAcgBzAGkAbwBuAD0AIgA0AC4AMAAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBFAFkATABFAE4APgAxADYAPAAvAEsARQBZAEwARQBOAD4APABBAEwARwBJAEQAPgBBAEUAUwBDAFQAUgA8AC8AQQBMAEcASQBEAD4APAAvAFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBJAEQAPgBMADkAVwA5AFcAawBwAFYASwBrACsANAAwAEcASAAzAFkAVQBKAFIAVgBRAD0APQA8AC8ASwBJAEQAPgA8AEMASABFAEMASwBTAFUATQA+AEkASwB6AFkAMgBIAFoATABBAGwASQA9ADwALwBDAEgARQBDAEsAUwBVAE0APgA8AC8ARABBAFQAQQA+ADwALwBXAFIATQBIAEUAQQBEAEUAUgA+AA==</cenc:pssh>
</ContentProtection>
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate duration="1968" initialization="$RepresentationID$/audio/en/init.mp4" media="$RepresentationID$/audio/en/seg-$Number$.m4f" startNumber="0" timescale="1000"></SegmentTemplate>
Expand All @@ -20,11 +20,11 @@
<AdaptationSet mimeType="video/mp4" startWithSAP="1" scanType="progressive" id="7357" segmentAlignment="true">
<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" xmlns:cenc="urn:mpeg:cenc:2013" cenc:default_KID="08e36702-8f33-436c-a5dd-60ffe5571e60" value="cenc"></ContentProtection>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed" xmlns:cenc="urn:mpeg:cenc:2013">
<cenc:pssh>AAAAYXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEEIARIQWr3VL1VKTyq40GH3YUJRVRoIY2FzdGxhYnMiGFdyM1ZMMVZLVHlxNDBHSDNZVUpSVlE9PTIHZGVmYXVsdA==</cenc:pssh>
<cenc:pssh xmlns:cenc="urn:mpeg:cenc:2013">AAAAYXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEEIARIQWr3VL1VKTyq40GH3YUJRVRoIY2FzdGxhYnMiGFdyM1ZMMVZLVHlxNDBHSDNZVUpSVlE9PTIHZGVmYXVsdA==</cenc:pssh>
</ContentProtection>
<ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:mspr="urn:microsoft:playready">
<mspr:pro>BgIAAAEAAQD8ATwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAFMAQwBUAFIAPAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsASQBEAD4ATAA5AFcAOQBXAGsAcABWAEsAawArADQAMABHAEgAMwBZAFUASgBSAFYAUQA9AD0APAAvAEsASQBEAD4APABDA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jAG8AbQAvAEQAUgBNAC8AMgAwADAANwAvADAAMwAvAFAAbABhAHkAUgBlAGEAZAB5AEgAZQBhAGQAZQByACIAIAB2AGUAcgBzAGkAbwBuAD0AIgA0AC4AMAAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBFAFkATABFAE4APgAxADYAPAAvAEsARQBZAEwARQBOAD4APABBAEwARwBJAEQAPgBBAEUAUwBDAFQAUgA8AC8AQQBMAEcASQBEAD4APAAvAFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBJAEQAPgBMADkAVwA5AFcAawBwAFYASwBrACsANAAwAEcASAAzAFkAVQBKAFIAVgBRAD0APQA8AC8ASwBJAEQAPgA8AEMASABFAEMASwBTAFUATQA+AEkASwB6AFkAMgBIAFoATABBAGwASQA9ADwALwBDAEgARQBDAEsAUwBVAE0APgA8AC8ARABBAFQAQQA+ADwALwBXAFIATQBIAEUAQQBEAEUAUgA+AA==</cenc:pssh>
</ContentProtection>
<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
<SegmentTemplate duration="1968" initialization="$RepresentationID$/video/1/init.mp4" media="$RepresentationID$/video/1/seg-$Number$.m4f" startNumber="0" timescale="1000"></SegmentTemplate>
Expand All @@ -34,10 +34,10 @@
<Representation bandwidth="2780732" codecs="avc1.4d401f" frameRate="30000/1001" height="720" id="1500" width="1280"></Representation>
</AdaptationSet>
<AdaptationSet mimeType="text/vtt" id="7357" lang="en">
<Label>Subtitle (En)</Label>
<Representation bandwidth="256" id="subtitle_en">
<BaseURL>http://example.com/content/sintel/subtitles/subtitles_en.vtt</BaseURL>
</Representation>
<Label>Subtitle (En)</Label>
</AdaptationSet>
</Period>
</MPD>
Loading