0.11.0 • Published 10 years ago

pjs-mediagen-parser v0.11.0

Weekly downloads
4
License
ISC
Repository
github
Last release
10 years ago

Build Status Coverage Status

Parse the mediaGen. Find the video item node, find the overlay node, and look for errors.

Example response:

{
  "origination_date": "06-30-2014 18:30:41",
  "rendition": {
    "cdn": "akamai",
    "method": "hls",
    "duration": 36,
    "type": "application/x-mpegURL",
    "src": "https://cp107857-f.akamaihd.net/i/mtvnorigin/gsp.originmusicstor/sites/mtv.com/shows/teen_wolf/106/mt_tw_ep106_s1_,384x216_150_b30,384x216_400_m30,512x288_750_m30,640x360_1200_m30,768x432_1700_m30,960x540_2200_m31,.mp4.csmil/master.m3u8?hdnea=expires%3D1404181841%7Eaccess%3D%2Fi%2Fmtvnorigin%2Fgsp.originmusicstor%2Fsites%2Fmtv.com%2Fshows%2Fteen_wolf%2F106%2Fmt_tw_ep106_s1_%2C384x216_150_b30%2C384x216_400_m30%2C512x288_750_m30%2C640x360_1200_m30%2C768x432_1700_m30%2C960x540_2200_m31%2C.mp4.csmil%2Fmaster.m3u8%7Emd5%3Dd1d81edbb2e1e0cc10d235ddc43aecea&__a__=off&__b__=450"
  },
  "transcript": [
    {
      "kind": "captions",
      "srclang": "en",
      "label": "English",
      "cea-608": "http://a12.akadl.mtvnservices.com/10740/mtvnorigin/gsp.originmusicstor/sites/mtv.com/shows/teen_wolf/106/mt_tw_ep106_s1.SCC",
      "ttml": "http://a16.akadl.mtvnservices.com/10740/mtvnorigin/gsp.originmusicstor/sites/mtv.com/shows/teen_wolf/106/mt_tw_ep106_s1_captions_en.dfxp.xml"
    }
  ],
  "beacons": [
    {
      "url": "http://t.flux.com/tracking.gif?CMU=D3FCFFFF0002D51D0002FFFFFCD3&CUR=mgid:uma:video:mtv.com:669776&WN=MTVNVideoPlayer&FTG=1&REF={ref}",
      "startTime": "0"
    }
  ],
  "overlay": {
    "format": "png",
    "xPercent": 95,
    "yPercent": 5,
    "startTime": 0,
    "duration": 12000,
    "width": 41,
    "height": 28,
    "src": "http://www.mtv.com/player/assets/images/bug.png"
  }
}
0.11.0

10 years ago

0.10.0

10 years ago

0.9.0

10 years ago

0.8.1

10 years ago

0.7.0

10 years ago

0.8.0

10 years ago

0.6.0

10 years ago

0.5.0

10 years ago

0.4.0

10 years ago

0.3.2

10 years ago