| CPC H04N 19/428 (2014.11) [G06Q 30/0275 (2013.01); H04N 21/812 (2013.01)] | 18 Claims |

|
1. A computer-implemented method of compressing and video media to a user device, the method comprising:
loading, by a consumer, a video media on a device that performs a HTTP GET for an advertisement from an advertisement server;
joining, by a demand side server an advertisement auction;
bidding on and winning, by a demand side server, the advertisement auction;
transmitting, via the demand side server or a supply side advertisement server, or any server transmitting video media to client devices, a recompression server API;
passing a VAST URL to a recompression server and adding or updating a record in a cache with a key value pair;
building and storing, by the recompression server, a new VAST XML and responding with a new VAST URL to the new VAST XML;
transmitting, via the demand side server or supply side advertisement server, or any server transmitting video media, and filling in URL macro fields;
transmitting, via the demand side server or supply side advertisement server, or any server transmitting video media, and responding to the device with a VAST URL;
filling in, by the device, the macros on VAST URL and the HTTP headers with hardware and software information during a HTTP GET;
performing, by the device, a HTTP GET on the VAST URL with macros;
performing, via the VAST rewriter server, a check of the cache for a compressed ad with a key value pair;
copying, by the server, macros to original VAST URL, enabling the demand server to be called;
responding, via the demand advertisement server, with the original XML and/or a new advertisement video;
processing, via the VAST rewriting server, a VAST XML, and finding the mezzanine URL for recompression;
reading, via the VAST rewriting server, the cache to receive the replacement videos with the mezzanine URL;
determining, via the VAST rewriting server, if the cache is empty;
responding, via the VAST rewriting server, to the device with the original VAST XML and using the original VAST XML in the advertisement request;
performing, via the VAST rewriting server, a message queue to compress asynchronously;
getting, via the recompression server HTTP, the advertisement stream to be recompressed;
responding, via the demand CDN, with the advertisement stream and the recompression server starting compression of the advertisement;
posting, via the recompression server, the newly compressed advertisement stream(s) to the CDN;
updating, via the recompression server, the cache with the newly encoded video data with a key value pair;
performing, via the device, a HTTP GET advertisement stream with original advertisement video; and
streaming, via the device, the original uncompressed advertisement, enabling the consumer to view the original advertisement.
|