MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "Simplified_SDK_API",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."
        },
        "revisions": {
            "*": "Because \"rvslots\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."
        }
    },
    "query": {
        "pages": {
            "693": {
                "pageid": 693,
                "ns": 0,
                "title": "Retrieving ID3 Tags",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "== Retrieving ID3 Tags ==\nThe video player must have the ability to extract ID3 tags and supply them to the Browser SDK, based on the HLS standard.\n*An ID3 tag spans two PES packets.\n**In the first PES packet, look for www.nielsen.com, this is the start of the ID3 tag. Continue to parse the first PES packet until the undefined char \"\\ufffd\" is found. This forms the first half of the ID3 tag\n**In the second PES packet, identify the end pattern \u2013 a regEx of /(\\/\\d+){3}/ and look to remove the lowest index of either \"\\x00\" and/or \"\\ufffd\". Now the second packet has been appended and the demarcation of the Nielsen-specific data has been defined.\n\n\nFollow the procedure below, to extract Nielsen ID3 tags from an MPEG-2 transport stream (including HLS streams).\n#Parse the Program Map Table (PMT) to find the PID of the metadata stream. Confirm the presence of the metadata descriptor described in section 2.3.3 of Apple\u2019s \u201cHTTP Live Streaming Metadata Spec.pdf\u201d. Only private streams with metadata descriptor present should be considered as ID3-tag metadata streams.\n#Parse the HLS/Transport stream for any '''PES header''' with the PID found in step 1.\n#Follow standard MPEG-2 parsing procedures to locate the start of the payload of the PES packet.\n#Copy the PES payload into a buffer.\n#The ID3 tag spans 2 PES packets. Parse the stream for the next packet whose PID is set to the PID found in step 1. Typically the ID3 Tag is of 249 bytes. The steps below guide towards extraction of the ID3 tag\n##In the first PES packet, look for \"www.nielsen.com\" , this is the start of the ID3 tag. Keep on parsing the first PES packet until the undefined char \"\\ufffd\" is found. This forms the first half of the ID3 tag\n##In the second PES packet, identify the end pattern, a regEx of /(\\/\\d+){3}/ and look to remove the lowest index of either \u201c\\x00\u201d and/or \u201c\\ufffd\u201d. Now the second packet has been appended and the demarcation of the Nielsen specific data has been defined. This segment can be simply substringed.\n##Concatenate this substringed segment with the payload derived from the first packet get the ID3 payload.\n#Check the length of the contents in the buffer to make sure that it is equal to the size of a Nielsen ID3 tag.\n#Ensure that the ID3 byte array is converted into the string and escape it, so that the SDK can consume it.\nRepeat steps 2 through 7 for all ID3 tags in the stream.\n\n'''References'''\n*[http://www.iso.org/iso/catalogue_detail?csnumber=44169. ISO/IEC 13818-1:2007] Information technology \u2013 Generic coding of moving pictures and associated audio information: Systems\n*https://developer.apple.com/library/content/documentation/AudioVideo/Conceptual/HTTP_Live_Streaming_Metadata_Spec/\n\n=== Sample ID3 tags ===\n* <code>www.nielsen.com/X100zdCIGeIlgZnkYj6UvQ==/X100zdCIGeIlgZnkYj6UvQ==/AAAB2Jz2_k74GXSzx4npHuI_<wbr />JwJd3QSUpW30rDkGTcbHEzIMWleCzM-uvNOP9fzJcQMWQLJqzXMCAxParOb5sGijSV9dNM3QiBniJYGZ5GI-lL1fXTTN0IgZ4iWBmeRiPpS9AAAAAAAAAAAAAAAAAAAAAFJWFM5SVhTONNU=/00000/00000/00</code>\n* <code>www.nielsen.com/X100zdCIGeIlgZnkYj6UvQ==/R8WHe7pEBeqBhu8jTeXydg==/AAICoyitYqlxT7n6aZ0oMCGhe<wbr />Fi4CXFp46AMUPZz1lMr_M9tr3_cjee1SHqxrOiVerMDLeyn9xzocZSKwi746Re8vNOtpNCAZjYABs_J0R25IHpvOc1HS8<wbr />QHGgD5TgOJeS6gX100zdCIGeIlgZnkYj6UvVJWFNhSVhTiPE0=/00000/46016/00</code>\n<blockquote>'''Note''': ID3 tags are not applicable for International (Germany)</blockquote>"
                    }
                ]
            },
            "302": {
                "pageid": 302,
                "ns": 0,
                "title": "Sandbox",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "[[File:TrackEventTimeline-DCR-Browser3.svg]]\n[[File:n square.svg|thumb]]\n[[File:test.svg|thumb]]"
                    }
                ]
            }
        }
    }
}