CN111193960B - Video processing method and device, electronic equipment and computer readable storage medium - Google Patents

Video processing method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN111193960B
CN111193960B CN201910927764.8A CN201910927764A CN111193960B CN 111193960 B CN111193960 B CN 111193960B CN 201910927764 A CN201910927764 A CN 201910927764A CN 111193960 B CN111193960 B CN 111193960B
Authority
CN
China
Prior art keywords
information
video
branch
video card
card
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
CN201910927764.8A
Other languages
Chinese (zh)
Other versions
CN111193960A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910927764.8A priority Critical patent/CN111193960B/en
Publication of CN111193960A publication Critical patent/CN111193960A/en
Application granted granted Critical
Publication of CN111193960B publication Critical patent/CN111193960B/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 or rendering scenes according to encoded video stream scene graphs
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention discloses a video processing method, a video processing device, electronic equipment and a computer readable storage medium. The embodiment of the invention generates the movable video card by acquiring the video clip information and based on the video clip information; receiving association operation among the video cards, and establishing a play sequence relation among the video cards according to the association operation; adding branch information to a target video card comprising a plurality of branch relations; and when the playing logic between the video cards added with the branch information meets the preset condition, storing the target video information. With this, the user can generate mobilizable video card fast, freely sets up the broadcast order relation between the different video cards, adds branch information for the target video card that includes a branch relation fast to the broadcast logic problem between the automatic check video card, very big promotion video processing's flexibility and variety.

Description

Video processing method and device, electronic equipment and computer readable storage medium
Technical Field
The invention relates to the technical field of video information processing, in particular to a video processing method, a video processing device, electronic equipment and a computer readable storage medium.
Background
With the continuous popularization and development of terminals and data networks, users increasingly rely on the terminals, various applications can be installed on the terminals, video applications occupy the main position in daily entertainment life of people, and more users begin to express own life style and creation ideas by making interactive videos with story lines.
In the related technology, a user can create a fixed video module by uploading a plurality of video segments, allocate a designated video segment in each video module, edit branch options of the branch video modules, and skip a plurality of video segments to play one video segment through the branch options, so that different plot developments corresponding to interactions are realized.
In the research and practice process of the related technology, the inventor of the invention finds that in the related technology, the relation among the video modules is fixed, a user needs to drag a video clip to a specified module to complete the adding operation, and only one video module can be branched to a plurality of video modules, so that the operation flexibility is poor, the interaction limitation is large, and the video processing mode is single.
Disclosure of Invention
Embodiments of the present invention provide a video processing method and apparatus, an electronic device, and a computer-readable storage medium, which can improve flexibility and diversity of video processing.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
a video processing method, comprising:
acquiring video clip information, and generating a movable video card based on the video clip information;
receiving the association operation between the video cards, and establishing the play sequence relation between the video cards according to the association operation;
adding branch information to a target video card comprising a plurality of branch relations;
and when the playing logic between the video cards added with the branch information meets the preset condition, storing the target video information.
Correspondingly, an embodiment of the present invention further provides a video processing apparatus, including:
the generating unit is used for acquiring video clip information and generating a movable video card based on the video clip information;
the establishing unit is used for receiving the association operation among the video cards and establishing the play sequence relation among the video cards according to the association operation;
the adding unit is used for adding branch information to a target video card comprising a plurality of branch relations;
and the storage unit is used for storing the target video information when the playing logic between the video cards added with the branch information meets the preset condition.
In some embodiments, the establishing subunit is specifically configured to:
determining a connecting line starting point on the first video card according to the connecting line clicking instruction, and generating a corresponding connecting line;
acquiring a second video card correspondingly connected with the connecting line, and determining a connecting line terminal point on the second video card;
and connecting the connecting line based on the connecting line starting point and the connecting line end point, and establishing a play sequence relation between the first video card and the second video card according to the relation of the connecting line starting point.
In some embodiments, the video card includes a branch addition control, and the apparatus further includes an addition unit, specifically configured to:
receiving an adding click instruction of a user to a branch adding control on an adding video card;
creating a corresponding branch video card according to the adding click command, and generating a connecting line on the adding video card for connecting the branch video card;
and establishing a play sequence relation between the added video card and the branch video card.
In some embodiments, the adding unit includes:
the determining subunit is used for determining a target video card comprising a plurality of branch relations;
the generating subunit is used for generating an information editing page based on the operation instruction of the target video card;
and the acquisition subunit is used for acquiring the branch information added by the user through the information editing page.
In some embodiments, the information editing page includes a branch question control and a branch option control, and the obtaining subunit is specifically configured to:
acquiring branch problem information added by a user through the branch problem control;
acquiring branch option information added by a user through the branch option control, wherein each branch option information corresponds to a different video card;
and determining the branch problem information and the branch option information as branch information.
In some embodiments, the information editing page further includes a countdown control, and the obtaining subunit is specifically configured to:
acquiring branch problem information added by a user through the branch problem control;
acquiring branch option information added by a user through the branch option control, wherein each branch option information corresponds to a different video card;
acquiring time information input by a user through the countdown control;
and determining the branch problem information, the branch option information and the time information as branch information.
In some embodiments, the adding unit further includes:
and the setting subunit is used for opening the video card selected by the user and setting the video card selected by the user into the ending video card through the ending setting control.
In some embodiments, the saving unit is specifically configured to:
when the playing logic between the video cards added with the branch information meets a preset condition, reserving target video information, and acquiring target video card layout information corresponding to the target video information, wherein the target video card layout information carries a target page identifier;
and sending the layout information of the target video card to a server, so that the server stores the layout information of the target video card according to the target page identifier and synchronizes the layout information of the target video card to other terminals.
Correspondingly, an embodiment of the present invention further provides an electronic device, which includes a processor and a memory, where the memory stores multiple instructions, and the processor loads the instructions to perform the steps in any of the video processing methods provided in the embodiments of the present invention.
Accordingly, an embodiment of the present invention further provides a computer-readable storage medium, where a plurality of instructions are stored in the computer-readable storage medium, and the instructions are suitable for being loaded by a processor to perform the steps in the video processing method.
The embodiment of the invention generates the movable video card by acquiring the video clip information and based on the video clip information; receiving association operation among the video cards, and establishing a play sequence relation among the video cards according to the association operation; adding branch information to a target video card comprising a plurality of branch relations; and when the playing logic between the video cards added with the branch information meets the preset condition, storing the target video information. Therefore, a user can quickly generate movable video cards, the playing sequence relation among different video cards is freely set, branch information is quickly added to a target video card comprising a branch relation, the playing logic problem among the video cards is automatically checked, and compared with the scheme that the relation among the video modules is fixed and only one video module can be branched to a plurality of video modules, the flexibility and diversity of video processing are greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a scene of a video processing system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a video processing method according to an embodiment of the present invention;
fig. 3 is another flow chart of a video processing method according to an embodiment of the present invention;
FIG. 4a is a schematic view of a video processing scene provided by an embodiment of the present invention;
FIG. 4b is a schematic diagram of another scene of video processing provided by the embodiment of the invention;
FIG. 4c is a schematic view of another scene of video processing provided by the embodiment of the present invention;
FIG. 4d is a schematic diagram of another scene of video processing provided by the embodiment of the present invention;
FIG. 4e is a schematic diagram of another scene of video processing provided by the embodiment of the present invention;
FIG. 4f is a schematic view of another scene of video processing provided by an embodiment of the present invention;
FIG. 5 is a timing diagram illustrating a video processing method according to an embodiment of the invention;
fig. 6a is a schematic structural diagram of a video processing apparatus according to an embodiment of the present invention;
fig. 6b is a schematic structural diagram of a video processing apparatus according to an embodiment of the present invention;
fig. 6c is a schematic structural diagram of a video processing apparatus according to an embodiment of the present invention;
FIG. 6d is a schematic diagram of another structure of a video processing apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a video processing method, a video processing device, electronic equipment and a computer readable storage medium.
Referring to fig. 1, fig. 1 is a schematic view of a scene of a video processing system according to an embodiment of the present invention, including: the terminal 10 and the server 20 may be connected through a communication network, and the communication network may include a wireless network and a wired network, wherein the wireless network includes one or more of a wireless wide area network, a wireless local area network, a wireless metropolitan area network, and a wireless personal area network. The network includes network entities such as routers, gateways, etc., which are not shown in the figure. The terminal 10 may exchange information with the server 20 through a communication network.
In fig. 1, a client may be installed in the terminal 10, and the client may be a client for playing videos and making personalized videos, such as a video client or a browser client. The terminal may include a mobile phone, a tablet Computer, a Personal Computer (PC), or the like. The terminal 10 may be configured to obtain video clip information and generate a removable video card based on the video clip information; receiving the association operation among the video cards, and establishing the play sequence relation among the video cards according to the association operation; adding branch information to a target video card comprising a plurality of branch relations; when it is detected that the playing logic between the video cards added with the branch information meets the preset condition, the target video information is stored, and the target video card layout information corresponding to the target video information is sent to the server 20, where the target video card layout information carries the target page identifier.
The video processing system may further include a server 20, where the server 20 may include an independently operating server or a distributed server, or may include a server cluster composed of multiple servers, and is mainly configured to receive the target video card layout information sent by the terminal 10, store the target video card layout information in a memory according to the target page identifier, and synchronize the target video card information to other terminals 10, so as to implement multiparty simultaneous online editing.
It should be noted that the scene schematic diagram of the video processing system shown in fig. 1 is only an example, and the video processing system and the scene described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not form a limitation on the technical solution provided in the embodiment of the present invention.
The following are detailed below.
Referring to fig. 2, fig. 2 is a flowchart illustrating a video processing method according to an embodiment of the invention. The video processing method may be executed by an electronic device such as a terminal or a server, or may be executed by both the terminal and the server, and in this embodiment, the execution subject is taken as an example of the terminal, and the video processing method includes:
in step 101, video clip information is acquired, and a removable video card is generated based on the video clip information.
In the embodiment of the present invention, a client may be installed on the terminal, and the client may be a client for playing videos and making personalized videos, such as a video client or a browser client. The client can upload a plurality of pieces of video clip information, and the client can arrange and display the pieces of video clip information uploaded by the user in a fixed display area in the form of cards.
In an embodiment, a client may preferentially send video segment information uploaded by a user to a server, the server performs content audit on the video segment information, when the server audits the video segment information, the client may display the video segment information uploaded by the user in a fixed display area in a card manner, and when the server does not audit, the client may not display the video segment information uploaded by the user in the fixed display area in the card manner, and prompt that the audit fails.
In an embodiment, a user can register an editing page belonging to the user in a client through a specific page identifier, when the user logs in the editing page through the page identifier, connection can be established with a server, after the connection is successful, the latest data of the server can be pulled, loading is carried out according to the latest data, and an editing page with the latest version is generated.
The client can further comprise a preset canvas area, after the video clip information uploaded by a user is arranged and displayed in the fixed display area in a card form through the client, the user can manually move the cards in the display area to the preset canvas area, when the card is detected to move to the preset canvas area, a movable video card can be generated according to the video clip information, the video card can be a rectangular graphic display assembly, the display image of the rectangular graphic display assembly can be a preset display image of the video clip information, the video card can be freely dragged according to the needs of the user on the preset canvas area, and the video card can be more conveniently set.
In some embodiments, the step of obtaining video clip information and generating a removable video card based on the video clip information may include:
(1) Receiving video clip information uploaded by a user, and arranging and displaying the video clip information;
(2) Receiving the video clip information through a preset canvas area to generate a corresponding preset card;
(3) And acquiring a preset display image in the video clip information, and combining the preset display image on the preset card to obtain the movable video card.
The uploading component on the client side can be clicked to display an uploading interface, in the uploading interface, a user can freely select at least one piece of video clip information stored in the terminal, the selected video clip information is arranged and displayed on the display area in a card mode, and the user can also name each card so as to facilitate later-stage searching.
Further, the preset canvas area is a special area for displaying video cards, a user can drag video clip information arranged on the display area to the preset canvas area according to requirements, the corresponding preset cards can be generated and displayed when the preset canvas area receives the video clip information, preset display images in the video clips are obtained, the preset display images can be one frame of image in the video clip information, the preset display images can be automatically generated by a system or selected by the user, the preset display images are dynamically combined on the preset cards, the video cards which can be freely dragged in the preset picture area are obtained, the video clip information is stored in the video cards, and when the user clicks and plays the video cards, the video clip information can be automatically played.
In step 102, the association operation between the video cards is received, and the playing sequence relation between the video cards is established according to the association operation.
The method comprises the steps that a user can establish a certain number of video cards on a client according to needs, the association operation of the user on the video cards is received, the association operation can be used for pulling a plot connecting line for the user, any two video cards are connected through the plot connecting line, after any two video cards are connected through the plot connecting line, the playing sequence relation between the two video cards is established according to the connection starting point and the connection end point, for example, the plot connecting line is pulled on a video card A, the plot connecting line is connected on a video card B, the video card B is a branch of the video card A, and the playing sequence of the video card B is behind the video card A.
In an embodiment, the association operation may also be a click operation of a user on a branch creation component on the video card, and when it is detected that the user clicks the branch creation component on the video card, a video card of a subsequent branch of the video card may be directly generated, and video clip information in the video card of the subsequent branch may be selected by the user.
Based on the description, through the association operation, the jump relationship between any two video cards can be established, a one-to-many story line mode and a many-to-one story line mode are realized, different types of creation requirements are met, and creative works can be obtained.
In some embodiments, the video card includes a connection control, and the step of receiving an association operation between the video cards and establishing a play sequence relationship between the video cards according to the association operation may include:
(1) Receiving a connecting line clicking instruction of a user on a connecting line control on a first video card;
(2) And generating a connecting line on the first video card according to the connecting line clicking instruction, determining a second video card correspondingly connected with the connecting line, and establishing a play sequence relation between the first video card and the second video card.
The video card can comprise a connection control, the connection control can be a hollow point rectangular point arranged on the right side of the video card, a connection click instruction of a user on the connection control on the first video card is received, a connection line is generated on the first video card according to the connection click instruction, the user can automatically stretch the connection line and correspondingly connect the connection line to a second video card, a playing sequence relation between the first video card and the second video card is established, namely the second video card is played after the first video card is played, and the like, so that the playing sequence relation between the video cards can be freely established.
In some embodiments, the step of generating a connection line on the first video card according to the connection line click instruction, determining a second video card correspondingly connected to the connection line, and establishing a play sequence relationship between the first video card and the second video card may include:
(1.1) determining a connecting line starting point on the first video card according to the connecting line clicking instruction, and generating a corresponding connecting line;
(1.2) acquiring a second video card correspondingly connected with the connecting line, and determining a connecting line terminal point on the second video card;
(1.3) connecting the connecting line based on the connecting line starting point and the connecting line end point, and establishing a playing sequence relation between the first video card and the second video card according to the relation of the connecting line starting point.
The user can randomly control the connecting line according to the dragging mode, obtain a second video card correspondingly connected with the connecting line, and determine a connecting line end point on the second video card, wherein the connecting line end point can be the solid rectangular point arranged on the left side of the second video card.
Further, the connection line is connected based on the connection starting point and the connection terminal, and a play sequence relation of the play sequence of the first video card before the play sequence of the second video card is established according to the relation of the connection starting point.
In step 103, branch information is added to the target video card including a plurality of branch relations.
After the user finishes setting the playing sequence relation of the video cards, the video cards comprise one-to-one, many-to-one and one-to-many logic relations, under the one-to-one logic relation of the video cards, the former video card can automatically play the latter connected video card after the playing is finished, under the many-to-one logic relation of the video cards, the former video cards can automatically jump to the latter connected video card after the playing is finished, and under the one-to-many logic relation of the video cards, the former video card can automatically play the latter continuous video cards after the playing is finished, namely one video card has a plurality of branch story lines.
Further, the terminal determines the video cards including the multiple branch relations as target video cards, and adds corresponding branch information for each target video card, wherein the branch information can be default for the system and can also be set for the user, the branch information can include branch problem information and branch option information, and each branch option information corresponds to one video card on a jump branch, so that when the playing of the previous video card is about to be completed, the branch problem information and the corresponding branch option information can be displayed, so that the watching user can select corresponding jump to the corresponding video clip according to the preference of the user, and the branch jump of the story line is realized.
In some embodiments, the step of adding branch information to the target video card including a plurality of branch relationships may include:
(1) Determining a target video card comprising a plurality of branch relations;
(2) Generating an information editing page based on the operation instruction of the target video card;
(3) And acquiring branch information added by the user through the information editing page.
The terminal determines a target video card containing a plurality of branch relations according to the number of the branch lines, the target video card can be highlighted, a user is prompted to set branch information of the target video card, when the user clicks the target video card, an information editing page is generated based on the clicking operation instruction, the information editing page is used for prompting to set the branch information, and therefore the user can add corresponding branch information based on the information editing page.
In some embodiments, the information editing page includes a branch question control and a branch option control, and the step of obtaining the branch information added by the user through the information editing page may include:
(1.1) acquiring branch problem information added by a user through the branch problem control;
(1.2) acquiring branch option information added by a user through the branch option control, wherein each branch option information corresponds to different video cards;
(1.3) determining the branch problem information and the branch option information as branch information.
The information editing method comprises the steps of displaying a branch problem control and a branch option control on an information editing page, obtaining branch problem information such as 'what to go' and the like added by a user through the branch problem control, obtaining branch option information such as 'hit' or 'walk' and the like added by the user through the branch option control, enabling each branch option information to correspond to different video cards, unifying the branch problem information and the branch option information into branch information, displaying the corresponding branch problem information and the corresponding branch option information for a watching user to select when the playing of a target video card is about to be completed, and enabling the watching user to select the corresponding branch option information to jump to a video clip of the corresponding video card according to the preference of the watching user.
In an embodiment, a user can set the last video card as an ending video card according to needs, so that the corresponding video clip information of the ending video card is set as an ending, and the completeness of the whole story line is kept.
In step 104, when the playing logic between the video cards added with the branch information meets the preset condition, the target video information is saved.
When the user needs to store the story line, namely, the playing relation between the video cards is stored, and when the target video information is generated, the terminal is triggered to detect whether the playing logic between the video cards added with the branch information meets a preset condition, wherein the preset condition can be whether the story line is a non-cyclic story line or a complete story line or not, and the like.
Furthermore, the layout information of the target video card corresponding to the stored target video information can be sent to the server, the layout information of the target video card represents the logical relationship between the set video cards, and the layout information of the target video card carries the page identifier, so that the server stores the layout information of the target video card according to the target page identifier.
As can be seen from the above, in the embodiment of the present invention, the video clip information is obtained, and the movable video card is generated based on the video clip information; receiving association operation among the video cards, and establishing a play sequence relation among the video cards according to the association operation; adding branch information to a target video card comprising a plurality of branch relations; and when the playing logic between the video cards added with the branch information meets the preset condition, storing the target video information. Therefore, a user can quickly generate movable video cards, the playing sequence relation among different video cards is freely set, branch information is quickly added to a target video card comprising a branch relation, the playing logic problem among the video cards is automatically checked, and compared with the scheme that the relation among the video modules is fixed and only one video module can be branched to a plurality of video modules, the flexibility and diversity of video processing are greatly improved.
Referring to fig. 3, fig. 3 is another schematic flow chart of a video processing method according to an embodiment of the invention. The video processing method is described by taking an execution subject as a terminal as an example, and the flow of the method may include:
in step 201, the terminal receives the video clip information uploaded by the user, and arranges and displays the video clip information.
After the terminal downloads the installation package corresponding to the personalized video making function for decompression and installation, a video making client, also called a local client, is correspondingly generated on the terminal, a user can open the local client, input a page identifier to establish connection with the server, and a receiving server loads the historical video card layout information returned by the page identifier and enters a corresponding editing page for opening and editing.
Referring to fig. 4a and 4b together, the terminal loads according to the returned historical video card layout information and enters a corresponding editing page, the editing page includes a material display area, a chapter display area and a preset canvas area 12, the preset canvas area 12 includes a trailer card, the material display area includes an added material assembly 11, when a user clicks the added material assembly 11, an uploading interface can be displayed, in the uploading interface, the user can freely select at least one piece of video clip information stored in the terminal, and arrange and display the selected video clip information on the material display area in the form of a card, and each card includes a corresponding name, so as to facilitate later-stage searching.
In step 202, the terminal receives the video clip information through the preset canvas area, generates a corresponding preset card, obtains a preset display image in the video clip information, and combines the preset display image with the preset card to obtain a movable video card.
As shown in fig. 4b, the user can move the material display area by pressing the card in the material display area for a long time, and then drag the material display area into the preset canvas area 12, the terminal receives the video clip information in the dragged card through the preset canvas area 12 to generate a corresponding preset card, and obtains a preset display image in the video clip, and combines the preset display image with the preset card to obtain a "hesitation to hold hands" and a "thoughts" of the video card that can move freely in the preset canvas area 12.
In step 203, the terminal receives a link click instruction of a link control on the first video card from a user, determines a link starting point on the first video card according to the link click instruction, generates a corresponding link, obtains a second video card correspondingly connected with the link, and determines a link ending point on the second video card.
As shown in fig. 4c, the connection control is a hollow rectangular point set on the right side of the video card, when the user clicks the connection control of the "hesitation to lift hands" of the first video card, the terminal receives the connection click command of the "hesitation to lift hands" of the user, determines a connection starting point on the first video card according to the connection click command, where the connection starting point may be a solid rectangular point set on the right side of the "hesitation to lift hands" of the first video card, generates a connection line at a position corresponding to the connection starting point of the "hesitation to lift hands" of the first video card, connects the connection line to the "belief" of the second video card, and generates a connection end point on the "belief" of the second video card, where the connection end point may be a solid rectangular point on the left side of the "belief" of the second video card.
In step 204, the terminal connects the connection line based on the connection starting point and the connection ending point, and establishes a play sequence relationship between the first video card and the second video card according to the relationship of the connection starting point.
As shown in fig. 4c, the end point is connected to the connection line based on the connection starting point on the "hesitation to lift hands" of the first video card and the connection end point on the "belief" of the second video card, and the relationship of the play order of the "hesitation to lift hands" of the first video card to be higher than the relationship of the "belief" of the second video card is established according to the relationship of the connection starting points.
In step 205, the terminal receives an add click command of the user to the branch add control on the add video card, creates a corresponding branch video card according to the add click command, generates a connection line on the add video card for connecting the branch video card, and establishes a play sequence relationship between the add video card and the branch video card.
As shown in fig. 4d, the terminal receives a click operation of the user on the branch increase control on the "hesitation to lift hands" added with the video card, the branch increase control is a number-added circular button arranged on the right side of the "hesitation to lift hands" added with the video card, the terminal receives an increase click instruction of the user on the branch increase control on the "hesitation to lift hands" added with the video card, the video clip information in the "approach to" branch video card "corresponding to the branch video card is created according to the increase click instruction and can be selected by the user, a connecting line is generated on the" hesitation to lift hands "added with the video card to connect the" approach "to branch video card, and a relation that the play sequence of the" hesitation to lift hands "added with the video card is higher than the" approach "of branch video card is established.
In step 206, the terminal determines a target video card including a plurality of branch relationships, generates an information editing page based on an operation instruction of the target video card, acquires branch problem information added by a user through a branch problem control, acquires branch option information added by the user through a branch option control, acquires time information input by the user through a countdown control, and determines the branch problem information, the branch option information, and the time information as branch information.
Referring to fig. 4d and 4e together, the terminal determines "hesitation to lift hands" of a target card including a plurality of branch relationships according to the number of branch lines, when a user clicks the "hesitation to lift hands" of the target video card, a corresponding information editing page is generated, the information editing page can display a branch problem control, a branch option control and a countdown control, the user can input the "action or not" of the branch problem information through the branch problem control, the "previous action is considered" and the "immediate action" of the branch option information are considered from the previous "idea" of the corresponding video card, the "immediate action" of the branch option information corresponds to the "approach" of the video card, and the time information is input for 5 seconds through the countdown control. The branch question information 'action or not', the branch option information input 'consider before', the branch option information 'action at once' and the time information 5 seconds are determined as branch information, so that the branch question information 'action or not' can appear 5 seconds before the video card 'hesitation to raise hands' playing is finished, the branch option information input 'consider before' and the branch option information 'action at once' can appear simultaneously, the user jumps to the video card 'memorial' playing when the user selects 'consider before', and jumps to the video card 'close' playing when the user selects 'action at once'.
In step 207, the terminal opens the video card selected by the user, and sets the video card selected by the user as an ending video card through the ending setting control.
As shown in fig. 4f, when the user clicks the video card "key leave", the terminal starts the video card "key leave" selected by the user, and sets the video card "key leave" selected by the user as an ending video card by starting the ending setting control, so as to ensure the completeness of the overall story line.
In step 208, when the terminal detects that the playing logic between the video cards added with the branch information meets the preset condition, the target video information is retained, the target video card layout information corresponding to the target video information is acquired, and the target video card layout information is sent to the server, so that the server stores the target video card layout information according to the target page identifier, and synchronizes the target video card layout information to other terminals.
When a storage instruction input by a user is received, namely the user needs to store the edited story line, the terminal can automatically detect whether the playing logic between the video cards added with the branch information is a non-endless story line and whether the playing logic between the video cards added with the branch information is a story line with an ending breakpoint, when the playing logic between the video cards added with the branch information is detected to be a non-endless story line and a story line with an ending breakpoint, the playing logic (namely target video card layout information) between the video cards is reserved, target video information is generated, and the target video card layout information is sent to the server, so that the server stores the target video card layout information according to the target page identifier, and synchronizes the target video card layout information to other terminals logged in the client through the page identifier.
Therefore, the embodiment of the invention generates the movable video card by acquiring the video clip information and based on the video clip information; receiving association operation among the video cards, and establishing a play sequence relation among the video cards according to the association operation; adding branch information to a target video card comprising a plurality of branch relations; and when the fact that the playing logic between the video cards added with the branch information meets the preset conditions is detected, storing the target video information. Therefore, a user can quickly generate movable video cards, the playing sequence relation among different video cards is freely set, branch information is quickly added to a target video card comprising a branch relation, the playing logic problem among the video cards is automatically checked, and compared with the scheme that the relation among the video modules is fixed and only one video module can be branched to a plurality of video modules, the flexibility and diversity of video processing are greatly improved.
Furthermore, the video cards selected by the user can be set as the ending video cards through the ending setting control, the target video information without logic problems is backed up on the server and is synchronized, multi-terminal synchronous editing is achieved, and video processing efficiency is further improved.
Referring to fig. 5, fig. 5 is a timing diagram illustrating a video processing method according to an embodiment of the invention. The method flow can comprise the following steps:
in step S1, the terminal sends a connection request to the server.
The user enters the editing page for the first time, or the network connection is disconnected due to network reasons, and when the user connects the editing page again, a connection request is generated and sent to the server, wherein the connection request carries the page identifier.
In step S2, the server establishes a connection according to the connection request.
After receiving the connection request, the server stores the connection in a corresponding connection pool (pages) of the video through the page identifier, and the purpose of doing so is that when any one connection submits data, other connection update pages can be notified through the connection pool.
Further, after the terminal and the server are successfully connected, the server transmits latest video card layout information (remote data) to the terminal, wherein the latest video card layout information carries a latest version number (remote head). The terminal duplicates the remote data into two copies and stores the two copies in a local memory, one copy is defined as buffer data (buffer data) used for indicating that all changes of a user are modified based on the version, and the other copy is defined as commit data (commit data) used for providing data edited by the user, namely, the operation of the user on an editor can be fed back to the commit data.
In step S3, the terminal sends the target video card layout information to the server.
In an embodiment, before the terminal sends the layout information of the target video card to the server, the method further includes pulling (pull) the latest data once to update the local commit data, the terminal sends an update instruction to the server, the update instruction carries a buffer version number (buffer head), when the server compares the buffer head with the latest version, the terminal is notified that the data is the latest, the data does not need to be pulled, and when the server compares the buffer head with the latest version, the latest data update data is returned.
When the latest version (latest head) is equal to the local version (buffer head), the author makes changes based on the latest data, and the changed data can directly cover the original submitted data. When the remote head is greater than the buffer head, which indicates that the creator does not change based on the latest data, the following processing is performed on the three data sets:
(1) The data in the submit area is equal to the data in the buffer area, but the latest data is not equal to the data in the buffer area, which indicates that other users change the field, and the value of the field is the latest data.
(2) The latest data is equal to the data in the buffer area, but the data in the commit area is not equal to the number of the buffer area, which indicates that the user changes the field, and the value of the field is the data in the commit area.
(3) The data in the submission area, the data in the buffer area and the latest data are not equal, which indicates that other users and the user change the field, triggers conflict logic, and defaults to fetch the data in the submission area, so that the users should define their respective fields and no conflict is caused.
The terminal acquires the data of the submission area, updates the data to the editing page, clones a copy of data to the buffer area, and sends the layout information of the target video card to the server.
In step S4, the server stores the layout information of the target video card according to the target page identifier.
And the server writes the layout information of the target video card into a corresponding memory bank of the connection pool according to the target page identifier.
In step S5, the server synchronizes the layout information of the target video card to the other terminals.
The server pushes the layout information of the target video card to other connection pools, so that other terminals can perform data synchronization in the way, and the layout information of the target video card is updated to the editing pages of other terminals.
In order to better implement the video processing method provided by the embodiment of the present invention, an embodiment of the present invention further provides a device based on the video processing method. The terms are the same as those in the video processing method, and details of implementation can be referred to the description in the method embodiment.
Referring to fig. 6a, fig. 6a is a schematic structural diagram of a video processing apparatus according to an embodiment of the present invention, where the video processing apparatus may be integrated in a terminal or a server, and may include a generating unit 301, a creating unit 302, an adding unit 303, a storing unit 304, and the like.
The generating unit 301 is configured to obtain video clip information and generate a movable video card based on the video clip information.
In the embodiment of the invention, the terminal can be provided with the client, and the client can be a client for playing videos and making personalized videos. The client can upload a plurality of pieces of video clip information, and the client can arrange and display the pieces of video clip information uploaded by the user in a fixed display area in a card form.
The client can further comprise a preset canvas area, after the video clip information uploaded by a user is arranged and displayed in the fixed display area in the form of cards through the client, the user can manually move the cards in the display area to the preset canvas area, when the generation unit 301 detects that the cards move to the preset canvas area, a movable video card can be generated according to the video clip information, the video card can be a rectangular graphic display assembly, the display image of the rectangular graphic display assembly can be a preset display image of the video clip information, and the video card can be freely dragged on the preset canvas area according to the needs of the user, so that the video card can be set more conveniently.
In some embodiments, the generating unit 301 is specifically configured to: receiving video clip information uploaded by a user, and arranging and displaying the video clip information; receiving the video clip information through a preset canvas area to generate a corresponding preset card; and acquiring a preset display image in the video clip information, and combining the preset display image on the preset card to obtain the movable video card.
The establishing unit 302 is configured to receive the association operations between the video cards, and establish a playing sequence relationship between the video cards according to the association operations.
The user may set up a certain number of video cards on the client as needed, receive the association operation of the user on the video cards through the setting unit 302, where the association operation may pull a scenario connection line for the user, connect any two video cards through the scenario connection line, and after connecting any two video cards through the scenario connection line, set up the play order relationship between the two video cards according to the connection start point and end point, for example, pull the scenario connection line on the video card a, and connect the scenario connection line on the video card B, so that the video card B is a branch of the video card a, and the play order of the video card B is after the video card a.
In some embodiments, the video card includes a connection control, as shown in fig. 6b, the establishing unit 302 includes:
the receiving subunit 3021 is configured to receive a link click instruction of a user on the link control on the first video card.
The establishing subunit 3022 is configured to generate a connection line on the first video card according to the connection line click instruction, determine a second video card correspondingly connected to the connection line, and establish a play order relationship between the first video card and the second video card.
In some embodiments, the establishing subunit 3022 is specifically configured to: determining a connecting line starting point on the first video card according to the connecting line clicking instruction, and generating a corresponding connecting line; acquiring a second video card correspondingly connected with the connecting line, and determining a connecting line terminal on the second video card; and connecting the connecting line based on the connecting line starting point and the connecting line end point, and establishing a play sequence relation between the first video card and the second video card according to the relation of the connecting line starting point.
An adding unit 303, configured to add branch information to a target video card that includes a plurality of branch relationships.
The adding unit 303 determines a video card including a plurality of branch relationships as a target video card, and adds corresponding branch information to each target video card, where the branch information may be default for a system or set by a user, the branch information may include branch problem information and branch option information, and each branch option information corresponds to one video card on a jump branch, so that when a previous video card is about to be played, the branch problem information and the corresponding branch option information are displayed, so that a watching user can select a corresponding jump to a corresponding video clip according to his/her preference, thereby implementing branch jump of a story line.
In some embodiments, as shown in fig. 6c, the adding unit 303 includes:
a determination subunit 3031, configured to determine a target video card including a plurality of branch relationships;
a generating subunit 3032, configured to generate an information editing page based on the operation instruction of the target video card;
an obtaining subunit 3033, configured to obtain branch information added by the user through the information editing page;
and the setting subunit 3034 is configured to open the video card selected by the user, and set the video card selected by the user as an ending video card through the ending setting control.
In some embodiments, the information editing page includes a branch question control and a branch option control, and the obtaining subunit 3033 is specifically configured to: acquiring branch problem information added by a user through the branch problem control; acquiring branch option information added by a user through the branch option control, wherein each branch option information corresponds to a different video card; the branch problem information and the branch option information are determined as branch information.
In some embodiments, the information editing page further includes a countdown control, and the obtaining subunit 3033 is specifically configured to: acquiring branch problem information added by a user through the branch problem control; acquiring branch option information added by a user through the branch option control, wherein each branch option information corresponds to a different video card; acquiring time information input by a user through the countdown control; the branch problem information, the branch option information, and the time information are determined as branch information.
The saving unit 304 is configured to save the target video information when the playing logic between the video cards to which the branch information is added meets a preset condition.
When the user needs to store the story lines, that is, the playing relationship between the video cards is stored, and the target video information is generated, the storage unit 304 is triggered to detect whether the playing logic between the video cards to which the branch information is added meets a preset condition, where the preset condition may be whether the story line is an acyclic story line or a complete story line, and the like, and when it is detected that the playing logic between the video cards to which the branch information is added meets the preset condition, it is indicated that the story line formed between the video cards is not a closed loop story line, and the complete story line with an ending, and the target video information is stored.
Further, the storage unit 304 may further send the target video card layout information corresponding to the stored target video information to the server, where the target video card layout information represents a logical relationship between the set video cards, and the target video card layout information carries a page identifier, so that the server stores the target video card layout information according to the target page identifier, and thus, when a user establishes a connection with the server according to the page identifier on another terminal, the target video card layout information may be obtained or the server may synchronize the target video card layout information to another terminal logged in through the page identifier, so as to implement information synchronization, thereby implementing simultaneous editing of multiple terminals, and improving video processing efficiency.
In some embodiments, the saving unit 304 is specifically configured to: when it is detected that the playing logic between the video cards added with the branch information meets a preset condition, retaining the target video information, and acquiring target video card layout information corresponding to the target video information, wherein the target video card layout information carries a target page identifier; and sending the layout information of the target video card to a server, so that the server stores the layout information of the target video card according to the target page identifier and synchronizes the layout information of the target video card to other terminals.
In some embodiments, the video card includes a branch adding control thereon, as shown in fig. 6d, and the video processing apparatus may further include an adding unit 305.
The adding unit 305 is specifically configured to: receiving an adding click instruction of a user to a branch adding control on an adding video card; creating a corresponding branch video card according to the adding click command, and generating a connecting line on the adding video card for connecting the branch video card; and establishing a play sequence relation between the adding video card and the branch video card.
The specific implementation of each unit can refer to the previous embodiment, and is not described herein again.
As can be seen from the above, in the embodiment of the present invention, the generating unit 301 obtains the video clip information, and generates the movable video card based on the video clip information; the establishing unit 302 receives the association operation between the video cards and establishes the playing sequence relationship between the video cards according to the association operation; the adding unit 303 adds branch information to a target video card including a plurality of branch relationships; when the storage unit 304 detects that the playing logic between the video cards added with the branch information meets the preset condition, the target video information is stored. Therefore, a user can quickly generate movable video cards, the playing sequence relation among different video cards is freely set, branch information is quickly added to a target video card comprising a branch relation, the playing logic problem among the video cards is automatically checked, and compared with the scheme that the relation among the video modules is fixed and only one video module can be branched to a plurality of video modules, the flexibility and diversity of video processing are greatly improved.
An embodiment of the present invention further provides an electronic device, and the embodiment takes the electronic device as an example to explain, as shown in fig. 7, the terminal may include a memory 401 including one or more computer-readable storage media, an input unit 402, a display unit 403, a sensor 404, a processor 405 including one or more processing cores, and other components. Those skilled in the art will appreciate that the terminal structure shown in fig. 7 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the memory 401 may be used to store software programs and modules, and the processor 405 executes various functional applications and information processing by operating the software programs and modules stored in the memory 401. The memory 401 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 401 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 401 may also include a memory controller to provide the processor 405 and the input unit 402 with access to the memory 401.
The input unit 402 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, input unit 402 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 405, and can receive and execute commands sent by the processor 405. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 402 may include other input devices in addition to a touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 403 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 403 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 405 to determine the type of touch event, and then the processor 405 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 7 the touch sensitive surface and the display panel are implemented as two separate components for input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel for input and output functions.
The terminal may also include at least one sensor 404, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
The processor 405 is a control center of the terminal, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 401 and calling data stored in the memory 401, thereby performing overall monitoring of the mobile phone. Optionally, processor 405 may include one or more processing cores; preferably, the processor 405 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 405.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 405 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 401 according to the following instructions, and the processor 405 runs the application program stored in the memory 401, thereby implementing various functions:
acquiring video clip information, and generating a movable video card based on the video clip information; receiving the association operation between the video cards, and establishing the play sequence relation between the video cards according to the association operation; adding branch information to a target video card comprising a plurality of branch relations; and when the playing logic between the video cards added with the branch information meets the preset condition, storing the target video information.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the video processing method, and are not described herein again.
As can be seen from the above, the terminal according to the embodiment of the present invention may generate the movable video card by acquiring the video clip information and based on the video clip information; receiving association operation among the video cards, and establishing a play sequence relation among the video cards according to the association operation; adding branch information to a target video card comprising a plurality of branch relations; and when the playing logic between the video cards added with the branch information meets the preset condition, storing the target video information. Therefore, a user can quickly generate movable video cards, the playing sequence relation among different video cards is freely set, branch information is quickly added to a target video card comprising a branch relation, the playing logic problem among the video cards is automatically checked, and compared with the scheme that the relation among the video modules is fixed and only one video module can be branched to a plurality of video modules, the flexibility and diversity of video processing are greatly improved.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the embodiment of the present invention provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the video processing methods provided by the embodiment of the present invention. For example, the instructions may perform the steps of:
acquiring video clip information, and generating a movable video card based on the video clip information; receiving the association operation among the video cards, and establishing the play sequence relation among the video cards according to the association operation; adding branch information to a target video card comprising a plurality of branch relations; and when the playing logic between the video cards added with the branch information meets the preset condition, storing the target video information.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the computer-readable storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the computer-readable storage medium can execute the steps in any video processing method provided in the embodiment of the present invention, beneficial effects that can be achieved by any video processing method provided in the embodiment of the present invention can be achieved, for which details are shown in the foregoing embodiment and are not described herein again.
The video processing method, the video processing apparatus, the electronic device, and the computer-readable storage medium according to the embodiments of the present invention are described in detail above, and a specific example is applied in the description to explain the principles and embodiments of the present invention, and the description of the embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. A video processing method, comprising:
sending a connection request to a server, wherein the connection request comprises a page identifier;
receiving first video card layout information returned by the server based on the page identification, and displaying the first video card layout information in a preset layout area, wherein the first video card layout information comprises a first version number;
receiving video clip information uploaded by a user, and arranging and displaying the video clip information;
receiving the video clip information through the preset canvas area to generate a corresponding preset card;
acquiring a preset display image in the video clip information, and combining the preset display image on a preset card to obtain a video card which can be freely dragged in the preset canvas area;
receiving a connecting line clicking instruction of a user on a connecting line control on a first video card in the preset canvas area;
determining a connecting line starting point on the first video card according to the connecting line clicking instruction, and generating a corresponding connecting line;
acquiring a second video card correspondingly connected with the connecting line, and determining a connecting line terminal point on the second video card;
connecting the connecting line based on the connecting line starting point and the connecting line end point, and establishing a play sequence relation between the first video card and the second video card according to the relation of the connecting line starting point;
determining a target video card comprising a plurality of branch relations;
generating an information editing page based on the operation instruction of the target video card, wherein the information editing page comprises a branch problem control and a branch option control;
acquiring branch problem information added by a user through the branch problem control;
acquiring branch option information added by a user through the branch option control, wherein each branch option information corresponds to a different video card;
determining the branch problem information and the branch option information as branch information;
when the playing logic between the video cards added with the branch information meets a preset condition, storing target video information, obtaining second video card layout information, generating a second version number corresponding to the second video card layout information, and locally storing the second video card layout information and the second version number;
and sending the second video card layout information and the second version number to the server, so that other terminals can realize simultaneous multi-party online editing of the target video information by accessing the server.
2. The video processing method of claim 1, wherein a branch addition control is included on the video card, the method further comprising:
receiving an adding click instruction of a user to a branch adding control on an adding video card;
creating a corresponding branch video card according to the adding click command, and generating a connecting line on the adding video card for connecting the branch video card;
and establishing a play sequence relation between the added video card and the branch video card.
3. The video processing method of claim 1, wherein the information editing page further comprises a countdown control, and wherein the determining the branch issue information and the branch option information as branch information is preceded by:
acquiring time information input by a user through the countdown control;
the step of determining the branch question information and the branch option information as branch information includes:
and determining the branch problem information, the branch option information and the time information as branch information.
4. The video processing method of claim 1, wherein the method further comprises:
and opening the video card selected by the user, and setting the video card selected by the user as the ending video card through the ending setting control.
5. The video processing method according to claim 1, wherein the step of saving the target video information comprises:
reserving target video information, and acquiring target video card layout information corresponding to the target video information, wherein the target video card layout information carries a target page identifier;
and sending the layout information of the target video card to a server, so that the server stores the layout information of the target video card according to the target page identifier and synchronizes the layout information of the target video card to other terminals.
6. A video processing apparatus, comprising:
the generating unit is used for sending a connection request to a server, wherein the connection request comprises a page identifier, receiving first video card layout information returned by the server based on the page identifier, displaying the first video card layout information in a preset canvas area, the first video card layout information comprises a first version number, receiving video clip information uploaded by a user, arranging and displaying the video clip information, receiving the video clip information through the preset canvas area, generating a corresponding preset card, acquiring a preset display image in the video clip information, and combining the preset display image on the preset card to obtain a video card which can be freely dragged in the preset canvas area;
the establishing unit is used for receiving a connecting line clicking instruction of a user on a connecting line control on a first video card in the preset layout area, determining a connecting line starting point on the first video card according to the connecting line clicking instruction, generating a corresponding connecting line, acquiring a second video card correspondingly connected with the connecting line, determining a connecting line terminal point on the second video card, connecting the connecting line based on the connecting line starting point and the connecting line terminal point, and establishing a playing sequence relation between the first video card and the second video card according to the relation of the connecting line starting point;
the adding unit is used for determining a target video card comprising a plurality of branch relations, generating an information editing page based on an operation instruction of the target video card, wherein the information editing page comprises a branch problem control and a branch option control, acquiring branch problem information added by a user through the branch problem control, acquiring branch option information added by the user through the branch option control, and determining the branch problem information and the branch option information as branch information, wherein each branch option information corresponds to a different video card;
the storage unit is used for storing the target video information when the playing logic between the video cards added with the branch information meets a preset condition, obtaining second video card layout information, generating a second version number corresponding to the second video card layout information, and locally storing the second video card layout information and the second version number;
and the sending unit is used for sending the second video card layout information and the second version number to the server so that other terminals can realize multi-party simultaneous online editing of the target video information by accessing the server.
7. An electronic device comprising a processor and a memory, said memory storing a plurality of instructions, wherein said processor loads said instructions to perform the steps of the video processing method according to any of claims 1 to 5.
8. A computer readable storage medium storing instructions adapted to be loaded by a processor to perform the steps of the video processing method according to any of claims 1 to 5.
CN201910927764.8A 2019-09-27 2019-09-27 Video processing method and device, electronic equipment and computer readable storage medium Active CN111193960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910927764.8A CN111193960B (en) 2019-09-27 2019-09-27 Video processing method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910927764.8A CN111193960B (en) 2019-09-27 2019-09-27 Video processing method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111193960A CN111193960A (en) 2020-05-22
CN111193960B true CN111193960B (en) 2022-12-27

Family

ID=70707184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910927764.8A Active CN111193960B (en) 2019-09-27 2019-09-27 Video processing method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111193960B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897979B (en) * 2020-07-06 2023-05-30 广州优谷信息技术有限公司 Information card instant display control method, device, equipment and storage medium
CN112153439A (en) * 2020-09-27 2020-12-29 北京字跳网络技术有限公司 Interactive video processing method, device and equipment and readable storage medium
CN112261481B (en) * 2020-10-16 2022-03-08 腾讯科技(深圳)有限公司 Interactive video creating method, device and equipment and readable storage medium
CN112261482B (en) * 2020-10-16 2022-07-22 腾讯科技(深圳)有限公司 Interactive video playing method, device and equipment and readable storage medium
CN114092370A (en) * 2021-11-19 2022-02-25 北京字节跳动网络技术有限公司 Image display method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473388A (en) * 2013-07-25 2013-12-25 深圳市华傲数据技术有限公司 System and device capable of realizing automatic layout of flow chart
CN107566892A (en) * 2017-09-18 2018-01-09 北京小米移动软件有限公司 Video file processing method, device and computer-readable recording medium
CN108124187A (en) * 2017-11-24 2018-06-05 互影科技(北京)有限公司 The generation method and device of interactive video

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140031118A1 (en) * 2012-07-30 2014-01-30 Michael A. Liberty Interactive virtual farming video game

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473388A (en) * 2013-07-25 2013-12-25 深圳市华傲数据技术有限公司 System and device capable of realizing automatic layout of flow chart
CN107566892A (en) * 2017-09-18 2018-01-09 北京小米移动软件有限公司 Video file processing method, device and computer-readable recording medium
CN108124187A (en) * 2017-11-24 2018-06-05 互影科技(北京)有限公司 The generation method and device of interactive video

Also Published As

Publication number Publication date
CN111193960A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN111193960B (en) Video processing method and device, electronic equipment and computer readable storage medium
US11450350B2 (en) Video recording method and apparatus, video playing method and apparatus, device, and storage medium
US11190856B2 (en) Synchronizing content and metadata
CN106502638B (en) For providing the equipment, method and graphic user interface of audiovisual feedback
CN111294663B (en) Bullet screen processing method and device, electronic equipment and computer readable storage medium
WO2020034747A1 (en) Image generation method, device and apparatus, and storage medium
CN112230909B (en) Method, device, equipment and storage medium for binding data of applet
KR20140088820A (en) Display apparatus and control method thereof
CN111966275B (en) Program trial method, system, device, equipment and medium
CN111901658B (en) Comment information display method and device, terminal and storage medium
KR102470925B1 (en) Video processing method and apparatus, device and storage medium
CN112261481B (en) Interactive video creating method, device and equipment and readable storage medium
JP6615997B2 (en) Synchronization of server-side keyboard layout and client-side keyboard layout in virtual sessions
EP4124052A1 (en) Video production method and apparatus, and device and storage medium
CN114845152B (en) Display method and device of play control, electronic equipment and storage medium
CN110109730A (en) For providing the equipment, method and graphic user interface of audiovisual feedback
JP2023519389A (en) Scratchpad creation method and electronic device
US20160124603A1 (en) Electronic Device Including Tactile Sensor, Operating Method Thereof, and System
US20150293888A1 (en) Expandable Application Representation, Milestones, and Storylines
CN112449227B (en) Interaction method and device for touch screen application compatible with remote controller operation and smart television
CN112073826B (en) Method for displaying state of recorded video works, server and terminal equipment
CN114100121A (en) Operation control method, device, equipment, storage medium and computer program product
CN112783386A (en) Page jump method, device, storage medium and computer equipment
CN114138250A (en) Method, device and equipment for generating steps of system case and storage medium
CN115022721B (en) Content display method and device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant