CN111147955A - Video playing method, server and computer readable storage medium - Google Patents

Video playing method, server and computer readable storage medium Download PDF

Info

Publication number
CN111147955A
CN111147955A CN201911410344.9A CN201911410344A CN111147955A CN 111147955 A CN111147955 A CN 111147955A CN 201911410344 A CN201911410344 A CN 201911410344A CN 111147955 A CN111147955 A CN 111147955A
Authority
CN
China
Prior art keywords
video
playing
preview
area
adjustment information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911410344.9A
Other languages
Chinese (zh)
Other versions
CN111147955B (en
Inventor
李立锋
白保军
徐丽莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
MIGU Video Technology Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Video Technology Co Ltd
MIGU Culture Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, MIGU Video Technology Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201911410344.9A priority Critical patent/CN111147955B/en
Publication of CN111147955A publication Critical patent/CN111147955A/en
Application granted granted Critical
Publication of CN111147955B publication Critical patent/CN111147955B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention relates to the technical field of multimedia, and discloses a video playing method, a server and a computer readable storage medium. In the present invention, the video playing method includes: segmenting a video according to a shooting lens to obtain a plurality of video segments; determining playing addresses corresponding to the plurality of video clips respectively; acquiring adjustment information, and adjusting the playing sequence of the plurality of video clips according to the adjustment information; and playing the plurality of video clips according to the adjusted playing sequence and the adjusted playing address, so that the adjustment of the playing sequence can be realized without secondary editing of the video, and the process is simpler.

Description

Video playing method, server and computer readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of multimedia, in particular to a video playing method, a server and a computer readable storage medium.
Background
At present, in order to change the playing sequence of a video, video editing software is usually used to edit the video so as to change the original playing sequence of the video.
However, the inventors found that at least the following problems exist in the related art: the video needs to be edited for the second time through video editing software, and the secondary editing means that decoding is needed before editing, and encoding needs to be carried out again after editing is finished, so that the process is complex.
Disclosure of Invention
An object of embodiments of the present invention is to provide a video playing method, a server, and a computer-readable storage medium, which enable adjustment of a playing sequence to be achieved without performing secondary editing on a video, and the process is simpler.
In order to solve the above technical problem, an embodiment of the present invention provides a video playing method, including the following steps: segmenting a video according to a shooting lens to obtain a plurality of video segments; determining playing addresses corresponding to the plurality of video clips respectively; acquiring adjustment information, and adjusting the playing sequence of the plurality of video clips according to the adjustment information; and playing the plurality of video clips according to the adjusted playing sequence and the playing address.
An embodiment of the present invention further provides a server, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the video playing method.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program, and the computer program realizes the video playing method when being executed by a processor.
Compared with the prior art, the embodiment of the invention divides the video according to the shooting lens to obtain a plurality of video segments; considering that the video segments shot by the same shooting lens are usually consecutive segments, the video is segmented according to the shooting lens, and the consistency of each of the obtained video segments is better. Then, determining playing addresses corresponding to the plurality of video segments respectively, acquiring adjustment information, adjusting the playing sequence of the plurality of video segments according to the adjustment information, and adjusting the playing sequence of the plurality of divided video segments, namely, changing the playing time of each video segment on the whole according to the adjustment information, and playing the plurality of video segments according to the adjusted playing sequence and playing addresses, so that the adjustment of the playing sequence can be realized without performing secondary editing on the video, decoding and recoding caused by the secondary editing are avoided, and the process of adjusting the playing sequence is simpler.
In addition, the determining the playing addresses corresponding to the plurality of video segments respectively includes: acquiring start time stamps and end time stamps of the plurality of video segments; and determining playing addresses corresponding to the plurality of video clips respectively according to the starting time stamp and the ending time stamp. The method for determining the playing address corresponding to the video clip is provided, and the playing address can be conveniently determined through the starting time stamp and the ending time stamp of the video clip.
In addition, the segmenting the video according to the shooting lens to obtain a plurality of video segments includes: selecting a video frame from the video as a reference video frame, and selecting a reference area from the reference video frame; extracting image features of the reference region in a video frame by frame starting from the reference video frame; determining a switching video frame according to the change degree of the extracted image characteristics, and taking the switching video frame as the reference video frame; and segmenting the video according to the switching video frame to obtain a plurality of video segments. Another way of segmenting the video is provided, and the switching video frame is determined by the change degree of the image characteristics of the reference region in each video frame. The method determines whether shot switching occurs according to the image characteristics of the local area in each video frame, so as to segment the video, and is beneficial to accurately finding out the video frame with shot switching, thereby segmenting the video and ensuring the continuity of the video segments obtained after segmentation.
In addition, the obtaining adjustment information and adjusting the playing sequence of the plurality of video segments according to the adjustment information includes: pushing preview pictures of the plurality of video clips to a client; acquiring adjustment information of the preview picture; and adjusting the playing sequence of the plurality of video clips according to the adjustment information of the preview picture. That is to say, the preview pictures of the multiple video clips can be displayed to the client, so that the user can adjust the preview pictures according to actual needs, and thus the adjustment information of the preview pictures is obtained to further adjust the playing sequence of the multiple video clips, which is convenient for the user to operate.
In addition, the pushing the preview screen of the plurality of video clips to the client includes: determining a first area of a display interface of the client and a second area of the preview screen; determining the number of preview areas on the display interface according to the first area and the second area; wherein, different preview areas are used for previewing different preview pictures; and sequentially pushing the preview pictures of the plurality of video clips to the client so as to preview the preview pictures of the plurality of video clips through the different preview areas. That is to say, the display interface of the client can simultaneously play the preview pictures of different video clips according to the actual size of the display interface, so that the preview of the user can be realized, the speed of the preview can be improved, and the user can further conveniently adjust the playing sequence according to the preview condition.
In addition, the acquiring of the adjustment information of the preview screen includes: if the preview area is detected to be triggered, taking a preview picture in the triggered preview area as a picture to be adjusted; if the picture to be adjusted is detected to be moved to the deletion area, the obtained adjustment information is as follows: deleting the picture to be adjusted and playing a new preview picture in the triggered preview area; if the picture to be adjusted is detected to be moved out of the deletion area, the obtained adjustment information is as follows: restoring the picture to be adjusted; if the picture to be adjusted is detected to be moved to another preview area, the obtained adjustment information is as follows: and interchanging the preview pictures played by the triggered preview area and the other preview area. The interactive mode for adjusting the preview picture is provided, adjustment information can be conveniently obtained by adjusting the preview picture played in different preview areas, and deletion, recovery and interchange of video clips can be realized by deleting, recovering and interchanging the preview picture. Moreover, the adjustment of the preview picture is realized on the display interface of the client, so that the adjustment of the corresponding video clip can be conveniently realized by the user through the adjustment of the preview picture according to the actual requirement.
In addition, after obtaining the plurality of video segments, the method further includes: numbering the plurality of video segments; wherein each serial number corresponds to a play address; the playing the plurality of video clips according to the adjusted playing sequence comprises: acquiring a serial number sequence corresponding to the adjusted playing sequence; and sequentially sending the playing addresses corresponding to the numbers to the client according to the number sequence. By numbering the video clips, the original playing sequence is convenient to adjust, and the adjusted playing sequence of the video clips can be conveniently known after adjustment.
Drawings
One or more embodiments are illustrated by the corresponding figures in the drawings, which are not meant to be limiting.
Fig. 1 is a flowchart of a video playing method according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of selecting a reference area according to a first embodiment of the present invention;
fig. 3 is a flowchart of a video playing method according to a second embodiment of the present invention;
FIG. 4 is a schematic diagram of jumping of a display interface according to a second embodiment of the present invention;
FIG. 5 is a schematic view of a display interface according to a second embodiment of the invention;
FIG. 6 is another schematic diagram of a display interface according to a second embodiment of the invention;
FIG. 7 is yet another schematic illustration of a display interface according to a second embodiment of the invention;
FIG. 8 is a schematic diagram of a display interface for determining an adjustment order according to a second embodiment of the present invention;
fig. 9 is a schematic configuration diagram of a server according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
The first embodiment of the invention relates to a video playing method which is applied to a server. The following describes implementation details of the video playing method of the present embodiment in detail, and the following is only provided for easy understanding and is not necessary to implement the present embodiment.
A flowchart of the video playing method in this embodiment is shown in fig. 1, and specifically includes:
step 101: and segmenting the video according to the shooting lens to obtain a plurality of video segments.
It is understood that in the process of capturing video, a capture shot captures a continuous video frame, which may also be referred to as a shot. In this step, the plurality of video segments obtained by segmenting the video may be understood as a plurality of shots of the video.
In one example, the segmented video may be a video being played by the client, that is, a video being played by the user. When a user watches a video, if the user wants to change the playing sequence of the video, a request can be sent to the server, and the server can start to execute the step after receiving the request. For example, a function key for changing the playing sequence may be set on the playing interface of the client, and if the client detects that the function key is pressed, the video being played is paused, and the step is started to be executed. Wherein, the dividing the video may be: the subsequent video content is segmented starting from the playing position where the video was paused.
In one example, the video may be divided in the following manner: the method comprises the steps of obtaining the similarity between any two adjacent video frames in a video, determining the time point of shot switching according to the similarity, and segmenting the video according to the time point of shot switching to obtain a plurality of video segments. For example, the image similarity between the current frame and the next frame may be detected frame by frame, when the image similarity is lower than a preset similarity, the shot is regarded as being switched, the time point of the shot switching is recorded, and finally, the video is segmented according to the recorded time point of the switching to obtain a plurality of video segments. The similarity between any two adjacent video frames can be determined by combining scene characteristics, character characteristics, lines of speech characteristics, plot characteristics and the like between the two adjacent video frames.
In a specific implementation, a duration between two adjacent switching time points may also be recorded, that is, a duration of a video clip between two switching time points, which may also be referred to as a duration of a shot. In addition, after the plurality of video clips are obtained through division, the plurality of video clips can be numbered according to the original playing sequence of the plurality of video clips. For example, the video clips are divided into N video clips, the numbers of the video clips are 1,2, and 3 …. In a specific implementation, the information such as the time point of each shot switching, the shot duration, the shot number, and the like may be stored in an xml format, a json format, and the like.
In another example, the manner in which the video is partitioned may be as follows:
first, a video frame is selected as a reference video frame in a video, and a reference area is selected in the reference video frame. For example, a video frame corresponding to the paused video may be used as a reference video frame, and a reference area may be selected from the reference video frame. In one example, the reference area may be selected by: and selecting a reference object in the reference video frame, wherein the reference object can be a relatively prominent person or object in the video frame. Then, selecting a reference area in an area outside the reference object; the color value feature of the reference region is a non-single color value, that is, a non-solid color region can be selected as the reference region to improve the reference meaning of the selected reference region, that is, the non-solid color region is selected as the reference region, so that whether the image feature of the reference region changes or not can be easily detected.
Referring to fig. 2, 16 consecutive video frames in fig. 2 are selected as the reference video frame, the person in the picture is identified by the person identification method, and color value features of the small block region are randomly extracted from the places other than the person. Then, validity check of the color value feature may be performed, for example, when the color value feature of the randomly extracted small block area is a single color value, the feature is considered to be invalid and needs to be extracted again. The size of the small block region may be 48 × 48 or 64 × 64, which is not specifically limited in this embodiment. The reference area selected in the first video frame in fig. 2 is illustrated as a boxed area.
Then, from the reference video frame, image features of the reference region in the video frame are extracted frame by frame. Referring to fig. 2, starting from the first video frame, image features of a reference region in the video frame, that is, image features of a region framed by a square frame in each video frame are extracted frame by frame.
Then, according to the degree of change of the extracted image features, a switching video frame is determined, and the switching video frame is used as a reference video frame. It is understood that when the image scene is displaced, such as when the lens is switched, the image characteristics of the reference area may be changed to a greater extent. Referring to fig. 2, the last two video frames in the 4 th row have a larger degree of change in image features due to the fact that the reference region is occluded by a person, at this time, the second last video frame may be determined as a switching video frame, and the second last video frame is used as a reference video frame, a reference region, i.e., a region framed by a square frame on the right side of the person in the drawing, is reselected from the second last video frame, then the image features of the reference region in the video frames are extracted frame by frame from the beginning of the second last video frame, and the above process is repeated until the image features of the last video frame of the video are extracted. It will be appreciated that a plurality of switching video frames may be determined in this process.
And finally, segmenting the video according to the switching video frame to obtain a plurality of video segments. For example, a video between two adjacent switching video frames is segmented to obtain a video segment, and finally, a plurality of video segments are obtained.
Step 102: and determining playing addresses corresponding to the plurality of video clips respectively.
Specifically, the start time stamps and the end time stamps of the plurality of video segments can be obtained, and the playing addresses corresponding to the plurality of video segments are determined according to the start time stamps and the end time stamps. It can be understood that each video segment corresponds to a start time stamp and an end time stamp of playing, hereinafter referred to as start-stop time stamps, in the whole video, and the playing data between the start-stop time stamps may correspond to a playing address, through which the corresponding playing data may be downloaded. In a specific implementation, the access address of the video may be represented by a Uniform Resource Locator (URL), and the play addresses corresponding to different video segments may be determined by the URL and start-stop timestamps corresponding to the different video segments.
In one example, each video clip may be provided with a respective number. For example, after obtaining a plurality of video segments, the plurality of video segments may be numbered, and in a specific implementation, each video segment may be numbered according to an original playing order of the plurality of video segments, and each number may correspond to one playing address.
Step 102: and acquiring the adjustment information, and adjusting the playing sequence of the plurality of video clips according to the adjustment information.
In one example, the adjustment information may be a deletion, a recovery, a shift-forward, a shift-backward, etc. operation of the video segment. The client may send an adjustment request to the server, where the adjustment request may carry adjustment information. For example, a plurality of video clips are all provided with corresponding numbers, and assuming that 5 video clips are obtained by multi-video segmentation, the numbers are: 1 to 5, and the original playing sequence of the 5 video segments is: 1. 2,3, 4 and 5. The adjustment request may carry the number and operation of the video segment to be adjusted, such as "delete number 1", "interchange number 3 and number 5". The server adjusts the playing sequence of the plurality of video clips according to the adjustment information, and the adjusted playing sequence is as follows: 2. 5, 4, and 3, namely, the video segment corresponding to the number 1 is masked, which indicates that the video segment corresponding to the number 1 is not played any more after adjustment, and the playing sequence of the video segments corresponding to the numbers 3 and 5 is interchanged.
Step 103: and playing the plurality of video clips according to the adjusted playing sequence.
For example, when the user determines to play the shots according to the adjusted playing sequence, the user continues to play the subsequent shots from the currently playing shot according to the new playing sequence. Specifically, the server may push a plurality of video clips to the client according to the adjusted playing order. In the above example, the adjusted playing sequence is: 2. for example, 5, 4, and 3, the server may sequentially push the video clips 2, 5, 4, and 3 to the client according to the playing duration corresponding to each video clip, that is, the shot duration.
In an example, it can be understood that each video segment corresponds to a start time stamp and a stop time stamp of playing, hereinafter referred to as a start-stop time stamp, in the whole video, and the playing data in the start-stop time stamp may correspond to a playing address, through which the corresponding playing data can be downloaded. The server can sequentially issue the playing addresses corresponding to the video clips after the sequence is adjusted to the client, so that the client can download corresponding playing data. If a plurality of video segments are numbered according to the original playing sequence, each number may correspond to a playing address of one video segment. The server can obtain the number sequence corresponding to the adjusted playing sequence, and sequentially sends the playing addresses corresponding to the numbers to the client according to the number sequence. Such as. When the client sends a request for restoring playing of the video to the server, the client can carry the number of a next shot, namely a video clip, and the server sends a playing address corresponding to the number of the shot after receiving the request.
The above examples in the present embodiment are only for convenience of understanding, and do not limit the technical aspects of the present invention.
Compared with the prior art, the embodiment divides the video according to the shooting lens to obtain a plurality of video clips; considering that the video segments shot by the same shooting lens are usually consecutive segments, the video is segmented according to the shooting lens, and the consistency of each of the obtained video segments is better. Then, determining playing addresses corresponding to the plurality of video segments respectively, acquiring adjustment information, adjusting the playing sequence of the plurality of video segments according to the adjustment information, and adjusting the playing sequence of the plurality of divided video segments, namely, changing the playing time of each video segment on the whole according to the adjustment information, and playing the plurality of video segments according to the adjusted playing sequence and playing addresses, so that the adjustment of the playing sequence can be realized without performing secondary editing on the video, decoding and recoding caused by the secondary editing are avoided, and the process of adjusting the playing sequence is simpler.
A second embodiment of the present invention relates to a video playback method. The following describes implementation details of the video playing method of the present embodiment in detail, and the following is only provided for easy understanding and is not necessary to implement the present embodiment.
A flowchart of the video playing method in this embodiment is shown in fig. 3, and specifically includes:
step 201: and segmenting the video according to the shooting lens to obtain a plurality of video segments.
Step 202: and determining playing addresses corresponding to the plurality of video clips respectively.
Step 201 and step 202 are substantially the same as step 101 and step 102 in the first embodiment, and are not repeated here to avoid repetition.
Step 203: and pushing preview pictures of a plurality of video clips to the client.
Specifically, a display interface of the client may be provided with a function key for requesting preview, and when it is detected that the function key is triggered, the client sends a preview request to the server, and the server pushes a preview screen of a plurality of video clips to the client. The preview picture of each video clip can be a few continuous pictures of the first frame of each video clip, or can be a continuous picture of all frames. The display interface of the client side can comprise at least two preview areas which are used for circularly playing the preview pictures of the video clips. The server can sequentially send the playing addresses of the video clips to the client according to the original playing sequence of the video clips, so that the video clips can be downloaded by the client and then displayed for the user to preview.
In one example, the server may determine a first area of a display interface of the client and a second area of a preview screen, and determine the number of preview areas on the display interface according to the first area and the second area; wherein different preview areas are used for previewing different preview screens. That is, it is calculated how many shots can be displayed at most in the display interface according to the size of the display interface and the size of the preview screen. And then sequentially pushing the preview pictures of the multiple shots to the client so as to preview the preview pictures of the multiple shots through different preview areas.
Referring to fig. 4, when the user clicks a function key for requesting a preview on the display interface of the client, the display interface jumps from the left form to the right form in fig. 4. As can be seen from fig. 4, there are 6 preview areas on the display interface, and the user can play 6 preview pictures. It can be understood that, if there are more than 6 video segments obtained by splitting a video, the server may first push 6 preview pictures to the client, and when an operation such as a slide-up or a slide-down operation on the preview area is detected, may push a new preview picture to the preview area where the operation such as the slide-up or the slide-down operation is detected.
Step 204: and acquiring the adjustment information of the preview picture.
Specifically, if it is detected that a preview area is triggered, a preview picture in the triggered preview area is used as a picture to be adjusted. For example, if it is detected that a preview area is pressed for a long time, it may be determined that a preview screen in the preview area is selected, and the selected preview screen may be adjusted to be translucent. Referring to fig. 5, the preview screen 3 is selected as a to-be-adjusted screen, and when the preview screen 3 is dragged to a position outside the current preview area, the subsequent preview screens are sequentially moved forward to replace the previous one.
If the picture to be adjusted is detected to be moved to the deletion area, the obtained adjustment information is as follows: deleting the picture to be adjusted and playing a new preview picture in the triggered preview area; if the picture to be adjusted is detected to be moved out of the deletion area, the obtained adjustment information is as follows: and restoring the picture to be adjusted. Referring to fig. 5, a garbage collection area, that is, a deletion area, is displayed at the lower left of the display interface, and the preview screen moved to the deletion area indicates that the video segment corresponding to the preview screen is not requested to be played finally. In addition, the preview screen dragged to the deletion area may exist in a number manner, or the number may be dragged out of the deletion area to resume playing. Referring to fig. 6, a preview screen 3 is displayed in the deletion area as number 3. The new preview screen played in the triggered preview area may be the subsequent preview screen 4, or may be a preview screen not currently displayed on the display interface, for example, the new preview screen 7.
If the picture to be adjusted is detected to be moved to another preview area, the obtained adjustment information is as follows: and interchanging the triggered preview area and the preview screen played by the other preview area. For example, when the screen to be adjusted is dragged to overlap with other preview screens at a preset overlap ratio such as 1/4, the two parties exchange the preview screens being played.
Step 205: and adjusting the playing sequence of the plurality of video clips according to the adjustment information of the preview picture.
For example, the arrangement order of the preview pictures on the current display interface may be used as the playing order of the adjusted video clips. Referring to fig. 6, the preview images on the current display interface are arranged in the following order: in preview images 1,2, 4, 5, and 6, the playing order of the plurality of video clips is: video segments 1,2, 4, 5, 6, i.e. video segment 3 is deleted. Referring to fig. 7, the preview images on the current display interface are arranged in the following order: in preview images 1, 6, 4, 2, and 5, the playing order of the plurality of video clips is: video segments 1, 6, 4, 2, 5.
Step 206: and playing the plurality of video clips according to the adjusted playing sequence.
In one example, referring to fig. 8, after the user has adjusted the playing sequence, the user may click a preset function button for indicating that the adjustment is completed. When the function key is detected to be pressed, a dialog box of 'whether to determine to play in the sequence' can pop up on the display interface, and if yes is detected to be clicked by the user, the video clips 1, 6, 4, 2 and 5 are played in sequence. That is, if it is detected that the user clicks "yes", the method of step 103 in the first embodiment may be further referred to implement playing the multiple video segments according to the adjusted playing sequence.
The above examples in the present embodiment are only for convenience of understanding, and do not limit the technical aspects of the present invention.
Compared with the prior art, the embodiment can display the preview pictures of the plurality of video clips to the client so that the user can adjust the preview pictures according to actual needs, and therefore adjustment information of the preview pictures is obtained to further adjust the playing sequence of the plurality of video clips, and operation of the user is facilitated. And the display interface of the client can be used for the user to preview pictures of different video clips simultaneously according to the actual size of the display interface, so that the previewing speed is improved, and the user can further adjust the playing sequence conveniently according to the previewing condition. In addition, an interactive mode for adjusting the preview picture is provided, so that adjustment of the corresponding video clip is realized by adjusting the preview picture played in different preview areas conveniently.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A third embodiment of the present invention is directed to a server, as shown in fig. 9, including at least one processor 301; and a memory 302 communicatively coupled to the at least one processor 301; the memory 302 stores instructions executable by the at least one processor 301, and the instructions are executed by the at least one processor 301, so that the at least one processor 301 can execute the video playing method according to the first or second embodiment.
Where the memory 302 and the processor 301 are coupled in a bus, the bus may comprise any number of interconnected buses and bridges, the buses coupling one or more of the various circuits of the processor 301 and the memory 302. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 301 is transmitted over a wireless medium through an antenna, which further receives the data and transmits the data to the processor 301.
The processor 301 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 302 may be used to store data used by processor 301 in performing operations.
A fourth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (10)

1. A video playback method, comprising:
segmenting a video according to a shooting lens to obtain a plurality of video segments;
determining playing addresses corresponding to the plurality of video clips respectively;
acquiring adjustment information, and adjusting the playing sequence of the plurality of video clips according to the adjustment information;
and playing the plurality of video clips according to the adjusted playing sequence and the playing address.
2. The method of claim 1, wherein the determining the playing addresses corresponding to the video segments respectively comprises:
acquiring start time stamps and end time stamps of the plurality of video segments;
and determining playing addresses corresponding to the plurality of video clips respectively according to the starting time stamp and the ending time stamp.
3. The video playing method according to claim 1, wherein the segmenting the video according to the shooting lens to obtain a plurality of video segments comprises:
selecting a video frame from the video as a reference video frame, and selecting a reference area from the reference video frame;
extracting image features of the reference region in a video frame by frame starting from the reference video frame;
determining a switching video frame according to the change degree of the extracted image characteristics, and taking the switching video frame as the reference video frame;
and segmenting the video according to the switching video frame to obtain a plurality of video segments.
4. The video playback method of claim 3, wherein said selecting the reference region in the reference video frame comprises:
selecting a reference object in the reference video frame;
selecting the reference area in the area outside the reference object; wherein the color value of the reference region is characterized by a non-single color value.
5. The video playing method according to claim 1, wherein the obtaining of the adjustment information and the adjusting of the playing order of the plurality of video segments according to the adjustment information comprises:
pushing preview pictures of the plurality of video clips to a client;
acquiring adjustment information of the preview picture;
and adjusting the playing sequence of the plurality of video clips according to the adjustment information of the preview picture.
6. The video playing method according to claim 5, wherein said pushing the preview screen of the plurality of video segments to the client comprises:
determining a first area of a display interface of the client and a second area of the preview screen;
determining the number of preview areas on the display interface according to the first area and the second area; wherein, different preview areas are used for previewing different preview pictures;
and sequentially pushing the preview pictures of the plurality of video clips to the client so as to preview the preview pictures of the plurality of video clips through the different preview areas.
7. The video playing method according to claim 6, wherein the obtaining of the adjustment information for the preview screen includes:
if the preview area is detected to be triggered, taking a preview picture in the triggered preview area as a picture to be adjusted;
if the picture to be adjusted is detected to be moved to the deletion area, the obtained adjustment information is as follows: deleting the picture to be adjusted and playing a new preview picture in the triggered preview area;
if the picture to be adjusted is detected to be moved out of the deletion area, the obtained adjustment information is as follows: restoring the picture to be adjusted;
if the picture to be adjusted is detected to be moved to another preview area, the obtained adjustment information is as follows: and interchanging the preview pictures played by the triggered preview area and the other preview area.
8. The video playing method according to claim 1, further comprising, after said obtaining the plurality of video segments:
numbering the plurality of video segments; wherein each serial number corresponds to a play address;
the playing the plurality of video clips according to the adjusted playing sequence comprises:
acquiring a serial number sequence corresponding to the adjusted playing sequence;
and sequentially sending the playing addresses corresponding to the numbers to the client according to the number sequence.
9. A server, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the video playback method of any of claims 1 to 8.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the video playback method of any one of claims 1 to 8.
CN201911410344.9A 2019-12-31 2019-12-31 Video playing method, server and computer readable storage medium Active CN111147955B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911410344.9A CN111147955B (en) 2019-12-31 2019-12-31 Video playing method, server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911410344.9A CN111147955B (en) 2019-12-31 2019-12-31 Video playing method, server and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111147955A true CN111147955A (en) 2020-05-12
CN111147955B CN111147955B (en) 2022-10-18

Family

ID=70522462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911410344.9A Active CN111147955B (en) 2019-12-31 2019-12-31 Video playing method, server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111147955B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112004032A (en) * 2020-09-04 2020-11-27 北京字节跳动网络技术有限公司 Video processing method, terminal device and storage medium
CN112149586A (en) * 2020-09-28 2020-12-29 上海翰声信息技术有限公司 Automatic video clip extraction system and method based on neural network
CN112233667A (en) * 2020-12-17 2021-01-15 成都索贝数码科技股份有限公司 Synchronous voice recognition method based on deep learning
CN112312219A (en) * 2020-11-26 2021-02-02 上海连尚网络科技有限公司 Streaming media video playing and generating method and equipment
CN113596555A (en) * 2021-06-21 2021-11-02 维沃移动通信(杭州)有限公司 Video playing method and device and electronic equipment
CN114222165A (en) * 2021-12-31 2022-03-22 咪咕视讯科技有限公司 Video playing method, device, equipment and computer storage medium
CN114666657A (en) * 2022-03-18 2022-06-24 北京达佳互联信息技术有限公司 Video editing method and device, electronic equipment and storage medium
CN117156204A (en) * 2023-10-26 2023-12-01 超级芯(江苏)智能科技有限公司 Processing method and system of VR cloud game platform
CN117395451A (en) * 2023-09-13 2024-01-12 重庆数智融合创新科技有限公司 Video file access method and system based on cloud storage

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1305620A (en) * 1998-06-11 2001-07-25 普里赞特.Com Creating animation from video
US20140081956A1 (en) * 2012-03-15 2014-03-20 Panasonic Corporation Content processing apparatus, content processing method, and program
CN106792218A (en) * 2016-12-20 2017-05-31 北京猎豹移动科技有限公司 Video clipping playing method and device
CN107809649A (en) * 2017-11-03 2018-03-16 中广热点云科技有限公司 A kind of intelligent television program switching and prebrowsing system
CN110337009A (en) * 2019-07-01 2019-10-15 百度在线网络技术(北京)有限公司 Control method, device, equipment and the storage medium of video playing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1305620A (en) * 1998-06-11 2001-07-25 普里赞特.Com Creating animation from video
US20140081956A1 (en) * 2012-03-15 2014-03-20 Panasonic Corporation Content processing apparatus, content processing method, and program
CN106792218A (en) * 2016-12-20 2017-05-31 北京猎豹移动科技有限公司 Video clipping playing method and device
CN107809649A (en) * 2017-11-03 2018-03-16 中广热点云科技有限公司 A kind of intelligent television program switching and prebrowsing system
CN110337009A (en) * 2019-07-01 2019-10-15 百度在线网络技术(北京)有限公司 Control method, device, equipment and the storage medium of video playing

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11849211B2 (en) 2020-09-04 2023-12-19 Beijing Bytedance Network Technology Co., Ltd. Video processing method, terminal device and storage medium
CN112004032A (en) * 2020-09-04 2020-11-27 北京字节跳动网络技术有限公司 Video processing method, terminal device and storage medium
CN112149586A (en) * 2020-09-28 2020-12-29 上海翰声信息技术有限公司 Automatic video clip extraction system and method based on neural network
CN112312219A (en) * 2020-11-26 2021-02-02 上海连尚网络科技有限公司 Streaming media video playing and generating method and equipment
CN112233667A (en) * 2020-12-17 2021-01-15 成都索贝数码科技股份有限公司 Synchronous voice recognition method based on deep learning
CN112233667B (en) * 2020-12-17 2021-03-23 成都索贝数码科技股份有限公司 Synchronous voice recognition method based on deep learning
CN113596555A (en) * 2021-06-21 2021-11-02 维沃移动通信(杭州)有限公司 Video playing method and device and electronic equipment
CN113596555B (en) * 2021-06-21 2024-01-19 维沃移动通信(杭州)有限公司 Video playing method and device and electronic equipment
CN114222165A (en) * 2021-12-31 2022-03-22 咪咕视讯科技有限公司 Video playing method, device, equipment and computer storage medium
CN114222165B (en) * 2021-12-31 2023-11-10 咪咕视讯科技有限公司 Video playing method, device, equipment and computer storage medium
CN114666657A (en) * 2022-03-18 2022-06-24 北京达佳互联信息技术有限公司 Video editing method and device, electronic equipment and storage medium
CN114666657B (en) * 2022-03-18 2024-03-19 北京达佳互联信息技术有限公司 Video editing method and device, electronic equipment and storage medium
CN117395451A (en) * 2023-09-13 2024-01-12 重庆数智融合创新科技有限公司 Video file access method and system based on cloud storage
CN117156204A (en) * 2023-10-26 2023-12-01 超级芯(江苏)智能科技有限公司 Processing method and system of VR cloud game platform
CN117156204B (en) * 2023-10-26 2024-01-30 超级芯(江苏)智能科技有限公司 Processing method and system of VR cloud game platform

Also Published As

Publication number Publication date
CN111147955B (en) 2022-10-18

Similar Documents

Publication Publication Date Title
CN111147955B (en) Video playing method, server and computer readable storage medium
US11049522B2 (en) Digital media editing
KR102099357B1 (en) Device, system and method for providing screen shot
CN110708589B (en) Information sharing method and device, storage medium and electronic device
US11025964B2 (en) Method, apparatus, server, and storage medium for generating live broadcast video of highlight collection
CN107040794A (en) Video broadcasting method, server, virtual reality device and panoramic virtual reality play system
US11438510B2 (en) System and method for editing video contents automatically technical field
WO2019214371A1 (en) Image display method and generating method, device, storage medium and electronic device
CN111447505A (en) Video clipping method, network device, and computer-readable storage medium
CN111182359A (en) Video preview method, video frame extraction method, video processing device and storage medium
CN108900918A (en) A kind of VOD method, client and electronic equipment
CN112383790A (en) Live broadcast screen recording method and device, electronic equipment and storage medium
CN111601151A (en) Method, device, medium and equipment for reviewing hundred million-level pixel video
CN104683858A (en) Preview method and device for content of stream medium
CN113852824A (en) Video transcoding method and device, electronic equipment and storage medium
JP6270555B2 (en) Image processing system, imaging apparatus, and control method thereof
US9491447B2 (en) System for providing complex-dimensional content service using complex 2D-3D content file, method for providing said service, and complex-dimensional content file therefor
CN114025199A (en) Live video editing method, device and system
US10375456B2 (en) Providing highlights of an event recording
KR102069897B1 (en) Method for generating user video and Apparatus therefor
CN113542909A (en) Video processing method and device, electronic equipment and computer storage medium
CN106791909B (en) Video data processing method and device and server
CN113992638A (en) Synchronous playing method and device of multimedia resources, storage position and electronic device
CN112511904A (en) Video playing progress control method, device, equipment and storage medium
JP2018074337A (en) Moving image processing device, moving image processing method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant