Systems and methods for exporting video sections with overlays
Disclosed are systems and methods for exporting videos. In some embodiments, a method includes the steps of: accessing a video section based upon a request; generating a plurality of still images based on a plurality of video frames in the video section; playing the plurality of still images inside a web browser; and drawing one or more overlays on the plurality of still images played inside the container software to generate a set of overlaid still images. In certain embodiments, the exported video is generated based upon the set of overlaid still images.
1 . A method for generating a video for exporting, the method comprising:
accessing a video section based upon a request;
generating a plurality of still images based on a plurality of video frames in the video section;
obtaining at least one of the one or more overlays from a software service synchronously with one still image of the plurality of still images being played inside a headless browser;
when playing the plurality of still images inside the headless browser, drawing one or more overlays on the plurality of still images played inside the headless browser to generate a set of overlaid still images;
wherein the video is generated based upon the set of overlaid still images;
wherein the method is performed using one or more processors.
2 . The method of claim 1 , wherein the set of overlaid still images are generated sequentially.
3 . The method of claim 1 , further comprising:
transmitting a completion notification to a computing device after generating each overlaid still image of the set of overlaid still images.
4 . The method of claim 1 , wherein the one or more overlays includes at least one selected from a group consisting of an object overlay, a geography overlay, and an entity overlay.
5 . The method of claim 1 , wherein the drawing one or more overlays comprises drawing at least one overlay of the one or more overlays on one still image of the plurality of still images, wherein the at least one overlay includes at least one selected from a group consisting of an object overlay and a geography overlay.
6 . The method of claim 1 , wherein the request includes an image format, wherein the generating a plurality of still images comprises generating the plurality of still images in the image format.
7 . The method of claim 1 , wherein the request includes a video format, wherein the video is generated in the video format based upon the set of overlaid still images.
8 . The method of claim 1 , further comprising:
playing the plurality of still images corresponding to the plurality of video frames in the video section inside the headless browser with a frame control.
9 . The method of claim 8 , wherein the request includes a parameter associated with the frame control.
10 . A method for generating a video for exporting, comprising:
receiving an export request of a video section from a requestor device;
providing the export request to an export application;
receiving a completion notification for each overlaid still image of a plurality of overlaid still images, the each overlaid still image of the plurality of overlaid still images being generated based on a video frame in the video section and one or more overlays, the each overlaid still image of the plurality of overlaid still images being generated by drawing the one or more overlays on the video frame when playing the video frame inside a headless browser;
in response to receiving the completion notification, downloading the each overlaid still image of the plurality of overlaid still images; and
generating the video using the plurality of overlaid still images;
wherein the method is performed using one or more processors.
11 . The method of claim 10 , further comprising:
transmitting the video to the requestor device.
12 . The method of claim 11 , wherein the transmitting the video to the requestor device comprises transmitting a message comprising a link to the video to the requestor device.
13 . The method of claim 10 , wherein the one or more overlays includes at least one selected from a group consisting of an object overlay, a geography overlay, and an entity overlay.
14 . The method of claim 10 , wherein the providing the export request to an export application comprises:
accessing the headless browser; and
navigating to an access point of the export application inside the headless browser.
15 . A computing device, comprising:
one or more memories having instructions stored thereon; and
one or more processors configured to execute the instructions and perform the operations comprising:
receiving an export request of a video section from a requestor device;
providing the export request to an export application;
receiving a completion notification for each overlaid still image of a plurality of overlaid still images, the each overlaid still image of the plurality of overlaid still images being generated based on a video frame in the video section and one or more overlays, the each overlaid still image of the plurality of overlaid still images being generated by drawing the one or more overlays on the video frame when playing the video frame inside a headless browser;
in response to receiving the completion notification, downloading the each overlaid still image of the plurality of overlaid still images;
generating a video using the plurality of overlaid still images.
16 . The computing device of claim 15 , wherein the operations further comprise:
transmitting the video to the requestor device.
17 . The computing device of claim 16 , wherein the transmitting the video to the requestor device comprises transmitting a message comprising a link to the video to the requestor device.
18 . The computing device of claim 15 , wherein the one or more overlays includes at least one selected from a group consisting of an object overlay, a geography overlay, and an entity overlay.
19 . The computing device of claim 15 , wherein the providing the export request to an export application comprises:
accessing the headless browser; and
navigating to an access point of the export application inside the headless browser.