CN113422998A - Method, device, equipment and storage medium for generating short video and note content - Google Patents

Method, device, equipment and storage medium for generating short video and note content Download PDF

Info

Publication number
CN113422998A
CN113422998A CN202110558211.7A CN202110558211A CN113422998A CN 113422998 A CN113422998 A CN 113422998A CN 202110558211 A CN202110558211 A CN 202110558211A CN 113422998 A CN113422998 A CN 113422998A
Authority
CN
China
Prior art keywords
video
original video
note
comment information
playing time
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.)
Pending
Application number
CN202110558211.7A
Other languages
Chinese (zh)
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202110558211.7A priority Critical patent/CN113422998A/en
Publication of CN113422998A publication Critical patent/CN113422998A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44016Processing 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 splicing one content stream with another content stream, e.g. for substituting a video clip
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application relates to a method, a device, equipment and a storage medium for generating short videos and note contents, and relates to the technical field of videos. The short video generation method comprises the following steps: the method comprises the steps of obtaining a short video generation request aiming at an original video, wherein the short video generation request carries interception start and stop position information of the original video, intercepting an intermediate video from the original video according to the interception start and stop position information, extracting note content corresponding to the interception start and stop position information from note content corresponding to the original video, wherein the note content comprises a plurality of comment information input by a user in the playing process of the original video, each comment information is associated with the playing time of the original video, and generating a target short video according to the intermediate video and the note content corresponding to the interception start and stop position information. The problem that the short video production process is loaded down with trivial details is explained in movie & TV is used for solving this application.

Description

Method, device, equipment and storage medium for generating short video and note content
Technical Field
The present application relates to the field of video technologies, and in particular, to a method, an apparatus, a device, and a storage medium for generating short videos and note contents.
Background
Many excellent movie and television commentary short videos can be seen on each self-media platform, movie and television commentary is very popular on each self-media platform, audiences and crowds are very wide, and fans are very easy to attract. However, the production process of the short video of the film and television commentary is still relatively complicated, which includes many steps of watching the whole movie, preparing the file, dubbing, cutting corresponding segments according to the content dubbed by the file, adding subtitles, and the like, and also needs to learn to use various software, including video software, clipping software, subtitle software, dubbing software, and the like.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for generating short videos and note contents, which are used for solving the problem that the production process of the short videos is complicated.
In a first aspect, the present application provides a short video generation method, including:
acquiring a short video generation request aiming at an original video, wherein the short video generation request carries interception start-stop position information of the original video;
intercepting an intermediate video from the original video according to the interception start-stop position information;
extracting note contents corresponding to the interception start-stop position information from note contents corresponding to the original video, wherein the note contents comprise a plurality of comment information input by a user in the playing process of the original video, and each comment information is associated with the playing time of the original video;
and generating a target short video according to the intermediate video and the note content corresponding to the intercepted start-stop position information.
Optionally, the generating a target short video according to the intermediate video and the note content corresponding to the intercepted start-stop position information includes:
converting note contents corresponding to the intercepted start-stop position information into target audio according to the sequence of playing time of the original video associated with each comment information;
combining the intermediate video and the target audio to generate the target short video;
or
According to the note content corresponding to the intercepted start-stop position information, generating a subtitle file of the intermediate video according to the sequence of the playing time of the original video associated with each comment information;
combining the intermediate video and the subtitle file to generate the target short video;
or
Converting note contents corresponding to the intercepted start-stop position information into target audio according to the sequence of the playing time of the original video associated with each comment information, and generating a subtitle file of the intermediate video according to the sequence of the playing time of the original video associated with each comment information according to the note contents;
and combining the intermediate video, the target audio and the subtitle file to generate the target short video.
Optionally, before extracting the note content corresponding to the interception start-stop position information from the note content corresponding to the original video, the method further includes:
acquiring a note storage request, wherein the note storage request carries note content corresponding to the original video and the playing time of the original video associated with each piece of comment information;
and storing note content corresponding to the original video and the playing time of the original video associated with each piece of comment information.
Optionally, the method further comprises:
acquiring a note updating request, wherein the note updating request carries updated note content corresponding to the original video and the playing time of the original video associated with each piece of comment information in the updated note content;
and replacing the note content corresponding to the original video with the updated note content corresponding to the original video according to the playing time of the original video associated with each piece of comment information in the updated note content.
Optionally, the method further comprises:
acquiring an original video continuous playing request, wherein the original video continuous playing request carries the playing time of the original video associated with each piece of comment information;
and continuing to play the original video according to the playing time of the original video associated with each piece of comment information.
Optionally, after generating the target short video according to the intermediate video and the note content corresponding to the intercepted start-stop position information, the method further includes:
acquiring a short video playing request;
and playing the target short video.
In a second aspect, the present application provides a method for generating a note content, applied to a client, including:
in the playing process of an original video, a note recording request is obtained, wherein the note recording request carries the playing time of the original video;
generating comment information associated with the playing time of the original video;
and taking the generated comment information as note content in the playing process of the original video.
Optionally, after the plurality of comment information generated in the playing process of the original video is taken as note content, the method further includes:
acquiring a note modification request, wherein the note modification request carries the playing time of the original video;
generating modified comment information associated with the playing time of the original video;
and replacing the comment information associated with the playing time of the original video with the modified comment information associated with the playing time of the original video according to the playing time of the original video associated with the modified comment information.
In a third aspect, the present application provides a short video generating apparatus, including:
the short video generation request acquisition module is used for acquiring a short video generation request aiming at an original video, wherein the short video generation request carries interception start-stop position information of the original video;
the intermediate video intercepting module is used for intercepting an intermediate video from the original video according to the intercepting start-stop position information;
a note content extraction module, configured to extract note content corresponding to the interception start-stop position information from note content corresponding to the original video, where the note content includes multiple comment information input by a user during a playing process of the original video, and each comment information is associated with a playing time of the original video;
and the first processing module is used for generating a target short video according to the intermediate video and the note content corresponding to the intercepted start-stop position information.
Optionally, the first processing module includes:
the first conversion unit is used for converting the note content corresponding to the intercepted start-stop position information into target audio according to the sequence of the playing time of the original video associated with each comment information;
a first combining unit, configured to combine the intermediate video and the target audio to generate the target short video;
or
A subtitle file generating unit, configured to generate a subtitle file of the intermediate video according to the order of the playing time of the original video associated with each piece of comment information, according to the note content corresponding to the intercepted start-stop position information;
the second combination unit is used for combining the intermediate video and the subtitle file to generate the target short video;
or
A second conversion unit, configured to convert the note content corresponding to the intercepted start-stop position information into a target audio according to a sequence of playing times of the original video associated with each piece of review information, and generate a subtitle file of the intermediate video according to the note content and the sequence of playing times of the original video associated with each piece of review information;
and the third combination unit is used for combining the intermediate video, the target audio and the subtitle file to generate the target short video.
Optionally, the short video generating apparatus further includes:
a note storage request acquisition module, configured to acquire a note storage request, where the note storage request carries note content corresponding to the original video and a playing time of the original video associated with each piece of comment information;
and the storage module is used for storing note content corresponding to the original video and the playing time of the original video associated with each piece of comment information.
Optionally, the short video generating apparatus further includes:
a note update request obtaining module, configured to obtain a note update request, where the note update request carries updated note content corresponding to the original video and a playing time of the original video associated with each piece of comment information in the updated note content;
and the updating module is used for replacing the note content corresponding to the original video with the updated note content corresponding to the original video according to the playing time of the original video associated with each piece of comment information in the updated note content.
Optionally, the short video generating apparatus further includes:
an original video continuous playing request obtaining module, configured to obtain an original video continuous playing request, where the original video continuous playing request carries a playing time of the original video associated with each piece of comment information;
and the second processing module is used for continuously playing the original video according to the playing time of the original video associated with each piece of comment information.
Optionally, the short video generating apparatus further includes:
the short video playing request acquisition module is used for acquiring a short video playing request;
and the third processing module is used for playing the target short video.
In a fourth aspect, the present application provides an apparatus for generating a note content, configured at a client, including:
a note recording request obtaining module, configured to obtain a note recording request during a playing process of an original video, where the note recording request carries a playing time of the original video;
the first generation module is used for generating comment information associated with the playing time of the original video;
and the fourth processing module is used for taking the comment information generated in the playing process of the original video as note content.
Optionally, the note content generating apparatus further includes:
a note modification request acquisition module, configured to acquire a note modification request, where the note modification request carries a playing time of the original video;
the second generation module is used for generating modified comment information associated with the playing time of the original video;
and the fifth processing module is used for replacing the comment information associated with the playing time of the original video with the modified comment information associated with the playing time of the original video according to the playing time of the original video associated with the modified comment information.
In a fifth aspect, the present application provides an electronic device, comprising: the system comprises a processor, a memory and a communication bus, wherein the processor and the memory are communicated with each other through the communication bus; the memory for storing a computer program; the processor is configured to execute the program stored in the memory, and implement the short video generation method according to the first aspect, or implement the note content generation method according to the second aspect.
In a sixth aspect, the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the short video generation method of the first aspect or implements the note content generation method of the second aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: the short video generation method provided by the embodiment of the application intercepts the intermediate video from the original video according to the interception start-stop position information, extracts the note content corresponding to the interception start-stop position information from the note content corresponding to the original video, wherein the note content comprises a plurality of comment information input by a user in the playing process of the original video, each comment information is associated with the playing time of the original video, generates the target short video according to the intermediate video and the note content corresponding to the interception start-stop position information, can automatically extract the note content corresponding to the interception start-stop position information, generates the target short video according to the intermediate video and the note content corresponding to the interception start-stop position information, does not need the user to make the movie commentary short video through complicated operation, and is convenient for the user to make the movie commentary short video quickly and conveniently according to the note content, the problem that the production process of the film and television explanation short video is complicated is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic flowchart of a short video generation method applied to a video editing client on a terminal in an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for generating short videos applied to a server in an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for generating note content applied to a client according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a short video generation apparatus in an embodiment of the present application;
FIG. 5 is a schematic structural diagram of a note content generating device configured at a client according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The embodiment of the application provides a short video generation method, which can be applied to a server and also can be applied to a video editing client on a terminal (a mobile phone, a tablet computer and the like). In the embodiment of the present application, the method is applied to a server and a video editing client on a terminal, respectively.
In the embodiment of the present application, as shown in fig. 1, a flow of a method for generating a short video applied to a video editing client on a terminal mainly includes:
step 101, a short video generation request for an original video is obtained, wherein the short video generation request carries interception start-stop position information of the original video.
The original video is a video that the user wants to explain, and may be a television drama, for example, the first album of dream of red buildings, or a movie, for example, a piano master at sea. The intercepting start-stop position information refers to information that a user wants to explain a part of video in the original video and indicates the start-stop position of the part of video in the original video, for example, wants to explain a video with a first centralized playing progress of "dream of red buildings" of 10 minutes to 20 minutes, and the intercepting start-stop position information may be 10 minutes to 20 minutes.
The method includes the steps of acquiring a short video generation request for an original video, wherein the short video generation request can be that a video editing client on a terminal receives the original video dragged into a clip frame by a user and interception start-stop position information input by the user.
And step 102, intercepting an intermediate video from the original video according to the interception start-stop position information.
For example: the intercepting start-stop position information is 10 minutes to 20 minutes, videos with the playing progress of 10 minutes to 20 minutes are intercepted from specific videos in the first set of dream of red buildings, and the videos with the playing progress of 10 minutes to 20 minutes in the first set of dream of red buildings are intermediate videos.
Step 103, extracting note contents corresponding to the intercepted start-stop position information from the note contents corresponding to the original video, wherein the note contents comprise a plurality of comment information input by a user in the playing process of the original video, and each comment information is associated with the playing time of the original video.
For example: the original video is a first set of ' dream of Red mansions ', a user inputs comment information A at the playing time of 11 minutes ' in the first set of ' dream of Red mansions ', inputs comment information B at the playing time of 13 minutes ' in the first set of ' dream of Red mansions ', inputs comment information C at the playing time of 18 minutes ' in the first set of ' dream of Red mansions ', inputs comment information D at the playing time of 20 minutes ' in the first set of ' dream of Red mansions ', inputs comment information E at the playing time of 24 minutes ' in the first set of ' dream of Red mansions ', intercepts the start and stop position information of 10 minutes to 20 minutes, the 11 minutes, 13 minutes, 18 minutes and 20 minutes are in the range of 10 minutes to 20 minutes, and the 24 minutes are not in the range of 10 minutes to 20 minutes, and then notes corresponding to the original video (comment information A, comment information B, comment information C, and comment information D) are recorded, the extracted note contents corresponding to the interception start-stop position information are comment information A, comment information B, comment information C and comment information D.
In a specific embodiment, before extracting and intercepting note content corresponding to start-stop position information from note content corresponding to an original video, a flow of a method for generating a short video applied to a video editing client on a terminal further includes: acquiring a note storage request, wherein the note storage request carries note content corresponding to the original video and the playing time of the original video associated with each piece of comment information; and storing note content corresponding to the original video and the playing time of the original video associated with each piece of comment information.
The obtaining of the note storage request refers to that the video editing client on the terminal receives a note storage request initiated by a user, and may be that the video editing client on the terminal receives note content corresponding to an original video imported by the user and the playing time of the original video associated with each piece of comment information. The note content corresponding to the original video and the playing time of the original video associated with each comment information are stored, and note content corresponding to the interception starting and stopping position information is conveniently extracted from the note content corresponding to the original video.
In a specific embodiment, the method for generating a short video applied to a video editing client on a terminal further includes: acquiring a note updating request, wherein the note updating request carries updated note content corresponding to the original video and the playing time of the original video associated with each piece of comment information in the updated note content; and replacing the note content corresponding to the original video with the updated note content corresponding to the original video according to the playing time of the original video associated with each comment information in the updated note content.
The obtaining of the note updating request refers to that the video editing client on the terminal receives a note updating request initiated by the user, and may be that the video editing client on the terminal receives updated note content corresponding to the original video imported by the user and the playing time of the original video associated with each piece of comment information in the updated note content. According to the playing time of the original video associated with each comment information in the updated note content, the note content corresponding to the original video is replaced by the updated note content corresponding to the original video, the note content stored in the video editing client on the terminal can be updated in time after the note content is modified, and the target short video is prevented from being generated according to the note content before modification.
In a specific embodiment, the method for generating a short video applied to a video editing client on a terminal further includes: acquiring an original video continuous playing request, wherein the original video continuous playing request carries the playing time of the original video associated with each comment information; and continuing to play the original video according to the playing time of the original video associated with each piece of comment information.
The obtaining of the original video continuous playing request means that the video editing client on the terminal receives the original video continuous playing request initiated by the user, and may be that the video editing client on the terminal receives an operation that the user clicks an original video playing button corresponding to some comment information. The video editing client on the terminal continues to play the original video from the playing time of the original video associated with the comment information. The user can conveniently watch the interface of the original video corresponding to the comment information without watching the original video from the beginning, and the use experience of the user is improved.
And 104, generating a target short video according to the intermediate video and the note content corresponding to the intercepted start-stop position information.
In one embodiment, the target short video is generated in a variety of ways, including but not limited to the following:
in a first mode
And converting the note content corresponding to the intercepted start-stop position information into a target audio according to the sequence of the playing time of the original video associated with each comment information, and combining the intermediate video and the target audio to generate a target short video.
For example: the intercepting start-stop position information is 10 minutes to 20 minutes, the playing time associated with the comment information A is 11 minutes, the playing time associated with the comment information B is 13 minutes, the playing time associated with the comment information C is 18 minutes, the playing time associated with the comment information D is 20 minutes, the comment information A, the comment information B, the comment information C and the comment information D are all converted into audio, a target audio with the playing time from 10 minutes to 20 minutes is generated, in the target audio, the audio corresponding to the playing time of 11 minutes is the audio corresponding to the comment information A, the audio corresponding to the playing time of 13 minutes is the audio corresponding to the comment information B, the audio corresponding to the playing time of 18 minutes is the audio corresponding to the comment information C, the audio corresponding to the playing time of 20 minutes is the audio corresponding to the comment information D, and the audio corresponding to the comment information D is divided from 10 minutes to 20 minutes by 11 minutes, The audio corresponding to the play time other than 13 minutes, 18 minutes, and 20 minutes is filled with blank audio. The video with the playing time of 10 minutes to 20 minutes in the first set of 'dream of Red mansions' is the intermediate video, and the intermediate video and the target audio with the playing time of 10 minutes to 20 minutes are combined to generate the target short video.
Specifically, when converting the note content corresponding to the intercepted start-stop position information into the target audio according to the sequence of the playing time of the original video associated with each comment information, the sound characteristics may be selected, for example: the sound characteristics can be male bass, male alto, male treble, female bass, female alto, female treble and the like, and can also be the sound of Lin Shi Lin, the sound of yellow Bohai and the like. The user can select the sound characteristics according to needs, and the video editing client on the terminal converts the note content corresponding to the intercepted start-stop position information into the target audio according to the sequence of the playing time of the original video associated with each comment information according to the sound characteristics selected by the user.
Mode two
And generating a subtitle file of the intermediate video according to the note content corresponding to the intercepted start-stop position information and the sequence of the playing time of the original video associated with each comment information, and combining the intermediate video and the subtitle file to generate the target short video.
For example: intercepting start-stop position information for 10 minutes to 20 minutes, playing time associated with the comment information A for 11 minutes, playing time associated with the comment information B for 13 minutes, playing time associated with the comment information C for 18 minutes, playing time associated with the comment information D for 20 minutes, and generating a subtitle file with a playing time of 10 minutes to 20 minutes, wherein in the subtitle file, a subtitle corresponding to the playing time of 11 minutes is text information corresponding to the comment information A, a subtitle corresponding to the playing time of 13 minutes is text information corresponding to the comment information B, a subtitle corresponding to the playing time of 18 minutes is text information corresponding to the comment information C, a subtitle corresponding to the playing time of 20 minutes is text information corresponding to the comment information D, a video with a first concentrated playing time of 10 minutes to 20 minutes in Hongkou dream is an intermediate video, and combining the intermediate video and the subtitle file with the playing time from 10 minutes to 20 minutes to generate the target short video.
Mode III
And converting the note content corresponding to the intercepted start-stop position information into a target audio according to the sequence of the playing time of the original video associated with each comment information, generating a subtitle file of an intermediate video according to the note content corresponding to the intercepted start-stop position information and the sequence of the playing time of the original video associated with each comment information, and combining the intermediate video, the target audio and the subtitle file to generate a target short video.
For example: the video with the playing time of 10 minutes to 20 minutes in the first set of 'dream of Red mansions' is the intermediate video, and the intermediate video, the target audio with the playing time of 10 minutes to 20 minutes and the subtitle file with the playing time of 10 minutes to 20 minutes are combined to generate the target short video.
In a specific embodiment, after the target short video is generated according to the intermediate video and the note content corresponding to the intercepted start-stop position information, the process of the method for generating the short video applied to the video editing client on the terminal further includes: acquiring a short video playing request; and playing the target short video. The obtaining of the short video playing request means that the video editing client on the terminal receives a short video playing request initiated by a user, and may be an operation that the video editing client on the terminal receives a play button corresponding to a target short video clicked by the user. And playing the target short video, so that the user can conveniently watch the generated target short video, and the user can conveniently modify unsatisfactory comment information.
In the embodiment of the present application, as shown in fig. 2, a flow of a method for generating a short video applied to a server mainly includes:
step 201, a short video generation request for an original video is obtained, wherein the short video generation request carries a user identifier, an identifier of the original video and interception start-stop position information of the original video.
The user identifier may be a user account, for example, a mobile phone number, and if the user does not log in, the user identifier may also be an equipment identifier used by the user. The original video is the video that the user wants to explain, and can be a television drama, for example, the first collection of dream of red buildings, or a movie, for example, piano master at sea. The identification of the original video may be the name of the original video, for example: the original video is identified by the name of the first collection of dream of Red mansions. The intercepting start-stop position information refers to information that a user wants to explain a part of video in the original video and indicates the start-stop position of the part of video in the original video, for example, wants to explain a video with a first centralized playing progress of "dream of red buildings" of 10 minutes to 20 minutes, and the intercepting start-stop position information may be 10 minutes to 20 minutes.
The obtaining of the short video generation request for the original video may be that the server receives the short video generation request for the original video sent by the terminal.
Step 202, acquiring the original video according to the identifier of the original video, and intercepting the intermediate video from the original video according to the interception start-stop position information.
For example: the original video is marked as the name of a first set of 'dream of Red mansions', a specific video of the first set of 'dream of Red mansions' is obtained according to the name of the first set of 'dream of Red mansions', the information of the starting and stopping positions is intercepted for 10 minutes to 20 minutes, a video with the playing progress of 10 minutes to 20 minutes is intercepted from the specific video of the first set of 'dream of Red mansions', and the video with the playing progress of 10 minutes to 20 minutes in the first set of 'dream of Red mansions' is an intermediate video.
Step 203, extracting note contents corresponding to the intercepted start-stop position information from note contents corresponding to the user identifier and the identifier of the original video, wherein the note contents comprise a plurality of comment information input by the user in the playing process of the original video, and each comment information is associated with the playing time of the original video.
The server can respectively generate the target short video corresponding to each user identifier according to the note contents corresponding to different user identifiers.
In a specific embodiment, before extracting the note content corresponding to the start-stop position information from the note content corresponding to the user identifier and the identifier of the original video, the method flow of generating the short video applied to the server further includes: acquiring a note storage request, wherein the note storage request carries a user identifier, an identifier of an original video, note content corresponding to the user identifier and the identifier of the original video, and a playing time of the original video associated with each piece of comment information; and storing the user identification, the identification of the original video, the note content corresponding to the user identification and the identification of the original video, and the playing time of the original video associated with each piece of comment information.
The note storage request may be obtained by the server receiving a note storage request sent by the terminal. The user identification, the identification of the original video, the note content corresponding to the user identification and the identification of the original video and the playing time of the original video associated with each comment information are stored, note content corresponding to the interception start-stop position information is conveniently extracted from the note content corresponding to the user identification and the identification of the original video, note content is also conveniently searched and updated, a target short video is conveniently generated, and user experience is improved.
In a specific embodiment, the method for generating short videos applied to the server further includes: acquiring a note updating request, wherein the note updating request carries a user identifier, an identifier of an original video, updated note content corresponding to the user identifier and the identifier of the original video, and playing time of the original video associated with each piece of comment information in the updated note content; and replacing the note content corresponding to the user identifier and the identifier of the original video with the updated note content corresponding to the user identifier and the identifier of the original video according to the playing time of the original video associated with each piece of comment information in the updated note content.
The obtaining of the note updating request may be that the server receives a note updating request sent by the terminal. After the note content of the terminal is updated, the server also updates the stored note content according to the playing time of the original video associated with each comment information in the updated note content, and avoids whether the target short video is generated according to the note content before modification.
In a specific embodiment, the method for generating short videos applied to the server further includes: and acquiring an original video continuous playing request, wherein the original video continuous playing request carries the playing time of the original video associated with each piece of comment information and the identifier of the original video, acquiring the original video according to the identifier of the original video, and continuously playing the original video according to the playing time of the original video associated with each piece of comment information.
The obtaining of the original video continuous playing request may be that the server receives an original video continuous playing request sent by the terminal. The server continues to play the original video from the playing time of the original video associated with the comment information. The user can conveniently watch the interface of the original video corresponding to the comment information without watching the original video from the beginning, and the use experience of the user is improved.
And 204, generating a target short video according to the intermediate video and the note content corresponding to the intercepted start-stop position information.
In one embodiment, the target short video is generated in a variety of ways, including but not limited to the following:
in a first mode
And converting the note content corresponding to the intercepted start-stop position information into a target audio according to the sequence of the playing time of the original video associated with each comment information, and combining the intermediate video and the target audio to generate a target short video.
Mode two
And generating a subtitle file of the intermediate video according to the note content corresponding to the intercepted start-stop position information and the sequence of the playing time of the original video associated with each comment information, and combining the intermediate video and the subtitle file to generate the target short video.
Mode III
And converting the note content corresponding to the intercepted start-stop position information into a target audio according to the sequence of the playing time of the original video associated with each comment information, generating a subtitle file of an intermediate video according to the note content corresponding to the intercepted start-stop position information and the sequence of the playing time of the original video associated with each comment information, and combining the intermediate video, the target audio and the subtitle file to generate a target short video.
In a specific embodiment, after the target short video is generated according to the intermediate video and the note content corresponding to the intercepted start-stop position information, the flow of the method for generating the short video applied to the server further includes: acquiring a short video playing request; and playing the target short video. The step of obtaining the short video playing request means that the server receives the short video playing request sent by the terminal. And playing the target short video, so that the user can conveniently watch the generated target short video, and the user can conveniently modify unsatisfactory comment information.
In the embodiment of the present application, as shown in fig. 3, a flow of a method for generating note content applied to a client mainly includes:
step 301, in the playing process of the original video, a note recording request is obtained, wherein the note recording request carries the playing time of the original video.
Step 302, generating comment information associated with the playing time of the original video.
In one embodiment, the comment information is generated in a variety of ways, including but not limited to the following:
in a first mode
And acquiring the comment information input into the note interface corresponding to the playing time of the original video associated with the comment information.
Mode two
And acquiring the comment information of the voice input corresponding to the playing time of the original video associated with the comment information.
Step 303, using the generated comment information as note content in the playing process of the original video.
In a specific embodiment, after the comment information is generated as the note content in the playing process of the original video, the method flow of generating the note content applied to the client further includes: acquiring a note modification request, wherein the note modification request carries the playing time of an original video; generating modified comment information associated with the playing time of the original video; and replacing the comment information associated with the playing time of the original video with the modified comment information associated with the playing time of the original video according to the playing time of the original video associated with the modified comment information. The comment information can be modified, the editability of the comment information is enhanced, and the user experience is improved.
To sum up, the short video generating method provided in the embodiment of the present application intercepts an intermediate video from an original video according to the interception start-stop position information, and extracts the note content corresponding to the interception start-stop position information from the note content corresponding to the original video, wherein the note content includes a plurality of comment information input by a user during the playing process of the original video, each comment information is associated with the playing time of the original video, and then generates a target short video according to the intermediate video and the note content corresponding to the interception start-stop position information, so that the note content corresponding to the interception start-stop position information can be automatically extracted, and generates a target short video according to the intermediate video and the note content corresponding to the interception start-stop position information, and a movie commentary short video is made without the user through a complicated operation, thereby facilitating the user to make the movie commentary short video quickly and conveniently according to the note content, the problem that the production process of the film and television explanation short video is complicated is solved.
Based on the same concept, the embodiment of the present application provides a short video generation apparatus, and specific implementation of the apparatus may refer to the description of the method embodiment, and repeated details are not repeated.
As shown in fig. 4, the apparatus mainly includes:
a short video generation request obtaining module 401, configured to obtain a short video generation request for an original video, where the short video generation request carries information of an interception start-stop position of the original video;
an intermediate video intercepting module 402, configured to intercept an intermediate video from the original video according to the interception start-stop position information;
a note content extracting module 403, configured to extract note content corresponding to the interception start-stop position information from note content corresponding to the original video, where the note content includes multiple comment information input by a user during a playing process of the original video, and each comment information is associated with a playing time of the original video;
a first processing module 404, configured to generate a target short video according to the intermediate video and the note content corresponding to the intercepted start-stop position information.
In one embodiment, the first processing module includes:
the first conversion unit is used for converting the note content corresponding to the intercepted start-stop position information into target audio according to the sequence of the playing time of the original video associated with each comment information;
a first combining unit, configured to combine the intermediate video and the target audio to generate the target short video;
or
A subtitle file generating unit, configured to generate a subtitle file of the intermediate video according to the order of the playing time of the original video associated with each piece of comment information, according to the note content corresponding to the intercepted start-stop position information;
the second combination unit is used for combining the intermediate video and the subtitle file to generate the target short video;
or
A second conversion unit, configured to convert the note content corresponding to the intercepted start-stop position information into a target audio according to a sequence of playing times of the original video associated with each piece of review information, and generate a subtitle file of the intermediate video according to the note content and the sequence of playing times of the original video associated with each piece of review information;
and the third combination unit is used for combining the intermediate video, the target audio and the subtitle file to generate the target short video.
In one embodiment, the apparatus further comprises: a note storage request acquisition module, configured to acquire a note storage request, where the note storage request carries note content corresponding to the original video and a playing time of the original video associated with each piece of comment information; and the storage module is used for storing note content corresponding to the original video and the playing time of the original video associated with each piece of comment information.
In one embodiment, the apparatus further comprises: a note update request obtaining module, configured to obtain a note update request, where the note update request carries updated note content corresponding to the original video and a playing time of the original video associated with each piece of comment information in the updated note content; and the updating module is used for replacing the note content corresponding to the original video with the updated note content corresponding to the original video according to the playing time of the original video associated with each piece of comment information in the updated note content.
In one embodiment, the apparatus further comprises: an original video continuous playing request obtaining module, configured to obtain an original video continuous playing request, where the original video continuous playing request carries a playing time of the original video associated with each piece of comment information; and the second processing module is used for continuously playing the original video according to the playing time of the original video associated with each piece of comment information.
In one embodiment, the apparatus further comprises: the short video playing request acquisition module is used for acquiring a short video playing request; and the third processing module is used for playing the target short video.
Based on the same concept, the embodiment of the present application provides a note content generating device configured at a client, and specific implementation of the device may refer to the description of the method embodiment section, and repeated details are not repeated. As shown in fig. 5, the apparatus mainly includes:
a note recording request obtaining module 501, configured to obtain a note recording request during a playing process of an original video, where the note recording request carries a playing time of the original video;
a first generating module 502, configured to generate comment information associated with a playing time of the original video;
a fourth processing module 503, configured to use the comment information generated in the playing process of the original video as note content.
In one embodiment, the apparatus further comprises:
a note modification request acquisition module, configured to acquire a note modification request, where the note modification request carries a playing time of the original video;
the second generation module is used for generating modified comment information associated with the playing time of the original video;
and the fifth processing module is used for replacing the comment information associated with the playing time of the original video with the modified comment information associated with the playing time of the original video according to the playing time of the original video associated with the modified comment information.
Based on the same concept, an embodiment of the present application further provides an electronic device, as shown in fig. 6, the electronic device mainly includes: a processor 601, a memory 602, and a communication bus 603, wherein the processor 601 and the memory 602 communicate with each other via the communication bus 603. The memory 602 stores a program executable by the processor 601, and the processor 601 executes the program stored in the memory 602 to implement the following steps:
acquiring a short video generation request aiming at an original video, wherein the short video generation request carries interception start-stop position information of the original video; intercepting an intermediate video from the original video according to the interception start-stop position information; extracting note contents corresponding to the intercepted start-stop position information from note contents corresponding to the original video, wherein the note contents comprise a plurality of comment information input by a user in the playing process of the original video, and each comment information is associated with the playing time of the original video; generating a target short video according to the intermediate video and the note content corresponding to the intercepted start-stop position information;
alternatively, the first and second electrodes may be,
in the playing process of an original video, a note recording request is obtained, wherein the note recording request carries the playing time of the original video; generating comment information associated with the playing time of the original video; and taking the generated comment information as note content in the playing process of the original video.
The communication bus 603 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 603 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
The Memory 602 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one storage device located remotely from the processor 601.
The Processor 601 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like, and may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
In still another embodiment of the present application, there is also provided a computer-readable storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the short video generation method described in the above-described embodiments, or the note content generation method.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes, etc.), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (11)

1. A method of short video generation, comprising:
acquiring a short video generation request aiming at an original video, wherein the short video generation request carries interception start-stop position information of the original video;
intercepting an intermediate video from the original video according to the interception start-stop position information;
extracting note contents corresponding to the interception start-stop position information from note contents corresponding to the original video, wherein the note contents comprise a plurality of comment information input by a user in the playing process of the original video, and each comment information is associated with the playing time of the original video;
and generating a target short video according to the intermediate video and the note content corresponding to the intercepted start-stop position information.
2. The method for generating a short video according to claim 1, wherein the generating a target short video according to the intermediate video and the note content corresponding to the truncated start-stop position information includes:
converting note contents corresponding to the intercepted start-stop position information into target audio according to the sequence of playing time of the original video associated with each comment information;
combining the intermediate video and the target audio to generate the target short video;
or
According to the note content corresponding to the intercepted start-stop position information, generating a subtitle file of the intermediate video according to the sequence of the playing time of the original video associated with each comment information;
combining the intermediate video and the subtitle file to generate the target short video;
or
Converting note contents corresponding to the intercepted start-stop position information into target audio according to the sequence of the playing time of the original video associated with each comment information, and generating a subtitle file of the intermediate video according to the sequence of the playing time of the original video associated with each comment information according to the note contents;
and combining the intermediate video, the target audio and the subtitle file to generate the target short video.
3. The method of claim 1, wherein before extracting the note content corresponding to the truncated start-stop position information from the note content corresponding to the original video, the method further comprises:
acquiring a note storage request, wherein the note storage request carries note content corresponding to the original video and the playing time of the original video associated with each piece of comment information;
and storing note content corresponding to the original video and the playing time of the original video associated with each piece of comment information.
4. The short video generation method of claim 3, further comprising:
acquiring a note updating request, wherein the note updating request carries updated note content corresponding to the original video and the playing time of the original video associated with each piece of comment information in the updated note content;
and replacing the note content corresponding to the original video with the updated note content corresponding to the original video according to the playing time of the original video associated with each piece of comment information in the updated note content.
5. The short video generation method of claim 3, further comprising:
acquiring an original video continuous playing request, wherein the original video continuous playing request carries the playing time of the original video associated with each piece of comment information;
and continuing to play the original video according to the playing time of the original video associated with each piece of comment information.
6. A method for generating note content, applied to a client, includes:
in the playing process of an original video, a note recording request is obtained, wherein the note recording request carries the playing time of the original video;
generating comment information associated with the playing time of the original video;
and taking the generated comment information as note content in the playing process of the original video.
7. The method for generating note content according to claim 6, wherein the step of taking the comment information generated during the playing of the original video as note content further comprises:
acquiring a note modification request, wherein the note modification request carries the playing time of the original video;
generating modified comment information associated with the playing time of the original video;
and replacing the comment information associated with the playing time of the original video with the modified comment information associated with the playing time of the original video according to the playing time of the original video associated with the modified comment information.
8. A short video generation apparatus, comprising:
the short video generation request acquisition module is used for acquiring a short video generation request aiming at an original video, wherein the short video generation request carries interception start-stop position information of the original video;
the intermediate video intercepting module is used for intercepting an intermediate video from the original video according to the intercepting start-stop position information;
a note content extraction module, configured to extract note content corresponding to the interception start-stop position information from note content corresponding to the original video, where the note content includes multiple comment information input by a user during a playing process of the original video, and each comment information is associated with a playing time of the original video;
and the first processing module is used for generating a target short video according to the intermediate video and the note content corresponding to the intercepted start-stop position information.
9. An apparatus for generating a content, which is provided at a client, includes:
a note recording request obtaining module, configured to obtain a note recording request during a playing process of an original video, where the note recording request carries a playing time of the original video;
the first generation module is used for generating comment information associated with the playing time of the original video;
and the fourth processing module is used for taking the comment information generated in the playing process of the original video as note content.
10. An electronic device, comprising: the system comprises a processor, a memory and a communication bus, wherein the processor and the memory are communicated with each other through the communication bus; the memory for storing a computer program; the processor, configured to execute the program stored in the memory, to implement the short video generation method of any one of claims 1 to 5, or to implement the note content generation method of any one of claims 6 to 7.
11. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the short video generation method of any one of claims 1 to 5 or implements the note content generation method of any one of claims 6 to 7.
CN202110558211.7A 2021-05-21 2021-05-21 Method, device, equipment and storage medium for generating short video and note content Pending CN113422998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110558211.7A CN113422998A (en) 2021-05-21 2021-05-21 Method, device, equipment and storage medium for generating short video and note content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110558211.7A CN113422998A (en) 2021-05-21 2021-05-21 Method, device, equipment and storage medium for generating short video and note content

Publications (1)

Publication Number Publication Date
CN113422998A true CN113422998A (en) 2021-09-21

Family

ID=77712746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110558211.7A Pending CN113422998A (en) 2021-05-21 2021-05-21 Method, device, equipment and storage medium for generating short video and note content

Country Status (1)

Country Link
CN (1) CN113422998A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150277732A1 (en) * 2014-03-28 2015-10-01 Acast AB Method for associating media files with additional content
CN109672940A (en) * 2018-12-11 2019-04-23 北京新鼎峰软件科技有限公司 Video playback method and video playback system based on note contents
CN110381382A (en) * 2019-07-23 2019-10-25 腾讯科技(深圳)有限公司 Video takes down notes generation method, device, storage medium and computer equipment
CN110708571A (en) * 2019-10-18 2020-01-17 腾讯科技(深圳)有限公司 Video clip playing control method and related product
CN111031397A (en) * 2019-12-05 2020-04-17 北京奇艺世纪科技有限公司 Method, device, equipment and storage medium for collecting clip comments
CN111131901A (en) * 2019-12-05 2020-05-08 北京奇艺世纪科技有限公司 Method, apparatus, computer device and storage medium for processing long video data
CN112449238A (en) * 2019-08-28 2021-03-05 深圳Tcl新技术有限公司 Short video production method, storage medium and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150277732A1 (en) * 2014-03-28 2015-10-01 Acast AB Method for associating media files with additional content
CN109672940A (en) * 2018-12-11 2019-04-23 北京新鼎峰软件科技有限公司 Video playback method and video playback system based on note contents
CN110381382A (en) * 2019-07-23 2019-10-25 腾讯科技(深圳)有限公司 Video takes down notes generation method, device, storage medium and computer equipment
CN112449238A (en) * 2019-08-28 2021-03-05 深圳Tcl新技术有限公司 Short video production method, storage medium and terminal
CN110708571A (en) * 2019-10-18 2020-01-17 腾讯科技(深圳)有限公司 Video clip playing control method and related product
CN111031397A (en) * 2019-12-05 2020-04-17 北京奇艺世纪科技有限公司 Method, device, equipment and storage medium for collecting clip comments
CN111131901A (en) * 2019-12-05 2020-05-08 北京奇艺世纪科技有限公司 Method, apparatus, computer device and storage medium for processing long video data

Similar Documents

Publication Publication Date Title
US20220232289A1 (en) Crowdsourcing Supplemental Content
JP5174675B2 (en) Interactive TV without trigger
CN109474843B (en) Method for voice control of terminal, client and server
CN108495185B (en) Video title generation method and device
WO2018077214A1 (en) Information search method and apparatus
USRE48430E1 (en) Two-dimensional code processing method and terminal
US20120317136A1 (en) Systems and methods for domain-specific tokenization
CN105635849A (en) Text display method and device during playing of multi-media files
JP5144838B1 (en) Information processing apparatus, information processing method, and program
US10313713B2 (en) Methods, systems, and media for identifying and presenting users with multi-lingual media content items
WO2018130173A1 (en) Dubbing method, terminal device, server and storage medium
JP2020008854A (en) Method and apparatus for processing voice request
US10176254B2 (en) Systems, methods, and media for identifying content
CN110913241A (en) Video retrieval method and device, electronic equipment and storage medium
US20120330937A1 (en) Search Results Comparison Methods and Systems
WO2020042375A1 (en) Method and apparatus for outputting information
CN112492329B (en) Live broadcast method and device
CN114095755A (en) Video processing method, device and system, electronic equipment and storage medium
US9762703B2 (en) Method and apparatus for assembling data, and resource propagation system
TW201225669A (en) System and method for synchronizing with multimedia broadcast program and computer program product thereof
JP5624056B2 (en) Method, apparatus and computer program for generating a query
JP2014130536A (en) Information management device, server, and control method
CN113422998A (en) Method, device, equipment and storage medium for generating short video and note content
US20240126500A1 (en) Device and method for creating a sharable clip of a podcast
CN113761113A (en) User interaction method and device for telling stories through pictures

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210921

RJ01 Rejection of invention patent application after publication