{"id":13907663,"url":"https://github.com/jwplayer/mpegdash","last_synced_at":"2025-04-06T16:32:53.898Z","repository":{"id":45443633,"uuid":"52808954","full_name":"jwplayer/mpegdash","owner":"jwplayer","description":"DASH manifest generation and validation in Python","archived":false,"fork":false,"pushed_at":"2022-07-06T19:15:18.000Z","size":39,"stargazers_count":15,"open_issues_count":2,"forks_count":5,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-08-07T23:53:09.727Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jwplayer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-29T17:16:00.000Z","updated_at":"2024-04-10T18:40:12.000Z","dependencies_parsed_at":"2022-09-19T10:50:49.945Z","dependency_job_id":null,"html_url":"https://github.com/jwplayer/mpegdash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwplayer%2Fmpegdash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwplayer%2Fmpegdash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwplayer%2Fmpegdash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwplayer%2Fmpegdash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwplayer","download_url":"https://codeload.github.com/jwplayer/mpegdash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223257932,"owners_count":17115000,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-06T23:02:04.592Z","updated_at":"2024-11-05T23:22:55.315Z","avatar_url":"https://github.com/jwplayer.png","language":"Python","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"#### Installation\n\n```bash\npip install mpegdash\n```\n\n#### Usage\n\n```bash\nfrom mpegdash.mpd import MPD\nfrom mpegdash.period import Period\n\nmpd = MPD(profile='urn:mpeg:dash:profile:isoff-on-demand:2011', minimum_buffer_time=1)\n                                   \nperiod = Period(period_id='0', start=0, duration=47.175)\n\nmpd.add_period(period)\n\nprint mpd.to_xml()\n```\n\n```xml\n\u003c?xml version='1.0' encoding='UTF-8'?\u003e\n\u003cMPD xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"urn:mpeg:DASH:schema:MPD:2011\"\n     minBufferTime=\"PT1S\" profiles=\"urn:mpeg:dash:profile:isoff-on-demand:2011\"\n     xsi:schemaLocation=\"urn:mpeg:DASH:schema:MPD:2011 DASH-MPD.xsd\" type=\"static\"\u003e\n    \u003cPeriod id=\"0\" start=\"P0D\" duration=\"PT47.175S\"/\u003e\n\u003c/MPD\u003e\n```\n\n#### Development\n\n```bash\ngit clone git@github.com:pinge/mpegdash.git\ncd mpegdash\npython setup.py test\npython setup.py install\n```\n\n#### Test suite\n\n```bash\npython setup.py test\n```\n\nexecute tests including stdout\n```bash\npython setup.py test --addopts '-s'\n```\n\nexecute only benchmarking tests\n```bash\npython setup.py test --addopts '--benchmark-only'\n```\n\n#### Benchmarks\n\n```bash\npython setup.py test --addopts './tests/benchmark/'\n```\n\n![python setup.py test --addopts './tests/benchmark/'](http://i.imgur.com/BzouoGR.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwplayer%2Fmpegdash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwplayer%2Fmpegdash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwplayer%2Fmpegdash/lists"}