IP Library Granted Patent US 10,582,253
Granted Patent B2
US 10,582,253 · App. 15/843,209 · Granted Mar 3, 2020

Method, device, and electronic terminal for video recording

Inventors: Keming Fang (Guangzhou, CN); Bairan Zeng (Guangzhou, CN); Guang Yang (Guangzhou, CN); Pan Xu (Guangzhou, CN)
Assignee: GUANGZHOU UCWEB COMPUTER TECHNOLOGY CO., LTD
H04N21/4334H04L65/607H04N21/2183H04N21/6125H04N21/8173
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,582,253
App. No.
15/843,209
Granted
Mar 3, 2020
Kind
B2
Abstract

A method, device, and electronic terminal for video recording are provided. The method includes: receiving streaming data of a video, and decoding and broadcasting of the video on a webpage of a browser through a video-playing plugin; based on a triggering operation for starting video recording detected on the webpage by the browser, acquiring first image data and first audio data outputted by the video-playing plugin through a data interaction interface between the video-playing plugin and the browser; encoding the first image data and the first audio data to generate second image data and second audio data; synthesizing the second image data and the second audio data to generate and store streaming data of a recorded video.

Claims (63)

1. A method for video recording performed by computer programs stored in a memory and executable by a processor, the method comprising:

while receiving streaming data of a video, decoding and broadcasting of the video on a webpage of a browser through a video-playing plugin;

based on a triggering operation for starting video recording detected on the webpage by the browser, acquiring, at an acquisition rate, first image data and first audio data outputted by the video-playing plugin through a data interaction interface between the video-playing plugin and the browser;

while keeping receiving the streaming data of the video, detecting an output of the video-playing plugin, wherein when the video-playing plugin is detected to have stopped outputting the first image data, sending an instruction to the video-playing plugin for continuing to output the first image data;

encoding, at an encoding rate, the first image data and the first audio data to generate second image data and second audio data;

when the acquisition rate of the first image data is greater than the encoding rate of the first image data into the second image data, and/or when a quantity of image frames of the first image data from the received streaming data of the video is greater than a preset threshold, performing a frame-dropping process on the image frames of the first image data; and

while keeping receiving the streaming data of the video, synthesizing the second image data and the second audio data into streaming data of a recorded video, and storing the streaming data of the recorded video.

2. The method according to claim 1 , wherein based on the triggering operation for starting video recording detected on the webpage by the browser, acquiring the first image data and the first audio data outputted by the video-playing plugin through the data interaction interface between the video-playing plugin and the browser further includes:

detecting whether the video-playing plugin has started outputting the first audio data or not;

when the video-playing plugin is detected to have started outputting the first audio data, inserting a video-recording button on the webpage of the browser; and

when the video-recording button is clicked, acquiring the first image data and the first audio data outputted by the video-playing plugin.

3. The method according to claim 1 , wherein encoding, at the encoding rate, the first image data and the first audio data to generate the second image data and the second audio data further includes:

caching the first image data to a first cache region, and encoding the first image data of the first cache region to generate the second image data; and

caching the first audio data to a second cache region, and encoding the first audio data of the second cache region to generate the second audio data.

4. The method according to claim 3 , wherein the frame-dropping process includes:

discarding a part of the first image data without storing them in the first cache region.

5. The method according to claim 1 , further including:

recording a length of video recording, and

displaying the length of video recording on the webpage of the browser.

6. The method according to claim 1 , further including:

displaying a video-storing configuration button on a window of the browser, and when the video-storing configuration button is clicked, displaying a storing-path configuration window; and

based on a configuration operation of a user on the storing-path configuration window, configuring a path to store the streaming data of the recorded video as a user-configured path.

7. A device for video recording, comprising:

a memory storing executable computer programs; and

a processor coupled to the memory, being configured to:

while receiving streaming data of a video, perform decoding and broadcasting of the video on a webpage of a browser through a video-playing plugin;

based on a triggering operation for starting video recording detected on the webpage by the browser, acquire, at an acquisition rate, first image data and first audio data outputted by the video-playing plugin through a data interaction interface between the video-playing plugin and the browser;

while keeping receiving the streaming data of the video, detect an output of the video-playing plugin, wherein when the video-playing plugin is detected to have stopped outputting the first image data, sending an instruction to the video-playing plugin for continuing to output the first image data;

encode, at an encoding rate, the first image data and the first audio data to generate second image data and second audio data;

when the acquisition rate of the first image data is greater than the encoding rate of the first image data into the second image data, and/or when a quantity of image frames of the first image data from the received streaming data of the video is greater than a preset threshold, perform a frame-dropping process on the image frames of the first image data; and

while keeping receiving the streaming data of the video, synthesize the second image data and the second audio data into streaming data of a recorded video, and store the streaming data of the recorded video.

8. The device according to claim 7 , the processor is further configured to:

detect whether the video-playing plugin has started outputting the first audio data or not;

insert a video-recording button on the webpage of the browser when the video-playing plugin is detected to have started outputting the first audio data; and

acquire the first image data and the first audio data outputted by the video-playing plugin when the video-recording button is clicked.

9. The device according to claim 7 , wherein the processor is further configured to:

cache the first image data to a first cache region, and encode the first image data of the first cache region to generate the second image data; and

cache the first audio data to a second cache region, and encode the first audio data of the second cache region to generate the second audio data.

10. The device according to claim 7 , wherein the processor is further configured to:

record a length of video recording and display the length of video recording on the webpage of the browser.

11. The device according to claim 7 , wherein the processor is further configured to:

display a video-storing configuration button on a window of the browser, display a storing-path configuration window based on a configuration operation of a user on the storing-path configuration window when the video-storing configuration button is clicked, and configure a path to store the streaming data of the recorded video as a user-configured path.

12. An electronic terminal, comprising:

a memory;

a processor; and

a video recording device, wherein the device is installed in the memory and includes one or more software functional modules executable by the processor, the processor being configured to:

while receiving streaming data of a video, perform decoding and broadcasting of the video on a webpage of a browser through a video-playing plugin;

based on a triggering operation for starting video recording detected on the webpage by the browser, acquire, at an acquisition rate, first image data and first audio data outputted by the video-playing plugin through a data interaction interface between the video-playing plugin and the browser;

while keeping receiving the streaming data of the video, detect an output of the video-playing plugin, wherein when the video-playing plugin is detected to have stopped outputting the first image data, sending an instruction to the video-playing plugin for continuing to output the first image data;

encode, at an encoding rate, the first image data and the first audio data to generate second image data and second audio data;

when the acquisition rate of the first image data is greater than the encoding rate of the first image data into the second image data, and or when a quantity of image frames of the first image data from the received streaming data of the video is greater than a preset threshold, perform a frame-dropping process on the image frames of the first image data; and

while keeping receiving the streaming data of the video, synthesize the second image data and the second audio data into streaming data of a recorded video, and store the streaming data of the recorded video.

13. The electronic terminal according to claim 12 , wherein the processor is further configured to:

detect whether the video-playing plugin has started outputting the first audio data or not;

insert a video-recording button on the webpage of the browser when the video-playing plugin is detected to have started outputting the first audio data; and

acquire the first image data and the first audio data outputted by the video-playing plugin when the video-recording button is clicked.

14. The electronic terminal according to claim 12 , wherein the processor is further configured to:

cache the first image data to a first cache region, and encode the first image data of the first cache region to generate the second image data; and

cache the first audio data to a second cache region, and encode the first audio data of the second cache region to generate the second audio data.

15. The electronic terminal according to claim 12 , wherein the processor is further configured to:

record a length of video recording and display the length of video recording on the webpage of the browser.

16. The electronic terminal according to claim 12 , wherein the processor is further configured to:

display a video-storing configuration button on a window of the browser, display a storing-path configuration window based on a configuration operation of a user on the storing-path configuration window when the video-storing configuration button is clicked, and configure a path to store the streaming data of the recorded video as a user-configured path.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 28, 2020
From: GUANGZHOU UCWEB COMPUTER TECHNOLOGY CO., LTD
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 052771/0562 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 13, 2018
From: FANG, KEMING; ZENG, BAIRAN; YANG, GUANG; XU, PAN
To: GUANGZHOU UCWEB COMPUTER TECHNOLOGY CO., LTD
Reel/Frame 044917/0161 →
Priority Claims (1)
CN 2016 1 1159384 · Dec 15, 2016 · national
Continuity (1)
Related Publication 20180176636A1 · Jun 21, 2018