Skip to content

Instantly share code, notes, and snippets.

@NiciDieNase
Created December 27, 2018 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NiciDieNase/1ca017f180242f0ee683a1f592efc4ed to your computer and use it in GitHub Desktop.
Save NiciDieNase/1ca017f180242f0ee683a1f592efc4ed to your computer and use it in GitHub Desktop.
Example for streaming.media.ccc.de/streams/v2.json based on query from 35c3, replaced stream urls with dummys
[
{
"conference": "35C3",
"slug": "35c3",
"author": "CCC",
"description": "Live streaming from the 35th Chaos Communication Congress",
"keywords": "35C3, Hacking, Chaos Computer Club, Video, Music, Podcast, Media, Streaming, Hacker, Leipzig, Refreshing Memories",
"schedule": "http://data.c3voc.de/35C3/everything.schedule.xml",
"startsAt": "2018-12-27T05:00:00+0000",
"endsAt": "2018-12-30T19:00:00+0000",
"isCurrentlyStreaming": true,
"groups": [
{
"group": "Live",
"rooms": [
{
"slug": "halla",
"schedulename": "Adams",
"thumb": "https://streaming.media.ccc.de/thumbs/s1.png",
"link": "https://streaming.media.ccc.de/35c3/halla",
"display": "Adams",
"stream": "s1",
"talks": {
"current": {
"title": "Election Cybersecurity Progress Report",
"speaker": "J. Alex Halderman",
"fstart": "2018-12-27T12:50:00+01:00",
"fend": "2018-12-27T13:50:00+01:00",
"start": 1545911400,
"end": 1545915000,
"duration": 3600,
"room_known": true
},
"next": {
"title": "Taming the Chaos: Can we build systems that actually work?",
"speaker": "Peter Sewell",
"fstart": "2018-12-27T14:10:00+01:00",
"fend": "2018-12-27T15:10:00+01:00",
"start": 1545916200,
"end": 1545919800,
"duration": 3600,
"room_known": true
}
},
"streams": [
{
"slug": "dash-native",
"display": "Adams ",
"type": "dash",
"isTranslated": false,
"videoSize": null,
"urls": {
"dash": {
"display": "DASH, baby",
"tech": "Adaptive multi-format-multi-bitrate-Stream to rule the World!!1elf",
"url": "https://storage.googleapis.com/wvmedia/clear/h264/tears/tears.mpd"
}
}
},
{
"slug": "audio-native",
"display": "Adams Audio",
"type": "audio",
"isTranslated": false,
"videoSize": null,
"urls": {
"mp3": {
"display": "MP3",
"tech": "MP3-Audio, 96 kBit/s",
"url": "https://storage.googleapis.com/exoplayer-test-media-0/play.mp3"
},
"opus": {
"display": "Opus",
"tech": "Opus-Audio, 64 kBit/s",
"url": "https://storage.googleapis.com/exoplayer-test-media-1/ogg/play.ogg"
}
}
},
{
"slug": "hd-native",
"display": "Adams FullHD Video",
"type": "video",
"isTranslated": false,
"videoSize": [
1920,
1080
],
"urls": {
"webm": {
"display": "WebM",
"tech": "1920x1080, VP8+Vorbis in WebM, 3.5 MBit/s",
"url": "http://dl3.webmfiles.org/big-buck-bunny_trailer.webm"
},
"hls": {
"display": "HLS",
"tech": "HLS 16x9 basic stream",
"url": "https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8"
}
}
},
{
"slug": "sd-native",
"display": "Adams SD Video",
"type": "video",
"isTranslated": false,
"videoSize": [
1024,
576
],
"urls": {
"webm": {
"display": "WebM",
"tech": "WebM,VP9,No Audio",
"url": "https://storage.googleapis.com/exoplayer-test-media-1/gen-3/screens/dash-vod-single-segment/video-vp9-360.webm"
},
"hls": {
"display": "HLS",
"tech": "1024x576, h264+AAC im MPEG-TS-Container via HTTP, 800 kBit/s",
"url": "ttps://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_4x3/bipbop_4x3_variant.m3u8"
}
}
}
]
},
{
"slug": "hallb",
"schedulename": "Borg",
"thumb": "https://streaming.media.ccc.de/thumbs/s2.png",
"link": "https://streaming.media.ccc.de/35c3/hallb",
"display": "Borg",
"stream": "s2",
"talks": {
"current": {
"title": "\"The\" Social Credit System",
"speaker": "Toni",
"fstart": "2018-12-27T12:50:00+01:00",
"fend": "2018-12-27T13:50:00+01:00",
"start": 1545911400,
"end": 1545915000,
"duration": 3600,
"room_known": true
},
"next": {
"title": "Censored Planet: a Global Censorship Observatory ",
"speaker": "Roya Ensafi",
"fstart": "2018-12-27T14:10:00+01:00",
"fend": "2018-12-27T15:10:00+01:00",
"start": 1545916200,
"end": 1545919800,
"duration": 3600,
"room_known": true
}
},
"streams": [
{
"slug": "dash-native",
"display": "Borg ",
"type": "dash",
"isTranslated": false,
"videoSize": null,
"urls": {
"dash": {
"display": "DASH, baby",
"tech": "Adaptive multi-format-multi-bitrate-Stream to rule the World!!1elf",
"url": "http://www.streambox.fr/playlists/test_001/stream.m3u8"
}
}
},
{
"slug": "audio-native",
"display": "Borg Audio",
"type": "audio",
"isTranslated": false,
"videoSize": null,
"urls": {
"mp3": {
"display": "MP3",
"tech": "MP3-Audio, 96 kBit/s",
"url": "https://storage.googleapis.com/exoplayer-test-media-0/play.mp3"
},
"opus": {
"display": "Opus",
"tech": "Opus-Audio, 64 kBit/s",
"url": "https://storage.googleapis.com/exoplayer-test-media-1/ogg/play.ogg"
}
}
},
{
"slug": "hd-native",
"display": "Borg FullHD Video",
"type": "video",
"isTranslated": false,
"videoSize": [
1920,
1080
],
"urls": {
"webm": {
"display": "WebM",
"tech": "1920x1080, VP8+Vorbis in WebM, 3.5 MBit/s",
"url": "http://dl3.webmfiles.org/big-buck-bunny_trailer.webm"
},
"hls": {
"display": "HLS",
"tech": "HLS 16x9 basic stream",
"url": "https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8"
}
}
},
{
"slug": "sd-native",
"display": "Borg SD Video",
"type": "video",
"isTranslated": false,
"videoSize": [
1024,
576
],
"urls": {
"webm": {
"display": "WebM",
"tech": "1024x576, VP8+Vorbis in WebM, 1 MBit/s",
"url": "https://cdn.c3voc.de/s2_native_sd.webm"
},
"hls": {
"display": "HLS",
"tech": "1024x576, h264+AAC im MPEG-TS-Container via HTTP, 800 kBit/s",
"url": "https://cdn.c3voc.de/hls/s2_native_sd.m3u8"
}
}
}
]
}
]
},
{
"group": "Assemblies Live",
"rooms": [
{
"slug": "chaoswest",
"schedulename": "Chaos West Bühne",
"thumb": "https://streaming.media.ccc.de/thumbs/s150.png",
"link": "https://streaming.media.ccc.de/35c3/chaoswest",
"display": "Chaos West Bühne",
"stream": "s150",
"talks": {
"current": {
"title": "Toll of personal privacy in 2018",
"speaker": "\n \n \n ",
"fstart": "2018-12-27T13:00:00+01:00",
"fend": "2018-12-27T13:50:00+01:00",
"start": 1545912000,
"end": 1545915000,
"duration": 3000,
"room_known": true
},
"next": {
"title": "Die eigene Stimme hacken",
"speaker": "\n \n \n ",
"fstart": "2018-12-27T14:00:00+01:00",
"fend": "2018-12-27T14:50:00+01:00",
"start": 1545915600,
"end": 1545918600,
"duration": 3000,
"room_known": true
}
},
"streams": [
{
"slug": "dash-native",
"display": "Chaos West Bühne ",
"type": "dash",
"isTranslated": false,
"videoSize": null,
"urls": {
"dash": {
"display": "DASH, baby",
"tech": "Adaptive multi-format-multi-bitrate-Stream to rule the World!!1elf",
"url": "https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8"
}
}
},
{
"slug": "audio-native",
"display": "Chaos West Bühne Audio",
"type": "audio",
"isTranslated": false,
"videoSize": null,
"urls": {
"mp3": {
"display": "MP3",
"tech": "MP3-Audio, 96 kBit/s",
"url": "https://storage.googleapis.com/exoplayer-test-media-0/play.mp3"
},
"opus": {
"display": "Opus",
"tech": "Opus-Audio, 64 kBit/s",
"url": "https://storage.googleapis.com/exoplayer-test-media-1/ogg/play.ogg"
}
}
},
{
"slug": "hd-native",
"display": "Chaos West Bühne FullHD Video",
"type": "video",
"isTranslated": false,
"videoSize": [
1920,
1080
],
"urls": {
"webm": {
"display": "WebM",
"tech": "1920x1080, VP8+Vorbis in WebM, 3.5 MBit/s",
"url": "http://dl3.webmfiles.org/big-buck-bunny_trailer.webm"
},
"hls": {
"display": "HLS",
"tech": "HLS 16x9 basic stream",
"url": "https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8"
}
}
},
{
"slug": "sd-native",
"display": "Chaos West Bühne SD Video",
"type": "video",
"isTranslated": false,
"videoSize": [
1024,
576
],
"urls": {
"webm": {
"display": "WebM",
"tech": "WebM,VP9,No Audio",
"url": "https://storage.googleapis.com/exoplayer-test-media-1/gen-3/screens/dash-vod-single-segment/video-vp9-360.webm"
},
"hls": {
"display": "HLS",
"tech": "1024x576, h264+AAC im MPEG-TS-Container via HTTP, 800 kBit/s",
"url": "https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_4x3/bipbop_4x3_variant.m3u8"
}
}
}
]
}
]
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment