CN109511010B - Video processing method, video processing device, electronic device, and storage medium - Google Patents

Video processing method, video processing device, electronic device, and storage medium Download PDF

Info

Publication number
CN109511010B
CN109511010B CN201710833961.4A CN201710833961A CN109511010B CN 109511010 B CN109511010 B CN 109511010B CN 201710833961 A CN201710833961 A CN 201710833961A CN 109511010 B CN109511010 B CN 109511010B
Authority
CN
China
Prior art keywords
video
code
graphic code
screen
graphic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710833961.4A
Other languages
Chinese (zh)
Other versions
CN109511010A (en
Inventor
蔡如章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Alibaba China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN201710833961.4A priority Critical patent/CN109511010B/en
Publication of CN109511010A publication Critical patent/CN109511010A/en
Application granted granted Critical
Publication of CN109511010B publication Critical patent/CN109511010B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8146Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics

Abstract

The invention provides a video processing method, a video processing device, an electronic device and a storage medium. The method comprises the following steps: identifying a graphics encoding in response to the presence of the graphics encoding in a video, wherein the graphics encoding carries information about a video source of the video; performing an operation associated with the video source. Therefore, by automatically identifying the graphic codes in the video, the user can directly enter the page related to the video source, the user experience is improved, the video publisher can conveniently popularize the graphic codes in the video, and the functions of the information publishing platform are enriched.

Description

Video processing method, video processing device, electronic device, and storage medium
Technical Field
The invention relates to a video processing technology, in particular to a processing technology of graphic coding in video.
Background
As an internet content transmission mode, videos, especially short videos played on various media, are gradually gaining favor of platforms and users through short and fast mass-flow transmission contents. With the upgrading of mobile terminals and networks, the generation and distribution of short videos are getting more and more hot, and the self-media promotion by using the short videos gradually becomes a new means.
Currently, when recommending a user to pay attention to himself from media, a focus button is usually displayed below or at another position of a video distributed by the user, and the user can pay attention to the self-media by clicking the focus button, but the focus is usually the focus of the self-media in a specific certain distribution channel. Taking the current headline as an example, after watching a video published by the media a in the current headline, the user only realizes the attention to the media a in the current headline when clicking the attention, and cannot acquire more information related to the media a.
In order to better promote the self-media, the self-media can insert a two-dimensional code into a video released by the self-media for a user to scan so that the user can conveniently obtain information which the self-media wants to promote, but the user needs to use mobile equipment such as a mobile phone and the like to manually scan the two-dimensional code in the video, when the user uses the mobile equipment to watch the video, the video playing is stopped, a screen picture is intercepted, finally, a popup menu is pressed for a long time in graphic code recognition software, and the user clicks 'scan the two-dimensional code' to obtain the information in the graphic code. Obviously, this identification method is relatively troublesome for the user to implement, and is not favorable for popularization from the media.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a video processing scheme, which enables a video viewer to respond to a graphic code included in a video more conveniently, thereby improving the utilization rate of the graphic code in the video.
According to an aspect of the present invention, there is provided a video processing method including: identifying a graphics encoding in response to the presence of the graphics encoding in the video, wherein the graphics encoding carries information about a video source of the video; based on the information carried by the graphics coding, an operation associated with the video source is performed.
Therefore, the graphic codes existing in the video can be automatically identified and read by the inside of the electronic equipment system without scanning by external equipment, so that the user experience is improved, and the popularization effect of a video publisher can be improved.
Preferably, the step of identifying the graphics code in response to the presence of the graphics code in the video may comprise: the graphic codes in the video are extracted.
In the mode, scanning by external equipment is not needed, a user does not need to pause playing the video, and the electronic equipment system or the video player or the video publishing platform automatically detects the graphic codes existing in the video and automatically extracts the graphic codes in the video so as to be read.
Preferably, the step of extracting the graphic codes in the video may include: intercepting a screen picture containing graphic codes in a video; a graphics code in a screen containing the graphics code is obtained.
By means of the video real-time frame capturing technology, the screen picture containing the graphic codes in the video is captured, a user does not need to pause playing of the video for screen capturing operation, and the graphic codes in the screen picture containing the graphic codes are extracted when the screen picture is captured, so that the graphic codes are convenient to recognize.
Preferably, the step of capturing the video including the graphics-coded screen picture may include: intercepting a screen picture from a video according to a preset time interval; judging whether the screen picture contains a graphic code; if the graphic code is contained, a screen picture containing the graphic code is extracted.
The continuous frame-cutting function of the video is added on a video player or a video publishing platform, the continuous frame-cutting function option is selected, the storage position, the cutting size, the cutting time interval and the like of the cut image are set, and the continuous frame-cutting function is performed in the video playing process and can be started and ended at any time. Judging whether the captured screen pictures contain the graphic codes or not, and extracting the screen pictures containing the graphic codes so as to further extract the graphic codes contained in the screen pictures.
Preferably, the step of capturing the video including the graphics-coded screen picture may include: receiving an extraction instruction of a user; and extracting the screen picture containing the graphic code according to the extraction instruction.
Wherein, the user's instruction of fetching means: when a user watches the video, the user can see that the graphic codes exist in the video, and can select the modes of long-time pressing of a screen picture, double-click of the screen picture, mouse clicking or keyboard shortcut key inputting and the like to trigger the function of capturing the screen picture, and the mode can avoid the condition that the frame capturing time interval set in the continuous frame capturing of the video is not appropriate.
Preferably, the step of performing an operation associated with the video source may comprise: opening a page associated with a video source; and/or focus on third parties associated with the video source.
The video source can be information of a video publisher, link information related to the video or a playing source address of the video, so that a user can directly enter a page carrying the information by automatically recognizing and reading the graphic code to pay attention to a third party related to the video source, wherein the third party is related to the video publisher or related to a publishing platform or related to the playing source of the video.
Preferably, the video processing method may further include: in response to the graphical code identification being successful, prompting a user to select whether to perform an operation associated with the video source; and/or in response to a graphical code recognition failure, prompting a user to select whether to perform an operation associated with the video.
In order to increase the interaction between the user and the video publishing platform, the system pops up prompt information to prompt the user of different operation information in consideration of whether the user needs to read the graphic code in the video and whether the graphic code is successfully read.
According to another aspect of the present invention, there is provided a video processing apparatus including: the response module is used for responding to the existence of graphic codes in the video and identifying the graphic codes, wherein the graphic codes carry information about video sources of the video; and the execution module is used for executing the operation associated with the video source based on the information carried by the graphic code.
Preferably, the response module may include: and the extraction module is used for extracting the graphic codes in the video.
Preferably, the extraction module may include: the intercepting module is used for intercepting a screen picture containing graphic codes in the video; and the acquisition module is used for acquiring the graphic codes in the screen picture according to the screen picture which is intercepted by the interception unit and contains the graphic codes.
Preferably, the intercepting module may include: the picture intercepting unit is used for intercepting screen pictures from the video according to a preset time interval; the judging unit is used for judging whether the screen picture intercepted by the picture intercepting unit contains the graphic code or not; and the first picture extracting unit is used for extracting the screen picture containing the graphic code if the judging unit judges that the screen picture contains the graphic code.
Preferably, the intercepting module may include: the receiving unit is used for receiving an extracting instruction of a user; and a second picture extracting unit for extracting a screen picture containing a graphic code according to the extraction instruction received by the receiving unit.
Preferably, the video processing apparatus may further include: the first prompting unit is used for responding to the success of the graphic coding identification and prompting a user to select whether to execute the operation associated with the video source; and/or a second prompting unit for prompting the user to select whether to execute the operation associated with the video in response to the failure of the graphic code recognition.
According to another aspect of the present invention, there is also provided an electronic device including: a processor; a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the video processing method mentioned above.
According to another aspect of the present invention, there is also provided a non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform the above-mentioned video processing method.
In summary, by using the video processing method, the video processing apparatus and the electronic device provided by the invention, operations associated with a video or a video source can be executed by automatically identifying the graphic code in the video, so that a video publisher can conveniently popularize the graphic code in the video, the functions of an information publishing platform are enriched, and the user experience is improved.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in greater detail exemplary embodiments thereof with reference to the attached drawings, in which like reference numerals generally represent like parts throughout.
Fig. 1 shows a schematic flow diagram of a video processing method according to an embodiment of the invention.
Fig. 2 shows a schematic flow diagram for extracting graphics coding in video according to an embodiment of the invention.
FIG. 3A shows a schematic flow diagram of capturing a screenshot of a video containing a graphics code in accordance with an embodiment of the present invention.
FIG. 3B shows a schematic flow diagram of capturing a screenshot of a video containing a graphics code in accordance with an embodiment of the present invention.
Fig. 4 is a block diagram showing a configuration of a video processing apparatus according to an embodiment of the present invention.
Fig. 5 shows a block diagram of an extraction module according to an embodiment of the invention.
FIG. 6A shows a block diagram of an intercept module according to an embodiment of the invention.
FIG. 6B shows a block diagram of an intercept module according to an embodiment of the invention.
Detailed Description
Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As described above, in order to facilitate popularization of a video source through a graphic code in a video, the present invention provides a video processing scheme, which reduces inconvenience brought by a user scanning a graphic code in a video using an external device by automatically recognizing the graphic code in the video and executing an operation related to the video source based on information carried by the graphic code, and at the same time, since the graphic code carries the information related to the video source, the user can directly execute the operation related to the video source, thereby facilitating popularization of the video source and improving user experience.
Embodiments of the present invention are specifically described below with reference to fig. 1 to 6B. Fig. 1 shows a schematic flow diagram of a video processing method according to an embodiment of the invention.
As shown in fig. 1, in step S100, a graphics encoding is identified in response to the presence of the graphics encoding in the video, wherein the graphics encoding carries information about the video source of the video.
The graphic code mentioned here is a certain geometric figure, for example, it can be a bar code, a two-dimensional code, and data symbol information is recorded by black and white figures distributed on a plane according to a certain rule, it can also be a three-dimensional code, and it uses different colors and gray levels to express different data and code, and it can automatically read through image input equipment or photoelectric scanning equipment to realize automatic information processing. The graphics code of the present invention may also be other suitable graphics codes, as the present invention is not limited in this respect.
The identification graphic code is different from a traditional scanning mode of using an external device, such as a camera of a mobile phone or a tablet computer and an optoelectronic scanning instrument, and does not need additional graphic code identification software, but automatically identifies information carried by the graphic code in a video by analyzing the graphic code, wherein the information carried by the graphic code can include any form of characters, links, pictures, videos and the like, and the carried information is mainly related to a video source, such as a focus page of a video publisher, a source address of video playing, other videos from the same publisher and the like.
The video may include various storage formats of dynamic images, such as image formats such as AVI and MPEG, and streaming media formats such as RM and ASF, which may be transmitted through communication network, terrestrial broadcast, satellite broadcast, etc., or may be stored in local video, and the graphic code in the video may also be a geometric figure carrying specific information in any other coding format, such as bar code, two-dimensional code, three-dimensional code, etc., which may be mixed in the video or superimposed on the video, and displayed on the screen during the playing of the video.
Additionally, the step of identifying a graphics encoding in response to the presence of a graphics encoding in the video in step S100 may include extracting the graphics encoding in the video. When the graphic code appears in the video, the graphic code in the video can be extracted by using an image extraction algorithm in an image processing technology, for example, the gray value of each pixel point in the image is compared with a selected threshold value, corresponding judgment is made, and a required part is segmented from the image by using the threshold value.
Fig. 2 is a flow chart of a method for extracting graphic codes in video according to an embodiment of the present invention.
As shown in fig. 2, in step S120, a screen containing a graphic code in a video is captured.
In step S120, the capturing of the screen containing the graphic code can be performed in at least two ways, and fig. 3A and 3B respectively show schematic flowcharts of the two ways of performing. One way is as shown in fig. 3A, the system automatically detects whether there is a graphics code in the video, and one way is as shown in fig. 3B, the user issues an extraction instruction when finding that there is a graphics code in the video.
In one embodiment of step S120, as shown in fig. 3A, a screen may be captured from the video at a preset time interval in step S121. For example, by the image capture function in the video player, continuous screenshots are selected, and the storage address, the storage size, the screenshot time interval, and the like of the captured image are set, and in practical applications, the preset time interval in step S121 may be set as needed, and may be 1S, 5S, 10S, and the like.
Then, in step S122, it is determined whether a graphic code is included in the screen.
If yes, that is, the screen includes the graphic code, the operation of extracting the screen including the graphic code in step S123 is executed; for example, a screen containing a graphic code is extracted from a stored file or a cache.
If not, that is, the screen does not contain the graphic code, the step S121 is continuously executed. The time interval can be adjusted if no graphic code is always detected in the screen, which may be inappropriate for the preset time interval setting.
By utilizing a video real-time frame cutting technology, a screen picture containing graphic codes in a video is extracted, then the graphic codes are identified through the principle of screen image identification, so that a user does not need to use other scanning equipment to scan the graphic codes for identification, and the user directly enters an information page containing video sources related to the video after the graphic codes are identified, a terminal interface does not need to be adjusted, the user experience is improved, technical conditions are provided for a user to popularize by adding the graphic codes in the video, and functions of information issuing platforms such as a browser are added.
In another embodiment of step S120, as shown in fig. 3B, in step S126, a user 'S extraction instruction may be received, where the user' S extraction instruction may be an operation instruction for triggering extraction of a screen containing a graphic code by long pressing a video blank interface, double clicking a mouse, inputting a shortcut key by a keyboard, or the like.
Then, in step S128, an operation of extracting a screen containing a graphic code is performed according to the extraction instruction. The method is suitable for the condition that a user finds that graphic codes exist in the video and sends an extraction instruction.
The two ways that the above step S120 can be implemented can form a good complement, and when the system does not detect the graphic code in the video due to the inappropriate preset time interval, the operation can be performed by the user actively extracting the screen containing the graphic code.
Returning to fig. 2, after the screen containing the graphic code in the video is captured in step S120, step S140 is executed to acquire the graphic code in the screen containing the graphic code. The obtaining of the graphic code for identifying the graphic code is a conventional means for obtaining the graphic code in the picture by using a graphic code identification technology in the prior art, and is not listed here.
Returning to fig. 1, after identifying the graphics coding in the video at step S100, operations associated with the video source are performed based on the information carried by the graphics coding at step S200.
Wherein the step of performing an operation associated with the video source may comprise: opening a page associated with a video source; and/or focus on third parties associated with the video source.
The information related to the video source includes information of a publisher of the video, a playing source address of the video, and the like, and particularly, when the publisher of the video is a self-media user, the self-media is also called as "citizen media" or "personal media", and refers to a propagator which is personalized, civilized, generalized, and autonomized, and can publish the video on a self-media platform, the self-media platform includes but is not limited to network communities such as WeChat, microblog, BBS, Facebook, UC head bar, and the like, and by adding the information of the self-media user, the information of the related video, and other information beneficial to popularization in the graphic coding, the user can conveniently pay attention to the self-media user.
The third party related to the video source can be a video repeater, a video distribution platform or a user related to the video, the video source and the distribution platform.
Through the technical scheme, the information carried by the graphic codes can be directly jumped to the page related to the video source, more information can be paid attention to on the page related to the video source, the information can be conveniently spread, interface adjustment is not needed, and the video can be directly returned to continue to watch the video after the information related to the video source is paid attention to.
According to an embodiment of the present invention, in the video processing method, on the one hand, in response to the success of the pattern coding recognition, the user may be further prompted to select whether to perform an operation associated with the video source. The operation associated with the video source may be, for example, entering a page carrying information of a graphic code, or paying attention to a publisher of the video, or watching other videos related to the video source, etc.
On the other hand, in response to a failure of the graphic code recognition, the user may also be prompted to select whether to perform an operation associated with the video. The operation associated with the video may be, for example, collecting or downloading the video, or taking a video screenshot, or downloading a video player, etc.
According to whether the pattern code is successfully identified or not, the user can be prompted to perform different operations. The user can perform corresponding operation according to the network condition of the electronic equipment and the requirement on information.
According to the technical scheme, two conditions of successful identification and failed identification of the graphic codes are considered, prompt information can be popped up, users are respectively prompted to carry out different operations, and user interaction experience is enhanced.
The video processing method of the present invention can be realized by a video processing apparatus. Fig. 4 shows a block diagram of a video processing apparatus 400 according to an embodiment of the present invention.
As shown in fig. 4, the video processing apparatus 400 may include a response module 420 and an execution module 440.
The response module 420 may identify a graphics encoding in response to the presence of the graphics encoding in the video, where the graphics encoding carries information about the video source of the video.
The execution module 440 may perform operations associated with the video source based on information carried by the graphics code.
The response module 420 may include an extraction module 500 for extracting graphical codes in the video.
The video can be a video obtained through a communication network or a video stored locally, the graphic code can be a geometric figure carrying specific information in any coding form such as a bar code, a two-dimensional code, a three-dimensional code and the like, and the geometric figure can be mixed in the video or can be superposed in the video and displayed on a screen in the video playing process. In particular, in the embodiment of the present invention, the graphic code carries information about a video source of the video, including information of a video publisher, a playback source address of the video, user information related to the video publisher, and the like.
Performing operations associated with the video source in the execution module 440 may include jumping to a page related to the video source or focusing on a third party or favorite video related to the video based on the hint information.
Through the device, video publishers, such as from media users, can add the graphic code carrying the information of the self-media users in the short video for popularization by making the short video, and simultaneously, the function of the self-media publishing platform is enriched, and the user experience is improved.
Fig. 5 shows a block diagram of an extraction module according to an embodiment of the invention.
As shown in fig. 5, the extraction module 500 includes: an intercepting module 520, configured to intercept a screen containing a graphic code in a video; and the graphic code acquiring module 540 is configured to acquire the graphic code in the screen according to the screen including the graphic code intercepted by the intercepting module 520.
The capturing module 520 captures a screen image containing a graphic code in a video by using a real-time video frame capturing technology, which is a modern information technology means for controlling a network interface, a television interface or a streaming media interface by using computer program software, so that a video stream is converted into a picture, and the picture extraction is convenient.
The acquiring of the graphic code in the screen image in the graphic code acquiring module 540 is a conventional means for acquiring the graphic code in the picture by using a graphic code recognition technology in the prior art, and is not listed here.
Intercept module 520 may include at least two configurations.
FIG. 6A shows a block diagram of an intercept module according to an embodiment of the invention.
As shown in fig. 6A, includes: a picture capturing unit 521, configured to capture a screen picture from the video at preset time intervals; a judging unit 522 for judging whether the screen captured by the picture capturing unit 521 contains a graphic code; a first picture extracting unit 523 configured to extract the screen picture including the graphic code if the judging unit 522 judges that the graphic code is included in the screen picture.
The screen capture unit 521 selects continuous capture through an image capture function in the video real-time frame capture technology, and sets a storage address, a storage size, a capture time interval, and the like of a captured image. Whether a screen containing a graphic code exists in the screens intercepted by the screen intercepting unit 521 is judged, whether the screen containing the graphic code exists is judged every time one frame of the screen is intercepted until the screen containing the graphic code is detected, and then the screen containing the graphic code is extracted from a screen storage file arranged by the screen intercepting unit 521 by the first screen extracting unit 523 so as to identify the graphic code through the principle of screen image identification.
Therefore, a user does not need to use external scanning equipment to scan the graphic codes for identification, a terminal interface does not need to be adjusted, user experience is improved, technical conditions are provided for video publishers, such as self-media users, to popularize by adding the graphic codes in videos, and meanwhile, functions of information publishing platforms such as WeChat, microblog, BBS forum and UC head are added.
FIG. 6B shows a block diagram of an intercept module according to another embodiment of the invention.
As shown in fig. 6B, intercept module 520 may comprise: an instruction receiving unit 526, configured to receive an extraction instruction of a user; the second picture extracting unit 528 extracts a screen picture containing a graphic code according to the extraction instruction received by the instruction receiving unit 526.
The instruction receiving unit 526 may receive an extraction instruction from a user, and may include any other operation that may trigger extraction of a screen image, such as long-time pressing of a video blank interface, mouse clicking, keyboard shortcut key input, and the like, to extract a screen image including a graphic code in a video, so as to avoid a situation that the screen image including the graphic code cannot be intercepted by the image intercepting unit 521 due to an inappropriate preset time interval.
In addition, the video processing apparatus 400 of the present invention may further include a first cue unit and a second cue unit.
The first prompting unit may prompt the user to select whether to perform an operation associated with the video source in response to the graphical code recognition being successful.
The second prompting unit may prompt the user to select whether to perform an operation associated with the video in response to a failure of the graphic code recognition.
The first prompting unit pops up prompting information to prompt a user whether to identify a graphic code, the user can select identification or abandon identification, if the user selects to identify the graphic code and the identification is successful, the prompting information pops up to prompt the user whether to stop playing the video to enter a page of a video source related to the video, and if the user abandons to identify the graphic code or fails to identify the graphic code, the second prompting unit pops up prompting information to prompt the user to collect the video and pay attention to third parties related to the video and other operation options related to the video.
In addition, the method according to the present invention further provides an electronic device, which includes a processor, and may include a video player or an information distribution platform application, and can implement functions of video real-time frame capture, automatic image coding recognition, and the like; and a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the video processing method described above.
Optionally, the electronic device may further include a display screen for displaying video pictures, information carried by graphics coding and image coding, and the like. The video processing method, the video processing apparatus, and the electronic device according to the present invention have been described in detail above with reference to the accompanying drawings.
Furthermore, the method according to the invention may also be implemented as a computer program or computer program product comprising computer program code instructions for carrying out the above-mentioned steps defined in the above-mentioned method of the invention.
Alternatively, the invention may also be embodied as a non-transitory machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) having stored thereon executable code (or a computer program, or computer instruction code) which, when executed by a processor of an electronic device (or computing device, server, etc.), causes the processor to perform the steps of the above-described method according to the invention.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both.
Through the technical scheme, a user can directly enter a page of a video source related to the video by selecting and identifying the graphic code in the video in the process of watching the video, so that the interaction between the user and video software or equipment is enhanced, the user experience is improved, convenience is provided for the user of a self-media to popularize through the graphic code in the video, and meanwhile, the function of an information publishing platform is increased.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems and methods according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. A method of video processing, the method comprising:
intercepting a screen picture from the video according to a preset time interval, and storing the intercepted screen picture in a storage file or a cache;
judging whether the screen picture contains a graphic code or not;
responding to that the screen picture contains the graphic code, and extracting the screen picture containing the graphic code from a storage file or a cache;
identifying the graphics code from the extracted screen picture, wherein the graphics code carries information about a video source of the video;
and executing the operation associated with the video source based on the information carried by the graphic code.
2. The method of claim 1, wherein identifying the graphics code in response to the inclusion of the graphics code in the screen picture comprises:
and acquiring the graphic codes in the screen pictures containing the graphic codes.
3. The method of claim 1, further comprising:
receiving an extraction instruction of a user;
and extracting the screen picture containing the graphic code according to the extraction instruction.
4. The method of claim 1, wherein the step of performing the operation associated with the video source comprises:
opening a page associated with the video source; and/or
Focusing on a third party associated with the video source.
5. The method of claim 1, further comprising:
in response to a successful graphical code recognition, prompting a user to select whether to perform an operation associated with the video source; and/or
In response to a graphical code recognition failure, prompting a user to select whether to perform an operation associated with the video.
6. A video processing apparatus, characterized in that the apparatus comprises:
the picture intercepting unit is used for intercepting screen pictures from the video according to a preset time interval and storing the intercepted screen pictures in a storage file or a cache;
the judging unit is used for judging whether the screen picture intercepted by the picture intercepting unit contains a graphic code or not;
the response module is used for responding to that the screen picture contains the graphic code, extracting the screen picture containing the graphic code from a storage file or a cache, and identifying the graphic code from the extracted screen picture, wherein the graphic code carries the information of a video source related to the video;
and the execution module is used for executing the operation related to the video source based on the information carried by the graphic code.
7. The apparatus of claim 6, wherein the response module comprises:
and the image code acquisition module is used for acquiring the image codes in the screen picture according to the screen picture which is intercepted by the picture interception unit and contains the image codes.
8. The apparatus according to claim 6, wherein the picture-cutting unit comprises:
the instruction receiving unit is used for receiving an extraction instruction of a user;
and the second picture extracting unit is used for extracting the screen picture containing the graphic code according to the extracting instruction received by the instruction receiving unit.
9. An electronic device, comprising:
a processor;
a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the video processing method of any of claims 1 to 5.
10. A non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform the video processing method of any of claims 1 to 5.
CN201710833961.4A 2017-09-15 2017-09-15 Video processing method, video processing device, electronic device, and storage medium Active CN109511010B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710833961.4A CN109511010B (en) 2017-09-15 2017-09-15 Video processing method, video processing device, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710833961.4A CN109511010B (en) 2017-09-15 2017-09-15 Video processing method, video processing device, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN109511010A CN109511010A (en) 2019-03-22
CN109511010B true CN109511010B (en) 2022-03-01

Family

ID=65745027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710833961.4A Active CN109511010B (en) 2017-09-15 2017-09-15 Video processing method, video processing device, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN109511010B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659533A (en) * 2019-08-26 2020-01-07 福建天晴数码有限公司 Method for identifying two-dimensional code in video and computer readable storage medium
CN112464024A (en) * 2019-09-09 2021-03-09 北京字节跳动网络技术有限公司 Video processing method, video processing device, electronic equipment and computer readable medium
CN110662113B (en) * 2019-09-25 2021-06-11 腾讯音乐娱乐科技(深圳)有限公司 Video playing method and device and computer readable storage medium
CN112434234B (en) * 2020-05-15 2023-09-01 上海哔哩哔哩科技有限公司 Frame extraction method and system based on browser

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2008226843A1 (en) * 2007-03-08 2008-09-18 Microscan Systems, Inc. Detection and segmentation of a two-dimensional code
CN101510269B (en) * 2009-02-18 2011-02-02 华为终端有限公司 Method and device for acquiring two-dimensional code in video
CN102752658B (en) * 2012-06-12 2016-02-24 高亿实业有限公司 The control method of television control apparatus and system, television control apparatus

Also Published As

Publication number Publication date
CN109511010A (en) 2019-03-22

Similar Documents

Publication Publication Date Title
CN109511010B (en) Video processing method, video processing device, electronic device, and storage medium
CN109729420B (en) Picture processing method and device, mobile terminal and computer readable storage medium
EP2595405B1 (en) Electronic device and method for providing contents recommendation service
CN112261424B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
US9769651B2 (en) Portable terminal device and method for operating the same
US9330098B2 (en) User interface operating method and electronic device with the user interface and program product storing program for operating the user interface
EP2453342A2 (en) Method for providing display image in multimedia device and device thereof
EP2453388A1 (en) Method for user gesture recognition in multimedia device and multimedia device thereof
US20180077452A1 (en) Devices, systems, methods, and media for detecting, indexing, and comparing video signals from a video display in a background scene using a camera-enabled device
US20120272279A1 (en) Apparatus for providing internet protocol television broadcasting contents, user terminal and method for providing internet protocol television broadcasting contents information
EP3494701A1 (en) Data processing method and live broadcasting method and device
CN107682714B (en) Method and device for acquiring online video screenshot
US9674578B2 (en) Electronic device and method for information about service provider
CN107786905B (en) Video sharing method and device
CN111010598B (en) Screen capture application method and smart television
CN111343512B (en) Information acquisition method, display device and server
EP3466097A1 (en) Video tagging and annotation
CN109309844A (en) Video platform word treatment method, videoconference client and server
KR101923441B1 (en) Electronic device and method for providing contents recommendation service
CN111163343A (en) Method for recognizing pattern recognition code and display device
US20090226101A1 (en) System, devices, method, computer program product
CA3102425A1 (en) Video processing method, device, terminal and storage medium
CN115086747A (en) Information processing method and device, electronic equipment and readable storage medium
CN108647097B (en) Text image processing method and device, storage medium and terminal
CN112887781A (en) Subtitle processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200710

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping B radio square 14 storey tower

Applicant before: Guangzhou Dongjing Computer Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant