WO2024041514A1 - Video playing method and apparatus, and electronic device - Google Patents

Video playing method and apparatus, and electronic device Download PDF

Info

Publication number
WO2024041514A1
WO2024041514A1 PCT/CN2023/114196 CN2023114196W WO2024041514A1 WO 2024041514 A1 WO2024041514 A1 WO 2024041514A1 CN 2023114196 W CN2023114196 W CN 2023114196W WO 2024041514 A1 WO2024041514 A1 WO 2024041514A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
target
input
special effects
special effect
Prior art date
Application number
PCT/CN2023/114196
Other languages
French (fr)
Chinese (zh)
Inventor
林君
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2024041514A1 publication Critical patent/WO2024041514A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • 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/482End-user interface for program selection

Definitions

  • This application belongs to the field of camera technology, and specifically relates to video playback methods, devices and electronic equipment.
  • the electronic device can play the video with a fixed playback effect. This may cause the video playback effect of the electronic device to be relatively single.
  • the purpose of the embodiments of the present application is to provide a video playback method, device and electronic equipment that can enrich the special effects of videos, thereby improving the diversity of video playback effects.
  • embodiments of the present application provide a video playback method.
  • the method includes: receiving a first input from a user to a target object in the playback interface of the target video, and at least one shooting object in the target video is associated with at least one special effects video.
  • the target video includes the original video or the synthesized video
  • the synthesized video is the original video and the special effects video associated with at least one shooting object in the original video
  • the target object is at least one shooting object selected by the user in at least one shooting object
  • different The special effect videos have different special effect parameters; in response to the first input, at least one target special effect video associated with the target object is played.
  • embodiments of the present application provide a video playback method.
  • the method includes: displaying a video recording interface of the original video, the video recording interface including a video recording window of at least one special effects video associated with at least one shooting object, and at least one special effect video.
  • the video recording window of the video is a video recording window associated with at least one shooting object in the video recording interface.
  • Different video recording windows have different special effect parameters; during the process of recording the original video, the preview image in each video recording window is updated synchronously.
  • the target file is output; wherein the target file includes the original video and at least one special effects video, or the target file includes a composite video obtained by combining the original video and at least one special effects video. , or the target file includes the original video, at least one special effect video, and the composite video.
  • inventions of the present application provide a video playback device.
  • the device includes: a receiving module and a playback module; a receiving module configured to receive the user's first input to the target object in the playback interface of the target video.
  • the target At least one subject in the video is associated with at least one special effects video.
  • the target video includes an original video or a synthesized video.
  • the synthesized video is a synthesis of the original video and the special effects video associated with at least one subject in the original video.
  • the target object is the user in at least For at least one selected shooting object in a shooting object, different special effects videos have different special effect parameters; the playback module is configured to play at least one target special effects video associated with the target object in response to the first input received by the receiving module.
  • inventions of the present application provide a video shooting device.
  • the device includes: a display module, an update module, and a processing module; a display module for displaying a video recording interface of the original video, and the video recording interface includes at least one shooting module.
  • the video recording window of at least one special effects video is the video recording window associated with at least one shooting object in the video recording interface.
  • the special effects parameters of different video recording windows are different; the update module uses During the process of recording the original video, the preview image in each video recording window is synchronously updated; the processing module is used to output the target file after the original video and at least one special effects video are recorded; wherein the target file includes the original video and at least one special effect video, or the target file includes a composite video obtained by combining the original video and at least one special effect video, or the target file includes the original video, at least one special effect video and the composite video.
  • inventions of the present application provide an electronic device.
  • the electronic device includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor.
  • the program or instructions are executed by the processor.
  • embodiments of the present application provide a readable storage medium on which programs or instructions are stored. When the programs or instructions are executed by a processor, the method of the first aspect or the second aspect is implemented. A step of.
  • embodiments of the present application provide a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface Coupled with a processor, the processor is used to run programs or instructions to implement the method of the first aspect or the second aspect.
  • embodiments of the present application provide a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method described in the first or second aspect.
  • the user's first input to the target object in the playback interface of the target video can be received.
  • At least one shooting object in the target video is associated with at least one special effects video.
  • the target video includes an original video or a synthesized video.
  • the synthesized video Synthesized from the original video and the special effects video associated with at least one shooting object in the original video, the target object is at least one shooting object selected by the user in at least one shooting object, and the special effect parameters of different special effects videos are different; in response to the first Input, play at least one target special effects video associated with the target object.
  • At least one shooting object in the target video is associated with at least one special effects video
  • at least one target special effects video associated with the target object can be played according to the user's input to the target object in the playback interface of the target video, instead of in a fixed manner.
  • the playback effect plays the target video, so it can enrich the special effects of the video, thus improving the diversity of video playback effects.
  • Figure 1 is a schematic diagram of a video playback method provided by some embodiments of the present application.
  • Figure 2 is a schematic interface diagram of the video playback method application provided by some embodiments of the present application.
  • Figure 3 is a schematic interface diagram of the video playback method application provided by some embodiments of the present application.
  • Figure 4 is a schematic interface diagram of the video playback method application provided by some embodiments of the present application.
  • Figure 5 is a schematic interface diagram of the video playback method application provided by some embodiments of the present application.
  • Figure 6 is a schematic interface diagram of the video playback method application provided by some embodiments of the present application.
  • Figure 7 is a schematic interface diagram of the video playback method application provided by some embodiments of the present application.
  • Figure 8 is a schematic diagram of a video shooting method provided by some embodiments of the present application.
  • Figure 9 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application.
  • Figure 10 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application.
  • Figure 11 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application.
  • Figure 12 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application.
  • Figure 13 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application.
  • Figure 14 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application.
  • Figure 15 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application.
  • Figure 16 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application.
  • Figure 17 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application.
  • Figure 18 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application.
  • Figure 19 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application.
  • Figure 20 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application.
  • Figure 21 is a schematic diagram of a video playback device provided by some embodiments of the present application.
  • Figure 22 is a schematic diagram of a video shooting device provided by some embodiments of the present application.
  • Figure 23 is a schematic diagram of an electronic device provided by some embodiments of the present application.
  • Figure 24 is a hardware schematic diagram of an electronic device provided by some embodiments of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first,” “second,” etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • logos in the embodiments of the present application are used to indicate text, symbols, images, etc. of information.
  • Controls or other containers can be used as carriers to display information, including but not limited to text logos, symbol logos, and image logos.
  • the video playback method provided by the embodiment of the present application can be applied to the scene of playing videos.
  • the electronic device may receive user input on the target object in the target video, because the target video includes at least one shooting object associated with at least one special effects video. Therefore, the electronic device can play at least one target special effects video associated with the target object according to the user's input to the target object, instead of playing the target video with a fixed playback effect. Therefore, the special effects of the video can be enriched and the variety of played videos can be improved. sex.
  • Embodiments of the present application provide a video playback method.
  • Figure 1 shows a schematic flowchart of a video playback method provided by some embodiments of the present application.
  • the video playback method provided by some embodiments of the present application may include the following steps 101 and 102.
  • the following is an exemplary description taking the first electronic device as an example of executing the method.
  • Step 101 The first electronic device receives the user's first input to the target object in the playback interface of the target video.
  • each user input may be input by the user through a finger or a touch device such as a stylus.
  • the target video may include at least one special effects video associated with at least one shooting object
  • the target video may include an original video or a synthesized video
  • the synthetic video may be synthesized from the original video and the special effects video associated with at least one shooting object in the original video
  • the target object may be any one of at least one photographic object, and the special effect parameters of different special effects videos may be different.
  • a photographed object may be associated with at least one special effects video.
  • the original video is a video that has only undergone basic 3A effects, resolution, frame rate, picture size cropping and other processes without superimposing additional special effects.
  • the special effects video is a video that is rendered by using special effect parameters to render the original video.
  • special effect parameters include but are not limited to filter parameters, special effect parameters, background music parameters, video style parameters, etc., which can be determined according to actual usage requirements and are not limited in the embodiments of the present application.
  • the target video may be a video shot by a first electronic device, or a video sent by another electronic device.
  • the target video may be a video received by a second electronic device in the following embodiments. sent video.
  • the first electronic device may receive the user's first input to the target object in the target video without playing the target video; When the target video is played, the user's first input of the target object in the target video is received.
  • the details can be determined according to actual usage requirements, and are not limited in the embodiments of this application.
  • the first input includes but is not limited to touch input, hover input, preset gesture input, or voice input.
  • the details can be determined according to actual usage requirements, and are not limited in the embodiments of the present application.
  • the first input is the user's click input on the target object.
  • the above step 101 can be specifically implemented through the following step 101a or 101b.
  • Step 101a The first electronic device receives the user's input on the area where the target object is located.
  • Step 101b When the playback interface includes an object identifier associated with the target, the first electronic device receives the user's input of the object identifier of the target object.
  • an object identifier may indicate a photographed object.
  • the object identification can be displayed in a preset area corresponding to the photographed object, or can be displayed in any area of the playback interface.
  • the details can be determined according to actual usage requirements, which are not limited by the embodiments of the present application. .
  • the target video 20 includes five shooting objects, namely: books, desk lamps, tables, chairs and drawers, where the book is associated with Contains oil painting filters, elongated special effects, "Silence of the Night Sky” music and realistic style special effects videos, the video duration is 30s;
  • the table lamp is associated with ink black filters, luminous special effects, "Momentary Eternity” music and cartoon style
  • the special effects video is 30 seconds long;
  • the table is associated with a 30-second special effects video that includes smoke and rain filters, stretch effects, "Missing of Autumn” music, and classical style;
  • the chairs are associated with rain filters, stretch effects, and Special effects videos with long special effects, "Journey of Life” music and fresh style, the video duration is 30s;
  • the drawer is associated with special effects videos including advanced gray filters, glowing special effects, "Big Fish” music and classical style, the video duration is 30s .
  • the flexibility of user operations can be improved.
  • Step 102 The first electronic device responds to the first input and plays at least one target special effect video associated with the target object.
  • the first electronic device may play a specific video according to the first input, or may play multiple associated videos in a preset order.
  • the target object association can be played according to the user's input to the target object in the playback interface of the target video.
  • At least one target special effects video instead of playing the target video with a fixed playback effect, can enrich the special effects of the video, thus improving The video playback effects are diverse.
  • the target object can be associated with at least two special effect videos; the above step 102 can be specifically implemented through the following step 102a or step 102b.
  • Step 102a When each special effect video is associated with a preset input feature, and the input feature of the first input matches the first preset input feature, the first electronic device plays the special effect video associated with the first preset input feature.
  • the preset input characteristics may include at least one of the following: input starting position, input direction, and input trajectory.
  • the input starting position may be the position of the target object in the target video; or the position of the target object identification.
  • the first input may be a sliding input by the user making a check gesture on the screen; or, the first input may be a sliding input by the user making a circle gesture on the screen.
  • matching the input feature of the first input with the first preset input feature can be understood as: the matching degree between the preset feature of the first preset input and the input feature of the first input satisfies the preset Threshold, for example 90%.
  • the first electronic device when the input characteristics of the first input match the first preset input characteristics, the first electronic device can display the prompt information " ⁇ The target object gesture exists" in the playback interface, and start Play the special effects video associated with the first preset input feature; when the input feature of the first input does not match the first preset input feature, the first electronic device can display " ⁇ The target object gesture does not exist" in the playback interface prompt message and continue playing the target video.
  • the first electronic device can display the prompt message " ⁇ The target object's gesture exists" in the playback interface 20 and start playing. Special effects video associated with the first preset input feature; as shown in Figure 5, when the input trajectory 24 of the user's first input is in the "Z" shape, that is, the input parameter of the first input is consistent with the first input parameter in the target object book 21.
  • the first electronic device can display the prompt information " ⁇ The target object gesture does not exist” in the playback interface 20 and continue to play the target video.
  • Step 102b When the input feature of the first input is the second preset input feature, the first electronic device plays at least two special effect videos associated with the target object in accordance with the playback order associated with the second preset input feature.
  • the first electronic device can play all the videos associated with the target object, or only play part of the videos associated with the target object.
  • the details can be determined according to actual usage requirements, which are not limited in the embodiments of the present application. .
  • the target object is associated with 5 videos, namely video 1, video 2, video 3, video 4 and video 5.
  • video 1 contains oil painting filters, elongated special effects, "silence of the night sky” music and realistic style.
  • Special effects video Video 2 is a special effects video including ink black filter, glowing special effects, "Momentary Eternity" music and cartoon style
  • Video 3 is a special effects video including smoke and rain gray filter, elongated special effects, "Autumn Yearning" music and classical style Special effects video
  • Video 4 is a special effects video including rain filter, elongated special effects, "Journey of Life” music and fresh style
  • Video 5 is a special effects video including advanced gray filter, glowing special effects, "Big Fish” music and classical style
  • the first electronic device can only play 3 of the 5 videos associated with the target object.
  • the first preset input feature association can be played special effects videos; when the input feature of the first input is the second preset input feature, at least two special effect videos associated with the target object can be played according to the playback order associated with the second preset input feature. That is, different inputs can be used to flexibly control the playback of videos associated with different effects in the target object, thereby improving the convenience and flexibility of operation.
  • the above step 101 can be specifically implemented through the following step 101c, and the above step 102 can be specifically implemented through the following step 102c.
  • Step 101c The first electronic device receives the user's input of the target object in the first video frame displayed in the playback interface of the target video.
  • the first video frame may be any video frame in the target video.
  • Step 102c The first electronic device starts playing the target special effects video from the second video frame of a target special effects video associated with the target object.
  • the second video frame may be a video frame corresponding to the first video frame in the target special effect video, or the second video frame may be a starting video frame of the target special effect video.
  • the target video includes 100 video frames
  • the first electronic device when the first electronic device is displaying the 50th video frame in the target video, and the 50th video frame contains a table without sunlight, that is, the first video frame, the first video frame contains picture content that has not been rendered by special effect parameters
  • the first electronic device can receive the user's first input to the target object in the first video frame, and the first electronic device responds to the first input
  • the 50th video frame The picture content of the second video frame
  • the picture content of the second video frame is the same as that of the first video frame, and the picture of the second video frame is a picture rendered by special effects parameters; or, from the first video frame in the target special effects video, and the first video frame contains A table with sunlight on the desk lamp starts playing the target special effects video.
  • the target special effects video can be played from the video frame corresponding to the first video frame in the target video, or the target special effects video can be played from the starting frame of the target special effects video. video, thereby improving the diversity and flexibility of playing targeted special effects videos.
  • the first electronic device can play the target video and the target according to the last time.
  • the video playback method provided by the embodiment of the present application may also include the following steps 103 to 105.
  • Step 103 The first electronic device stores the frame number of the second video frame as historical playback information.
  • the first electronic device can record historical playback information in the form of a string.
  • the recording format of the string is [Video ID: Playback end frame number;...Video ID: Playback end. Frame Serial Number], and writes the historical playback information to the preset file corresponding to the high-speed buffer area of the mobile phone.
  • the historical playback information is: [Target video: 35; Target special effects video: 55], after the string recording is completed, it is written to the preset file corresponding to the high-speed buffer area of the mobile phone.
  • Step 104 The first electronic device receives the second input from the user.
  • the second input includes but is not limited to touch input, hover input, preset gesture input, or voice input.
  • the details can be determined according to actual usage requirements, and are not limited in the embodiments of the present application.
  • the second input may be the user's click input on the playback control in the playback interface.
  • Step 105 The first electronic device responds to the second input, plays the target video according to the pre-stored historical playback information, and during the process of playing the target video, jumps to the target object when the first video frame is played.
  • the second video frame of an associated target special effects video continues to play.
  • the first electronic device can find the corresponding file from the cache area, read the corresponding string, and parse it according to the recording method of the string to obtain the above historical playback information.
  • the historical playback information obtained by the first electronic device is: [target video: 35; target special effects video: 55], then the first electronic device first plays frames 1 to 35 of the target video, and then plays 35 frames of the target special effects video. to 55 frames.
  • the user when the user does not want the first electronic device to play the target video according to the pre-stored historical playback information, the user can click the target control in the playback interface to trigger the first electronic device to clear the first video.
  • Historical playback information saved by an electronic device; and then the target video is played according to the user's own needs.
  • the first electronic device can display a "clear" control in the playback interface 20, and the user can click the "clear” control to trigger the first electronic device to clear the historical playback information saved by the first electronic device. .
  • the frame number of the second video frame can be stored as historical playback information, and a target special effects video associated with the target video and the target object can be played according to the historical playback information, thereby improving the playback target.
  • a target special effects video associated with the video and the target object can be played according to the historical playback information, thereby improving the playback target. Diversity of a target special effects video associated with the video and the target object.
  • a thumbnail of the video may be displayed on the playback interface.
  • the playback interface includes a thumbnail of a special effect video of at least one special effect video
  • the special effect video thumbnails of the at least one special effect video can be displayed in the order of the at least one special effect video in the same file.
  • the special effect video thumbnail of the at least one special effect video can be displayed in the order in which the at least one special effect video is received; or the at least one special effect video can be displayed in the order in which the special effect parameters corresponding to the at least one special effect video are set.
  • the above step 101 can be specifically implemented through the following step 101d
  • the above step 102 can be specifically implemented through the following step 102d.
  • Step 101d The first electronic device receives the user's first input on the target special effect video thumbnail in at least one special effect video thumbnail.
  • a special effects video thumbnail can be a thumbnail of any video frame of a special effects video.
  • special effect video thumbnails may be displayed in a preset area in the playback interface; for example, special effect video thumbnails may be displayed below the playback interface.
  • the target special effect video thumbnail may be any thumbnail of at least one special effect video thumbnail.
  • Step 102d The first electronic device plays the special effect video including the video frame corresponding to the target special effect video thumbnail.
  • the playback interface includes a special effects video thumbnail of at least one special effects video
  • the user's first input to the target special effects video thumbnail in the at least one special effects video thumbnail can be received, and Play videos including targeted special effects The special effects video of the video frame corresponding to the thumbnail. In this way, special effects videos can be played according to the actual needs of users.
  • step 102 may be specifically implemented through the following step 102e or step 102f.
  • Step 102e When the target video is the original video, the first electronic device switches the playback interface of at least one target special effects video from the playback interface of the target video to play.
  • the target video when the target video is the original video, that is, the target video exists alone with at least one other target special effects video, that is, the situation is switching between two independent videos for playback.
  • Step 102f When the target video is a synthesized video, the first electronic device jumps from the video frame displayed on the playback interface to the target video frame for playback.
  • the target video frame is a video frame in the synthesized video corresponding to at least one target special effects video. .
  • the target video is a synthetic video
  • the target video and at least one other target special effects video are the same video file
  • you need to play a certain special effects video jump to The corresponding frames of the special effects video are played, so that different video frames in the same video can be jumped.
  • the playback interface of at least one target special effects video can be switched from the playback interface of the target video for playback; when the target video is a synthesized video, the playback interface of the target video can be switched. Jump from the video frame displayed on the playback interface to a target video frame for playback.
  • the target video frame is a video frame in the synthesized video corresponding to at least one target special effects video. This can improve the flexibility of playing special effects videos.
  • the video playback method provided by the embodiment of the present application may also include the following steps 106 and 107a ; Or, step 106 and step 107b.
  • Step 106 The first electronic device receives the user's third input on the target special effect video thumbnail in at least one special effect video thumbnail.
  • the number of target special effect video thumbnails may be one or multiple, which may be determined according to actual usage requirements, and is not limited in the embodiments of the present application.
  • the third input includes but is not limited to touch input, floating input, preset gesture input, or voice input.
  • the details can be determined according to actual usage requirements, and are not limited in the embodiments of the present application.
  • Step 107a When the target video is the original video, the first electronic device responds to the third input and deletes the special effects video corresponding to the special effect video thumbnail.
  • the first electronic device since the target video is the original video, that is, the special effects video corresponding to the special effects video thumbnail exists separately from the target video, the first electronic device only deletes the special effects video corresponding to the special effects video thumbnail alone.
  • Step 107b When the target video is a synthesized video, the first electronic device responds to the third input and deletes the video clips in the synthesized video that have the same content as the special effects video corresponding to the special effects video thumbnail.
  • the first electronic device can extract the special effects video corresponding to the special effects video thumbnail from the video file. Delete in.
  • the same content can be understood as: the picture content contained in the video and the special effect parameters of the video are the same.
  • the playback interface includes a special effects video thumbnail of at least one special effects video
  • the user's third input to the target special effects video thumbnail in the at least one special effects video thumbnail can be received; in When the target video is an original video, in response to the third input, delete the special effects video corresponding to the special effects video thumbnail; when the target video is a synthesized video, in response to the third input, delete the special effects video thumbnail in the synthesized video
  • the corresponding special effects video contains video clips with the same content.
  • the user can edit the video file again by operating the thumbnail.
  • the first electronic device when the first electronic device displays the playback interface of the target video, as shown in Figure 3, the user can draw a "cross” on the book mark in the playback interface. "Gesture 23", then as shown in Figure 4, the first electronic device can output the prompt information " ⁇ The target object gesture exists” and start playing the special effects video associated with the gesture.
  • FIG. 8 shows a schematic flowchart of a video shooting method provided by some embodiments of the present application.
  • the video shooting method provided by the embodiment of the present application may include the following steps 201 to 203.
  • the following is an exemplary description taking the second electronic device as an example of executing the method.
  • Step 201 The second electronic device displays the video recording interface of the original video.
  • the video recording interface may include a video recording window of at least one special effects video associated with at least one shooting object.
  • the video recording window of the at least one special effects video may be a video recording window associated with at least one shooting object in the video recording interface.
  • Different videos The special effect parameters of the recording window can be different.
  • the effect parameters may include: at least one of filters, special effects, music, style, etc.
  • the video recording window of at least one special effects video can be located at a preset position in the video recording interface, or can be moved according to user input during the recording process.
  • the second electronic device displays a video recording interface 30 of the original video, where the shooting objects included in the video recording interface 30 include: books, desk lamps, tables, chairs and drawers.
  • the video recording interface 30 also includes a video recording window 31, a video recording window 32, and a video recording window 33, that is, a video recording window for at least one special effects video.
  • the book corresponds to the video recording window 31, and the video recording window 31 is elongated through an oil painting filter.
  • the video recording window after rendering the original video with special effects, "Silence of the Night Sky" music and realistic style.
  • the table corresponds to the video recording window 32, and the video recording window 32 is through the misty gray filter, elongated special effects, "Missing of Autumn” music and
  • the video recording window after rendering the original video in a classical style corresponds to the video recording window 33, and the video recording window 33 is a video recording window after rendering the original video through advanced gray filter, luminous special effects, "Big Fish” music and classical style.
  • Step 202 During the process of recording the original video, the second electronic device synchronously updates the preview image in each video recording window.
  • Step 203 After the recording of the original video and at least one special effect video is completed, the second electronic device outputs the target file.
  • the target file may include the original video and at least one special effect video, or the target file may include a synthesized video obtained by synthesizing the original video and at least one special effect video, or the target file may include the original video, at least one special effect video and the synthesized video. .
  • the user can trigger the second electronic device to stop recording the video by inputting, that is, the duration of the original video and the duration of at least one special effect video are both 20 seconds.
  • the video recording interface of the original video can also be displayed at least one video recording window of the special effects video
  • the special effect parameters of different video recording windows are different, and the video recording interface is different from the video recording interface.
  • the content in each video recording window is updated synchronously. On the one hand, it is convenient for users to view the recording effects under different effect parameters. On the other hand, it can simplify the operation of shooting multiple effect videos.
  • the video shooting method provided by the embodiment of the present application may also include the following steps 204 to 208.
  • Step 204 The second electronic device receives the user's first setting input for the target object in the video preview interface.
  • the target object can be any object in the video preview interface.
  • the first setting input includes but is not limited to touch input, floating input, preset gesture input or voice input.
  • the details can be determined according to actual usage requirements, which are not limited in the embodiments of the present application. .
  • Step 205 The second electronic device responds to the first setting input and displays special effect parameter setting options.
  • the special effect parameter setting option may display the type of special effect parameter.
  • special effects parameter setting options include but are not limited to: filter parameters, special effects parameters, background music parameters, video style parameters, etc.
  • Step 206 The second electronic device receives the user's second setting input for the special effect parameter setting option.
  • the second setting input can be used to set at least one special effect parameter.
  • the second setting input includes but is not limited to touch input, floating input, preset gesture input or voice input.
  • the details can be determined according to actual usage requirements, which are not limited in the embodiments of the present application. .
  • the second setting input may include multiple sub-inputs, and different sub-inputs may be used to set the same or different special effect parameters.
  • Step 207 The second electronic device displays the first video recording window in response to the second setting input, and updates the special effects preview image in the first video recording window according to at least one special effect parameter set by the second setting input.
  • the first video recording window can be located at a preset position in the video preview interface, or the first video recording window can be dragged to a user-specified position according to the user's needs.
  • the second electronic device can render the original video using the special effect parameters determined by the second setting input, thereby updating the special effects preview image in the first video recording window.
  • the user can input the book 35 in the video preview interface 34.
  • the second electronic device displays special effect parameter setting options 36, which are: "Filter” option, With the “Special Effects” option, “Music” option, and “Style” option, the user can set the displayed special effects parameter setting options.
  • the second electronic device can preview the video in A video recording window 37 is displayed in the interface, that is, the first video recording window.
  • Step 208 The second electronic device establishes an association between the target object, the special effect parameters set by the second setting input, and the first video recording window.
  • the second electronic device may establish a mapping relationship between the target object, the special effect parameters set by the second setting input and the first video recording window in the form of establishing a mapping relationship or a mapping table. relationship.
  • the second electronic device may store the target object in the form of string or character data,
  • the second setting inputs the association between the special effect parameters set and the first video recording window.
  • the special effect parameters of the target object can be set according to the user's input
  • the special effects under the special effect parameters are displayed in real time through the video recording window, and the target object and the second Set the association between the special effects parameters of the input settings and the first video recording window. This can improve the diversity of recorded video effects.
  • the video shooting method provided by the embodiment of the present application may also include the following step 209, and the video shooting method provided by the embodiment of the present application may also include Including step 210 to step 214.
  • Step 209 The second electronic device establishes an association between the target object, the input feature of the first setting input, and the first video recording window.
  • the input features may include at least one of the following: input starting position, input direction, and input trajectory.
  • the second electronic device may establish a mapping relationship between the target object, the input characteristics of the first setting input and the first video recording window by establishing a mapping relationship or a mapping table. connection relation.
  • the second electronic device may store the association between the target object, the input characteristics of the first setting input, and the first video recording window in the form of string or character data.
  • Step 210 The second electronic device receives the user's third setting input for the target object.
  • the third setting input includes but is not limited to touch input, floating input, preset gesture input or voice input.
  • the details can be determined according to actual usage requirements, which are not limited in the embodiments of the present application. .
  • Step 211 The second electronic device responds to the third setting input and displays special effect parameter setting options.
  • At least one parameter may be set to the target object.
  • Step 212 The second electronic device receives the user's fourth setting input for the special effect parameter setting option.
  • the fourth setting input can be used to set at least one special effect parameter.
  • the fourth setting input includes but is not limited to touch input, floating input, preset gesture input or voice input.
  • the details can be determined according to actual usage requirements, which are not limited in the embodiments of the present application. .
  • Step 213 The second electronic device displays the second video recording window in response to the fourth setting input, and updates the special effects preview image in the second video recording window according to at least one special effect parameter set by the fourth setting input.
  • Step 214 The second electronic device establishes an association between the target object, the special effect parameters set by the second setting input, the input characteristics of the third setting input, and the first video recording window.
  • the second electronic device can establish the target object, the special effect parameters set by the second setting input, and the input characteristics of the third setting input by establishing a mapping relationship or a mapping table. and the first video recording window.
  • the second electronic device may store the target object, the special effect parameters set by the second setting input, the input characteristics of the third setting input and the first video in the form of string or character data.
  • the target object can set at least one special effects window through different gestures, that is, the same object can be associated with at least one special effects video.
  • special effect parameters can be set again for the target object, that is, the same object can be associated with multiple special effect videos, thereby increasing the diversity of special effect videos associated with the target object.
  • the video shooting method provided by the embodiment of the present application may also include the following steps 215 and 216.
  • Step 215 The second electronic device receives the user's fifth setting input.
  • the fifth setting input includes but is not limited to touch input, floating input, preset gesture input or voice input.
  • the details can be determined according to actual usage requirements, which are not limited in the embodiments of the present application. .
  • Step 216 The second electronic device responds to the fifth setting input, determines the playback order of the special effects video, and establishes an association between the input characteristics of the fifth setting input and the playback order.
  • the second electronic device may establish an association between the input characteristics of the fifth setting input and the playback sequence by establishing a mapping relationship or a mapping table.
  • the second electronic device may store the association between the input characteristics of the fifth setting input and the playback sequence in the form of string or character data.
  • the second electronic device can pre-set the playback sequence of the special effects video, and set the fifth setting to The input characteristics of the fifth setting input are associated with the playback order, so that when the video needs to be played, if the user's input matches the input characteristics of the fifth setting input, then the second electronic device follows the predetermined playback order of the special effects video. Play video.
  • the fifth setting input can be associated with the determined playback sequence of the special effects video
  • the user can achieve video playback control with different playback effects through specific input, which improves the efficiency of the special effects video.
  • the flexibility of playback control and the diversity of video playback sequences are examples of the fifth setting input.
  • the video shooting method provided by the embodiments of the present application may also include the following steps 217 and 218.
  • Step 217 The second electronic device performs object recognition on the preview image displayed on the video recording interface.
  • the second electronic device can perform object recognition on the preview image displayed on the video recording interface through AI technology.
  • Step 218 The second electronic device displays the object identification of each recognized object.
  • the second electronic device can identify the recognized object in the form of numbers and text.
  • the second electronic device performs object recognition on the preview image displayed on the video recording interface. Then, as shown in Figure 14, the second electronic device displays the object identification of each recognized object: book correspondence.
  • the "1. Book” logo the desk lamp corresponds to the "2. Table Lamp” logo
  • the table corresponds to the "3. Table” logo
  • the chair corresponds to the "4. Chair” logo
  • the drawer corresponds to the "5. Drawer” logo.
  • the above step 203 can be specifically implemented through the following step 203a.
  • Step 203a After the recording of the original video and at least one special effects video is completed, the second electronic device performs video synthesis on the original video and at least one special effects video according to the special effect parameter setting sequence of the at least one special effects video before recording, and outputs the synthesis. video.
  • the special effect parameter setting sequence may be the sequence in which the user sets the special effect parameters for the above-mentioned at least one photographed object.
  • the second electronic device may place the original video at the front of the synthesized video, or may place the original video at the end of the synthesized video.
  • the recorded original video and at least one special effects video can be synthesized according to the order in which the special effect parameters of at least one special effect video are set before recording, the video can be recorded in the order in which the special effect parameters are set by the user. , and then you can get a video that meets the user’s recording effect requirements.
  • the above step 202 can be specifically implemented through the following step 202a.
  • Step 202a During the process of recording the original video, the second electronic device copies each frame of preview image displayed in the video recording interface to each video recording window frame by frame, and according to the special effects parameters associated with each video recording window, Perform image processing on the copied preview image of each frame.
  • the number of video recording windows is at least two, for each frame of the preview image, the number of frames of the preview image copied each time is the same as the number of video recording windows.
  • the second electronic device can obtain the memory space data of each frame of the preview image, and apply for n memory spaces of corresponding size according to the video recording window n of at least one special effects video. , read all the data in the original video frame memory space, and then copy and fill the read data in the original video frame memory space into the corresponding n memory spaces one by one through at least one thread.
  • the video recording interface 30 includes three video recording windows, namely: a recording window corresponding to the book, a recording window corresponding to the table, and a recording window corresponding to the drawer.
  • the second electronic device can pass Thread 1 copies each frame preview image displayed in the video recording interface frame by frame into two copies, and displays them in the recording window corresponding to the book and the recording window corresponding to the table; through thread 2, previews each frame displayed in the video recording interface
  • the image is copied frame by frame and displayed in the corresponding recording window of the drawer, that is, through multi-thread parallel copying, the copying of the preview image of each thread can be executed simultaneously, and a time difference within a certain range can also be allowed, such as 200 to 400 milliseconds. , thus ensuring the efficiency of copying each preview image frame.
  • each frame of the preview image displayed in the video recording interface can be copied frame by frame according to the number of video recording windows, waste of resources can be avoided.
  • the video shooting method provided by the embodiment of the present application may also include the following steps 219 and 220.
  • Step 219 The second electronic device receives the user's sixth setting input for the third video recording window.
  • the third video recording window may be the video recording window of at least one of the above special effects videos.
  • the number of third video recording windows can be one or multiple.
  • the sixth setting input includes but is not limited to touch input, floating input, preset gesture input or voice input.
  • the details can be determined according to actual usage requirements, which are not limited in the embodiments of the present application. .
  • Step 220 The second electronic device responds to the sixth setting input, updates the special effects parameters of the third video recording window, and updates the special effects preview image in the third video recording window according to the updated special effect parameters.
  • the sixth setting input may specifically be to modify the special effect parameters corresponding to the third video recording window.
  • the second electronic device can display in the third video recording window according to the latest special effects parameters corresponding to the third video recording window.
  • the image is rendered.
  • the special effect parameters corresponding to the third video recording window are: oil painting filter, elongated special effect, "silence of the night sky” music parameters and realistic style parameters; the user can modify the third video recording window
  • the corresponding special effect parameters are modified, that is, the sixth setting input; thereby the electronic device can respond to the user's input and update the special effect parameters corresponding to the third video recording window to: misty gray filter, elongated special effect, "Missing of Autumn" "music parameters and classical style parameters, and update the special effects preview image in the third video recording window according to the updated special effects parameters.
  • the special effects parameters corresponding to the third video recording window can be modified and updated during the video recording process, and the special effects preview in the third video recording window can be updated according to the updated special effects parameters. images, thereby increasing the flexibility of shooting special effects videos.
  • the video recording interface includes a first shooting object and a second shooting object, the first shooting object is associated with the fourth video recording window, and the second shooting object is associated with the fifth video recording window.
  • the video shooting method provided by the application embodiment may also include the following steps 221 and 222.
  • Step 221 The second electronic device receives the user's seventh setting input for the first photographing object and the second photographing object.
  • the seventh setting input may be used to exchange special effects recording windows associated with the first photographic object and the second photographic object.
  • the first photographing object and the second photographing object are any one of the above-mentioned at least one photographing object, and the first photographing object and the second photographing object are different Photograph the subject.
  • the seventh setting input includes but is not limited to touch input, floating input, preset gesture input or voice input.
  • the details can be determined according to actual usage requirements, which are not limited in the embodiments of the present application. .
  • Step 222 In response to the seventh setting input, the second electronic device establishes an association between the first shooting object and the fifth video recording window, and establishes an association between the second shooting object and the fourth video recording window.
  • the user can input the "Replace Mark” control, Click the fourth video recording window 38 again, then as shown in Figure 16, the first shooting object book is associated with the fourth video recording window 39, and the second shooting object table is associated with the fifth video recording window 38.
  • the second electronic device may establish an association between the first shooting object and the fifth video recording window by establishing a mapping relationship or a mapping table, and establish the second shooting object. The relationship between the object and the fourth video recording window.
  • the second electronic device may store the association between the first shooting object and the fifth video recording window in the form of string or character data, and establish the second shooting object and the fourth video recording window.
  • the association of video recording windows may be stored in the form of string or character data.
  • the second electronic device uses AI technology to identify the photographed object in the video preview interface.
  • the second electronic device displays the object identification of each object recognized, which are: 1 book, 2 lamps, 3 tables, 4 chairs and 5 drawers; the user can click on the subject book, as shown in Figure 11, to display the special effect parameter settings.
  • the options are: filters, special effects, music and style.
  • the second electronic device displays the video recording window corresponding to the book in the video preview interface.
  • the second electronic device uses AI technology to identify the photographed object in the video preview interface.
  • the second electronic device displays the object identification of each recognized object, which are: 1 book, 2 desk lamp, 3 table, 4 chair and 5 drawer; the user can click on the subject book, as shown in Figure 17, the second electronic device
  • the setting window 40 is displayed, and the user can input the "edit” control in the setting window 40.
  • the user can set the gesture "W", and as shown in Figure 17, the user can click the "setting" control to set the corresponding gesture.
  • the second electronic device can establish an association between the object book, the gesture "W” and the set effect parameters; then, as shown in Figure 17, the user can click the "+” control in the setting window, then As shown in Figure 19, "1_Gesture 2" is displayed in the setting window.
  • Use The user can input the "Edit” control corresponding to "1_Gesture 2", as shown in Figure 20, the user can set the gesture " ⁇ ", and as shown in Figure 17, the user can click the "Settings" control to set the gesture corresponding
  • the second electronic device can establish an association between the object book, the gesture " ⁇ " and the set effect parameters.
  • the execution subject may be a video playback device, or a control module in the video playback device for executing the video playback method.
  • a video playback device performing a video playback method is used as an example to illustrate the video playback device provided by the embodiment of the present application.
  • the embodiment of the present application provides a video playback device 400.
  • the video playback device 400 may include: a receiving module 401 and a playback module 402; the receiving module 401 is used to receive the user's request for the target object in the playback interface of the target video.
  • the first input is that at least one subject in the target video is associated with at least one special effects video.
  • the target video includes the original video or a synthesized video.
  • the synthesized video is a synthesis of the original video and the special effects video associated with at least one subject in the original video.
  • the target object is at least one shooting object selected by the user among at least one shooting object, and different special effect videos have different special effect parameters;
  • the playback module 402 is configured to respond to the first input received by the receiving module 401 and play at least one of the objects associated with the target object.
  • Target special effects video is configured to respond to the first input received by the receiving module 401 and play at least one of the objects associated with the target object.
  • the receiving module 401 is specifically configured to receive the user's input on the area where the target object is located; or, when the playback interface includes an object identifier associated with the target, receive the user's object identifier on the target object. An input where an object identifier indicates a photographed object.
  • the target object is associated with at least two special effects videos;
  • the playback module 402 is specifically configured to associate a preset input feature with each special effect video, and the input feature of the first input is the same as the first preset input feature.
  • the special effects video associated with the first preset input feature is played; wherein the preset input feature includes at least one of the following: input starting position, input direction, and input trajectory; the playback module 402 is specifically used for When the input feature of the first input is the second preset input feature, at least two special effects videos associated with the target object are played according to the playback order associated with the second preset input feature.
  • the receiving module 401 is specifically configured to receive the user's input of the target object in the first video frame displayed in the playback interface of the target video; the playback module 402 is specifically configured to obtain the target object associated with the target video.
  • the second video frame of a target special effects video starts to play the target special effects video; wherein, the second video frame is the video frame corresponding to the first video frame in the target special effects video, or the second video frame is the start of the target special effects video Video frames.
  • the video playback device 400 further includes: a storage module; a storage module configured to store the second input of the target object in the playback interface of the target video after the receiving module 401 receives the user's first input.
  • the frame number of the video frame is stored as historical playback information;
  • the receiving module 401 is also used to receive the second input from the user;
  • the playback module 402 is also used to respond to the second input received by the receiving module 401, according to the pre-stored historical playback information , play the target video, and during the process of playing the target video, when the first video frame is played, jump to the second video frame of a target special effects video associated with the target object and continue playing.
  • the receiving module 401 is specifically configured to receive the user's response to the target special effects video thumbnail in the at least one special effect video thumbnail.
  • the first input wherein, a special effects video thumbnail is a thumbnail of any video frame of a special effects video; the playback module 402 is specifically used to play the special effects video including the video frame corresponding to the target special effects video thumbnail.
  • the playback module 402 is specifically configured to switch the playback interface of at least one target special effects video from the playback interface of the target video for playback when the target video is an original video; the playback module 402 is specifically used to It is used to jump from the video frame displayed on the playback interface to the target video frame for playback when the target video is a synthesized video, and the target video frame is a video frame in the synthesized video corresponding to at least one target special effects video.
  • the video playback device 400 further includes: a processing module; in the case where the playback interface includes a special effect video thumbnail of at least one special effect video, the receiving module 401 is also configured to receive the user's response to the at least one special effect video.
  • At least one shooting object included in the target video is associated with at least one special effects video
  • at least the target object associated with the target video can be played according to the user's input to the target object in the playback interface of the target video.
  • a target special effects video instead of playing the target video with a fixed playback effect, can enrich the special effects of the video, thus improving the diversity of video playback effects.
  • the execution subject may be a video shooting device, or a control module in the video shooting device for executing the video shooting method.
  • a video shooting device performing a video playback method is used as an example to describe the video shooting device provided by the embodiment of the present application.
  • the embodiment of the present application provides a video shooting device 500.
  • the video shooting device 500 may include: a display module 501, an update module 502, and a processing module 503; the display module 501 is used to display a video recording interface of the original video, Video recording interface It includes a video recording window associated with at least one special effects video associated with at least one shooting object.
  • the video recording window of the at least one special effects video is a video recording window associated with at least one shooting object in the video recording interface.
  • the update module 502 is used to synchronously update the preview image in each video recording window during the recording of the original video;
  • the processing module 503 is used to output the target file after the recording of the original video and at least one special effects video is completed;
  • the target file includes the original video and at least one special effect video, or the target file includes a synthesized video obtained by synthesizing the original video and at least one special effect video, or the target file includes the original video, at least one special effect video and the synthesized video.
  • the video shooting device 500 further includes: a receiving module; a receiving module, configured to receive the user's first response to the target object in the video recording preview interface before the display module 501 displays the video recording interface of the original video.
  • a setting input; the display module 501 is also used to display the special effect parameter setting options in response to the first setting input received by the receiving module; the receiving module is also used to receive the user's second setting input of the special effect parameter setting options, the second setting The input is used to set at least one special effect parameter; the display module 501 is also used to display the first video recording window in response to the second setting input received by the receiving module; the update module 502 is also used to respond to the second setting received by the receiving module Input, at least one special effects parameter set according to the second setting input, and update the special effects preview image in the first video recording window; the processing module 503 is also used to establish the target object, the special effects parameters set by the second setting input and the first video recording The relationship between windows.
  • the processing module 503 is also configured to establish the target object, the input characteristics of the first setting input and the first video recording after the receiving module receives the user's second setting input on the special effect parameter setting interface.
  • the display module 501 is also configured to display the second video recording window in response to the fourth setting input received by the receiving module; the update module 502 is also configured to respond to the fourth setting input received by the receiving module, and display the second video recording window according to the fourth setting input.
  • At least one special effects parameter updates the special effects preview image in the second video recording window; the processing module 503 is also used to establish the target object, the special effects parameters set by the second setting input, the input characteristics of the third setting input, and the first video recording window. relationship between them.
  • the video shooting device 500 further includes: a receiving module; a receiving module configured to receive the user's fifth setting input before the display module 501 displays the video recording interface of the original video; and a processing module 503 , used to determine the playback sequence of the special effects video in response to the fifth setting input received by the receiving module, and establish an association between the input characteristics of the fifth setting input and the playback sequence.
  • the video shooting device 500 also includes: a recognition module; a recognition module for object recognition on the preview image displayed on the video recording interface; a display module 501 for displaying each recognized object.
  • the object identifier of an object is not limited to: a recognition module; a recognition module for object recognition on the preview image displayed on the video recording interface; a display module 501 for displaying each recognized object.
  • the object identifier of an object is not limited to: a recognition module; a recognition module for object recognition on the preview image displayed on the video recording interface; a display module 501 for displaying each recognized object.
  • the processing module 503 is specifically configured to, when the recording of the original video and at least one special effects video is completed, according to the special effect parameter setting sequence of at least one special effect video before recording, record the original video and At least one special effects video performs video synthesis and outputs the synthesized video.
  • the update module 502 is specifically used to copy each frame of preview image displayed in the video recording interface to each video recording window frame by frame, and according to the special effects associated with each video recording window Parameters, perform image processing on each copied preview image; among them, when the number of video recording windows is at least two, for each frame of preview image, the number of frames and video of each copied preview image The number of recording windows is the same.
  • the video shooting device 500 further includes: a receiving module; a receiving module configured to receive the user's sixth setting input for the third video recording window during the process of recording the original video; and an update module. 502 is also used to update the special effects parameters of the third video recording window in response to the sixth setting input received by the receiving module, and update the special effects preview image in the third video recording window according to the updated special effect parameters.
  • the video recording interface includes a first shooting object and a second shooting object, the first shooting object is associated with the fourth video recording window, and the second shooting object is associated with the fifth video recording window;
  • the video shooting device 500 also includes: a receiving module; a receiving module configured to receive the user's seventh setting input for the first photographing object and the second photographing object, and the seventh setting input is used to exchange the special effects recording associated with the first photographing object and the second photographing object. Window;
  • the processing module 503 is also configured to respond to the seventh setting input received by the receiving module, establish an association between the first shooting object and the fifth video recording window, and establish an association between the second shooting object and the fourth video recording window.
  • the video recording interface of the original video can also be displayed at least one video recording window of the special effects video
  • the special effect parameters of different video recording windows are different, and the video recording interface is different from the video recording interface.
  • the content in each video recording window is updated synchronously. On the one hand, it is convenient for users to view the recording effects under different effect parameters. On the other hand, it can simplify the operation of shooting multiple effect videos.
  • the video playback device and the video shooting device in the embodiments of the present application may be the same device, or they may be different devices.
  • the video playback device or video shooting device in the embodiment of the present application may be an electronic device, or may be a component of the electronic device, such as an integrated circuit or chip.
  • the electronic device may be a terminal or other devices other than the terminal.
  • the electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a mobile internet device (Mobile Internet Device, MID), or augmented reality (AR)/virtual reality (VR).
  • the video playback device or video shooting device in the embodiment of the present application may be a device with an operating system.
  • the operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
  • the video playback device or video shooting device provided by the embodiments of the present application can implement various processes implemented by the method embodiments in Figures 1 and 8. To avoid duplication, they will not be described again here.
  • the embodiment of the present application also provides an electronic device 600, including a processor 602, a memory 601, and a program or instruction stored on the memory 601 and executable on the processor 602.
  • the program or instruction is processed
  • the processor 602 is executed, each process of the above-mentioned video playback method or video playback method embodiment is implemented, and the same technical effect can be achieved. To avoid duplication, details will not be described here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • Electronic device 1000 includes but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010 and other parts.
  • the electronic device 1000 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 1010 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions.
  • the structure of the electronic device shown in Figure 24 does not constitute a limitation of the electronic device.
  • the electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .
  • the user input unit 1007 is configured to receive the user's first input to the target object in the playback interface of the target video, at least one shot of the target video.
  • the object is associated with at least one special effects video.
  • the target video includes the original video or the synthesized video.
  • the synthesized video is the synthesis of the original video and the special effects video associated with at least one shooting object in the original video.
  • the target object is selected by the user in at least one shooting object.
  • At least one shooting object, different special effect videos have different special effect parameters;
  • the processor 1010 is configured to respond to the first input received by the user input unit 1007 and play at least one target special effect video associated with the target object.
  • the user input unit 1007 is specifically configured to receive the user's input on the area where the target object is located; or, when the playback interface includes an object identifier associated with the target, receive the user's input on the target object's area. Input of identification, where an object identification indicates a photographic subject.
  • the target object is associated with at least two special effects videos;
  • the processor 1010 is specifically configured to associate a preset input feature with each special effect video, and the input feature of the first input is the same as the first preset input feature. If the input features match, play the special effects video associated with the first preset input feature; where the preset input feature includes at least one of the following: input starting position, input direction, input trajectory; processor 1010 is specifically used to When the input feature of the first input is the second preset input feature, at least two special effects videos associated with the target object are played according to the playback order associated with the second preset input feature.
  • the user input unit 1007 is specifically configured to receive the user's input of the target object in the first video frame displayed in the playback interface of the target video; the processor 1010 is specifically configured to associate the target object with The target special effects video starts playing from the second video frame of a target special effects video; wherein, the second video frame is the video frame corresponding to the first video frame in the target special effects video, or the second video frame is the starting point of the target special effects video. Start video frame.
  • the memory 1009 is used to store the frame number of the second video frame as historical playback after the user input unit 1007 receives the user's first input to the target object in the playback interface of the target video. information; the user input unit 1007 is also configured to receive a second input from the user; the processor 1010 is also configured to respond to the second input received by the user input unit 1007, play the target video according to the pre-stored historical play information, and During the playback of the target video, when the first video frame is played, jump to the second video frame of a target special effects video associated with the target object and continue playing.
  • the user input unit 1007 is specifically configured to receive the user's comment on the target special effects video thumbnail in the at least one special effects video thumbnail.
  • the processor 1010 is specifically configured to switch the playback interface of at least one target special effects video from the playback interface of the target video for playback when the target video is an original video; the processor 1010 is specifically configured to It is used to jump from the video frame displayed on the playback interface to the target video frame for playback when the target video is a synthesized video, and the target video frame is a video frame in the synthesized video corresponding to at least one target special effects video.
  • the user input unit 1007 is also configured to receive the user's comment on the target special effects video thumbnail in the at least one special effects video thumbnail.
  • the third input of the thumbnail; the processor 1010 is also configured to, in response to the third input, delete the special effects video corresponding to the thumbnail of the special effects video when the target video is the original video; the processor 1010 is also configured to delete the special effects video corresponding to the thumbnail of the special effects video when the target video is the original video.
  • a synthesized video in response to the third input, video segments in the synthesized video that have the same content as the special effects video corresponding to the special effects video thumbnail are deleted.
  • At least one shooting object included in the target video is associated with at least one special effects video
  • at least one object associated with the target object can be played according to the user's input to the target object in the playback interface of the target video.
  • Target special effects video instead of playing the target video with a fixed playback effect, can enrich the special effects of the video, thus improving the diversity of video playback effects.
  • the display unit 1006 is configured to display a video recording interface of the original video, where the video recording interface includes a video recording of at least one special effects video associated with at least one shooting object. window.
  • the video recording window of at least one special effects video is a video recording window associated with at least one shooting object in the video recording interface.
  • Different video recording windows have different special effects parameters; the processor 1010 is used to record the original video during the process.
  • the processor 1010 is also configured to output a target file after the recording of the original video and at least one special effects video is completed; wherein the target file includes the original video and at least one special effects video, Alternatively, the target file includes a synthesized video obtained by synthesizing the original video and at least one special effect video, or the target file includes the original video, at least one special effect video and the synthesized video.
  • the user input unit 1007 is used to receive the user's first setting input for the target object in the video preview interface before the display unit 1006 displays the video recording interface of the original video; the display unit 1006 is also The user input unit 1007 is configured to display special effect parameter setting options in response to the first setting input received by the user input unit 1007; the user input unit 1007 is also configured to receive a second setting input of the special effect parameter setting options from the user, and the second setting input is used to set at least a special effect parameter; the display unit 1006 is also configured to display the first video recording window in response to the second setting input received by the user input unit 1007; the processor 1010 is also configured to respond to the second setting input received by the user input unit 1007 , update the special effects preview image in the first video recording window according to at least one special effects parameter set by the second setting input; the processor 1010 is also used to establish the target object, the special effects parameters set by the second setting input and the first video recording window relationship between them.
  • the processor 1010 is also configured to establish the target object, the input characteristics of the first setting input and the first setting input after the user input unit 1007 receives the user's second setting input on the special effect parameter setting interface.
  • the fourth setting input for setting at least one special effect parameter is also used for displaying a second video recording window in response to the fourth setting input received by the user input unit 1007; the processor 1010 is also used for responding to the fourth setting input received by the user input unit 1007
  • the fourth setting input updates the special effects preview image in the second video recording window according to at least one special effects parameter set by the fourth setting input; the processor 1010 is also used to establish the target object, the special effects parameters set by the second setting input, and the third setting input. 3. Set the association between the input input characteristics and the first video recording window.
  • the user input unit 1007 is configured to receive the user's fifth setting input before the display unit 1006 displays the video recording interface of the original video; the processor 1010 is configured to respond to the user input unit 1007
  • the received fifth setting input determines the playback sequence of the special effects video, and establishes an association between the input characteristics of the fifth setting input and the playback sequence.
  • the processor 1010 is also configured to perform object recognition on the preview image displayed on the video recording interface; the display unit 1006 is also configured to display the object identification of each recognized object.
  • the processor 1010 is specifically configured to, when the recording of the original video and at least one special effects video is completed, record the original video and the original video according to the special effect parameter setting sequence of at least one special effect video before recording.
  • At least one special effects video performs video synthesis and outputs the synthesized video.
  • the processor 1010 is specifically configured to copy each frame of the preview image displayed in the video recording interface to each video recording window frame by frame, and perform the corresponding special effects according to the associated special effects of each video recording window. Parameters, perform image processing on each copied preview image; among them, when the number of video recording windows is at least two, for each frame of preview image, the number of frames and video of each copied preview image The number of recording windows is the same.
  • the user input unit 1007 is used to receive the user's input to the third party during the recording of the original video.
  • the sixth setting input of the video recording window; the processor 1010 is also configured to respond to the sixth setting input received by the user input unit 1007, update the special effects parameters of the third video recording window, and update the third special effects parameters according to the updated special effects parameters.
  • the video recording interface includes a first shooting object and a second shooting object, the first shooting object is associated with the fourth video recording window, and the second shooting object is associated with the fifth video recording window;
  • the user input unit 1007 used to receive the user's seventh setting input for the first shooting object and the second shooting object, and the seventh setting input is used to exchange the special effects recording window associated with the first shooting object and the second shooting object;
  • the processor 1010 also uses In response to the seventh setting input received by the user input unit 1007, an association relationship between the first shooting object and the fifth video recording window is established, and an association relationship between the second shooting object and the fourth video recording window is established.
  • the video recording interface of the original video can also be displayed at least one video recording window of the special effects video
  • the special effect parameters of different video recording windows are different, and the video recording interface is different from each other.
  • the content in each video recording window is updated synchronously.
  • it is convenient for users to view the recording effects under different effect parameters.
  • it can simplify the operation of shooting videos with multiple effects.
  • the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042.
  • the graphics processor 10041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
  • the display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072 .
  • Touch panel 10071 also known as touch screen.
  • the touch panel 10071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 10072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • Memory 1009 may be used to store software programs as well as various data.
  • the memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc.
  • memory 1009 may include volatile memory or nonvolatile memory, or memory 1009 may include both volatile and nonvolatile memory.
  • non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • synchronous dynamic random access memory Synchronous DRAM, SDRAM
  • Double data rate synchronous dynamic random access memory Double Data Rate SDRAM, DDRSDRAM
  • enhanced SDRAM synchronous dynamic random access memory
  • Synch link DRAM synchronous link dynamic random access memory
  • SLDRAM direct memory bus random access memory
  • Direct Rambus RAM Direct Rambus RAM
  • the processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 1010.
  • Embodiments of the present application also provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the program or instructions are executed by a processor, each process of the above video playback method or video shooting method embodiment is implemented. And can achieve the same technical effect. To avoid repetition, they will not be described again here.
  • the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment.
  • the above-mentioned readable storage media includes computer-readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disks or optical disks.
  • An embodiment of the present application further provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement each process of the above video playback method or video shooting method embodiment. , and can achieve the same technical effect, so to avoid repetition, they will not be described again here.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
  • Embodiments of the present application provide a computer program product.
  • the program product is stored in a storage medium.
  • the program product is executed by at least one processor to implement each process of the above-mentioned shooting method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk , CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

The present application belongs to the technical field of video filming. Disclosed are a video playing method and apparatus, and an electronic device. The method comprises: receiving a first input from a user for a target object in a playing interface of a target video, wherein the target video comprises at least one photographic object associated with at least one special effect video, the target video comprises an original video or a synthetic video, the synthetic video is obtained by synthesizing the original video and a special effect video associated with at least one photographic object in the original video, the target object is any one photographic object among the at least one photographic object, and special effect parameters of different special effect videos are different; and in response to the first input, playing at least one target special effect video associated with the target object.

Description

视频播放方法、装置和电子设备Video playback method, device and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2022年08月26日在中国提交的中国专利申请号No.202211038653.X的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202211038653.X filed in China on August 26, 2022, the entire content of which is incorporated herein by reference.
技术领域Technical field
本申请属于摄像技术领域,具体涉及视频播放方法、装置和电子设备。This application belongs to the field of camera technology, and specifically relates to video playback methods, devices and electronic equipment.
背景技术Background technique
随着通信技术的发展,电子设备的功能越来越丰富,例如,用户可以通过电子设备播放视频。With the development of communication technology, the functions of electronic devices are becoming more and more abundant. For example, users can play videos through electronic devices.
具体地,当用户在视频播放界面中的播放控件上点击之后,电子设备可以以固定的播放效果播放该视频。如此可能导致电子设备播放视频的播放效果较为单一。Specifically, when the user clicks on the playback control in the video playback interface, the electronic device can play the video with a fixed playback effect. This may cause the video playback effect of the electronic device to be relatively single.
发明内容Contents of the invention
本申请实施例的目的是提供一种视频播放方法、装置和电子设备,能够丰富视频的特效效果,从而提高了视频播放效果的多样性。The purpose of the embodiments of the present application is to provide a video playback method, device and electronic equipment that can enrich the special effects of videos, thereby improving the diversity of video playback effects.
第一方面,本申请实施例提供了一种视频播放方法,该方法包括:接收用户对目标视频的播放界面中的目标对象的第一输入,目标视频中的至少一个拍摄对象关联至少一个特效视频,目标视频包括原始视频或合成视频,合成视频为原始视频和原始视频中的至少一个拍摄对象关联的特效视频合成得到的,目标对象为用户在至少一个拍摄对象中选中的至少一个拍摄对象,不同的特效视频的特效参数不同;响应于第一输入,播放目标对象关联的至少一个目标特效视频。In a first aspect, embodiments of the present application provide a video playback method. The method includes: receiving a first input from a user to a target object in the playback interface of the target video, and at least one shooting object in the target video is associated with at least one special effects video. , the target video includes the original video or the synthesized video, the synthesized video is the original video and the special effects video associated with at least one shooting object in the original video, and the target object is at least one shooting object selected by the user in at least one shooting object, different The special effect videos have different special effect parameters; in response to the first input, at least one target special effect video associated with the target object is played.
第二方面,本申请实施例提供了一种视频播放方法,该方法包括:显示原始视频的视频录制界面,视频录制界面包括至少一个拍摄对象关联的至少一个特效视频的视频录制窗口,至少一个特效视频的视频录制窗口为视频录制界面中的至少一个拍摄对象关联的视频录制窗口,不同的视频录制窗口的特效参数不同;在录制原始视频的过程中,同步更新每个视频录制窗口中的预览图像;在原始视频和至少一个特效视频录制完成的情况下,输出目标文件;其中,目标文件包括原始视频和至少一个特效视频,或者,目标文件包括由原始视频和至少一个特效视频合成得到的合成视频,或者,目标文件包括原始视频、至少一个特效视频和合成视频。In a second aspect, embodiments of the present application provide a video playback method. The method includes: displaying a video recording interface of the original video, the video recording interface including a video recording window of at least one special effects video associated with at least one shooting object, and at least one special effect video. The video recording window of the video is a video recording window associated with at least one shooting object in the video recording interface. Different video recording windows have different special effect parameters; during the process of recording the original video, the preview image in each video recording window is updated synchronously. ; After the recording of the original video and at least one special effects video is completed, the target file is output; wherein the target file includes the original video and at least one special effects video, or the target file includes a composite video obtained by combining the original video and at least one special effects video. , or the target file includes the original video, at least one special effect video, and the composite video.
第三方面,本申请实施例提供了一种视频播放的装置,该装置包括:接收模块和播放模块;接收模块,用于接收用户对目标视频的播放界面中的目标对象的第一输入,目标视频中的至少一个拍摄对象关联至少一个特效视频,目标视频包括原始视频或合成视频,合成视频为原始视频和原始视频中的至少一个拍摄对象关联的特效视频合成得到的,目标对象为用户在至少一个拍摄对象中选中的至少一个拍摄对象,不同的特效视频的特效参数不同;播放模块,用于响应于接收模块接收的第一输入,播放目标对象关联的至少一个目标特效视频。In a third aspect, embodiments of the present application provide a video playback device. The device includes: a receiving module and a playback module; a receiving module configured to receive the user's first input to the target object in the playback interface of the target video. The target At least one subject in the video is associated with at least one special effects video. The target video includes an original video or a synthesized video. The synthesized video is a synthesis of the original video and the special effects video associated with at least one subject in the original video. The target object is the user in at least For at least one selected shooting object in a shooting object, different special effects videos have different special effect parameters; the playback module is configured to play at least one target special effects video associated with the target object in response to the first input received by the receiving module.
第四方面,本申请实施例提供了一种视频拍摄的装置,该装置包括:显示模块、更新模块和处理模块;显示模块,用于显示原始视频的视频录制界面,视频录制界面包括至少一个拍摄对象关联的至少一个特效视频的视频录制窗口,至少一个特效视频的视频录制窗口为视频录制界面中的至少一个拍摄对象关联的视频录制窗口,不同的视频录制窗口的特效参数不同;更新模块,用于在录制原始视频的过程中,同步更新每个视频录制窗口中的预览图像;处理模块,用于在原始视频和至少一个特效视频录制完成的情况下,输出目标文件;其中,目标文件包括原始视频和至少一个特效视频,或者,目标文件包括由原始视频和至少一个特效视频合成得到的合成视频,或者,目标文件包括原始视频、至少一个特效视频和合成视频。In the fourth aspect, embodiments of the present application provide a video shooting device. The device includes: a display module, an update module, and a processing module; a display module for displaying a video recording interface of the original video, and the video recording interface includes at least one shooting module. The video recording window of at least one special effects video associated with the object. The video recording window of at least one special effects video is the video recording window associated with at least one shooting object in the video recording interface. The special effects parameters of different video recording windows are different; the update module uses During the process of recording the original video, the preview image in each video recording window is synchronously updated; the processing module is used to output the target file after the original video and at least one special effects video are recorded; wherein the target file includes the original video and at least one special effect video, or the target file includes a composite video obtained by combining the original video and at least one special effect video, or the target file includes the original video, at least one special effect video and the composite video.
第五方面,本申请实施例提供了一种电子设备,所述电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,所述程序或指令被处理器执行时实现如第一方面或第二方面的方法的步骤。In a fifth aspect, embodiments of the present application provide an electronic device. The electronic device includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor. The program or instructions are executed by the processor. When implementing the steps of the method of the first aspect or the second aspect.
第六方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面或第二方面的方法的步骤。In a sixth aspect, embodiments of the present application provide a readable storage medium on which programs or instructions are stored. When the programs or instructions are executed by a processor, the method of the first aspect or the second aspect is implemented. A step of.
第七方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口 和处理器耦合,处理器用于运行程序或指令,实现如第一方面或第二方面的方法。In a seventh aspect, embodiments of the present application provide a chip. The chip includes a processor and a communication interface. The communication interface Coupled with a processor, the processor is used to run programs or instructions to implement the method of the first aspect or the second aspect.
第八方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面或第二方面所述的方法。In an eighth aspect, embodiments of the present application provide a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method described in the first or second aspect.
在本申请实施例中,可以接收用户对目标视频的播放界面中的目标对象的第一输入,目标视频中的至少一个拍摄对象关联至少一个特效视频,目标视频包括原始视频或合成视频,合成视频为原始视频和原始视频中的至少一个拍摄对象关联的特效视频合成得到的,目标对象为用户在至少一个拍摄对象中选中的至少一个拍摄对象,不同的特效视频的特效参数不同;响应于第一输入,播放目标对象关联的至少一个目标特效视频。通过该方案,由于目标视频中的至少一个拍摄对象关联至少一个特效视频,从而可以根据用户对目标视频的播放界面中的目标对象的输入播放目标对象关联的至少一个目标特效视频,而并非以固定的播放效果播放目标视频,因此能够丰富视频的特效效果,从而提高了视频播放效果的多样性。In the embodiment of the present application, the user's first input to the target object in the playback interface of the target video can be received. At least one shooting object in the target video is associated with at least one special effects video. The target video includes an original video or a synthesized video. The synthesized video Synthesized from the original video and the special effects video associated with at least one shooting object in the original video, the target object is at least one shooting object selected by the user in at least one shooting object, and the special effect parameters of different special effects videos are different; in response to the first Input, play at least one target special effects video associated with the target object. Through this solution, since at least one shooting object in the target video is associated with at least one special effects video, at least one target special effects video associated with the target object can be played according to the user's input to the target object in the playback interface of the target video, instead of in a fixed manner. The playback effect plays the target video, so it can enrich the special effects of the video, thus improving the diversity of video playback effects.
附图说明Description of drawings
图1为本申请的一些实施例提供的视频播放方法的示意图;Figure 1 is a schematic diagram of a video playback method provided by some embodiments of the present application;
图2为本申请的一些实施例提供的视频播放方法应用的界面示意图;Figure 2 is a schematic interface diagram of the video playback method application provided by some embodiments of the present application;
图3为本申请的一些实施例提供的视频播放方法应用的界面示意图;Figure 3 is a schematic interface diagram of the video playback method application provided by some embodiments of the present application;
图4为本申请的一些实施例提供的视频播放方法应用的界面示意图;Figure 4 is a schematic interface diagram of the video playback method application provided by some embodiments of the present application;
图5为本申请的一些实施例提供的视频播放方法应用的界面示意图;Figure 5 is a schematic interface diagram of the video playback method application provided by some embodiments of the present application;
图6为本申请的一些实施例提供的视频播放方法应用的界面示意图;Figure 6 is a schematic interface diagram of the video playback method application provided by some embodiments of the present application;
图7为本申请的一些实施例提供的视频播放方法应用的界面示意图;Figure 7 is a schematic interface diagram of the video playback method application provided by some embodiments of the present application;
图8为本申请的一些实施例提供的视频拍摄方法的示意图;Figure 8 is a schematic diagram of a video shooting method provided by some embodiments of the present application;
图9为本申请的一些实施例提供的视频拍摄方法应用的界面示意图;Figure 9 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application;
图10为本申请的一些实施例提供的视频拍摄方法应用的界面示意图;Figure 10 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application;
图11为本申请的一些实施例提供的视频拍摄方法应用的界面示意图;Figure 11 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application;
图12为本申请的一些实施例提供的视频拍摄方法应用的界面示意图;Figure 12 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application;
图13为本申请的一些实施例提供的视频拍摄方法应用的界面示意图;Figure 13 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application;
图14为本申请的一些实施例提供的视频拍摄方法应用的界面示意图;Figure 14 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application;
图15为本申请的一些实施例提供的视频拍摄方法应用的界面示意图;Figure 15 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application;
图16为本申请的一些实施例提供的视频拍摄方法应用的界面示意图;Figure 16 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application;
图17为本申请的一些实施例提供的视频拍摄方法应用的界面示意图;Figure 17 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application;
图18为本申请的一些实施例提供的视频拍摄方法应用的界面示意图;Figure 18 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application;
图19为本申请的一些实施例提供的视频拍摄方法应用的界面示意图;Figure 19 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application;
图20为本申请的一些实施例提供的视频拍摄方法应用的界面示意图;Figure 20 is a schematic interface diagram of the video shooting method application provided by some embodiments of the present application;
图21为本申请的一些实施例提供的视频播放装置的示意图;Figure 21 is a schematic diagram of a video playback device provided by some embodiments of the present application;
图22为本申请的一些实施例提供的视频拍摄装置的示意图;Figure 22 is a schematic diagram of a video shooting device provided by some embodiments of the present application;
图23为本申请的一些实施例提供的电子设备的示意图;Figure 23 is a schematic diagram of an electronic device provided by some embodiments of the present application;
图24为本申请的一些实施例提供的电子设备的硬件示意图。Figure 24 is a hardware schematic diagram of an electronic device provided by some embodiments of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first," "second," etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.
需要说明的是,本申请实施例中的标识用于指示信息的文字、符号、图像等,可以以控件或者其他容器作为显示信息的载体,包括但不限于文字标识、符号标识、图像标识。It should be noted that the logos in the embodiments of the present application are used to indicate text, symbols, images, etc. of information. Controls or other containers can be used as carriers to display information, including but not limited to text logos, symbol logos, and image logos.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的视频播放方法、装置和电子设备进行详细地说明。 The video playback method, device and electronic device provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios.
本申请实施例提供的视频播放方法可以应用于播放视频的场景中。The video playback method provided by the embodiment of the present application can be applied to the scene of playing videos.
示例性地,当用户不想电子设备以固定的播放效果播放目标视频时,电子设备可以接收用户对目标视频中的目标对象输入,由于目标视频中包括至少一个拍摄对象关联至少一个特效视频。从而电子设备可以根据用户对目标对象的输入,播放所述目标对象关联的至少一个目标特效视频,而并非以固定的播放效果播放目标视频,因此能够丰富视频的特效效果,提高了播放视频的多样性。For example, when the user does not want the electronic device to play the target video with a fixed playback effect, the electronic device may receive user input on the target object in the target video, because the target video includes at least one shooting object associated with at least one special effects video. Therefore, the electronic device can play at least one target special effects video associated with the target object according to the user's input to the target object, instead of playing the target video with a fixed playback effect. Therefore, the special effects of the video can be enriched and the variety of played videos can be improved. sex.
本申请实施例提供了一种视频播放方法,图1示出了本申请的一些实施例提供的视频播放方法的流程示意图。如图1所示,本申请的一些实施例提供的视频播放方法可以包括下述的步骤101和步骤102。下面以第一电子设备执行该方法为例进行示例性地说明。Embodiments of the present application provide a video playback method. Figure 1 shows a schematic flowchart of a video playback method provided by some embodiments of the present application. As shown in Figure 1, the video playback method provided by some embodiments of the present application may include the following steps 101 and 102. The following is an exemplary description taking the first electronic device as an example of executing the method.
步骤101、第一电子设备接收用户对目标视频的播放界面中的目标对象的第一输入。Step 101: The first electronic device receives the user's first input to the target object in the playback interface of the target video.
可选地,在本申请的一些实施例中,用户的每个输入可以为用户通过手指或者为触控笔等触控装置输入的。Optionally, in some embodiments of the present application, each user input may be input by the user through a finger or a touch device such as a stylus.
其中,目标视频中可以包括至少一个拍摄对象关联至少一个特效视频,目标视频可以包括原始视频或合成视频,合成视频可以为原始视频和原始视频中的至少一个拍摄对象关联的特效视频合成得到的,目标对象可以为至少一个拍摄对象中的任一个拍摄对象,不同的特效视频的特效参数可以不同。Wherein, the target video may include at least one special effects video associated with at least one shooting object, and the target video may include an original video or a synthesized video, and the synthetic video may be synthesized from the original video and the special effects video associated with at least one shooting object in the original video, The target object may be any one of at least one photographic object, and the special effect parameters of different special effects videos may be different.
可选地,在本申请的一些实施例中,一个拍摄对象可以关联至少一个特效视频。Optionally, in some embodiments of the present application, a photographed object may be associated with at least one special effects video.
在本申请的一些实施例中,原始视频为只经过基础3A效果、分辨率、帧率、画面尺寸裁剪等过程处理,不叠加额外的特效处理的视频。In some embodiments of the present application, the original video is a video that has only undergone basic 3A effects, resolution, frame rate, picture size cropping and other processes without superimposing additional special effects.
在本申请的一些实施例中,特效视频为通过特效参数对原始视频进行渲染后的视频。In some embodiments of the present application, the special effects video is a video that is rendered by using special effect parameters to render the original video.
可选地,在本申请的一些实施例中,特效参数包括但不限于滤镜参数、特效参数、背景音乐参数和视频风格参数等,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in some embodiments of the present application, special effect parameters include but are not limited to filter parameters, special effect parameters, background music parameters, video style parameters, etc., which can be determined according to actual usage requirements and are not limited in the embodiments of the present application.
可选地,在本申请的一些实施例中,目标视频可以为通过第一电子设备拍摄的视频,或者接收其他电子设备发送的视频,例如目标视频可以为接收下述实施例中第二电子设备发送的视频。Optionally, in some embodiments of the present application, the target video may be a video shot by a first electronic device, or a video sent by another electronic device. For example, the target video may be a video received by a second electronic device in the following embodiments. sent video.
可选地,在本申请的一些实施例中,第一电子设备可以在未播放目标视频的情况下,接收用户对目标视频中的目标对象的第一输入;或者,第一电子设备可以在正在播放目标视频的情况下,接收用户对目标视频中的目标对象的第一输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in some embodiments of the present application, the first electronic device may receive the user's first input to the target object in the target video without playing the target video; When the target video is played, the user's first input of the target object in the target video is received. The details can be determined according to actual usage requirements, and are not limited in the embodiments of this application.
可选地,在本申请的一些实施例中,第一输入包括但不限于触控输入、悬浮输入、预设手势输入或语音输入,具体可以根据实际使用需求确定,本申请实施例不作限定。例如,第一输入为用户对目标对象的点击输入。Optionally, in some embodiments of the present application, the first input includes but is not limited to touch input, hover input, preset gesture input, or voice input. The details can be determined according to actual usage requirements, and are not limited in the embodiments of the present application. For example, the first input is the user's click input on the target object.
可选地,在本申请的一些实施例中,上述步骤101具体可以通过下述的步骤101a或101b实现。Optionally, in some embodiments of the present application, the above step 101 can be specifically implemented through the following step 101a or 101b.
步骤101a、第一电子设备接收用户对目标对象所在区域的输入。Step 101a: The first electronic device receives the user's input on the area where the target object is located.
步骤101b、在播放界面包括目标关联的对象标识的情况下,第一电子设备接收用户对目标对象的对象标识的输入。Step 101b: When the playback interface includes an object identifier associated with the target, the first electronic device receives the user's input of the object identifier of the target object.
其中,一个对象标识可以指示一个拍摄对象。Among them, an object identifier may indicate a photographed object.
可选地,在本申请的一些实施例中,对象标识可以在对应拍摄对象的预设区域显示,也可以在播放界面的任意区域显示,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in some embodiments of the present application, the object identification can be displayed in a preset area corresponding to the photographed object, or can be displayed in any area of the playback interface. The details can be determined according to actual usage requirements, which are not limited by the embodiments of the present application. .
示例性地,如图2所示,假设目标视频为办公场景下拍摄的视频,目标视频20中包括5个拍摄对象,分别为:书本、台灯、桌子、椅子和抽屉,其中,书本关联的是包含油画滤镜、拉长特效、“夜空的寂静”音乐和写实风格的特效视频,视频时长为30s;台灯关联的是包含水墨黑滤镜、发光特效、“瞬间的永恒”音乐和卡通风格的特效视频,视频时长为30s;桌子关联的是包含烟雨灰滤镜、拉长特效、“秋的思念”音乐和古典风格的特效视频,视频时长为30s;椅子关联的是包含阴雨滤镜、拉长特效、“人生的旅途”音乐和清新风格的特效视频,视频时长为30s;抽屉关联的是包含高级灰滤镜、发光特效、“大鱼”音乐和古典风格的特效视频,视频时长为30s。当目标对象为书本时,第一输入可以为用户对书本所在的区域21输入,也可以对书本的标识22输入。For example, as shown in Figure 2, assuming that the target video is a video shot in an office scene, the target video 20 includes five shooting objects, namely: books, desk lamps, tables, chairs and drawers, where the book is associated with Contains oil painting filters, elongated special effects, "Silence of the Night Sky" music and realistic style special effects videos, the video duration is 30s; the table lamp is associated with ink black filters, luminous special effects, "Momentary Eternity" music and cartoon style The special effects video is 30 seconds long; the table is associated with a 30-second special effects video that includes smoke and rain filters, stretch effects, "Missing of Autumn" music, and classical style; the chairs are associated with rain filters, stretch effects, and Special effects videos with long special effects, "Journey of Life" music and fresh style, the video duration is 30s; the drawer is associated with special effects videos including advanced gray filters, glowing special effects, "Big Fish" music and classical style, the video duration is 30s . When the target object is a book, the first input may be input by the user to the area 21 where the book is located, or may be input to the identification 22 of the book.
在本申请的一些实施例中,由于用户既可以对目标对象所在的区域进行输入,也可以对目标对象所指示的对象标识进行输入,从而可以提高用户操作的灵活性。In some embodiments of the present application, since the user can input not only the area where the target object is located, but also the object identifier indicated by the target object, the flexibility of user operations can be improved.
步骤102、第一电子设备响应于第一输入,播放目标对象关联的至少一个目标特效视频。Step 102: The first electronic device responds to the first input and plays at least one target special effect video associated with the target object.
可选地,在本申请的一些实施例中,第一电子设备可以根据第一输入播放特定的一个视频,也可以按照预设顺序播放关联的多个视频。Optionally, in some embodiments of the present application, the first electronic device may play a specific video according to the first input, or may play multiple associated videos in a preset order.
在本申请的一些实施例提供的视频播放方法中,由于目标视频中包括的至少一个拍摄对象关联至少一个特效视频,从而可以根据用户对目标视频的播放界面中的目标对象的输入播放目标对象关联的至少一个目标特效视频,而并非以固定的播放效果播放目标视频,因此能够丰富视频的特效效果,从而提高 了视频播放效果的多样性。In the video playback method provided by some embodiments of the present application, since at least one shooting object included in the target video is associated with at least one special effects video, the target object association can be played according to the user's input to the target object in the playback interface of the target video. At least one target special effects video, instead of playing the target video with a fixed playback effect, can enrich the special effects of the video, thus improving The video playback effects are diverse.
可选地,在本申请的一些实施例中,目标对象可以关联至少两个特效视频;上述步骤102具体可以通过下述的步骤102a或步骤102b实现。Optionally, in some embodiments of the present application, the target object can be associated with at least two special effect videos; the above step 102 can be specifically implemented through the following step 102a or step 102b.
步骤102a、在每个特效视频关联一个预设输入特征,且第一输入的输入特征与第一预设输入特征匹配的情况下,第一电子设备播放第一预设输入特征关联的特效视频。Step 102a: When each special effect video is associated with a preset input feature, and the input feature of the first input matches the first preset input feature, the first electronic device plays the special effect video associated with the first preset input feature.
其中,预设输入特征可以包括以下至少一项:输入起始位置、输入方向、输入轨迹。The preset input characteristics may include at least one of the following: input starting position, input direction, and input trajectory.
可选地,在本申请的一些实施例中,输入起始位置可以为目标对象在目标视频中所在的位置;或者为目标对象标识所在的位置。Optionally, in some embodiments of the present application, the input starting position may be the position of the target object in the target video; or the position of the target object identification.
示例性地,第一输入可以为用户在屏幕上的进行对号手势的滑动输入;或者,第一输入可以为用户在屏幕上的进行圆圈手势的滑动输入。For example, the first input may be a sliding input by the user making a check gesture on the screen; or, the first input may be a sliding input by the user making a circle gesture on the screen.
本申请的一些实施例中,第一输入的输入特征与第一预设输入特征匹配可以理解为:第一预设输入的预设特征与第一输入的输入特征之间的匹配度满足预设阈值,例如90%。In some embodiments of the present application, matching the input feature of the first input with the first preset input feature can be understood as: the matching degree between the preset feature of the first preset input and the input feature of the first input satisfies the preset Threshold, for example 90%.
在本申请的一些实施例中,当第一输入的输入特征与第一预设输入特征匹配时,第一电子设备可以在播放界面中显示“√该目标对象手势存在”的提示信息,并开始播放该第一预设输入特征关联的特效视频;当第一输入的输入特征与第一预设输入特征不匹配时,第一电子设备可以在播放界面中显示“×该目标对象手势不存在”的提示信息,并继续播放目标视频。In some embodiments of the present application, when the input characteristics of the first input match the first preset input characteristics, the first electronic device can display the prompt information "√The target object gesture exists" in the playback interface, and start Play the special effects video associated with the first preset input feature; when the input feature of the first input does not match the first preset input feature, the first electronic device can display "×The target object gesture does not exist" in the playback interface prompt message and continue playing the target video.
示例性的,假设书本对应的第一预设输入为“叉号”输入轨迹,如图3所示,当用户的第一输入的输入轨迹23也为“叉号”时,即第一输入的输入参数与目标对象书本21中的第一预设输入特征匹配时,如图4所示,第一电子设备可以在播放界面20中显示“√该目标对象手势存在”的提示信息,并开始播放第一预设输入特征关联的特效视频;如图5所示,当用户的第一输入的输入轨迹24为“Z”字型时,即第一输入的输入参数与目标对象书本21中的第一预设输入特征不匹配时,如图6所示,第一电子设备可以在播放界面20中显示“×该目标对象手势不存在”的提示信息,并继续播放目标视频。For example, assuming that the first preset input corresponding to the book is the "cross" input track, as shown in Figure 3, when the input track 23 of the user's first input is also a "cross", that is, the first input When the input parameter matches the first preset input feature in the target object's book 21, as shown in Figure 4, the first electronic device can display the prompt message "√The target object's gesture exists" in the playback interface 20 and start playing. Special effects video associated with the first preset input feature; as shown in Figure 5, when the input trajectory 24 of the user's first input is in the "Z" shape, that is, the input parameter of the first input is consistent with the first input parameter in the target object book 21. When a preset input feature does not match, as shown in FIG. 6 , the first electronic device can display the prompt information "×The target object gesture does not exist" in the playback interface 20 and continue to play the target video.
步骤102b、在第一输入的输入特征为第二预设输入特征的情况下,第一电子设备按照第二预设输入特征关联的播放顺序,播放目标对象关联的至少两个特效视频。Step 102b: When the input feature of the first input is the second preset input feature, the first electronic device plays at least two special effect videos associated with the target object in accordance with the playback order associated with the second preset input feature.
可选地,在本申请的一些实施例中,第一电子设备可以播放目标对象关联的全部视频,或者只播放目标对象关联的部分视频,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in some embodiments of the present application, the first electronic device can play all the videos associated with the target object, or only play part of the videos associated with the target object. The details can be determined according to actual usage requirements, which are not limited in the embodiments of the present application. .
例如,目标对象关联5个视频,分别为视频1、视频2、视频3、视频4和视频5,其中,视频1为包含油画滤镜、拉长特效、“夜空的寂静”音乐和写实风格的特效视频,视频2为包含水墨黑滤镜、发光特效、“瞬间的永恒”音乐和卡通风格的特效视频,视频3为包含烟雨灰滤镜、拉长特效、“秋的思念”音乐和古典风格的特效视频,视频4为包含阴雨滤镜、拉长特效、“人生的旅途”音乐和清新风格的特效视频,视频5为包含高级灰滤镜、发光特效、“大鱼”音乐和古典风格的特效视频,在第一输入的输入特征为第二预设输入特征的情况下,第一电子设备可以只播放目标对象关联5个视频中的3个视频。For example, the target object is associated with 5 videos, namely video 1, video 2, video 3, video 4 and video 5. Among them, video 1 contains oil painting filters, elongated special effects, "silence of the night sky" music and realistic style. Special effects video, Video 2 is a special effects video including ink black filter, glowing special effects, "Momentary Eternity" music and cartoon style, Video 3 is a special effects video including smoke and rain gray filter, elongated special effects, "Autumn Yearning" music and classical style Special effects video, Video 4 is a special effects video including rain filter, elongated special effects, "Journey of Life" music and fresh style, Video 5 is a special effects video including advanced gray filter, glowing special effects, "Big Fish" music and classical style For special effect videos, when the input feature of the first input is the second preset input feature, the first electronic device can only play 3 of the 5 videos associated with the target object.
在本申请的一些实施例中,在目标对象关联至少两个特效视频的情况下,在第一输入的输入特征与第一预设输入特征匹配的情况下,可以播放第一预设输入特征关联的特效视频;在第一输入的输入特征为第二预设输入特征的情况下,可以按照第二预设输入特征关联的播放顺序,播放目标对象关联的至少两个特效视频。即可以通过不同的输入,灵活控制播放目标对象中关联不同效果的视频,从而可以提高操作的便捷性和灵活性。In some embodiments of the present application, when the target object is associated with at least two special effect videos, and when the input feature of the first input matches the first preset input feature, the first preset input feature association can be played special effects videos; when the input feature of the first input is the second preset input feature, at least two special effect videos associated with the target object can be played according to the playback order associated with the second preset input feature. That is, different inputs can be used to flexibly control the playback of videos associated with different effects in the target object, thereby improving the convenience and flexibility of operation.
可选地,在本申请的一些实施例中,上述步骤101具体可以通过下述的步骤101c实现,上述步骤102具体可以通过下述的步骤102c实现。Optionally, in some embodiments of the present application, the above step 101 can be specifically implemented through the following step 101c, and the above step 102 can be specifically implemented through the following step 102c.
步骤101c、第一电子设备接收用户对目标视频的播放界面中显示的第一视频帧中目标对象的输入。Step 101c: The first electronic device receives the user's input of the target object in the first video frame displayed in the playback interface of the target video.
可选地,在本申请的一些实施例中,第一视频帧可以为目标视频中的任一视频帧。Optionally, in some embodiments of the present application, the first video frame may be any video frame in the target video.
步骤102c、第一电子设备从目标对象关联的一个目标特效视频的第二视频帧开始播放目标特效视频。Step 102c: The first electronic device starts playing the target special effects video from the second video frame of a target special effects video associated with the target object.
其中,第二视频帧可以为目标特效视频中与第一视频帧对应帧数的视频帧,或者第二视频帧可以为目标特效视频的起始视频帧。The second video frame may be a video frame corresponding to the first video frame in the target special effect video, or the second video frame may be a starting video frame of the target special effect video.
示例性地,目标视频中包括100个视频帧,当第一电子设备正在显示目标视频中的第50个视频帧,并且该第50个视频帧中包含的是没有阳光的桌子,即第一视频帧时,该第一视频帧中包含没有经过特效参数渲染的画面内容,第一电子设备可以接收用户对第一视频帧中目标对象的第一输入,第一电子设备响应于该第一输入,从目标对象关联的一个目标特效视频中的第50个视频帧,并且该第50个视频帧中包含的是台灯上有阳光的桌子,即第二视频帧,开始播放该目标特效视频,该第二视频帧的画面内容 与第一视频帧的画面内容相同,第二视频帧的画面为经过特效参数渲染的画面;或者,从该目标特效视频中的第1个视频帧,并且该第1个视频帧中包含的是台灯上有阳光的桌子,开始播放该目标特效视频。For example, the target video includes 100 video frames, when the first electronic device is displaying the 50th video frame in the target video, and the 50th video frame contains a table without sunlight, that is, the first video frame, the first video frame contains picture content that has not been rendered by special effect parameters, the first electronic device can receive the user's first input to the target object in the first video frame, and the first electronic device responds to the first input, From the 50th video frame in a target special effects video associated with the target object, and the 50th video frame contains a table with sunlight on the desk lamp, that is, the second video frame, start playing the target special effects video, and the 50th video frame The picture content of the second video frame The picture content of the second video frame is the same as that of the first video frame, and the picture of the second video frame is a picture rendered by special effects parameters; or, from the first video frame in the target special effects video, and the first video frame contains A table with sunlight on the desk lamp starts playing the target special effects video.
在本申请的一些实施例中,由于既可以从目标特效视频中与第一视频帧在目标视频对应帧数的视频帧开始播放目标特效视频,也可以从目标特效视频的起始帧播放目标特效视频,从而可以提高播放目标特效视频的多样性和灵活性。In some embodiments of the present application, the target special effects video can be played from the video frame corresponding to the first video frame in the target video, or the target special effects video can be played from the starting frame of the target special effects video. video, thereby improving the diversity and flexibility of playing targeted special effects videos.
可选地,在本申请的一些实施例中,如果用户的需求是:每次播放目标视频和目标对象关联的至少一个目标特效视频的时候,第一电子设备能够按照上一次播放目标视频和目标对象关联的至少一个目标特效视频的顺序来播放该多个视频,那么在步骤102之后,本申请实施例提供的视频播放方法还可以包括下述的步骤103至步骤105。Optionally, in some embodiments of the present application, if the user's demand is: each time the target video and at least one target special effects video associated with the target object are played, the first electronic device can play the target video and the target according to the last time. To play the multiple videos in the order of at least one target special effect video associated with the object, then after step 102, the video playback method provided by the embodiment of the present application may also include the following steps 103 to 105.
步骤103、第一电子设备将第二视频帧的帧数存储为历史播放信息。Step 103: The first electronic device stores the frame number of the second video frame as historical playback information.
可选地,本申请的一些实施例中,第一电子设备可以通过字符串的方式记录历史播放信息,字符串的记录格式为[视频ID:播放结束帧序号;...视频ID:播放结束帧序号],并将历史播放信息记录完成后写到手机的高速缓冲区域对应的预设文件中。Optionally, in some embodiments of the present application, the first electronic device can record historical playback information in the form of a string. The recording format of the string is [Video ID: Playback end frame number;...Video ID: Playback end. Frame Serial Number], and writes the historical playback information to the preset file corresponding to the high-speed buffer area of the mobile phone.
示例性地,假设第一电子设备在目标视频的播放界面中显示的第35帧时接收用户的输入,并在目标特效视频的第55帧结束播放,那么该历史播放信息为:[目标视频:35;目标特效视频:55],字符串记录完成后写到手机的高速缓冲区域对应的预设文件中。For example, assuming that the first electronic device receives the user's input at the 35th frame displayed in the playback interface of the target video and ends playing at the 55th frame of the target special effects video, then the historical playback information is: [Target video: 35; Target special effects video: 55], after the string recording is completed, it is written to the preset file corresponding to the high-speed buffer area of the mobile phone.
步骤104、第一电子设备接收用户的第二输入。Step 104: The first electronic device receives the second input from the user.
可选地,在本申请的一些实施例中,第二输入包括但不限于触控输入、悬浮输入、预设手势输入或语音输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in some embodiments of the present application, the second input includes but is not limited to touch input, hover input, preset gesture input, or voice input. The details can be determined according to actual usage requirements, and are not limited in the embodiments of the present application.
例如,第二输入可以为用户对播放界面中播放控件的点击输入。For example, the second input may be the user's click input on the playback control in the playback interface.
步骤105、第一电子设备响应于第二输入,按照预先存储的历史播放信息,播放目标视频,并在播放目标视频的过程中,在播放至第一视频帧的情况下,跳转至目标对象关联的一个目标特效视频的第二视频帧继续播放。Step 105: The first electronic device responds to the second input, plays the target video according to the pre-stored historical playback information, and during the process of playing the target video, jumps to the target object when the first video frame is played. The second video frame of an associated target special effects video continues to play.
可选地,在本申请的一些实施例中,第一电子设备可以从高速缓冲区域找到对应文件,读出对应的字符串,并按照字符串的记录方式进行解析,获取上述历史播放信息。Optionally, in some embodiments of the present application, the first electronic device can find the corresponding file from the cache area, read the corresponding string, and parse it according to the recording method of the string to obtain the above historical playback information.
示例性地,第一电子设备获取的历史播放信息为:[目标视频:35;目标特效视频:55],那么第一电子设备先播放目标视频的1至35帧,再播放目标特效视频的35至55帧。For example, the historical playback information obtained by the first electronic device is: [target video: 35; target special effects video: 55], then the first electronic device first plays frames 1 to 35 of the target video, and then plays 35 frames of the target special effects video. to 55 frames.
可选地,在本申请的一些实施例中,当用户不想第一电子设备按照预先存储的历史播放信息,播放目标视频时,用户可以点击播放界面中的目标控件,触发第一电子设备清除第一电子设备保存的历史播放信息;然后根据用户自身需求播放目标视频。Optionally, in some embodiments of the present application, when the user does not want the first electronic device to play the target video according to the pre-stored historical playback information, the user can click the target control in the playback interface to trigger the first electronic device to clear the first video. Historical playback information saved by an electronic device; and then the target video is played according to the user's own needs.
示例性地,如图7所示,第一电子设备可以在播放界面20中显示“清除”控件,用户可以点击该“清除”控件,触发第一电子设备清除第一电子设备保存的历史播放信息。For example, as shown in Figure 7, the first electronic device can display a "clear" control in the playback interface 20, and the user can click the "clear" control to trigger the first electronic device to clear the historical playback information saved by the first electronic device. .
在本申请的一些实施例中,由于可以将第二视频帧的帧数存储为历史播放信息,并可以按照该历史播放信息播放目标视频和目标对象关联的一个目标特效视频,从而可以提高播放目标视频和目标对象关联的一个目标特效视频的多样性。In some embodiments of the present application, since the frame number of the second video frame can be stored as historical playback information, and a target special effects video associated with the target video and the target object can be played according to the historical playback information, thereby improving the playback target. Diversity of a target special effects video associated with the video and the target object.
可选地,在本申请的一些实施例中,在播放界面上,可以显示视频的缩略图,在播放界面包括至少一个特效视频的特效视频缩略图的情况下,如果至少一个特效视频属于同一个文件,那么可以按照该至少一个特效视频在该同一文件中的顺序显示该至少一个特效视频的特效视频缩略图。如果至少一个特效视频不属于同一个文件,那么可以按照接收该至少一个特效视频的顺序显示该至少一个特效视频的特效视频缩略图;或者按照设置该至少一个特效视频对应特效参数的顺序显示该至少一个特效视频的特效视频缩略图,上述步骤101具体可以通过下述步骤101d实现,上述步骤102具体可以通过下述步骤102d实现。Optionally, in some embodiments of the present application, on the playback interface, a thumbnail of the video may be displayed. In the case where the playback interface includes a thumbnail of a special effect video of at least one special effect video, if the at least one special effect video belongs to the same file, then the special effect video thumbnails of the at least one special effect video can be displayed in the order of the at least one special effect video in the same file. If the at least one special effect video does not belong to the same file, then the special effect video thumbnail of the at least one special effect video can be displayed in the order in which the at least one special effect video is received; or the at least one special effect video can be displayed in the order in which the special effect parameters corresponding to the at least one special effect video are set. For a special effects video thumbnail, the above step 101 can be specifically implemented through the following step 101d, and the above step 102 can be specifically implemented through the following step 102d.
步骤101d、第一电子设备接收用户对至少一个特效视频缩略图中的目标特效视频缩略图的第一输入。Step 101d: The first electronic device receives the user's first input on the target special effect video thumbnail in at least one special effect video thumbnail.
其中,一个特效视频缩略图可以为一个特效视频的任一个视频帧的缩略图。Among them, a special effects video thumbnail can be a thumbnail of any video frame of a special effects video.
可选地,在本申请的一些实施例中,特效视频缩略图可以显示在播放界面中的预设区域;例如特效视频缩略图可以显示在播放界面的下方。Optionally, in some embodiments of the present application, special effect video thumbnails may be displayed in a preset area in the playback interface; for example, special effect video thumbnails may be displayed below the playback interface.
在本申请的一些实施例中,目标特效视频缩略图可以为至少一个特效视频缩略图中的任一缩略图。In some embodiments of the present application, the target special effect video thumbnail may be any thumbnail of at least one special effect video thumbnail.
步骤102d、第一电子设备播放包括目标特效视频缩略图对应的视频帧的特效视频。Step 102d: The first electronic device plays the special effect video including the video frame corresponding to the target special effect video thumbnail.
在本申请的一些实施例中,在播放界面包括至少一个特效视频的特效视频缩略图的情况下,由于可以接收用户对至少一个特效视频缩略图中的目标特效视频缩略图的第一输入,并播放包括目标特效视频 缩略图对应的视频帧的特效视频。从而可以按照用户的实际需求,播放特效视频。In some embodiments of the present application, in the case where the playback interface includes a special effects video thumbnail of at least one special effects video, the user's first input to the target special effects video thumbnail in the at least one special effects video thumbnail can be received, and Play videos including targeted special effects The special effects video of the video frame corresponding to the thumbnail. In this way, special effects videos can be played according to the actual needs of users.
可选地,在本申请的一些实施例中,上述步骤102具体可以通过下述步骤102e或步骤102f实现。Optionally, in some embodiments of the present application, the above step 102 may be specifically implemented through the following step 102e or step 102f.
步骤102e、在目标视频为原始视频的情况下,第一电子设备从目标视频的播放界面切换至少一个目标特效视频的播放界面进行播放。Step 102e: When the target video is the original video, the first electronic device switches the playback interface of at least one target special effects video from the playback interface of the target video to play.
在本申请的一些实施例中,在目标视频为原始视频的情况下,即目标视频与其他至少一个目标特效视频单独存在,即该情况为两个独立的视频之间切换播放。In some embodiments of the present application, when the target video is the original video, that is, the target video exists alone with at least one other target special effects video, that is, the situation is switching between two independent videos for playback.
步骤102f、在目标视频为合成视频的情况下,第一电子设备从播放界面显示的视频帧跳转至目标视频帧进行播放,目标视频帧为合成视频中对应于至少一个目标特效视频的视频帧。Step 102f. When the target video is a synthesized video, the first electronic device jumps from the video frame displayed on the playback interface to the target video frame for playback. The target video frame is a video frame in the synthesized video corresponding to at least one target special effects video. .
在本申请的一些实施例中,在目标视频为合成视频的情况下,即目标视频与其他至少一个目标特效视频为同一个视频文件,在该情况下,如果需要播放某个特效视频就跳到对应的特效视频的帧进行播放,从而可以实现同一个视频中的不同视频帧的跳转。In some embodiments of the present application, when the target video is a synthetic video, that is, the target video and at least one other target special effects video are the same video file, in this case, if you need to play a certain special effects video, jump to The corresponding frames of the special effects video are played, so that different video frames in the same video can be jumped.
在本申请的一些实施例中,由于在目标视频为原始视频的情况下,可以从目标视频的播放界面切换至少一个目标特效视频的播放界面进行播放;在目标视频为合成视频的情况下,可以从播放界面显示的视频帧跳转至目标视频帧进行播放,目标视频帧为合成视频中对应于至少一个目标特效视频的视频帧。从而可以提高播放特效视频的灵活性。In some embodiments of the present application, when the target video is an original video, the playback interface of at least one target special effects video can be switched from the playback interface of the target video for playback; when the target video is a synthesized video, the playback interface of the target video can be switched. Jump from the video frame displayed on the playback interface to a target video frame for playback. The target video frame is a video frame in the synthesized video corresponding to at least one target special effects video. This can improve the flexibility of playing special effects videos.
可选地,在本申请的一些实施例中,在播放界面包括至少一个特效视频的特效视频缩略图的情况下,本申请实施例提供的视频播放方法还可以包括下述的步骤106和步骤107a;或者,步骤106和步骤107b。Optionally, in some embodiments of the present application, in the case where the playback interface includes at least one special effect video thumbnail of the special effect video, the video playback method provided by the embodiment of the present application may also include the following steps 106 and 107a ; Or, step 106 and step 107b.
步骤106、第一电子设备接收用户对至少一个特效视频缩略图中的目标特效视频缩略图的第三输入。Step 106: The first electronic device receives the user's third input on the target special effect video thumbnail in at least one special effect video thumbnail.
可选地,在本申请的一些实施例中,目标特效视频缩略图的数量可以为一个,也可以为多个,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in some embodiments of the present application, the number of target special effect video thumbnails may be one or multiple, which may be determined according to actual usage requirements, and is not limited in the embodiments of the present application.
可选地,在本申请的一些实施例中,第三输入包括但不限于触控输入、悬浮输入、预设手势输入或语音输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in some embodiments of the present application, the third input includes but is not limited to touch input, floating input, preset gesture input, or voice input. The details can be determined according to actual usage requirements, and are not limited in the embodiments of the present application.
步骤107a、在目标视频为原始视频的情况下,第一电子设备响应于第三输入,删除特效视频缩略图对应的特效视频。Step 107a: When the target video is the original video, the first electronic device responds to the third input and deletes the special effects video corresponding to the special effect video thumbnail.
在本申请的一些实施例中,由于目标视频为原始视频,即特效视频缩略图对应的特效视频与目标视频单独存在,从而第一电子设备只将特效视频缩略图对应的特效视频单独删除。In some embodiments of the present application, since the target video is the original video, that is, the special effects video corresponding to the special effects video thumbnail exists separately from the target video, the first electronic device only deletes the special effects video corresponding to the special effects video thumbnail alone.
步骤107b、在目标视频为合成视频的情况下,第一电子设备响应于第三输入,删除合成视频中与特效视频缩略图对应的特效视频相同内容的视频片段。Step 107b: When the target video is a synthesized video, the first electronic device responds to the third input and deletes the video clips in the synthesized video that have the same content as the special effects video corresponding to the special effects video thumbnail.
在本申请的一些实施例中,由于目标视频为合成视频,即目标视频与至少一个特效视频在同一视频文件中,从而第一电子设备可以将与特效视频缩略图对应的特效视频从该视频文件中删除。In some embodiments of the present application, since the target video is a composite video, that is, the target video and at least one special effects video are in the same video file, the first electronic device can extract the special effects video corresponding to the special effects video thumbnail from the video file. Delete in.
在本申请的一些实施例中,相同内容可以理解为:视频中包含的画面内容和视频的特效参数都相同。In some embodiments of the present application, the same content can be understood as: the picture content contained in the video and the special effect parameters of the video are the same.
在本申请的一些实施例中,由于在播放界面包括至少一个特效视频的特效视频缩略图的情况下,可以接收用户对至少一个特效视频缩略图中的目标特效视频缩略图的第三输入;在目标视频为原始视频的情况下,响应于第三输入,删除特效视频缩略图对应的特效视频;在目标视频为合成视频的情况下,响应于第三输入,删除合成视频中与特效视频缩略图对应的特效视频相同内容的视频片段。从而可以用户可以通过对缩略图的操作,实现对视频文件再次编辑。In some embodiments of the present application, in the case where the playback interface includes a special effects video thumbnail of at least one special effects video, the user's third input to the target special effects video thumbnail in the at least one special effects video thumbnail can be received; in When the target video is an original video, in response to the third input, delete the special effects video corresponding to the special effects video thumbnail; when the target video is a synthesized video, in response to the third input, delete the special effects video thumbnail in the synthesized video The corresponding special effects video contains video clips with the same content. Thus, the user can edit the video file again by operating the thumbnail.
下面结合具体示例,对本申请实施例提供的视频播放方法进行详细说明。The video playback method provided by the embodiment of the present application will be described in detail below with reference to specific examples.
在本申请的一些实施例中,如图2所示,第一电子设备在显示目标视频的播放界面的情况下,用户可以对播放界面中的书本点击输入,那么第一电子设备就开始播放书本关联的特效视频。In some embodiments of the present application, as shown in Figure 2, when the first electronic device displays the playback interface of the target video, the user can click and input on the book in the playback interface, and then the first electronic device starts playing the book. Associated special effects video.
在本申请的一些实施例中,如图2所示,第一电子设备在显示目标视频的播放界面的情况下,如图3所示,用户可以对播放界面中的书本标识上划出“叉号”手势23,那么如图4所示,第一电子设备可以输出“√该目标对象手势存在”的提示信息,并开始播放该手势关联的特效视频。In some embodiments of the present application, as shown in Figure 2, when the first electronic device displays the playback interface of the target video, as shown in Figure 3, the user can draw a "cross" on the book mark in the playback interface. "Gesture 23", then as shown in Figure 4, the first electronic device can output the prompt information "√The target object gesture exists" and start playing the special effects video associated with the gesture.
本申请实施例还提供一种视频拍摄方法。图8示出了本申请的一些实施例提供的视频拍摄方法的流程示意图。如图8所示,本申请实施例提供的视频拍摄方法可以包括下述的步骤201至步骤203。下面以第二电子设备执行该方法为例进行示例性地说明。An embodiment of the present application also provides a video shooting method. Figure 8 shows a schematic flowchart of a video shooting method provided by some embodiments of the present application. As shown in Figure 8, the video shooting method provided by the embodiment of the present application may include the following steps 201 to 203. The following is an exemplary description taking the second electronic device as an example of executing the method.
步骤201、第二电子设备显示原始视频的视频录制界面。Step 201: The second electronic device displays the video recording interface of the original video.
其中,视频录制界面可以包括至少一个拍摄对象关联的至少一个特效视频的视频录制窗口,至少一个特效视频的视频录制窗口可以为视频录制界面中的至少一个拍摄对象关联的视频录制窗口,不同的视频录制窗口的特效参数可以不同。The video recording interface may include a video recording window of at least one special effects video associated with at least one shooting object. The video recording window of the at least one special effects video may be a video recording window associated with at least one shooting object in the video recording interface. Different videos The special effect parameters of the recording window can be different.
可选地,本申请的一些实施例中,效果参数可以包括:滤镜、特效、音乐和风格等中的至少一项。 Optionally, in some embodiments of the present application, the effect parameters may include: at least one of filters, special effects, music, style, etc.
可选地,本申请的一些实施例中,至少一个特效视频的视频录制窗口可以位于视频录制界面中的预设位置,也可以在录制过程中根据用户的输入进行移动。Optionally, in some embodiments of the present application, the video recording window of at least one special effects video can be located at a preset position in the video recording interface, or can be moved according to user input during the recording process.
示例性地,如图9所示,第二电子设备显示原始视频的视频录制界面30,其中,视频录制界面30中包含的拍摄对象有:书本、台灯、桌子、椅子和抽屉,视频录制界面30中还包括视频录制窗口31、视频录制窗口32、视频录制窗口33,即至少一个特效视频的视频录制窗口,其中,书本对应视频录制窗口31,并且视频录制窗口31为通过油画滤镜、拉长特效、“夜空的寂静”音乐和写实风格渲染原始视频后的视频录制窗口,桌子对应视频录制窗口32,并且视频录制窗口32为通过烟雨灰滤镜、拉长特效、“秋的思念”音乐和古典风格渲染原始视频后的视频录制窗口,抽屉对应视频录制窗口33,并且视频录制窗口33为通过高级灰滤镜、发光特效、“大鱼”音乐和古典风格渲染原始视频后的视频录制窗口。Exemplarily, as shown in Figure 9, the second electronic device displays a video recording interface 30 of the original video, where the shooting objects included in the video recording interface 30 include: books, desk lamps, tables, chairs and drawers. The video recording interface 30 also includes a video recording window 31, a video recording window 32, and a video recording window 33, that is, a video recording window for at least one special effects video. The book corresponds to the video recording window 31, and the video recording window 31 is elongated through an oil painting filter. The video recording window after rendering the original video with special effects, "Silence of the Night Sky" music and realistic style. The table corresponds to the video recording window 32, and the video recording window 32 is through the misty gray filter, elongated special effects, "Missing of Autumn" music and The video recording window after rendering the original video in a classical style, the drawer corresponds to the video recording window 33, and the video recording window 33 is a video recording window after rendering the original video through advanced gray filter, luminous special effects, "Big Fish" music and classical style.
步骤202、在录制原始视频的过程中,第二电子设备同步更新每个视频录制窗口中的预览图像。Step 202: During the process of recording the original video, the second electronic device synchronously updates the preview image in each video recording window.
可以理解:录制原始视频的界面和至少一个特效视频的视频录制窗口中显示的内容相同。It can be understood that the interface for recording the original video and the content displayed in the video recording window of at least one special effect video are the same.
步骤203、在原始视频和至少一个特效视频录制完成的情况下,第二电子设备输出目标文件。其中,目标文件可以包括原始视频和至少一个特效视频,或者,目标文件可以包括由原始视频和至少一个特效视频合成得到的合成视频,或者,目标文件可以包括原始视频、至少一个特效视频和合成视频。Step 203: After the recording of the original video and at least one special effect video is completed, the second electronic device outputs the target file. Wherein, the target file may include the original video and at least one special effect video, or the target file may include a synthesized video obtained by synthesizing the original video and at least one special effect video, or the target file may include the original video, at least one special effect video and the synthesized video. .
示例性地,在录制20s的情况下,用户可以通过输入,触发第二电子设备停止录制视频,即原始视频的时长和至少一个特效视频的时长都为20s。For example, in the case of recording for 20 seconds, the user can trigger the second electronic device to stop recording the video by inputting, that is, the duration of the original video and the duration of at least one special effect video are both 20 seconds.
在本申请实施例提供的视频拍摄方法中,由于在显示原始视频的视频录制界面的同时还可以显示至少一个特效视频的视频录制窗口,不同的视频录制窗口的特效参数不同,并且视频录制界面与每个视频录制窗口中的内容同步更新,一方面可以便于用户查看不同效果参数下的录制效果,另一方面可以简化拍摄多个效果视频的操作。In the video shooting method provided by the embodiment of the present application, since the video recording interface of the original video can also be displayed at least one video recording window of the special effects video, the special effect parameters of different video recording windows are different, and the video recording interface is different from the video recording interface. The content in each video recording window is updated synchronously. On the one hand, it is convenient for users to view the recording effects under different effect parameters. On the other hand, it can simplify the operation of shooting multiple effect videos.
可选地,在本申请的一些实施例中,在上述步骤201之前,本申请实施例提供的视频拍摄方法还可以包括下述的步骤204至步骤208。Optionally, in some embodiments of the present application, before the above step 201, the video shooting method provided by the embodiment of the present application may also include the following steps 204 to 208.
步骤204、第二电子设备接收用户对录像预览界面中的目标对象的第一设置输入。Step 204: The second electronic device receives the user's first setting input for the target object in the video preview interface.
可选地,在本申请的一些实施例中,目标对象可以为录像预览界面中的任意对象。Optionally, in some embodiments of the present application, the target object can be any object in the video preview interface.
可选地,在本申请的一些实施例中,第一设置输入包括但不限于触控输入、悬浮输入、预设手势输入或语音输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in some embodiments of the present application, the first setting input includes but is not limited to touch input, floating input, preset gesture input or voice input. The details can be determined according to actual usage requirements, which are not limited in the embodiments of the present application. .
步骤205、第二电子设备响应于第一设置输入,显示特效参数设置选项。Step 205: The second electronic device responds to the first setting input and displays special effect parameter setting options.
在本申请的一些实施例中,特效参数设置选项可以显示特效参数的种类。In some embodiments of the present application, the special effect parameter setting option may display the type of special effect parameter.
例如,特效参数设置选项中包括但不限于:滤镜参数、特效参数、背景音乐参数和视频风格参数等。For example, special effects parameter setting options include but are not limited to: filter parameters, special effects parameters, background music parameters, video style parameters, etc.
步骤206、第二电子设备接收用户对特效参数设置选项的第二设置输入。Step 206: The second electronic device receives the user's second setting input for the special effect parameter setting option.
其中,第二设置输入可以用于设置至少一个特效参数。Wherein, the second setting input can be used to set at least one special effect parameter.
可选地,在本申请的一些实施例中,第二设置输入包括但不限于触控输入、悬浮输入、预设手势输入或语音输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in some embodiments of the present application, the second setting input includes but is not limited to touch input, floating input, preset gesture input or voice input. The details can be determined according to actual usage requirements, which are not limited in the embodiments of the present application. .
可选地,在本申请的一些实施例中,第二设置输入可以包括多个子输入,不同的子输入可以用于设置相同或不同的特效参数。Optionally, in some embodiments of the present application, the second setting input may include multiple sub-inputs, and different sub-inputs may be used to set the same or different special effect parameters.
步骤207、第二电子设备响应于第二设置输入,显示第一视频录制窗口,并按照第二设置输入设置的至少一个特效参数,更新第一视频录制窗口中的特效预览图像。Step 207: The second electronic device displays the first video recording window in response to the second setting input, and updates the special effects preview image in the first video recording window according to at least one special effect parameter set by the second setting input.
可选地,在本申请的一些实施例中,第一视频录制窗口可以位于录像预览界面中的预设位置,也可以根据用户的需求将第一视频录制窗口拖动至用户指定位置。Optionally, in some embodiments of the present application, the first video recording window can be located at a preset position in the video preview interface, or the first video recording window can be dragged to a user-specified position according to the user's needs.
可以理解,第二电子设备可以采用第二设置输入确定的特效参数对原始视频进行渲染,从而更新第一视频录制窗口中的特效预览图像。It can be understood that the second electronic device can render the original video using the special effect parameters determined by the second setting input, thereby updating the special effects preview image in the first video recording window.
示例性地,如图10所示,用户可以对录像预览界面34中的书本35的输入,如图11所示,第二电子设备显示特效参数设置选项36,分别为:“滤镜”选项、“特效”选项、“音乐”选项、和“风格”选项,用户可以对显示的特效参数设置选项进行设置,当用户设置好特效参数后,如图12所示,第二电子设备可以在录像预览界面中显示一个视频录制窗口37,即第一视频录制窗口。For example, as shown in Figure 10, the user can input the book 35 in the video preview interface 34. As shown in Figure 11, the second electronic device displays special effect parameter setting options 36, which are: "Filter" option, With the "Special Effects" option, "Music" option, and "Style" option, the user can set the displayed special effects parameter setting options. After the user sets the special effects parameters, as shown in Figure 12, the second electronic device can preview the video in A video recording window 37 is displayed in the interface, that is, the first video recording window.
步骤208、第二电子设备建立目标对象、第二设置输入设置的特效参数和第一视频录制窗口之间的关联关系。Step 208: The second electronic device establishes an association between the target object, the special effect parameters set by the second setting input, and the first video recording window.
可选地,在本申请的一些实施例中,第二电子设备可以通过建立映射关系的形式或者建立映射表的形式建立目标对象、第二设置输入设置的特效参数和第一视频录制窗口之间的关联关系。Optionally, in some embodiments of the present application, the second electronic device may establish a mapping relationship between the target object, the special effect parameters set by the second setting input and the first video recording window in the form of establishing a mapping relationship or a mapping table. relationship.
可选地,在本申请的一些实施例中,第二电子设备可以通过字符串或字符的数据形式存储目标对象、 第二设置输入设置的特效参数和第一视频录制窗口之间的关联关系。Optionally, in some embodiments of the present application, the second electronic device may store the target object in the form of string or character data, The second setting inputs the association between the special effect parameters set and the first video recording window.
在本申请的一些实施例中,由于可以根据用户的输入设置目标对象的特效参数,在设置好特效参数后,通过视频录制窗口实时显示该特效参数下的特效效果,并建立目标对象、第二设置输入设置的特效参数和第一视频录制窗口之间的关联关系。从而可以提高录制视频效果的多样性。In some embodiments of the present application, since the special effect parameters of the target object can be set according to the user's input, after the special effect parameters are set, the special effects under the special effect parameters are displayed in real time through the video recording window, and the target object and the second Set the association between the special effects parameters of the input settings and the first video recording window. This can improve the diversity of recorded video effects.
可选地,在本申请的一些实施例中,在上述步骤206之后,本申请实施例提供的视频拍摄方法还可以包括下述的步骤209,并且,本申请实施例提供的视频拍摄方法还可以包括步骤210至步骤214。Optionally, in some embodiments of the present application, after the above step 206, the video shooting method provided by the embodiment of the present application may also include the following step 209, and the video shooting method provided by the embodiment of the present application may also include Including step 210 to step 214.
步骤209、第二电子设备建立目标对象、第一设置输入的输入特征和第一视频录制窗口之间的关联关系。Step 209: The second electronic device establishes an association between the target object, the input feature of the first setting input, and the first video recording window.
其中,输入特征可以包括以下至少一项:输入起始位置、输入方向、输入轨迹。The input features may include at least one of the following: input starting position, input direction, and input trajectory.
可选地,在本申请的一些实施例中,第二电子设备可以通过建立映射关系的形式或者建立映射表的形式建立目标对象、第一设置输入的输入特征和第一视频录制窗口之间的关联关系。Optionally, in some embodiments of the present application, the second electronic device may establish a mapping relationship between the target object, the input characteristics of the first setting input and the first video recording window by establishing a mapping relationship or a mapping table. connection relation.
可选地,在本申请的一些实施例中,第二电子设备可以通过字符串或字符的数据形式存储目标对象、第一设置输入的输入特征和第一视频录制窗口之间的关联关系。Optionally, in some embodiments of the present application, the second electronic device may store the association between the target object, the input characteristics of the first setting input, and the first video recording window in the form of string or character data.
步骤210、第二电子设备接收用户对目标对象的第三设置输入。Step 210: The second electronic device receives the user's third setting input for the target object.
可选地,在本申请的一些实施例中,第三设置输入包括但不限于触控输入、悬浮输入、预设手势输入或语音输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in some embodiments of the present application, the third setting input includes but is not limited to touch input, floating input, preset gesture input or voice input. The details can be determined according to actual usage requirements, which are not limited in the embodiments of the present application. .
步骤211、第二电子设备响应于第三设置输入,显示特效参数设置选项。Step 211: The second electronic device responds to the third setting input and displays special effect parameter setting options.
在本申请的一些实施例中,对于特效参数设置选项的描述可以参见上述实施例中的相关描述,为了避免重复,此处不再赘述。In some embodiments of the present application, for descriptions of special effect parameter setting options, please refer to the relevant descriptions in the above embodiments. To avoid duplication, they will not be described again here.
在本申请的一些实施例中,可以对目标对象设置至少一个参数。In some embodiments of the present application, at least one parameter may be set to the target object.
步骤212、第二电子设备接收用户对特效参数设置选项的第四设置输入。Step 212: The second electronic device receives the user's fourth setting input for the special effect parameter setting option.
其中,第四设置输入可以用于设置至少一个特效参数。Wherein, the fourth setting input can be used to set at least one special effect parameter.
可选地,在本申请的一些实施例中,第四设置输入包括但不限于触控输入、悬浮输入、预设手势输入或语音输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in some embodiments of the present application, the fourth setting input includes but is not limited to touch input, floating input, preset gesture input or voice input. The details can be determined according to actual usage requirements, which are not limited in the embodiments of the present application. .
步骤213、第二电子设备响应于第四设置输入,显示第二视频录制窗口,并按照第四设置输入设置的至少一个特效参数,更新第二视频录制窗口中的特效预览图像。Step 213: The second electronic device displays the second video recording window in response to the fourth setting input, and updates the special effects preview image in the second video recording window according to at least one special effect parameter set by the fourth setting input.
在本申请的一些实施例中,对于第二视频录制窗口的描述可以参见上述实施例中第一视频录制窗口的相关描述,为了避免重复,此处不再赘述。In some embodiments of the present application, for the description of the second video recording window, please refer to the related description of the first video recording window in the above embodiments. In order to avoid duplication, the details will not be described again here.
步骤214、第二电子设备建立目标对象、第二设置输入设置的特效参数、第三设置输入的输入特征和第一视频录制窗口之间的关联关系。Step 214: The second electronic device establishes an association between the target object, the special effect parameters set by the second setting input, the input characteristics of the third setting input, and the first video recording window.
可选地,在本申请的一些实施例中,第二电子设备可以通过建立映射关系的形式或者建立映射表的形式建立目标对象、第二设置输入设置的特效参数、第三设置输入的输入特征和第一视频录制窗口之间的关联关系。Optionally, in some embodiments of the present application, the second electronic device can establish the target object, the special effect parameters set by the second setting input, and the input characteristics of the third setting input by establishing a mapping relationship or a mapping table. and the first video recording window.
可选地,在本申请的一些实施例中,第二电子设备可以通过字符串或字符的数据形式存储目标对象、第二设置输入设置的特效参数、第三设置输入的输入特征和第一视频录制窗口之间的关联关系。Optionally, in some embodiments of the present application, the second electronic device may store the target object, the special effect parameters set by the second setting input, the input characteristics of the third setting input and the first video in the form of string or character data. The relationship between recording windows.
可选地,在本申请的一些实施例中,目标对象可以通过不同的手势设置至少一个特效窗口,即同一对象可以关联至少一个特效视频。Optionally, in some embodiments of the present application, the target object can set at least one special effects window through different gestures, that is, the same object can be associated with at least one special effects video.
在本申请的一些实施例中,由于还可以对目标对象再次设置特效参数,即同一对象可以关联多个特效视频,从而可以提高目标对象关联特效视频的多样性。In some embodiments of the present application, special effect parameters can be set again for the target object, that is, the same object can be associated with multiple special effect videos, thereby increasing the diversity of special effect videos associated with the target object.
可选地,在本申请的一些实施例中,在上述步骤201之前,本申请实施例提供的视频拍摄方法还可以包括下述的步骤215和步骤216。Optionally, in some embodiments of the present application, before the above step 201, the video shooting method provided by the embodiment of the present application may also include the following steps 215 and 216.
步骤215、第二电子设备接收用户的第五设置输入。Step 215: The second electronic device receives the user's fifth setting input.
可选地,在本申请的一些实施例中,第五设置输入包括但不限于触控输入、悬浮输入、预设手势输入或语音输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in some embodiments of the present application, the fifth setting input includes but is not limited to touch input, floating input, preset gesture input or voice input. The details can be determined according to actual usage requirements, which are not limited in the embodiments of the present application. .
步骤216、第二电子设备响应于第五设置输入,确定特效视频的播放顺序,并建立第五设置输入的输入特征和播放顺序之间的关联关系。Step 216: The second electronic device responds to the fifth setting input, determines the playback order of the special effects video, and establishes an association between the input characteristics of the fifth setting input and the playback order.
可选地,在本申请的一些实施例中,第二电子设备可以通过建立映射关系的形式或者建立映射表的形式建立第五设置输入的输入特征和播放顺序之间的关联关系。Optionally, in some embodiments of the present application, the second electronic device may establish an association between the input characteristics of the fifth setting input and the playback sequence by establishing a mapping relationship or a mapping table.
可选地,在本申请的一些实施例中,第二电子设备可以通过字符串或字符的数据形式存储第五设置输入的输入特征和播放顺序之间的关联关系。Optionally, in some embodiments of the present application, the second electronic device may store the association between the input characteristics of the fifth setting input and the playback sequence in the form of string or character data.
可选地,在本申请的一些实施例中,第二电子设备可以预先设置特效视频的播放顺序,并将第五设 置输入的输入特征和播放顺序之间进行关联,从而,当需求播放视频时,如果用户的输入与第五设置输入的输入特征相匹配,那么第二电子设备按照预先确定的特效视频的播放顺序播放视频。Optionally, in some embodiments of the present application, the second electronic device can pre-set the playback sequence of the special effects video, and set the fifth setting to The input characteristics of the fifth setting input are associated with the playback order, so that when the video needs to be played, if the user's input matches the input characteristics of the fifth setting input, then the second electronic device follows the predetermined playback order of the special effects video. Play video.
在本申请的一些实施例中,由于可以将第五设置输入和确定的特效视频的播放顺序建立关联关系,从而用户通过特定输入,即可实现不同的播放效果的视频播放控制,提高了特效视频的播放控制的灵活性和视频播放顺序的多样性。In some embodiments of the present application, since the fifth setting input can be associated with the determined playback sequence of the special effects video, the user can achieve video playback control with different playback effects through specific input, which improves the efficiency of the special effects video. The flexibility of playback control and the diversity of video playback sequences.
可选地,在本申请的一些实施例中,本申请实施例提供的视频拍摄方法还可以包括下述的步骤217和步骤218。Optionally, in some embodiments of the present application, the video shooting method provided by the embodiments of the present application may also include the following steps 217 and 218.
步骤217、第二电子设备对视频录制界面显示的预览图像进行对象识别。Step 217: The second electronic device performs object recognition on the preview image displayed on the video recording interface.
可选地,在本申请的一些实施例中,第二电子设备可以通过AI技术对视频录制界面显示的预览图像进行对象识别。Optionally, in some embodiments of the present application, the second electronic device can perform object recognition on the preview image displayed on the video recording interface through AI technology.
步骤218、第二电子设备显示识别到的每个对象的对象标识。Step 218: The second electronic device displays the object identification of each recognized object.
可选地,在本申请的一些实施例中,第二电子设备可以将识别到的对象以数字和文字的形式进行标识。Optionally, in some embodiments of the present application, the second electronic device can identify the recognized object in the form of numbers and text.
示例性地,如图13所示,第二电子设备对视频录制界面显示的预览图像进行对象识别,那么如图14所示,第二电子设备显示识别到的每个对象的对象标识:书本对应“1.书本”标识、台灯对应“2.台灯”标识、桌子对“应3.桌子”标识、椅子对应“4.椅子”标识、抽屉对应“5.抽屉”标识。For example, as shown in Figure 13, the second electronic device performs object recognition on the preview image displayed on the video recording interface. Then, as shown in Figure 14, the second electronic device displays the object identification of each recognized object: book correspondence. The "1. Book" logo, the desk lamp corresponds to the "2. Table Lamp" logo, the table corresponds to the "3. Table" logo, the chair corresponds to the "4. Chair" logo, and the drawer corresponds to the "5. Drawer" logo.
在本申请的一些实施例中,由于可以对预览图像中的对象进行识别和标记,从而便于用户对需求设置特效参数的对象进行设置。In some embodiments of the present application, since objects in the preview image can be identified and marked, it is convenient for users to set objects for which special effect parameters need to be set.
可选地,在本申请的一些实施例中,上述步骤203具体可以通过下述步骤203a实现。Optionally, in some embodiments of the present application, the above step 203 can be specifically implemented through the following step 203a.
步骤203a、在原始视频和至少一个特效视频录制完成的情况下,第二电子设备按照录制前至少一个特效视频的特效参数设置顺序,将录制得到原始视频和至少一个特效视频进行视频合成,输出合成视频。Step 203a. After the recording of the original video and at least one special effects video is completed, the second electronic device performs video synthesis on the original video and at least one special effects video according to the special effect parameter setting sequence of the at least one special effects video before recording, and outputs the synthesis. video.
可选地,在本申请的一些实施例中,特效参数设置顺序可以为用户对上述至少一个拍摄对象设置特效参数的顺序。Optionally, in some embodiments of the present application, the special effect parameter setting sequence may be the sequence in which the user sets the special effect parameters for the above-mentioned at least one photographed object.
可选地,在本申请的一些实施例中,第二电子设备可以将原始视频放在合成视频中的最前面,也可以将原始视频放在合成视频中的最后面。Optionally, in some embodiments of the present application, the second electronic device may place the original video at the front of the synthesized video, or may place the original video at the end of the synthesized video.
在本申请的一些实施例中,由于可以按照录制前至少一个特效视频的特效参数设置顺序,将录制得到原始视频和至少一个特效视频进行视频合成,从而可以按照用户设置的特效参数的顺序录制视频,进而可以得到满足用户录制效果需求的视频。In some embodiments of the present application, since the recorded original video and at least one special effects video can be synthesized according to the order in which the special effect parameters of at least one special effect video are set before recording, the video can be recorded in the order in which the special effect parameters are set by the user. , and then you can get a video that meets the user’s recording effect requirements.
可选地,在本申请的一些实施例中,上述步骤202具体可以通过下述步骤202a实现。Optionally, in some embodiments of the present application, the above step 202 can be specifically implemented through the following step 202a.
步骤202a、在录制原始视频的过程中,第二电子设备将视频录制界面中显示的每一帧预览图像逐帧复制至每个视频录制窗口中,并按照每个视频录制窗口关联的特效参数,对复制后的每一帧预览图像进行图像处理。Step 202a. During the process of recording the original video, the second electronic device copies each frame of preview image displayed in the video recording interface to each video recording window frame by frame, and according to the special effects parameters associated with each video recording window, Perform image processing on the copied preview image of each frame.
其中,在视频录制窗口的个数为至少两个的情况下,对于每一帧预览图像,每次复制的预览图像的帧数和视频录制窗口的个数相同。Wherein, when the number of video recording windows is at least two, for each frame of the preview image, the number of frames of the preview image copied each time is the same as the number of video recording windows.
可选地,在本申请的一些实施例中,第二电子设备可以获取到上述每一帧预览图像的内存空间数据,根据至少一个特效视频的视频录制窗口n,申请n个对应大小的内存空间,读取原始视频帧内存空间的所有数据,然后通过至少一个线程的方式将读取到的原始视频帧内存空间的数据逐一复制填充到对应的n个内存空间中。Optionally, in some embodiments of the present application, the second electronic device can obtain the memory space data of each frame of the preview image, and apply for n memory spaces of corresponding size according to the video recording window n of at least one special effects video. , read all the data in the original video frame memory space, and then copy and fill the read data in the original video frame memory space into the corresponding n memory spaces one by one through at least one thread.
示例性地,如图9所示,视频录制界面30中包括3个视频录制窗口,分别为:书本对应的录制窗口、桌子对应的录制窗口和抽屉对应的录制窗口,那么第二电子设备可以通过线程1将视频录制界面中显示的每一帧预览图像逐帧复制2份,并分别显示在书本对应的录制窗口和桌子对应的录制窗口;通过线程2将视频录制界面中显示的每一帧预览图像逐帧复制1份,并显示在抽屉对应的录制窗口,即通过多线程并行复制,每个线程的预览图像的复制可同时执行,也可以允许有一定范围内的时间差,例如200~400毫秒,从而可以保证每一帧预览图像帧复制的效率。For example, as shown in Figure 9, the video recording interface 30 includes three video recording windows, namely: a recording window corresponding to the book, a recording window corresponding to the table, and a recording window corresponding to the drawer. Then the second electronic device can pass Thread 1 copies each frame preview image displayed in the video recording interface frame by frame into two copies, and displays them in the recording window corresponding to the book and the recording window corresponding to the table; through thread 2, previews each frame displayed in the video recording interface The image is copied frame by frame and displayed in the corresponding recording window of the drawer, that is, through multi-thread parallel copying, the copying of the preview image of each thread can be executed simultaneously, and a time difference within a certain range can also be allowed, such as 200 to 400 milliseconds. , thus ensuring the efficiency of copying each preview image frame.
在本申请的一些实施例中,由于可以根据视频录制窗口的个数将视频录制界面中显示的每一帧预览图像逐帧进行复制,从而可以避免浪费资源。In some embodiments of the present application, since each frame of the preview image displayed in the video recording interface can be copied frame by frame according to the number of video recording windows, waste of resources can be avoided.
可选地,在本申请的一些实施例中,在录制原始视频的过程中,本申请实施例提供的视频拍摄方法还可以包括下述的步骤219和步骤220。Optionally, in some embodiments of the present application, during the process of recording the original video, the video shooting method provided by the embodiment of the present application may also include the following steps 219 and 220.
步骤219、第二电子设备接收用户对第三视频录制窗口的第六设置输入。Step 219: The second electronic device receives the user's sixth setting input for the third video recording window.
可选地,在本申请的一些实施例中,第三视频录制窗口可以为上述至少一个特效视频的视频录制窗 口中的任意窗口,第三视频录制窗口的数量可以为一个也可以为多个。Optionally, in some embodiments of the present application, the third video recording window may be the video recording window of at least one of the above special effects videos. For any window in the mouth, the number of third video recording windows can be one or multiple.
可选地,在本申请的一些实施例中,第六设置输入包括但不限于触控输入、悬浮输入、预设手势输入或语音输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in some embodiments of the present application, the sixth setting input includes but is not limited to touch input, floating input, preset gesture input or voice input. The details can be determined according to actual usage requirements, which are not limited in the embodiments of the present application. .
步骤220、第二电子设备响应于第六设置输入,更新第三视频录制窗口的特效参数,并按照更新后的特效参数,更新第三视频录制窗口中的特效预览图像。Step 220: The second electronic device responds to the sixth setting input, updates the special effects parameters of the third video recording window, and updates the special effects preview image in the third video recording window according to the updated special effect parameters.
在本申请的一些实施例中,第六设置输入具体可以为对第三视频录制窗口对应的特效参数进行修改。In some embodiments of the present application, the sixth setting input may specifically be to modify the special effect parameters corresponding to the third video recording window.
在本申请的一些实施例中,在用户对第三视频录制窗口对应的特效参数进行修改完成后,第二电子设备可以按照第三视频录制窗口对应的最新特效参数对第三视频录制窗口中显示的图像进行渲染。In some embodiments of the present application, after the user completes the modification of the special effects parameters corresponding to the third video recording window, the second electronic device can display in the third video recording window according to the latest special effects parameters corresponding to the third video recording window. The image is rendered.
示例性地,在第六设置输入之前,第三视频录制窗口对应的特效参数为:油画滤镜、拉长特效、“夜空的寂静”音乐参数和写实风格参数;用户可以对第三视频录制窗口对应的特效参数进行修改,即第六设置输入;从而电子设备可以响应于该用户的输入,将第三视频录制窗口对应的特效参数更新为:烟雨灰滤镜、拉长特效、“秋的思念”音乐参数和古典风格参数,并按照更新后的该特效参数,更新第三视频录制窗口中的特效预览图像。在本申请的一些实施例中,由于可以在录制视频的过程中,对第三视频录制窗口对应的特效参数进行修改更新,并按照更新后的特效参数,更新第三视频录制窗口中的特效预览图像,从而可以提高拍摄特效视频的灵活性。For example, before the sixth setting is input, the special effect parameters corresponding to the third video recording window are: oil painting filter, elongated special effect, "silence of the night sky" music parameters and realistic style parameters; the user can modify the third video recording window The corresponding special effect parameters are modified, that is, the sixth setting input; thereby the electronic device can respond to the user's input and update the special effect parameters corresponding to the third video recording window to: misty gray filter, elongated special effect, "Missing of Autumn" "music parameters and classical style parameters, and update the special effects preview image in the third video recording window according to the updated special effects parameters. In some embodiments of the present application, the special effects parameters corresponding to the third video recording window can be modified and updated during the video recording process, and the special effects preview in the third video recording window can be updated according to the updated special effects parameters. images, thereby increasing the flexibility of shooting special effects videos.
可选地,在本申请的一些实施例中,视频录制界面包括第一拍摄对象和第二拍摄对象,第一拍摄对象关联第四视频录制窗口,第二拍摄对象关联第五视频录制窗口,本申请实施例提供的视频拍摄方法还可以包括下述的步骤221和步骤222。Optionally, in some embodiments of the present application, the video recording interface includes a first shooting object and a second shooting object, the first shooting object is associated with the fourth video recording window, and the second shooting object is associated with the fifth video recording window. The video shooting method provided by the application embodiment may also include the following steps 221 and 222.
步骤221、第二电子设备接收用户对第一拍摄对象和第二拍摄对象的第七设置输入。Step 221: The second electronic device receives the user's seventh setting input for the first photographing object and the second photographing object.
其中,第七设置输入可以用于交换第一拍摄对象和第二拍摄对象关联的特效录制窗口。Wherein, the seventh setting input may be used to exchange special effects recording windows associated with the first photographic object and the second photographic object.
可选地,在本申请的一些实施例中,第一拍摄对象和第二拍摄对象分别为上述至少一个拍摄对象中的任一拍摄对象,并且,第一拍摄对象和第二拍摄对象为不同的拍摄对象。Optionally, in some embodiments of the present application, the first photographing object and the second photographing object are any one of the above-mentioned at least one photographing object, and the first photographing object and the second photographing object are different Photograph the subject.
可选地,在本申请的一些实施例中,第七设置输入包括但不限于触控输入、悬浮输入、预设手势输入或语音输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in some embodiments of the present application, the seventh setting input includes but is not limited to touch input, floating input, preset gesture input or voice input. The details can be determined according to actual usage requirements, which are not limited in the embodiments of the present application. .
步骤222、第二电子设备响应于第七设置输入,建立第一拍摄对象和第五视频录制窗口的关联关系,并建立第二拍摄对象和第四视频录制窗口的关联关系。Step 222: In response to the seventh setting input, the second electronic device establishes an association between the first shooting object and the fifth video recording window, and establishes an association between the second shooting object and the fourth video recording window.
示例性地,如图15所示,假设第一拍摄对象书本与第四视频录制窗口38关联,第二拍摄对象桌子与第五视频录制窗口39关联,用户可以对“替换标记”控件输入后,再点击第四视频录制窗口38,那么如图16所示,第一拍摄对象书本与第四视频录制窗口39关联,第二拍摄对象桌子与第五视频录制窗口38关联。For example, as shown in Figure 15, assuming that the first subject book is associated with the fourth video recording window 38, and the second subject table is associated with the fifth video recording window 39, the user can input the "Replace Mark" control, Click the fourth video recording window 38 again, then as shown in Figure 16, the first shooting object book is associated with the fourth video recording window 39, and the second shooting object table is associated with the fifth video recording window 38.
可选地,在本申请的一些实施例中,第二电子设备可以通过建立映射关系的形式或者建立映射表的形式建立第一拍摄对象和第五视频录制窗口的关联关系,并建立第二拍摄对象和第四视频录制窗口的关联关系。Optionally, in some embodiments of the present application, the second electronic device may establish an association between the first shooting object and the fifth video recording window by establishing a mapping relationship or a mapping table, and establish the second shooting object. The relationship between the object and the fourth video recording window.
可选地,在本申请的一些实施例中,第二电子设备可以通过字符串或字符的数据形式存储第一拍摄对象和第五视频录制窗口的关联关系,并建立第二拍摄对象和第四视频录制窗口的关联关系。Optionally, in some embodiments of the present application, the second electronic device may store the association between the first shooting object and the fifth video recording window in the form of string or character data, and establish the second shooting object and the fourth video recording window. The association of video recording windows.
在本申请的一些实施例中,由于可以通过用户的输入交换不同对象之间关联的视频录制窗口,从而可以提高对象与视频窗口之间的灵活性。In some embodiments of the present application, since video recording windows associated with different objects can be exchanged through user input, the flexibility between objects and video windows can be improved.
下面结合具体示例,对本申请实施例提供的视频拍摄方法进行详细说明。The video shooting method provided by the embodiment of the present application will be described in detail below with reference to specific examples.
在本申请的一些实施例中,如图13所示,第二电子设备在显示录像预览界面的情况下,通过AI技术对录像预览界面中的拍摄对象进行识别,如图14所示,第二电子设备显示识别到的每个对象的对象标识,分别为:1书本、2台灯、3桌子、4椅子和5抽屉;用户可以对拍摄对象书本进行点击,如图11所示,显示特效参数设置选项,分别为:滤镜、特效、音乐和风格,当用户设置好书本的特效参数后,如图12所示,第二电子设备在录像预览界面中显示书本对应的视频录制窗口。In some embodiments of the present application, as shown in Figure 13, when the second electronic device displays the video preview interface, the second electronic device uses AI technology to identify the photographed object in the video preview interface. As shown in Figure 14, the second electronic device The electronic device displays the object identification of each object recognized, which are: 1 book, 2 lamps, 3 tables, 4 chairs and 5 drawers; the user can click on the subject book, as shown in Figure 11, to display the special effect parameter settings. The options are: filters, special effects, music and style. After the user sets the special effect parameters of the book, as shown in Figure 12, the second electronic device displays the video recording window corresponding to the book in the video preview interface.
在本申请的一些实施例中,如图13所示,第二电子设备在显示录像预览界面的情况下,通过AI技术对录像预览界面中的拍摄对象进行识别,如图14所示,第二电子设备显示识别到的每个对象的对象标识,分别为:1书本、2台灯、3桌子、4椅子和5抽屉;用户可以对拍摄对象书本进行点击,如图17所示,第二电子设备显示设置窗口40,用户可以对设置窗口40中“编辑”控件输入,如图18所示,用户可以设置手势“W”,并且如图17所示,用户可以点击“设置”控件设置该手势对应的特效参数,完成设置后,第二电子设备可以建立对象书本、手势“W”和设置的效果参数的关联关系;然后,如图17所示,用户可以点击设置窗口中“+”控件,那么如图19所示,设置窗口中显示“1_手势2”,用 户可以对“1_手势2”对应的“编辑”控件输入,如图20所示,用户可以设置手势“√”,并且如图17所示,用户可以点击“设置”控件设置该手势对应的特效参数,完成设置后,第二电子设备可以建立对象书本、手势“√”和设置的效果参数的关联关系。In some embodiments of the present application, as shown in Figure 13, when the second electronic device displays the video preview interface, the second electronic device uses AI technology to identify the photographed object in the video preview interface. As shown in Figure 14, the second electronic device The electronic device displays the object identification of each recognized object, which are: 1 book, 2 desk lamp, 3 table, 4 chair and 5 drawer; the user can click on the subject book, as shown in Figure 17, the second electronic device The setting window 40 is displayed, and the user can input the "edit" control in the setting window 40. As shown in Figure 18, the user can set the gesture "W", and as shown in Figure 17, the user can click the "setting" control to set the corresponding gesture. After completing the settings of the special effect parameters, the second electronic device can establish an association between the object book, the gesture "W" and the set effect parameters; then, as shown in Figure 17, the user can click the "+" control in the setting window, then As shown in Figure 19, "1_Gesture 2" is displayed in the setting window. Use The user can input the "Edit" control corresponding to "1_Gesture 2", as shown in Figure 20, the user can set the gesture "√", and as shown in Figure 17, the user can click the "Settings" control to set the gesture corresponding After the special effect parameters are set, the second electronic device can establish an association between the object book, the gesture "√" and the set effect parameters.
需要说明的是,本申请实施例提供的视频播放方法,执行主体可以为视频播放装置,或者该视频播放装置中的用于执行视频播放方法的控制模块。本申请实施例中以视频播放装置执行视频播放方法为例,说明本申请实施例提供的视频播放装置。It should be noted that, for the video playback method provided by the embodiments of the present application, the execution subject may be a video playback device, or a control module in the video playback device for executing the video playback method. In the embodiment of the present application, a video playback device performing a video playback method is used as an example to illustrate the video playback device provided by the embodiment of the present application.
结合图21,本申请实施例提供一种视频播放装置400,该视频播放装置400可以包括:接收模块401和播放模块402;接收模块401,用于接收用户对目标视频的播放界面中的目标对象的第一输入,目标视频中的至少一个拍摄对象关联至少一个特效视频,目标视频包括原始视频或合成视频,合成视频为原始视频和原始视频中的至少一个拍摄对象关联的特效视频合成得到的,目标对象为用户在至少一个拍摄对象中选中的至少一个拍摄对象,不同的特效视频的特效参数不同;播放模块402,用于响应于接收模块401接收的第一输入,播放目标对象关联的至少一个目标特效视频。21, the embodiment of the present application provides a video playback device 400. The video playback device 400 may include: a receiving module 401 and a playback module 402; the receiving module 401 is used to receive the user's request for the target object in the playback interface of the target video. The first input is that at least one subject in the target video is associated with at least one special effects video. The target video includes the original video or a synthesized video. The synthesized video is a synthesis of the original video and the special effects video associated with at least one subject in the original video. The target object is at least one shooting object selected by the user among at least one shooting object, and different special effect videos have different special effect parameters; the playback module 402 is configured to respond to the first input received by the receiving module 401 and play at least one of the objects associated with the target object. Target special effects video.
可选地,本申请实施例中,接收模块401,具体用于接收用户对目标对象所在区域的输入;或者,在播放界面包括目标关联的对象标识的情况下,接收用户对目标对象的对象标识的输入,其中,一个对象标识指示一个拍摄对象。Optionally, in the embodiment of the present application, the receiving module 401 is specifically configured to receive the user's input on the area where the target object is located; or, when the playback interface includes an object identifier associated with the target, receive the user's object identifier on the target object. An input where an object identifier indicates a photographed object.
可选地,本申请实施例中,目标对象关联至少两个特效视频;播放模块402,具体用于在每个特效视频关联一个预设输入特征,且第一输入的输入特征与第一预设输入特征匹配的情况下,播放第一预设输入特征关联的特效视频;其中,预设输入特征包括以下至少一项:输入起始位置、输入方向、输入轨迹;播放模块402,具体用于在第一输入的输入特征为第二预设输入特征的情况下,按照第二预设输入特征关联的播放顺序,播放目标对象关联的至少两个特效视频。Optionally, in this embodiment of the present application, the target object is associated with at least two special effects videos; the playback module 402 is specifically configured to associate a preset input feature with each special effect video, and the input feature of the first input is the same as the first preset input feature. When the input features match, the special effects video associated with the first preset input feature is played; wherein the preset input feature includes at least one of the following: input starting position, input direction, and input trajectory; the playback module 402 is specifically used for When the input feature of the first input is the second preset input feature, at least two special effects videos associated with the target object are played according to the playback order associated with the second preset input feature.
可选地,本申请实施例中,接收模块401,具体用于接收用户对目标视频的播放界面中显示的第一视频帧中目标对象的输入;播放模块402,具体用于从目标对象关联的一个目标特效视频的第二视频帧开始播放目标特效视频;其中,第二视频帧为目标特效视频中与第一视频帧对应帧数的视频帧,或者第二视频帧为目标特效视频的起始视频帧。Optionally, in this embodiment of the present application, the receiving module 401 is specifically configured to receive the user's input of the target object in the first video frame displayed in the playback interface of the target video; the playback module 402 is specifically configured to obtain the target object associated with the target video. The second video frame of a target special effects video starts to play the target special effects video; wherein, the second video frame is the video frame corresponding to the first video frame in the target special effects video, or the second video frame is the start of the target special effects video Video frames.
可选地,本申请实施例中,视频播放装置400还包括:存储模块;存储模块,用于在接收模块401接收用户对目标视频的播放界面中的目标对象的第一输入之后,将第二视频帧的帧数存储为历史播放信息;接收模块401,还用于接收用户的第二输入;播放模块402,还用于响应于接收模块401接收的第二输入,按照预先存储的历史播放信息,播放目标视频,并在播放目标视频的过程中,在播放至第一视频帧的情况下,跳转至目标对象关联的一个目标特效视频的第二视频帧继续播放。Optionally, in this embodiment of the present application, the video playback device 400 further includes: a storage module; a storage module configured to store the second input of the target object in the playback interface of the target video after the receiving module 401 receives the user's first input. The frame number of the video frame is stored as historical playback information; the receiving module 401 is also used to receive the second input from the user; the playback module 402 is also used to respond to the second input received by the receiving module 401, according to the pre-stored historical playback information , play the target video, and during the process of playing the target video, when the first video frame is played, jump to the second video frame of a target special effects video associated with the target object and continue playing.
可选地,本申请实施例中,在播放界面包括至少一个特效视频的特效视频缩略图的情况下,接收模块401,具体用于接收用户对至少一个特效视频缩略图中的目标特效视频缩略图的第一输入;其中,一个特效视频缩略图为一个特效视频的任一个视频帧的缩略图;播放模块402,具体用于播放包括目标特效视频缩略图对应的视频帧的特效视频。Optionally, in this embodiment of the present application, when the playback interface includes a special effect video thumbnail of at least one special effect video, the receiving module 401 is specifically configured to receive the user's response to the target special effects video thumbnail in the at least one special effect video thumbnail. The first input; wherein, a special effects video thumbnail is a thumbnail of any video frame of a special effects video; the playback module 402 is specifically used to play the special effects video including the video frame corresponding to the target special effects video thumbnail.
可选地,本申请实施例中,播放模块402,具体用于在目标视频为原始视频的情况下,从目标视频的播放界面切换至少一个目标特效视频的播放界面进行播放;播放模块402,具体用于在目标视频为合成视频的情况下,从播放界面显示的视频帧跳转至目标视频帧进行播放,目标视频帧为合成视频中对应于至少一个目标特效视频的视频帧。Optionally, in the embodiment of the present application, the playback module 402 is specifically configured to switch the playback interface of at least one target special effects video from the playback interface of the target video for playback when the target video is an original video; the playback module 402 is specifically used to It is used to jump from the video frame displayed on the playback interface to the target video frame for playback when the target video is a synthesized video, and the target video frame is a video frame in the synthesized video corresponding to at least one target special effects video.
可选地,本申请实施例中,视频播放装置400还包括:处理模块;在播放界面包括至少一个特效视频的特效视频缩略图的情况下,接收模块401,还用于接收用户对至少一个特效视频缩略图中的目标特效视频缩略图的第三输入;处理模块,用于在目标视频为原始视频的情况下,响应于第三输入,删除特效视频缩略图对应的特效视频;处理模块,还用于在目标视频为合成视频的情况下,响应于第三输入,删除合成视频中与特效视频缩略图对应的特效视频相同内容的视频片段。Optionally, in this embodiment of the present application, the video playback device 400 further includes: a processing module; in the case where the playback interface includes a special effect video thumbnail of at least one special effect video, the receiving module 401 is also configured to receive the user's response to the at least one special effect video. The third input of the target special effects video thumbnail in the video thumbnail; the processing module is configured to delete the special effects video corresponding to the special effects video thumbnail in response to the third input when the target video is the original video; the processing module also Used for, when the target video is a synthesized video, in response to the third input, deleting the video clips in the synthesized video that have the same content as the special effects video corresponding to the special effects video thumbnail.
在本申请实施例提供的视频播放装置中,由于目标视频中包括的至少一个拍摄对象关联至少一个特效视频,从而可以根据用户对目标视频的播放界面中的目标对象的输入播放目标对象关联的至少一个目标特效视频,而并非以固定的播放效果播放目标视频,因此能够丰富视频的特效效果,从而提高了视频播放效果的多样性。In the video playback device provided by the embodiment of the present application, since at least one shooting object included in the target video is associated with at least one special effects video, at least the target object associated with the target video can be played according to the user's input to the target object in the playback interface of the target video. A target special effects video, instead of playing the target video with a fixed playback effect, can enrich the special effects of the video, thus improving the diversity of video playback effects.
需要说明的是,本申请实施例提供的视频拍摄方法,执行主体可以为视频拍摄装置,或者该视频拍摄装置中的用于执行视频拍摄方法的控制模块。本申请实施例中以视频拍摄装置执行视频播放方法为例,说明本申请实施例提供的视频拍摄装置。It should be noted that, for the video shooting method provided by the embodiments of the present application, the execution subject may be a video shooting device, or a control module in the video shooting device for executing the video shooting method. In the embodiment of the present application, a video shooting device performing a video playback method is used as an example to describe the video shooting device provided by the embodiment of the present application.
结合图22,本申请实施例提供一种视频拍摄装置500,该视频拍摄装置500可以包括:显示模块501、更新模块502和处理模块503;显示模块501,用于显示原始视频的视频录制界面,视频录制界面 包括至少一个拍摄对象关联的至少一个特效视频的视频录制窗口,至少一个特效视频的视频录制窗口为视频录制界面中的至少一个拍摄对象关联的视频录制窗口,不同的视频录制窗口的特效参数不同;更新模块502,用于在录制原始视频的过程中,同步更新每个视频录制窗口中的预览图像;处理模块503,用于在原始视频和至少一个特效视频录制完成的情况下,输出目标文件;其中,目标文件包括原始视频和至少一个特效视频,或者,目标文件包括由原始视频和至少一个特效视频合成得到的合成视频,或者,目标文件包括原始视频、至少一个特效视频和合成视频。22, the embodiment of the present application provides a video shooting device 500. The video shooting device 500 may include: a display module 501, an update module 502, and a processing module 503; the display module 501 is used to display a video recording interface of the original video, Video recording interface It includes a video recording window associated with at least one special effects video associated with at least one shooting object. The video recording window of the at least one special effects video is a video recording window associated with at least one shooting object in the video recording interface. Different video recording windows have different special effect parameters; The update module 502 is used to synchronously update the preview image in each video recording window during the recording of the original video; the processing module 503 is used to output the target file after the recording of the original video and at least one special effects video is completed; Wherein, the target file includes the original video and at least one special effect video, or the target file includes a synthesized video obtained by synthesizing the original video and at least one special effect video, or the target file includes the original video, at least one special effect video and the synthesized video.
可选地,本申请实施例中,该视频拍摄装置500还包括:接收模块;接收模块,用于显示模块501显示原始视频的视频录制界面之前,接收用户对录像预览界面中的目标对象的第一设置输入;显示模块501,还用于响应于接收模块接收的第一设置输入,显示特效参数设置选项;接收模块,还用于接收用户对特效参数设置选项的第二设置输入,第二设置输入用于设置至少一个特效参数;显示模块501,还用于响应于接收模块接收的第二设置输入,显示第一视频录制窗口;更新模块502,还用于响应于接收模块接收的第二设置输入,按照第二设置输入设置的至少一个特效参数,更新第一视频录制窗口中的特效预览图像;处理模块503,还用于建立目标对象、第二设置输入设置的特效参数和第一视频录制窗口之间的关联关系。Optionally, in this embodiment of the present application, the video shooting device 500 further includes: a receiving module; a receiving module, configured to receive the user's first response to the target object in the video recording preview interface before the display module 501 displays the video recording interface of the original video. A setting input; the display module 501 is also used to display the special effect parameter setting options in response to the first setting input received by the receiving module; the receiving module is also used to receive the user's second setting input of the special effect parameter setting options, the second setting The input is used to set at least one special effect parameter; the display module 501 is also used to display the first video recording window in response to the second setting input received by the receiving module; the update module 502 is also used to respond to the second setting received by the receiving module Input, at least one special effects parameter set according to the second setting input, and update the special effects preview image in the first video recording window; the processing module 503 is also used to establish the target object, the special effects parameters set by the second setting input and the first video recording The relationship between windows.
可选地,本申请实施例中,处理模块503,还用于在接收模块接收用户对特效参数设置界面的第二设置输入之后,建立目标对象、第一设置输入的输入特征和第一视频录制窗口之间的关联关系;其中,输入特征包括以下至少一项:输入起始位置、输入方向、输入轨迹;接收模块,还用于接收用户对目标对象的第三设置输入;显示模块501,还用于响应于接收模块接收的第三设置输入,显示特效参数设置选项;接收模块,还用于接收用户对特效参数设置选项的第四设置输入,第四设置输入用于设置至少一个特效参数;显示模块501,还用于响应于接收模块接收的第四设置输入,显示第二视频录制窗口;更新模块502,还用于响应于接收模块接收的第四设置输入,按照第四设置输入设置的至少一个特效参数,更新第二视频录制窗口中的特效预览图像;处理模块503,还用于建立目标对象、第二设置输入设置的特效参数、第三设置输入的输入特征和第一视频录制窗口之间的关联关系。Optionally, in the embodiment of the present application, the processing module 503 is also configured to establish the target object, the input characteristics of the first setting input and the first video recording after the receiving module receives the user's second setting input on the special effect parameter setting interface. The association between windows; wherein the input characteristics include at least one of the following: input starting position, input direction, input trajectory; the receiving module is also used to receive the user's third setting input of the target object; the display module 501 is also The receiving module is configured to display the special effect parameter setting options in response to the third setting input received by the receiving module; the receiving module is also configured to receive the user's fourth setting input of the special effect parameter setting options, and the fourth setting input is used to set at least one special effect parameter; The display module 501 is also configured to display the second video recording window in response to the fourth setting input received by the receiving module; the update module 502 is also configured to respond to the fourth setting input received by the receiving module, and display the second video recording window according to the fourth setting input. At least one special effects parameter updates the special effects preview image in the second video recording window; the processing module 503 is also used to establish the target object, the special effects parameters set by the second setting input, the input characteristics of the third setting input, and the first video recording window. relationship between them.
可选地,本申请实施例中,该视频拍摄装置500还包括:接收模块;接收模块,用于在显示模块501显示原始视频的视频录制界面之前,接收用户的第五设置输入;处理模块503,用于响应于接收模块接收的第五设置输入,确定特效视频的播放顺序,并建立第五设置输入的输入特征和播放顺序之间的关联关系。Optionally, in this embodiment of the present application, the video shooting device 500 further includes: a receiving module; a receiving module configured to receive the user's fifth setting input before the display module 501 displays the video recording interface of the original video; and a processing module 503 , used to determine the playback sequence of the special effects video in response to the fifth setting input received by the receiving module, and establish an association between the input characteristics of the fifth setting input and the playback sequence.
可选地,本申请实施例中,该视频拍摄装置500还包括:识别模块;识别模块,用于对视频录制界面显示的预览图像进行对象识别;显示模块501,还用于显示识别到的每个对象的对象标识。Optionally, in this embodiment of the present application, the video shooting device 500 also includes: a recognition module; a recognition module for object recognition on the preview image displayed on the video recording interface; a display module 501 for displaying each recognized object. The object identifier of an object.
可选地,本申请实施例中,处理模块503,具体用于在原始视频和至少一个特效视频录制完成的情况下,按照录制前至少一个特效视频的特效参数设置顺序,将录制得到原始视频和至少一个特效视频进行视频合成,输出合成视频。Optionally, in the embodiment of the present application, the processing module 503 is specifically configured to, when the recording of the original video and at least one special effects video is completed, according to the special effect parameter setting sequence of at least one special effect video before recording, record the original video and At least one special effects video performs video synthesis and outputs the synthesized video.
可选地,本申请实施例中,更新模块502,具体用于将视频录制界面中显示的每一帧预览图像逐帧复制至每个视频录制窗口中,并按照每个视频录制窗口关联的特效参数,对复制后的每一帧预览图像进行图像处理;其中,在视频录制窗口的个数为至少两个的情况下,对于每一帧预览图像,每次复制的预览图像的帧数和视频录制窗口的个数相同。Optionally, in the embodiment of the present application, the update module 502 is specifically used to copy each frame of preview image displayed in the video recording interface to each video recording window frame by frame, and according to the special effects associated with each video recording window Parameters, perform image processing on each copied preview image; among them, when the number of video recording windows is at least two, for each frame of preview image, the number of frames and video of each copied preview image The number of recording windows is the same.
可选地,本申请实施例中,该视频拍摄装置500还包括:接收模块;接收模块,用于在录制原始视频的过程中,接收用户对第三视频录制窗口的第六设置输入;更新模块502,还用于响应于接收模块接收的第六设置输入,更新第三视频录制窗口的特效参数,并按照更新后的特效参数,更新第三视频录制窗口中的特效预览图像。Optionally, in this embodiment of the present application, the video shooting device 500 further includes: a receiving module; a receiving module configured to receive the user's sixth setting input for the third video recording window during the process of recording the original video; and an update module. 502 is also used to update the special effects parameters of the third video recording window in response to the sixth setting input received by the receiving module, and update the special effects preview image in the third video recording window according to the updated special effect parameters.
可选地,本申请实施例中,视频录制界面包括第一拍摄对象和第二拍摄对象,第一拍摄对象关联第四视频录制窗口,第二拍摄对象关联第五视频录制窗口;该视频拍摄装置500还包括:接收模块;接收模块,用于接收用户对第一拍摄对象和第二拍摄对象的第七设置输入,第七设置输入用于交换第一拍摄对象和第二拍摄对象关联的特效录制窗口;处理模块503,还用于响应于接收模块接收的第七设置输入,建立第一拍摄对象和第五视频录制窗口的关联关系,并建立第二拍摄对象和第四视频录制窗口的关联关系。Optionally, in this embodiment of the present application, the video recording interface includes a first shooting object and a second shooting object, the first shooting object is associated with the fourth video recording window, and the second shooting object is associated with the fifth video recording window; the video shooting device 500 also includes: a receiving module; a receiving module configured to receive the user's seventh setting input for the first photographing object and the second photographing object, and the seventh setting input is used to exchange the special effects recording associated with the first photographing object and the second photographing object. Window; the processing module 503 is also configured to respond to the seventh setting input received by the receiving module, establish an association between the first shooting object and the fifth video recording window, and establish an association between the second shooting object and the fourth video recording window. .
在本申请实施例提供的视频拍摄装置中,由于在显示原始视频的视频录制界面的同时还可以显示至少一个特效视频的视频录制窗口,不同的视频录制窗口的特效参数不同,并且视频录制界面与每个视频录制窗口中的内容同步更新,一方面可以便于用户查看不同效果参数下的录制效果,另一方面可以简化拍摄多个效果视频的操作。In the video shooting device provided by the embodiment of the present application, since the video recording interface of the original video can also be displayed at least one video recording window of the special effects video, the special effect parameters of different video recording windows are different, and the video recording interface is different from the video recording interface. The content in each video recording window is updated synchronously. On the one hand, it is convenient for users to view the recording effects under different effect parameters. On the other hand, it can simplify the operation of shooting multiple effect videos.
本申请实施例中的视频播放装置和视频拍摄装置可以为相同的装置,也可以为不同的装置。 The video playback device and the video shooting device in the embodiments of the present application may be the same device, or they may be different devices.
本申请实施例中的视频播放装置或视频拍摄装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The video playback device or video shooting device in the embodiment of the present application may be an electronic device, or may be a component of the electronic device, such as an integrated circuit or chip. The electronic device may be a terminal or other devices other than the terminal. For example, the electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a mobile internet device (Mobile Internet Device, MID), or augmented reality (AR)/virtual reality (VR). ) equipment, robots, wearable devices, ultra-mobile personal computers (UMPC), netbooks or personal digital assistants (personal digital assistants, PDA), etc., and can also be servers, network attached storage (Network Attached Storage), NAS), personal computer (PC), television (TV), teller machine or self-service machine, etc., the embodiments of this application are not specifically limited.
本申请实施例中的视频播放装置或视频拍摄装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The video playback device or video shooting device in the embodiment of the present application may be a device with an operating system. The operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
本申请实施例提供的视频播放装置或视频拍摄装置能够实现图1和图8的方法实施例实现的各个过程,为避免重复,这里不再赘述。The video playback device or video shooting device provided by the embodiments of the present application can implement various processes implemented by the method embodiments in Figures 1 and 8. To avoid duplication, they will not be described again here.
如图23所示,本申请实施例还提供一种电子设备600,包括处理器602,存储器601,存储在存储器601上并可在处理器602上运行的程序或指令,该程序或指令被处理器602执行时实现上述视频播放方法或视频播放方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。As shown in Figure 23, the embodiment of the present application also provides an electronic device 600, including a processor 602, a memory 601, and a program or instruction stored on the memory 601 and executable on the processor 602. The program or instruction is processed When the processor 602 is executed, each process of the above-mentioned video playback method or video playback method embodiment is implemented, and the same technical effect can be achieved. To avoid duplication, details will not be described here.
需要注意的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图24电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。Figure 24 Electronic device 1000 includes but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010 and other parts.
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图24中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 1010 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions. The structure of the electronic device shown in Figure 24 does not constitute a limitation of the electronic device. The electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .
在电子设备1000为实施例中所述的第一电子设备的情况下,用户输入单元1007,用于接收用户对目标视频的播放界面中的目标对象的第一输入,目标视频中的至少一个拍摄对象关联至少一个特效视频,目标视频包括原始视频或合成视频,合成视频为原始视频和原始视频中的至少一个拍摄对象关联的特效视频合成得到的,目标对象为用户在至少一个拍摄对象中选中的至少一个拍摄对象,不同的特效视频的特效参数不同;处理器1010,用于响应于用户输入单元1007接收的第一输入,播放目标对象关联的至少一个目标特效视频。In the case where the electronic device 1000 is the first electronic device described in the embodiment, the user input unit 1007 is configured to receive the user's first input to the target object in the playback interface of the target video, at least one shot of the target video. The object is associated with at least one special effects video. The target video includes the original video or the synthesized video. The synthesized video is the synthesis of the original video and the special effects video associated with at least one shooting object in the original video. The target object is selected by the user in at least one shooting object. At least one shooting object, different special effect videos have different special effect parameters; the processor 1010 is configured to respond to the first input received by the user input unit 1007 and play at least one target special effect video associated with the target object.
可选地,本申请实施例中,用户输入单元1007,具体用于接收用户对目标对象所在区域的输入;或者,在播放界面包括目标关联的对象标识的情况下,接收用户对目标对象的对象标识的输入,其中,一个对象标识指示一个拍摄对象。Optionally, in the embodiment of the present application, the user input unit 1007 is specifically configured to receive the user's input on the area where the target object is located; or, when the playback interface includes an object identifier associated with the target, receive the user's input on the target object's area. Input of identification, where an object identification indicates a photographic subject.
可选地,本申请实施例中,目标对象关联至少两个特效视频;处理器1010,具体用于在每个特效视频关联一个预设输入特征,且第一输入的输入特征与第一预设输入特征匹配的情况下,播放第一预设输入特征关联的特效视频;其中,预设输入特征包括以下至少一项:输入起始位置、输入方向、输入轨迹;处理器1010,具体用于在第一输入的输入特征为第二预设输入特征的情况下,按照第二预设输入特征关联的播放顺序,播放目标对象关联的至少两个特效视频。Optionally, in this embodiment of the present application, the target object is associated with at least two special effects videos; the processor 1010 is specifically configured to associate a preset input feature with each special effect video, and the input feature of the first input is the same as the first preset input feature. If the input features match, play the special effects video associated with the first preset input feature; where the preset input feature includes at least one of the following: input starting position, input direction, input trajectory; processor 1010 is specifically used to When the input feature of the first input is the second preset input feature, at least two special effects videos associated with the target object are played according to the playback order associated with the second preset input feature.
可选地,本申请实施例中,用户输入单元1007,具体用于接收用户对目标视频的播放界面中显示的第一视频帧中目标对象的输入;处理器1010,具体用于从目标对象关联的一个目标特效视频的第二视频帧开始播放目标特效视频;其中,第二视频帧为目标特效视频中与第一视频帧对应帧数的视频帧,或者第二视频帧为目标特效视频的起始视频帧。Optionally, in this embodiment of the present application, the user input unit 1007 is specifically configured to receive the user's input of the target object in the first video frame displayed in the playback interface of the target video; the processor 1010 is specifically configured to associate the target object with The target special effects video starts playing from the second video frame of a target special effects video; wherein, the second video frame is the video frame corresponding to the first video frame in the target special effects video, or the second video frame is the starting point of the target special effects video. Start video frame.
可选地,本申请实施例中,存储器1009,用于在用户输入单元1007接收用户对目标视频的播放界面中的目标对象的第一输入之后,将第二视频帧的帧数存储为历史播放信息;用户输入单元1007,还用于接收用户的第二输入;处理器1010,还用于响应于用户输入单元1007接收的第二输入,按照预先存储的历史播放信息,播放目标视频,并在播放目标视频的过程中,在播放至第一视频帧的情况下,跳转至目标对象关联的一个目标特效视频的第二视频帧继续播放。Optionally, in this embodiment of the present application, the memory 1009 is used to store the frame number of the second video frame as historical playback after the user input unit 1007 receives the user's first input to the target object in the playback interface of the target video. information; the user input unit 1007 is also configured to receive a second input from the user; the processor 1010 is also configured to respond to the second input received by the user input unit 1007, play the target video according to the pre-stored historical play information, and During the playback of the target video, when the first video frame is played, jump to the second video frame of a target special effects video associated with the target object and continue playing.
可选地,本申请实施例中,在播放界面包括至少一个特效视频的特效视频缩略图的情况下,用户输入单元1007,具体用于接收用户对至少一个特效视频缩略图中的目标特效视频缩略图的第一输入;其中,一个特效视频缩略图为一个特效视频的任一个视频帧的缩略图;处理器1010,具体用于播放包括目标特效视频缩略图对应的视频帧的特效视频。 Optionally, in the embodiment of the present application, in the case where the playback interface includes a special effects video thumbnail of at least one special effects video, the user input unit 1007 is specifically configured to receive the user's comment on the target special effects video thumbnail in the at least one special effects video thumbnail. The first input of the thumbnail; wherein, a special effects video thumbnail is a thumbnail of any video frame of a special effects video; the processor 1010 is specifically configured to play the special effects video including the video frame corresponding to the target special effects video thumbnail.
可选地,本申请实施例中,处理器1010,具体用于在目标视频为原始视频的情况下,从目标视频的播放界面切换至少一个目标特效视频的播放界面进行播放;处理器1010,具体用于在目标视频为合成视频的情况下,从播放界面显示的视频帧跳转至目标视频帧进行播放,目标视频帧为合成视频中对应于至少一个目标特效视频的视频帧。Optionally, in this embodiment of the present application, the processor 1010 is specifically configured to switch the playback interface of at least one target special effects video from the playback interface of the target video for playback when the target video is an original video; the processor 1010 is specifically configured to It is used to jump from the video frame displayed on the playback interface to the target video frame for playback when the target video is a synthesized video, and the target video frame is a video frame in the synthesized video corresponding to at least one target special effects video.
可选地,本申请实施例中,在播放界面包括至少一个特效视频的特效视频缩略图的情况下,用户输入单元1007,还用于接收用户对至少一个特效视频缩略图中的目标特效视频缩略图的第三输入;处理器1010,还用于在目标视频为原始视频的情况下,响应于第三输入,删除特效视频缩略图对应的特效视频;处理器1010,还用于在目标视频为合成视频的情况下,响应于第三输入,删除合成视频中与特效视频缩略图对应的特效视频相同内容的视频片段。Optionally, in this embodiment of the present application, when the playback interface includes a special effects video thumbnail of at least one special effects video, the user input unit 1007 is also configured to receive the user's comment on the target special effects video thumbnail in the at least one special effects video thumbnail. The third input of the thumbnail; the processor 1010 is also configured to, in response to the third input, delete the special effects video corresponding to the thumbnail of the special effects video when the target video is the original video; the processor 1010 is also configured to delete the special effects video corresponding to the thumbnail of the special effects video when the target video is the original video. In the case of a synthesized video, in response to the third input, video segments in the synthesized video that have the same content as the special effects video corresponding to the special effects video thumbnail are deleted.
在本申请实施例提供的电子设备中,由于目标视频中包括的至少一个拍摄对象关联至少一个特效视频,从而可以根据用户对目标视频的播放界面中的目标对象的输入播放目标对象关联的至少一个目标特效视频,而并非以固定的播放效果播放目标视频,因此能够丰富视频的特效效果,从而提高了视频播放效果的多样性。In the electronic device provided by the embodiment of the present application, since at least one shooting object included in the target video is associated with at least one special effects video, at least one object associated with the target object can be played according to the user's input to the target object in the playback interface of the target video. Target special effects video, instead of playing the target video with a fixed playback effect, can enrich the special effects of the video, thus improving the diversity of video playback effects.
在电子设备1000为实施例中所述的第二电子设备的情况下,显示单元1006,用于显示原始视频的视频录制界面,视频录制界面包括至少一个拍摄对象关联的至少一个特效视频的视频录制窗口,至少一个特效视频的视频录制窗口为视频录制界面中的至少一个拍摄对象关联的视频录制窗口,不同的视频录制窗口的特效参数不同;处理器1010,用于在录制原始视频的过程中,同步更新每个视频录制窗口中的预览图像;处理器1010,还用于在原始视频和至少一个特效视频录制完成的情况下,输出目标文件;其中,目标文件包括原始视频和至少一个特效视频,或者,目标文件包括由原始视频和至少一个特效视频合成得到的合成视频,或者,目标文件包括原始视频、至少一个特效视频和合成视频。In the case where the electronic device 1000 is the second electronic device described in the embodiment, the display unit 1006 is configured to display a video recording interface of the original video, where the video recording interface includes a video recording of at least one special effects video associated with at least one shooting object. window. The video recording window of at least one special effects video is a video recording window associated with at least one shooting object in the video recording interface. Different video recording windows have different special effects parameters; the processor 1010 is used to record the original video during the process. Synchronously update the preview image in each video recording window; the processor 1010 is also configured to output a target file after the recording of the original video and at least one special effects video is completed; wherein the target file includes the original video and at least one special effects video, Alternatively, the target file includes a synthesized video obtained by synthesizing the original video and at least one special effect video, or the target file includes the original video, at least one special effect video and the synthesized video.
可选地,本申请实施例中,用户输入单元1007,用于显示单元1006显示原始视频的视频录制界面之前,接收用户对录像预览界面中的目标对象的第一设置输入;显示单元1006,还用于响应于用户输入单元1007接收的第一设置输入,显示特效参数设置选项;用户输入单元1007,还用于接收用户对特效参数设置选项的第二设置输入,第二设置输入用于设置至少一个特效参数;显示单元1006,还用于响应于用户输入单元1007接收的第二设置输入,显示第一视频录制窗口;处理器1010,还用于响应于用户输入单元1007接收的第二设置输入,按照第二设置输入设置的至少一个特效参数,更新第一视频录制窗口中的特效预览图像;处理器1010,还用于建立目标对象、第二设置输入设置的特效参数和第一视频录制窗口之间的关联关系。Optionally, in this embodiment of the present application, the user input unit 1007 is used to receive the user's first setting input for the target object in the video preview interface before the display unit 1006 displays the video recording interface of the original video; the display unit 1006 is also The user input unit 1007 is configured to display special effect parameter setting options in response to the first setting input received by the user input unit 1007; the user input unit 1007 is also configured to receive a second setting input of the special effect parameter setting options from the user, and the second setting input is used to set at least a special effect parameter; the display unit 1006 is also configured to display the first video recording window in response to the second setting input received by the user input unit 1007; the processor 1010 is also configured to respond to the second setting input received by the user input unit 1007 , update the special effects preview image in the first video recording window according to at least one special effects parameter set by the second setting input; the processor 1010 is also used to establish the target object, the special effects parameters set by the second setting input and the first video recording window relationship between them.
可选地,本申请实施例中,处理器1010,还用于在用户输入单元1007接收用户对特效参数设置界面的第二设置输入之后,建立目标对象、第一设置输入的输入特征和第一视频录制窗口之间的关联关系;其中,输入特征包括以下至少一项:输入起始位置、输入方向、输入轨迹;用户输入单元1007,还用于接收用户对目标对象的第三设置输入;显示单元1006,还用于响应于用户输入单元1007接收的第三设置输入,显示特效参数设置选项;用户输入单元1007,还用于接收用户对特效参数设置选项的第四设置输入,第四设置输入用于设置至少一个特效参数;显示单元1006,还用于响应于用户输入单元1007接收的第四设置输入,显示第二视频录制窗口;处理器1010,还用于响应于用户输入单元1007接收的第四设置输入,按照第四设置输入设置的至少一个特效参数,更新第二视频录制窗口中的特效预览图像;处理器1010,还用于建立目标对象、第二设置输入设置的特效参数、第三设置输入的输入特征和第一视频录制窗口之间的关联关系。Optionally, in this embodiment of the present application, the processor 1010 is also configured to establish the target object, the input characteristics of the first setting input and the first setting input after the user input unit 1007 receives the user's second setting input on the special effect parameter setting interface. The association between video recording windows; wherein the input characteristics include at least one of the following: input starting position, input direction, input trajectory; the user input unit 1007 is also used to receive the user's third setting input of the target object; display Unit 1006 is also configured to display the special effect parameter setting options in response to the third setting input received by the user input unit 1007; the user input unit 1007 is also configured to receive the fourth setting input of the user for the special effect parameter setting options. The fourth setting input for setting at least one special effect parameter; the display unit 1006 is also used for displaying a second video recording window in response to the fourth setting input received by the user input unit 1007; the processor 1010 is also used for responding to the fourth setting input received by the user input unit 1007 The fourth setting input updates the special effects preview image in the second video recording window according to at least one special effects parameter set by the fourth setting input; the processor 1010 is also used to establish the target object, the special effects parameters set by the second setting input, and the third setting input. 3. Set the association between the input input characteristics and the first video recording window.
可选地,本申请实施例中,用户输入单元1007,用于在显示单元1006显示原始视频的视频录制界面之前,接收用户的第五设置输入;处理器1010,用于响应于用户输入单元1007接收的第五设置输入,确定特效视频的播放顺序,并建立第五设置输入的输入特征和播放顺序之间的关联关系。Optionally, in this embodiment of the present application, the user input unit 1007 is configured to receive the user's fifth setting input before the display unit 1006 displays the video recording interface of the original video; the processor 1010 is configured to respond to the user input unit 1007 The received fifth setting input determines the playback sequence of the special effects video, and establishes an association between the input characteristics of the fifth setting input and the playback sequence.
可选地,本申请实施例中,处理器1010,还用于对视频录制界面显示的预览图像进行对象识别;显示单元1006,还用于显示识别到的每个对象的对象标识。Optionally, in this embodiment of the present application, the processor 1010 is also configured to perform object recognition on the preview image displayed on the video recording interface; the display unit 1006 is also configured to display the object identification of each recognized object.
可选地,本申请实施例中,处理器1010,具体用于在原始视频和至少一个特效视频录制完成的情况下,按照录制前至少一个特效视频的特效参数设置顺序,将录制得到原始视频和至少一个特效视频进行视频合成,输出合成视频。Optionally, in this embodiment of the present application, the processor 1010 is specifically configured to, when the recording of the original video and at least one special effects video is completed, record the original video and the original video according to the special effect parameter setting sequence of at least one special effect video before recording. At least one special effects video performs video synthesis and outputs the synthesized video.
可选地,本申请实施例中,处理器1010,具体用于将视频录制界面中显示的每一帧预览图像逐帧复制至每个视频录制窗口中,并按照每个视频录制窗口关联的特效参数,对复制后的每一帧预览图像进行图像处理;其中,在视频录制窗口的个数为至少两个的情况下,对于每一帧预览图像,每次复制的预览图像的帧数和视频录制窗口的个数相同。Optionally, in this embodiment of the present application, the processor 1010 is specifically configured to copy each frame of the preview image displayed in the video recording interface to each video recording window frame by frame, and perform the corresponding special effects according to the associated special effects of each video recording window. Parameters, perform image processing on each copied preview image; among them, when the number of video recording windows is at least two, for each frame of preview image, the number of frames and video of each copied preview image The number of recording windows is the same.
可选地,本申请实施例中,用户输入单元1007,用于在录制原始视频的过程中,接收用户对第三 视频录制窗口的第六设置输入;处理器1010,还用于响应于用户输入单元1007接收的第六设置输入,更新第三视频录制窗口的特效参数,并按照更新后的特效参数,更新第三视频录制窗口中的特效预览图像。Optionally, in this embodiment of the present application, the user input unit 1007 is used to receive the user's input to the third party during the recording of the original video. The sixth setting input of the video recording window; the processor 1010 is also configured to respond to the sixth setting input received by the user input unit 1007, update the special effects parameters of the third video recording window, and update the third special effects parameters according to the updated special effects parameters. Special effects preview image in the video recording window.
可选地,本申请实施例中,视频录制界面包括第一拍摄对象和第二拍摄对象,第一拍摄对象关联第四视频录制窗口,第二拍摄对象关联第五视频录制窗口;该用户输入单元1007,用于接收用户对第一拍摄对象和第二拍摄对象的第七设置输入,第七设置输入用于交换第一拍摄对象和第二拍摄对象关联的特效录制窗口;处理器1010,还用于响应于用户输入单元1007接收的第七设置输入,建立第一拍摄对象和第五视频录制窗口的关联关系,并建立第二拍摄对象和第四视频录制窗口的关联关系。Optionally, in this embodiment of the present application, the video recording interface includes a first shooting object and a second shooting object, the first shooting object is associated with the fourth video recording window, and the second shooting object is associated with the fifth video recording window; the user input unit 1007, used to receive the user's seventh setting input for the first shooting object and the second shooting object, and the seventh setting input is used to exchange the special effects recording window associated with the first shooting object and the second shooting object; the processor 1010, also uses In response to the seventh setting input received by the user input unit 1007, an association relationship between the first shooting object and the fifth video recording window is established, and an association relationship between the second shooting object and the fourth video recording window is established.
在本申请实施例提供的电子设备中,由于在显示原始视频的视频录制界面的同时还可以显示至少一个特效视频的视频录制窗口,不同的视频录制窗口的特效参数不同,并且视频录制界面与每个视频录制窗口中的内容同步更新,一方面可以便于用户查看不同效果参数下的录制效果,另一方面可以简化拍摄多个效果视频的操作。In the electronic device provided by the embodiment of the present application, since the video recording interface of the original video can also be displayed at least one video recording window of the special effects video, the special effect parameters of different video recording windows are different, and the video recording interface is different from each other. The content in each video recording window is updated synchronously. On the one hand, it is convenient for users to view the recording effects under different effect parameters. On the other hand, it can simplify the operation of shooting videos with multiple effects.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For specific beneficial effects of various implementation methods in this embodiment, please refer to the beneficial effects of corresponding implementation methods in the above method embodiments. To avoid duplication, they will not be described again here.
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072中的至少一种。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042. The graphics processor 10041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras). The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072 . Touch panel 10071, also known as touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
存储器1009可用于存储软件程序以及各种数据。存储器1009可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1009可以包括易失性存储器或非易失性存储器,或者,存储器1009可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1009包括但不限于这些和任意其它适合类型的存储器。Memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc. Additionally, memory 1009 may include volatile memory or nonvolatile memory, or memory 1009 may include both volatile and nonvolatile memory. Among them, non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). The memory 1009 in the embodiment of the present application includes, but is not limited to, these and any other suitable types of memory.
处理器1010可包括一个或多个处理单元;可选的,处理器1010集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 1010.
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述视频播放方法或视频拍摄方法方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, each process of the above video playback method or video shooting method embodiment is implemented. And can achieve the same technical effect. To avoid repetition, they will not be described again here.
其中,上述处理器为上述实施例中的电子设备中的处理器。上述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment. The above-mentioned readable storage media includes computer-readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disks or optical disks.
本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述视频播放方法或视频拍摄方法方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the above video playback method or video shooting method embodiment. , and can achieve the same technical effect, so to avoid repetition, they will not be described again here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述拍摄方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application provide a computer program product. The program product is stored in a storage medium. The program product is executed by at least one processor to implement each process of the above-mentioned shooting method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下, 由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further restrictions, An element defined by the statement "comprises a..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (21)

  1. 一种视频播放方法,所述方法包括:A video playback method, the method includes:
    接收用户对目标视频的播放界面中的目标对象的第一输入,所述目标视频中的至少一个拍摄对象关联至少一个特效视频,所述目标视频包括原始视频或合成视频,所述合成视频为所述原始视频和所述原始视频中的至少一个拍摄对象关联的特效视频合成得到的,所述目标对象为用户在所述至少一个拍摄对象中选中的至少一个拍摄对象,不同的特效视频的特效参数不同;Receive the user's first input to the target object in the playback interface of the target video, at least one shooting object in the target video is associated with at least one special effects video, the target video includes an original video or a synthesized video, and the synthesized video is the The original video is synthesized from the special effects video associated with at least one shooting object in the original video. The target object is at least one shooting object selected by the user in the at least one shooting object. The special effect parameters of different special effect videos different;
    响应于所述第一输入,播放所述目标对象关联的至少一个目标特效视频。In response to the first input, at least one target special effect video associated with the target object is played.
  2. 根据权利要求1所述的方法,其中,所述接收用户对目标视频的播放界面中的目标对象的第一输入,包括:The method according to claim 1, wherein receiving the user's first input to the target object in the playback interface of the target video includes:
    接收用户对所述目标对象所在区域的输入;Receive user input on the area where the target object is located;
    或者,在所述播放界面包括目标关联的对象标识的情况下,接收用户对所述目标对象的对象标识的输入,其中,一个对象标识指示一个拍摄对象。Alternatively, in the case where the playback interface includes an object identifier associated with a target, a user's input on the object identifier of the target object is received, wherein one object identifier indicates one shooting object.
  3. 根据权利要求1所述的方法,其中,所述目标对象关联至少两个特效视频;The method according to claim 1, wherein the target object is associated with at least two special effect videos;
    所述播放所述目标对象关联的至少一个目标特效视频,包括:Playing at least one target special effects video associated with the target object includes:
    在每个特效视频关联一个预设输入特征,且所述第一输入的输入特征与第一预设输入特征匹配的情况下,播放所述第一预设输入特征关联的特效视频;其中,所述预设输入特征包括以下至少一项:输入起始位置、输入方向、输入轨迹;In the case where each special effects video is associated with a preset input feature, and the input feature of the first input matches the first preset input feature, the special effects video associated with the first preset input feature is played; wherein, The preset input characteristics include at least one of the following: input starting position, input direction, and input trajectory;
    在所述第一输入的输入特征为第二预设输入特征的情况下,按照所述第二预设输入特征关联的播放顺序,播放所述目标对象关联的至少两个特效视频。When the input feature of the first input is a second preset input feature, at least two special effect videos associated with the target object are played according to the playback order associated with the second preset input feature.
  4. 根据权利要求1所述的方法,其中,所述接收用户对目标视频的播放界面中的目标对象的第一输入,包括:The method according to claim 1, wherein receiving the user's first input to the target object in the playback interface of the target video includes:
    接收用户对所述目标视频的播放界面中显示的第一视频帧中所述目标对象的输入;Receive user input on the target object in the first video frame displayed in the playback interface of the target video;
    所述播放所述目标对象关联的至少一个目标特效视频,包括:Playing at least one target special effects video associated with the target object includes:
    从所述目标对象关联的一个目标特效视频的第二视频帧开始播放所述目标特效视频;Playing the target special effects video starts from the second video frame of a target special effects video associated with the target object;
    其中,所述第二视频帧为所述目标特效视频中与所述第一视频帧对应帧数的视频帧,或者所述第二视频帧为所述目标特效视频的起始视频帧。Wherein, the second video frame is a video frame corresponding to the first video frame in the target special effect video, or the second video frame is a starting video frame of the target special effect video.
  5. 根据权利要求4所述的方法,其中,所述接收用户对目标视频的播放界面中的目标对象的第一输入之后,还包括:The method according to claim 4, wherein after receiving the user's first input to the target object in the playback interface of the target video, it further includes:
    将所述第二视频帧的帧数存储为历史播放信息;Store the frame number of the second video frame as historical playback information;
    所述方法还包括:The method also includes:
    接收用户的第二输入;receive second input from the user;
    响应于所述第二输入,按照预先存储的所述历史播放信息,播放所述目标视频,并在播放所述目标视频的过程中,在播放至所述第一视频帧的情况下,跳转至所述目标对象关联的一个目标特效视频的第二视频帧继续播放。In response to the second input, the target video is played according to the pre-stored historical play information, and during the process of playing the target video, when the first video frame is played, jump The second video frame of a target special effects video associated with the target object continues to play.
  6. 根据权利要求1所述的方法,其中,在所述播放界面包括至少一个特效视频的特效视频缩略图的情况下,所述接收用户对目标视频的播放界面中的目标对象的第一输入,包括:The method according to claim 1, wherein, in the case where the playback interface includes a special effect video thumbnail of at least one special effect video, the receiving the user's first input to the target object in the playback interface of the target video includes: :
    接收用户对至少一个所述特效视频缩略图中的目标特效视频缩略图的第一输入;receiving a first input from a user to a target special effect video thumbnail in at least one of the special effect video thumbnails;
    其中,一个特效视频缩略图为一个特效视频的任一个视频帧的缩略图;Among them, a special effects video thumbnail is a thumbnail of any video frame of a special effects video;
    所述播放所述目标对象关联的至少一个目标特效视频,包括:Playing at least one target special effects video associated with the target object includes:
    播放包括所述目标特效视频缩略图对应的视频帧的特效视频。Play the special effect video including the video frame corresponding to the target special effect video thumbnail.
  7. 根据权利要求1所述的方法,其中,所述播放所述目标对象关联的至少一个目标特效视频,包括:The method according to claim 1, wherein playing at least one target special effects video associated with the target object includes:
    在所述目标视频为原始视频的情况下,从所述目标视频的播放界面切换至少一个目标特效视频的播放界面进行播放;When the target video is an original video, switch the playback interface of at least one target special effects video from the playback interface of the target video for playback;
    在所述目标视频为合成视频的情况下,从所述播放界面显示的视频帧跳转至目标视频帧进行播放,所述目标视频帧为所述合成视频中对应于至少一个目标特效视频的视频帧。When the target video is a synthesized video, jump from the video frame displayed on the playback interface to the target video frame for playback, and the target video frame is a video corresponding to at least one target special effects video in the synthesized video. frame.
  8. 根据权利要求1所述的方法,其中,在所述播放界面包括至少一个特效视频的特效视频缩略图的情况下,所述方法还包括:The method according to claim 1, wherein in the case where the playback interface includes a special effect video thumbnail of at least one special effect video, the method further includes:
    接收用户对至少一个所述特效视频缩略图中的目标特效视频缩略图的第三输入;receiving a third input from the user to a target special effect video thumbnail in at least one of the special effect video thumbnails;
    在所述目标视频为原始视频的情况下,响应于所述第三输入,删除所述特效视频缩略图对应 的特效视频;In the case where the target video is an original video, in response to the third input, delete the thumbnail corresponding to the special effect video special effects video;
    在所述目标视频为合成视频的情况下,响应于所述第三输入,删除所述合成视频中与所述特效视频缩略图对应的特效视频相同内容的视频片段。In the case where the target video is a synthesized video, in response to the third input, video segments in the synthesized video that have the same content as the special effects video corresponding to the special effects video thumbnail are deleted.
  9. 一种视频拍摄方法,所述方法包括:A video shooting method, the method includes:
    显示原始视频的视频录制界面,所述视频录制界面包括至少一个拍摄对象关联的至少一个特效视频的视频录制窗口,所述至少一个特效视频的视频录制窗口为所述视频录制界面中的至少一个拍摄对象关联的视频录制窗口,不同的视频录制窗口的特效参数不同;Display a video recording interface of the original video. The video recording interface includes a video recording window of at least one special effects video associated with at least one shooting object. The video recording window of the at least one special effects video is for at least one of the video recording interfaces. The video recording window associated with the object, different video recording windows have different special effect parameters;
    在录制原始视频的过程中,同步更新每个视频录制窗口中的预览图像;During the process of recording the original video, the preview image in each video recording window is updated simultaneously;
    在所述原始视频和所述至少一个特效视频录制完成的情况下,输出目标文件;When the recording of the original video and the at least one special effect video is completed, output the target file;
    其中,所述目标文件包括原始视频和至少一个特效视频,或者,所述目标文件包括由所述原始视频和所述至少一个特效视频合成得到的合成视频,或者,所述目标文件包括原始视频、至少一个特效视频和所述合成视频。Wherein, the target file includes the original video and at least one special effect video, or the target file includes a synthesized video obtained by synthesizing the original video and the at least one special effect video, or the target file includes the original video, At least one special effects video and said composite video.
  10. 根据权利要求9所述的方法,其中,所述显示原始视频的视频录制界面之前,还包括:The method according to claim 9, wherein before displaying the video recording interface of the original video, it further includes:
    接收用户对录像预览界面中的目标对象的第一设置输入;Receive the user's first setting input for the target object in the video preview interface;
    响应于所述第一设置输入,显示特效参数设置选项;In response to the first setting input, display special effect parameter setting options;
    接收用户对所述特效参数设置选项的第二设置输入,所述第二设置输入用于设置至少一个特效参数;Receive a user's second setting input for the special effect parameter setting option, where the second setting input is used to set at least one special effect parameter;
    响应于所述第二设置输入,显示第一视频录制窗口,并按照所述第二设置输入设置的至少一个特效参数,更新所述第一视频录制窗口中的特效预览图像;In response to the second setting input, display the first video recording window, and update the special effects preview image in the first video recording window according to at least one special effects parameter set by the second setting input;
    建立所述目标对象、所述第二设置输入设置的特效参数和所述第一视频录制窗口之间的关联关系。Establish an association between the target object, the special effect parameters set by the second setting input, and the first video recording window.
  11. 根据权利要求10所述的方法,其中,所述接收用户对所述特效参数设置界面的第二设置输入之后,还包括:The method according to claim 10, wherein after receiving the user's second setting input on the special effect parameter setting interface, the method further includes:
    建立所述目标对象、所述第一设置输入的输入特征和所述第一视频录制窗口之间的关联关系;Establishing an association between the target object, the input feature of the first setting input, and the first video recording window;
    其中,所述输入特征包括以下至少一项:输入起始位置、输入方向、输入轨迹;Wherein, the input characteristics include at least one of the following: input starting position, input direction, input trajectory;
    所述方法还包括:The method also includes:
    接收用户对所述目标对象的第三设置输入;Receive a user's third setting input for the target object;
    响应于所述第三设置输入,显示特效参数设置选项;In response to the third setting input, display special effect parameter setting options;
    接收用户对所述特效参数设置选项的第四设置输入,所述第四设置输入用于设置至少一个特效参数;Receive a user's fourth setting input for the special effect parameter setting option, where the fourth setting input is used to set at least one special effect parameter;
    响应于所述第四设置输入,显示第二视频录制窗口,并按照所述第四设置输入设置的至少一个特效参数,更新所述第二视频录制窗口中的特效预览图像;In response to the fourth setting input, display a second video recording window, and update the special effects preview image in the second video recording window according to at least one special effects parameter set by the fourth setting input;
    建立所述目标对象、所述第二设置输入设置的特效参数、所述第三设置输入的输入特征和所述第一视频录制窗口之间的关联关系。Establish an association between the target object, the special effect parameters set by the second setting input, the input characteristics of the third setting input, and the first video recording window.
  12. 根据权利要求9所述的方法,其中,所述显示原始视频的视频录制界面之前,还包括:The method according to claim 9, wherein before displaying the video recording interface of the original video, it further includes:
    接收用户的第五设置输入;Receive the user's fifth setting input;
    响应于所述第五设置输入,确定特效视频的播放顺序,并建立所述第五设置输入的输入特征和所述播放顺序之间的关联关系。In response to the fifth setting input, the playback order of the special effect videos is determined, and an association relationship between the input characteristics of the fifth setting input and the playback order is established.
  13. 根据权利要求9所述的方法,其中,所述方法还包括:The method of claim 9, further comprising:
    对所述视频录制界面显示的预览图像进行对象识别;Perform object recognition on the preview image displayed on the video recording interface;
    显示识别到的每个对象的对象标识。Displays the object ID of each object recognized.
  14. 根据权利要求9所述的方法,其中,所述在所述原始视频和所述至少一个特效视频录制完成的情况下,输出目标文件,包括:The method according to claim 9, wherein the outputting the target file after the recording of the original video and the at least one special effect video is completed includes:
    所述在所述原始视频和所述至少一个特效视频录制完成的情况下,按照录制前至少一个特效视频的特效参数设置顺序,将录制得到原始视频和至少一个特效视频进行视频合成,输出合成视频。When the recording of the original video and the at least one special effects video is completed, according to the special effect parameter setting sequence of the at least one special effects video before recording, the recorded original video and the at least one special effects video are video synthesized, and the synthesized video is output .
  15. 根据权利要求9所述的方法,其中,所述同步更新每个视频录制窗口中的预览图像,包括:The method according to claim 9, wherein the synchronously updating the preview image in each video recording window includes:
    将所述视频录制界面中显示的每一帧预览图像逐帧复制至每个视频录制窗口中,并按照每个视频录制窗口关联的特效参数,对复制后的每一帧预览图像进行图像处理;Copy each frame of preview image displayed in the video recording interface to each video recording window frame by frame, and perform image processing on each copied frame of preview image according to the special effects parameters associated with each video recording window;
    其中,在所述视频录制窗口的个数为至少两个的情况下,对于每一帧预览图像,每次复制的 预览图像的帧数和视频录制窗口的个数相同。Wherein, when the number of video recording windows is at least two, for each frame of preview image, each copy The number of frames of the preview image is the same as the number of video recording windows.
  16. 根据权利要求9所述的方法,其中,在录制原始视频的过程中,所述方法还包括:The method of claim 9, wherein during recording the original video, the method further includes:
    接收用户对第三视频录制窗口的第六设置输入;Receive the user's sixth setting input for the third video recording window;
    响应于所述第六设置输入,更新所述第三视频录制窗口的特效参数,并按照更新后的特效参数,更新所述第三视频录制窗口中的特效预览图像。In response to the sixth setting input, the special effect parameters of the third video recording window are updated, and the special effects preview image in the third video recording window is updated according to the updated special effect parameters.
  17. 根据权利要求9所述的方法,其中,所述视频录制界面包括第一拍摄对象和第二拍摄对象,所述第一拍摄对象关联第四视频录制窗口,所述第二拍摄对象关联第五视频录制窗口;The method of claim 9, wherein the video recording interface includes a first shooting object and a second shooting object, the first shooting object is associated with a fourth video recording window, and the second shooting object is associated with a fifth video recording window;
    所述方法还包括:The method also includes:
    接收用户对所述第一拍摄对象和所述第二拍摄对象的第七设置输入,所述第七设置输入用于交换所述第一拍摄对象和所述第二拍摄对象关联的特效录制窗口;Receive a user's seventh setting input for the first photographing object and the second photographing object, the seventh setting input being used to exchange special effects recording windows associated with the first photographing object and the second photographing object;
    响应于所述第七设置输入,建立所述第一拍摄对象和所述第五视频录制窗口的关联关系,并建立所述第二拍摄对象和所述第四视频录制窗口的关联关系。In response to the seventh setting input, an association relationship between the first shooting object and the fifth video recording window is established, and an association relationship between the second shooting object and the fourth video recording window is established.
  18. 一种视频播放装置,所述装置包括:接收模块和播放模块;A video playback device, the device includes: a receiving module and a playback module;
    所述接收模块,用于接收用户对目标视频的播放界面中的目标对象的第一输入,所述目标视频中的至少一个拍摄对象关联至少一个特效视频,所述目标视频包括原始视频或合成视频,所述合成视频为所述原始视频和所述原始视频中的至少一个拍摄对象关联的特效视频合成得到的,所述目标对象为用户在所述至少一个拍摄对象中选中的至少一个拍摄对象,不同的特效视频的特效参数不同;The receiving module is configured to receive a first input from a user to a target object in the playback interface of a target video. At least one shooting object in the target video is associated with at least one special effects video. The target video includes an original video or a synthesized video. , the synthesized video is obtained by synthesizing the special effects video associated with the original video and at least one shooting object in the original video, and the target object is at least one shooting object selected by the user among the at least one shooting object, Different special effects videos have different special effects parameters;
    所述播放模块,用于响应于所述接收模块接收的所述第一输入,播放所述目标对象关联的至少一个目标特效视频。The playing module is configured to play at least one target special effects video associated with the target object in response to the first input received by the receiving module.
  19. 一种视频拍摄装置,所述装置包括:显示模块、更新模块和处理模块;A video shooting device, the device includes: a display module, an update module and a processing module;
    所述显示模块,用于显示原始视频的视频录制界面,所述视频录制界面包括至少一个拍摄对象关联的至少一个特效视频的视频录制窗口,所述至少一个特效视频的视频录制窗口为所述视频录制界面中的至少一个拍摄对象关联的视频录制窗口,不同的视频录制窗口的特效参数不同;The display module is used to display a video recording interface of the original video. The video recording interface includes a video recording window of at least one special effects video associated with at least one shooting object. The video recording window of the at least one special effects video is the video. There is a video recording window associated with at least one shooting object in the recording interface. Different video recording windows have different special effect parameters;
    所述更新模块,用于在录制原始视频的过程中,同步更新每个视频录制窗口中的预览图像;The update module is used to synchronously update the preview image in each video recording window during the process of recording the original video;
    所述处理模块,用于在所述原始视频和所述至少一个特效视频录制完成的情况下,输出目标文件;The processing module is configured to output a target file after the recording of the original video and the at least one special effects video is completed;
    其中,所述目标文件包括原始视频和至少一个特效视频,或者,所述目标文件包括由所述原始视频和所述至少一个特效视频合成得到的合成视频,或者,所述目标文件包括原始视频、至少一个特效视频和所述合成视频。Wherein, the target file includes the original video and at least one special effect video, or the target file includes a synthesized video obtained by synthesizing the original video and the at least one special effect video, or the target file includes the original video, At least one special effects video and said composite video.
  20. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至8中任一项所述的视频播放方法的步骤。An electronic device, including a processor, a memory and a program or instructions stored on the memory and executable on the processor. When the program or instructions are executed by the processor, the implementation of claims 1 to 8 is achieved. The steps of the video playback method described in any one of the above.
  21. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求9至17中任一项所述的视频拍摄方法的步骤。 An electronic device, including a processor, a memory and a program or instructions stored on the memory and executable on the processor. When the program or instructions are executed by the processor, the implementation of claims 9 to 17 is achieved. The steps of the video shooting method described in any one of the above.
PCT/CN2023/114196 2022-08-26 2023-08-22 Video playing method and apparatus, and electronic device WO2024041514A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211038653.X 2022-08-26
CN202211038653.XA CN115767141A (en) 2022-08-26 2022-08-26 Video playing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2024041514A1 true WO2024041514A1 (en) 2024-02-29

Family

ID=85349383

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/114196 WO2024041514A1 (en) 2022-08-26 2023-08-22 Video playing method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN115767141A (en)
WO (1) WO2024041514A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115767141A (en) * 2022-08-26 2023-03-07 维沃移动通信有限公司 Video playing method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394324A (en) * 2014-12-09 2015-03-04 成都理想境界科技有限公司 Special-effect video generation method and device
CN104967900A (en) * 2015-05-04 2015-10-07 腾讯科技(深圳)有限公司 Video generating method and video generating device
CN111050203A (en) * 2019-12-06 2020-04-21 腾讯科技(深圳)有限公司 Video processing method and device, video processing equipment and storage medium
CN112165632A (en) * 2020-09-27 2021-01-01 北京字跳网络技术有限公司 Video processing method, device and equipment
CN113542610A (en) * 2021-07-27 2021-10-22 上海传英信息技术有限公司 Shooting method, mobile terminal and storage medium
WO2022132033A1 (en) * 2020-12-18 2022-06-23 脸萌有限公司 Display method and apparatus based on augmented reality, and device and storage medium
CN115767141A (en) * 2022-08-26 2023-03-07 维沃移动通信有限公司 Video playing method and device and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394324A (en) * 2014-12-09 2015-03-04 成都理想境界科技有限公司 Special-effect video generation method and device
CN104967900A (en) * 2015-05-04 2015-10-07 腾讯科技(深圳)有限公司 Video generating method and video generating device
CN111050203A (en) * 2019-12-06 2020-04-21 腾讯科技(深圳)有限公司 Video processing method and device, video processing equipment and storage medium
CN112165632A (en) * 2020-09-27 2021-01-01 北京字跳网络技术有限公司 Video processing method, device and equipment
WO2022132033A1 (en) * 2020-12-18 2022-06-23 脸萌有限公司 Display method and apparatus based on augmented reality, and device and storage medium
CN113542610A (en) * 2021-07-27 2021-10-22 上海传英信息技术有限公司 Shooting method, mobile terminal and storage medium
CN115767141A (en) * 2022-08-26 2023-03-07 维沃移动通信有限公司 Video playing method and device and electronic equipment

Also Published As

Publication number Publication date
CN115767141A (en) 2023-03-07

Similar Documents

Publication Publication Date Title
US20120210201A1 (en) Operation method for memo function and portable terminal supporting the same
KR101873750B1 (en) Mobile terminal and method for controlling thereof
JP4940345B2 (en) Electronic apparatus and image processing method
WO2024041514A1 (en) Video playing method and apparatus, and electronic device
CN110636365B (en) Video character adding method and device, electronic equipment and storage medium
US20150277749A1 (en) Method and apparatus for swipe shift photo browsing
WO2022160674A1 (en) Method and apparatus for work editing prompting
WO2023030270A1 (en) Audio/video processing method and apparatus and electronic device
WO2023061414A1 (en) File generation method and apparatus, and electronic device
WO2023174223A1 (en) Video recording method and apparatus, and electronic device
WO2023134583A1 (en) Video recording method and apparatus, and electronic device
JP5017424B2 (en) Electronic apparatus and image processing method
CN112672061A (en) Video shooting method and device, electronic equipment and medium
WO2024078514A1 (en) Screen-mirroring method and apparatus, and electronic device and storage medium
KR20180027917A (en) Display apparatus and control method thereof
JP2008250700A (en) Information processor, window reproduction method and program
WO2023103949A1 (en) Video processing method and apparatus, electronic device and medium
WO2023093669A1 (en) Video filming method and apparatus, and electronic device and storage medium
WO2022247768A1 (en) Image processing method and electronic device
CN115437736A (en) Method and device for recording notes
CN110703973B (en) Image cropping method and device
CN115037874A (en) Photographing method and device and electronic equipment
JP2013098657A (en) Content management apparatus, recording apparatus, operating apparatus and control method for them, and content management system
CN203104564U (en) Photographic device and mobile terminal
US20110231763A1 (en) Electronic apparatus and image processing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23856604

Country of ref document: EP

Kind code of ref document: A1