CN113784169A - Video recording method and device with bullet screen - Google Patents

Video recording method and device with bullet screen Download PDF

Info

Publication number
CN113784169A
CN113784169A CN202111062825.2A CN202111062825A CN113784169A CN 113784169 A CN113784169 A CN 113784169A CN 202111062825 A CN202111062825 A CN 202111062825A CN 113784169 A CN113784169 A CN 113784169A
Authority
CN
China
Prior art keywords
bullet screen
video
recorded
target recording
recording
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
CN202111062825.2A
Other languages
Chinese (zh)
Other versions
CN113784169B (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.)
Hunan Happly Sunshine Interactive Entertainment Media Co Ltd
Original Assignee
Hunan Happly Sunshine Interactive Entertainment Media 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 Hunan Happly Sunshine Interactive Entertainment Media Co Ltd filed Critical Hunan Happly Sunshine Interactive Entertainment Media Co Ltd
Priority to CN202111062825.2A priority Critical patent/CN113784169B/en
Publication of CN113784169A publication Critical patent/CN113784169A/en
Application granted granted Critical
Publication of CN113784169B publication Critical patent/CN113784169B/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234327Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by decomposing into layers, e.g. base layer and one or more enhancement layers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23614Multiplexing of additional data and video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440227Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by decomposing into layers, e.g. base layer and one or more enhancement layers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8126Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts

Abstract

The application provides a video recording method and device with a barrage, wherein the method applied to a client comprises the following steps: after each frame of bullet screen content layer picture of the bullet screen video to be recorded in the target recording time period is obtained according to a preset sampling rate; sending a synthesis request to a server; the synthesis request comprises a source address of the bullet screen video to be recorded, a target recording time interval, a preset sampling rate and each frame of bullet screen content layer picture; receiving a source address of a target recorded video with a bullet screen returned by a server; the target recording bullet screen video is synthesized by the server, and the bullet screen video to be recorded is the video with the bullet screen in the target recording time period; that is, the method and the device can record the video content and the bullet screen content into the same video, realize the mixed recording of the original video content and the bullet screen content, and solve the problem that the existing method can not record the bullet screen content in the video together; meanwhile, the method for recording the barrage at the server is realized, and the computing capacity of the client is reduced to the maximum extent.

Description

Video recording method and device with bullet screen
Technical Field
The invention relates to the technical field of video processing, in particular to a video recording method and device with a bullet screen.
Background
With the development of internet technology, especially multimedia technology, the way of watching video is shifted from traditional tv to PC (personal computer) and mobile devices. In the process of watching the video, the user can carry out friendly interaction with other users in a mode of issuing the barrage. After the barrage is published in the video, the published barrage content can be displayed on a video picture in real time, and when other users watch the video, the barrage content can be displayed through the Internet so as to increase the user experience.
With the competition of the internet video platform for users, the video platform shows the prosperity in the eight immortals passing through the sea, and in order to attract users, a large amount of manpower and material resources are input into various large video platforms, such as love art, Youkou, Tencent video and the like. And the client shares part of the video content, and the video content becomes the standard configuration of each large video website. However, currently, each platform only supports recording original video content, and cannot record the bullet screen content in the video together.
Disclosure of Invention
Therefore, the application provides a video recording method and device with a bullet screen, so as to solve the problem that the current platforms only support recording of original video content and cannot record the bullet screen content in the video together.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
the invention discloses a video recording method with a bullet screen in a first aspect, which is applied to a client side and comprises the following steps:
determining a target recording time period of a bullet screen video to be recorded; the target recording time interval is a time interval corresponding to the bullet screen video to be recorded, which is required by a user, to be recorded;
sampling the bullet screen content layer of the bullet screen video to be recorded according to a preset sampling rate to obtain each frame of bullet screen content layer picture of the bullet screen video to be recorded in the target recording time period;
sending a synthesis request to a server; the synthesis request comprises a source address of the bullet screen video to be recorded, a target recording time period of the bullet screen video to be recorded, the preset sampling rate and each frame of the bullet screen content layer picture;
receiving a source address of a target recorded video with a barrage returned by the server; and the target recording video with the bullet screen is synthesized by the server, and the bullet screen video to be recorded is the video with the bullet screen in the target recording time period.
Optionally, in the foregoing method for recording a video with a bullet screen, determining a target recording time period for a bullet screen video to be recorded includes:
acquiring and responding to time corresponding to the sharing operation of the user on the bullet screen video to be recorded, and taking the acquired time as the starting time of the bullet screen video to be recorded;
judging whether the time corresponding to the recording ending operation of the user on the bullet screen video to be recorded is obtained and responded;
if the time corresponding to the receiving and responding to the recording ending operation of the user on the bullet screen video to be recorded is judged to be acquired, the acquired time is used as the ending time of the bullet screen video to be recorded;
if the time corresponding to the receiving and responding to the recording ending operation of the user on the bullet screen video to be recorded is judged not to be acquired, taking the time when the bullet screen video to be recorded reaches a preset recording upper limit as the ending time of the bullet screen video to be recorded;
and determining the target recording time interval of the bullet screen video to be recorded based on the starting time of the bullet screen video to be recorded and the ending time of the bullet screen video to be recorded.
Optionally, in the video recording method with a bullet screen, sampling the bullet screen content layer of the bullet screen video to be recorded according to a preset sampling rate, to obtain each frame of bullet screen content layer picture of the bullet screen video to be recorded in the target recording time period, where the method includes:
creating a bullet screen acquisition class for recording the bullet screen content layer of the bullet screen video to be recorded;
reading the structure and the style information of the bullet screen content layer in the bullet screen video to be recorded according to the preset sampling rate by utilizing the bullet screen acquisition class; wherein the structure and style information includes: at least one of position, color, element size;
and constructing corresponding screenshots for the structure information and the style information of the bullet screen content layer read by each sampling in sequence to obtain each frame of bullet screen content layer picture of the bullet screen video to be recorded in the target recording time period.
Optionally, in the above method for recording a video with a bullet screen, after receiving a source address of a target recorded video with a bullet screen returned by the server, the method further includes:
and receiving and responding to the playing operation of the user on the target recording tape bullet screen video, and/or receiving and responding to the sharing operation of the user on the target recording tape bullet screen video.
The second aspect of the invention discloses a video recording method with a bullet screen, which is applied to a server and comprises the following steps:
receiving a synthesis request sent by a client; the synthesis request comprises a source address of the bullet screen video to be recorded, a target recording time period of the bullet screen video to be recorded, a preset sampling rate and each frame of bullet screen content layer picture;
synthesizing a target recording bullet screen video according to the source address of the bullet screen video to be recorded, the target recording time period of the bullet screen video to be recorded, the preset sampling rate and each frame of bullet screen content layer picture; the target recording bullet screen video is the video with the bullet screen of the bullet screen video to be recorded in the target recording time period;
and returning the source address of the target recording video with the barrage to the client.
Optionally, in the foregoing method for recording a video with a bullet screen, synthesizing a target recorded video with a bullet screen according to a source address of the bullet screen video to be recorded, a target recording time period of the bullet screen video to be recorded, a preset sampling rate, and each frame of bullet screen content layer picture, including:
determining a target recording video segment of the bullet screen video to be recorded according to the source address of the bullet screen video to be recorded and the target recording time period of the bullet screen video to be recorded;
and based on the preset sampling rate, sequentially combining the frames of the bullet screen content layer pictures to the target recorded video segment to obtain the target recorded tape bullet screen video.
The third aspect of the invention discloses a video recording device with a bullet screen, which is applied to a client, and comprises:
the determining unit is used for determining a target recording time period of the bullet screen video to be recorded; the target recording time interval is a time interval corresponding to the bullet screen video to be recorded, which is required by a user, to be recorded;
the sampling unit is used for sampling the bullet screen content layer of the bullet screen video to be recorded according to a preset sampling rate to obtain each frame of bullet screen content layer picture of the bullet screen video to be recorded in the target recording time period;
a request sending unit, configured to send a composition request to a server; the synthesis request comprises a source address of the bullet screen video to be recorded, a target recording time period of the bullet screen video to be recorded, the preset sampling rate and each frame of the bullet screen content layer picture;
the video receiving unit is used for receiving a source address of a target recorded video with a bullet screen; and the target recording video with the bullet screen is synthesized by the server, and the bullet screen video to be recorded is the video with the bullet screen in the target recording time period.
Optionally, in the above video recording apparatus with a bullet screen, the sampling unit is specifically configured to:
creating a bullet screen acquisition class for recording the bullet screen content layer of the bullet screen video to be recorded;
reading the structure and the style information of the bullet screen content layer in the bullet screen video to be recorded according to the preset sampling rate by utilizing the bullet screen acquisition class; wherein the structure and style information includes: at least one of position, color, element size;
and constructing corresponding screenshots for the structure information and the style information of the bullet screen content layer read by each sampling in sequence to obtain each frame of bullet screen content layer picture of the bullet screen video to be recorded in the target recording time period.
The fourth aspect of the invention discloses a video recording device with a bullet screen, which is applied to a server side and comprises:
a request receiving unit, configured to receive a composite request sent by a client; the synthesis request comprises a source address of the bullet screen video to be recorded, a target recording time period of the bullet screen video to be recorded, a preset sampling rate and each frame of bullet screen content layer picture;
the video synthesis unit is used for synthesizing a target recording bullet screen video according to the source address of the bullet screen video to be recorded, the target recording time period of the bullet screen video to be recorded, the preset sampling rate and each frame of the bullet screen content layer picture; the target recording bullet screen video is the video with the bullet screen of the bullet screen video to be recorded in the target recording time period;
and the video return unit is used for returning the source address of the target recording tape barrage video to the client.
Optionally, in the above video recording apparatus with a bullet screen, the video composition unit is specifically configured to:
determining a target recording video segment of the bullet screen video to be recorded according to the source address of the bullet screen video to be recorded and the target recording time period of the bullet screen video to be recorded;
and according to the preset sampling rate, sequentially combining the frames of the bullet screen content layer pictures to a target recorded video segment to obtain the target recorded tape bullet screen video.
The invention provides a video recording method with a barrage, wherein the method applied to a client comprises the following steps: determining a target recording time period of a bullet screen video to be recorded; the target recording time interval is a time interval corresponding to the bullet screen video to be recorded which is required by a user to record the bullet screen video with the bullet screen; sampling a bullet screen content layer of the bullet screen video to be recorded according to a preset sampling rate to obtain each frame of bullet screen content layer picture of the bullet screen video to be recorded in a target recording time period; sending a synthesis request to a server; the synthesis request comprises a source address of the bullet screen video to be recorded, a target recording time period of the bullet screen video to be recorded, a preset sampling rate and each frame of bullet screen content layer picture; receiving a source address of a target recorded video with a bullet screen returned by a server; the target recording video with the bullet screen is synthesized by the server, and the bullet screen video to be recorded is the video with the bullet screen in the target recording time period; that is, each frame of bullet screen content layer picture in the bullet screen content layer in the bullet screen video to be recorded can be obtained through client sampling, then each frame of bullet screen content layer picture obtained through sampling is synthesized with the original video by using the server, the source address of the bullet screen video with the target recording is obtained, the video content and the bullet screen content are recorded in the same video, mixed recording of the original video content and the bullet screen content is achieved, and the problem that the bullet screen content in the video cannot be recorded together because each current platform only supports recording of the original video content is solved; meanwhile, the method for recording the barrage at the server is realized, and the computing capacity of the client is reduced to the maximum extent.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a video recording method with a bullet screen according to an embodiment of the present disclosure;
fig. 2 is a flowchart for determining a target recording time interval according to an embodiment of the present disclosure;
fig. 3 is a flowchart for obtaining a bullet screen content layer picture according to an embodiment of the present disclosure;
FIG. 4 is a diagram of a HTML DOM hierarchy provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a video playback logic according to an embodiment of the present application;
fig. 6 is a flowchart of another video recording method with a bullet screen according to an embodiment of the present application;
fig. 7 is a flowchart of a method for synthesizing a target recorded video with a bullet screen according to an embodiment of the present application;
fig. 8 is a schematic view illustrating an interaction flow of a video recording method with a bullet screen according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a video recording device with a bullet screen according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of another video recording apparatus with a bullet screen according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the application provides a video recording method with a bullet screen, which is applied to a client side and is used for solving the problem that the current platforms only support recording of original video content and cannot record the bullet screen content in the video together.
Referring to fig. 1 in conjunction with fig. 8, the method may include the following steps:
s100, determining a target recording time period for the bullet screen video to be recorded.
The target recording time interval is a time interval corresponding to the bullet screen video to be recorded, which is required by a user, to record the bullet screen video.
The bullet screen video to be recorded may be a video with a bullet screen currently played by the client, or a video with a bullet screen that needs to be recorded by the user, and is determined according to a specific application environment and a user requirement.
In practical application, the specific process of executing step S100 and determining the target recording time interval of the bullet screen video to be recorded may include the following steps, as shown in fig. 2:
s200, receiving and responding to time corresponding to sharing operation of the user on the bullet screen video to be recorded, and taking the obtained time as the starting time of the bullet screen video to be recorded.
The sharing operation of the bullet screen video to be recorded can be that the user clicks a video sharing control in the client. In practical application, a user can click a bullet screen recording control in a client to serve as the starting time of a bullet screen video to be recorded; the method is determined according to the specific application environment and the user requirement, and the method is not particularly limited and belongs to the protection scope of the method.
S202, judging whether the time corresponding to the receiving and responding to the recording ending operation of the bullet screen video to be recorded by the user is acquired.
The recording ending operation of the bullet screen video to be recorded can be that the user clicks a recording ending button in the client, or clicks a play pause button in the client.
If the time corresponding to the receiving and responding to the recording ending operation of the user to-be-recorded barrage video is judged to be acquired, executing the step S204; if the time corresponding to the receiving and responding to the end recording operation of the user to-be-recorded barrage video is not acquired, step S206 is executed.
And S204, taking the obtained time as the end time of the bullet screen video to be recorded.
And S206, taking the time when the bullet screen video to be recorded reaches the preset recording upper limit as the end time of the bullet screen video to be recorded.
The preset upper limit of recording may be preset, and the maximum duration of the video with the barrage allowed to be recorded is allowed. For example, the preset upper recording limit may be 30 seconds; certainly, the value of the preset recording upper limit can be determined by self according to the specific application environment and the user requirement, and all belong to the protection scope of the application.
And S208, determining a target recording time period of the bullet screen video to be recorded based on the starting time of the bullet screen video to be recorded and the ending time of the bullet screen video to be recorded.
In practical application, the starting time of the bullet screen video to be recorded can be used as a recording starting point, and the ending time of the bullet screen video to be recorded can be used as a recording ending point, so that the target recording time period of the bullet screen video to be recorded can be determined.
S102, sampling the bullet screen content layer of the bullet screen video to be recorded according to a preset sampling rate to obtain each frame of bullet screen content layer picture of the bullet screen video to be recorded in a target recording time period.
The bullet screen content layer picture can be a PNG (Portable Network Graphic Format, image file storage Format) picture with a transparent channel (alpha channel); of course, a GIF (Graphics Interchange Format) picture may be used. The specific format of the picture of the bullet screen content layer is not limited in the application, and all the pictures belong to the protection scope of the application.
In practical application, the preset sampling rate can be determined according to specific application environment and user requirements; for example, 25 frames/second may be used, that is, 25 bullet screen content layer pictures are collected per second; of course, the present invention is not limited thereto, and any specific value of the predetermined sampling rate is within the scope of the present application.
In practical application, the specific process of executing step S102, sampling the bullet screen content layer of the bullet screen video to be recorded according to the preset sampling rate, and obtaining each frame of bullet screen content layer picture of the bullet screen video to be recorded in the target recording time period may include the following steps, as shown in fig. 3:
s300, creating a bullet screen acquisition class of the bullet screen content layer for recording the bullet screen video to be recorded.
The method and the device can establish the bullet screen acquisition class of the bullet screen content layer capable of recording the bullet screen video to be recorded at the client when receiving and responding to the sharing operation of the user on the bullet screen video to be recorded.
It should be noted that, the specific manner for creating the bullet screen acquisition class may be determined according to the specific application environment and the user requirement, and the application is not limited and all belong to the protection scope of the application.
S302, acquiring the class by using the bullet screen, and reading the structure and the style information of the bullet screen content layer in the bullet screen video to be recorded according to a preset sampling rate.
Wherein the structure and style information includes: at least one of position, color, element size.
S304, corresponding screenshots are constructed for the structure of the bullet screen content layer and the style information which are read in each sampling in sequence, and each frame of bullet screen content layer picture of the bullet screen video to be recorded in the target recording time period is obtained.
In practical application, corresponding screenshots can be constructed in the canvas for the structure information and the style information of the bullet screen content layer read in each sampling in sequence, so that each frame of bullet screen content layer picture of the bullet screen video to be recorded in the target recording time period can be obtained.
Taking the HTML DOM hierarchy shown in fig. 4 as an example, A, B, C, D are four div elements in the HTML DOM hierarchy, and the front and back order of the hierarchy is: b < C < D < A; a is the uppermost layer. Specifically corresponding to the video playback logic shown in fig. 5, a represents a bullet screen content layer (i.e., the floating text in fig. 5); d represents the video rendering layer (i.e., the picture of the person behind the floating text in fig. 5).
In practical application, the structure and the style information of the rendered DOM elements can be read, then corresponding screenshots are constructed based on the read information, the screenshots are presented in a canvas (canvas), and corresponding PNG pictures are output, so that each frame of the bullet screen content layer pictures of the bullet screen video to be recorded in the target recording time period can be realized.
And S104, sending a synthesis request to the server.
The synthesis request comprises a source address of the bullet screen video to be recorded, a target recording time interval of the bullet screen video to be recorded, a preset sampling rate and each frame of bullet screen content layer picture.
Specifically, the source address of the bullet screen video to be recorded generally refers to the storage address of the bullet screen video to be recorded, and the corresponding bullet screen video to be recorded can be found through the address.
After receiving the synthesis request, the server can trigger a video synthesis program of the server to control the server to synthesize the video with the bullet screen in the target recording time period by using the bullet screen content layer pictures.
In practical application, a specific manner of transmitting each frame of bullet screen content layer picture included in the composition request to the server may be any one of the following:
mode 1: and sequentially sending each frame of bullet screen content layer picture obtained each time to the server.
It should be noted that, in the method 1, the client only needs to temporarily store the bullet screen content layer pictures, and does not need to construct a folder for storing all the bullet screen content layer pictures in the target recording time period, and also does not need to store each frame of bullet screen content layer pictures obtained each time according to the sequence.
Mode 2: and storing each frame of bullet screen content layer pictures obtained each time according to the sequence to obtain all bullet screen content layer pictures, and uniformly sending all the bullet screen content layer pictures to the server.
It should be noted that, in the method 2, the client needs to construct a folder storing all the bullet screen content layer pictures in the target recording time period, and needs to store each frame of bullet screen content layer picture obtained each time in order according to the sequence to obtain a bullet screen content layer picture list, and then send all the bullet screen content pictures obtained in the target recording time period to the server in a unified manner.
It should be further noted that, in the case of the method 2, the data structure stored by the client may be as follows:
Figure BDA0003257027720000091
the video file address refers to the source address of the bullet screen video to be recorded; the video time point for starting recording refers to the starting time of the bullet screen video to be recorded; the recording duration refers to the target recording time interval of the bullet screen video to be recorded; the sampling rate refers to the preset sampling rate; the bullet screen layer picture list refers to the bullet screen content layer picture list.
And S106, receiving a source address of the target recording tape barrage video returned by the server.
The target recording bullet screen video is synthesized by the server according to a source address of the bullet screen video to be recorded, a target recording time period of the bullet screen video to be recorded, a preset sampling rate and pictures of each bullet screen content layer, and the bullet screen video to be recorded is the video with the bullet screen in the target recording time period.
Based on the principle, when the method for recording the video with the bullet screen is applied to the client, each frame of picture of the bullet screen content layer in the bullet screen video to be recorded can be obtained through sampling by the client, then the server is used for synthesizing each frame of picture of the bullet screen content layer obtained through sampling with the original video to obtain the source address of the target recorded bullet screen video, and the video content and the bullet screen content are recorded into the same video, so that the mixed recording of the original video content and the bullet screen content is realized, and the problem that the bullet screen content in the video cannot be recorded together because each current platform only supports recording of the original video content is solved; meanwhile, the method for recording the barrage at the server is realized, and the computing capacity of the client is reduced to the maximum extent.
In addition, in the video recording method with the bullet screen, the client only needs to sample the content layer of the bullet screen according to the preset sampling rate and send the sampling result to the server, so that the difficulty of recording the video with the bullet screen by the client is effectively reduced; in addition, each frame of bullet screen content layer picture obtained by sampling is synthesized with the original video by using the server, the time point, the coordinate, the color and the like of the bullet screen content layer do not need to be calculated, the requirement on the calculation resources of the client is low, the sharing failure rate caused by insufficient resources of user equipment can be reduced, the problem that the bullet screen video cannot be recorded and shared due to uneven resources of a computer of a user is solved, the smooth playing is achieved, and the user experience is optimized; meanwhile, the playing methods of the users are enriched, and the product coverage rate is improved.
Optionally, in another embodiment provided by the present application, after step S106 is executed, and a source address of a target recording tape barrage video returned by the server is received, the method further includes:
and receiving and responding to the playing operation of the user on the target recording tape bullet screen video, and/or receiving and responding to the sharing operation of the user on the target recording tape bullet screen video.
In practical application, the client can play the target recorded bullet screen video after receiving and responding to the playing operation of the user on the target recorded bullet screen video according to the source address of the target recorded bullet screen video returned by the server; and after receiving and responding to the sharing operation of the target recording tape barrage video by the user, sharing the target recording tape barrage video.
It should be noted that, according to a specific application environment and user requirements, a target recording tape barrage video is selected to be played and/or shared; moreover, the sequence of playing the target recording bullet screen video and/or sharing the target recording bullet screen video can be determined by self according to the specific application environment and the user requirements, and the application is not specifically limited and belongs to the protection scope of the application.
Optionally, another embodiment of the present application further provides a video recording method with a bullet screen, which is applied to a server, please refer to fig. 6 in combination with fig. 8, and the method may include the following steps:
s400, receiving a synthesis request sent by the client.
The synthesis request comprises a source address of the bullet screen video to be recorded, a target recording time interval of the bullet screen video to be recorded, a preset sampling rate and each frame of bullet screen content layer picture.
In practical application, if each frame of bullet screen content layer picture in the synthesis request is sent by the client after each frame of bullet screen content layer picture is obtained, the server needs to organize and store a picture list for each frame of bullet screen content layer picture according to the sequence of the received frame of bullet screen content layer pictures.
If all the frames of bullet screen content layer pictures in the synthesis request are obtained by the client, then the bullet screen content layer pictures are packaged and uniformly sent, the server only needs to construct a corresponding storage file and store all the bullet screen content layer pictures which are packaged and sent,
s402, synthesizing the target recording bullet screen video according to the source address of the bullet screen video to be recorded, the target recording time interval of the bullet screen video to be recorded, the preset sampling rate and each frame of bullet screen content layer picture.
And the target recording bullet screen video is the video with the bullet screen in the target recording time period of the bullet screen video to be recorded.
In practical application, the specific process of executing step S402, synthesizing a target recording bullet screen video according to a source address of the bullet screen video to be recorded, a target recording time period of the bullet screen video to be recorded, a preset sampling rate, and each frame of bullet screen content layer picture may include the following steps, as shown in fig. 7:
s500, determining a target recording video segment of the bullet screen video to be recorded according to the source address of the bullet screen video to be recorded and the target recording time period of the bullet screen video to be recorded.
In practical application, after receiving the synthesis request, the server determines the bullet screen video to be recorded according to the source address of the bullet screen video to be recorded contained in the synthesis request, encodes the bullet screen video to be recorded, and precisely cuts the bullet screen video to be recorded according to the target recording time period of the bullet screen video to be recorded, so as to obtain the target recording video segment of the bullet screen video to be recorded.
And S502, sequentially combining the bullet screen content layer pictures of each frame to a target recorded video segment based on a preset sampling rate, and obtaining a target recorded bullet screen video.
In practical application, each frame of bullet screen content layer picture and the target recorded video segment can be combined in sequence according to the sequence of the bullet screen content layer pictures in the bullet screen content layer picture list, so that the bullet screen video with the target recorded tape is obtained.
S404, a source address of the target recording video with the barrage is returned to the client.
In practical application, after obtaining the target recording tape barrage video, the server side can send the source address of the target recording tape barrage video to the client side, so that the client side can play the target recording tape barrage video and/or share the target recording tape barrage video through the source address of the target recording tape barrage video.
Based on the above principle, the video recording method with the bullet screen provided by this embodiment, when being applied to the server, can obtain the target recorded bullet screen video of the bullet screen video to be recorded in the target recording time period by synthesis according to the data included in the synthesis request after receiving the synthesis request sent by the client, thereby implementing mixed recording of the original video content and the bullet screen content, and solving the problem that the current platforms only support recording of the original video content and cannot record the bullet screen content in the video together.
It should be noted that the server does not specifically limit the audio and video format of the bullet screen video to be recorded, and the bullet screen video to be recorded in any format does not affect the specific implementation of the application. In addition, according to actual operation needs, relevant parameters of the shared video, such as code rate, resolution, frame rate and the like, can be adjusted through the server, or copyright marks such as watermarks and the like are added to the shared video, so that the method and the system can adapt to operation scenes with different requirements.
It should be further noted that fig. 8 is an interaction flow diagram of a video recording method with a bullet screen, which is provided in combination with an interaction process between a client and a server, and is provided for facilitating understanding of the video recording method with a bullet screen provided in the present application.
Based on the method provided by the embodiment, the corresponding embodiment is provided for the content of the embodiment, and for convenience of understanding, the method specifically has the following implementation processes:
1. the user starts the video sharing module at the client.
2. Starting a playing flow, recording the starting time VideoStartTime of the current video of the user and the Duration (generally limited within 30 seconds) of the video to be intercepted, and playing the current video from the VideoStartTime in real time.
3. And starting a bullet screen recording module, recording and outputting a PNG format picture of the Alpha Channel to the video bullet screen layer TextView in real time according to the set sampling rate Samplingrate, and uploading the obtained PNG format picture to a cloud computing service node so that the cloud computing service node organizes a picture list into an imageList according to the sequence.
4. And requesting information such as a current playing video URL, video start time, Duration, imageList, Samplingrate and the like to a cloud processing interface.
5. And the cloud service processing program receives the data and effectively organizes the data, then merges the barrage PNG format picture sequence to the video, and returns the cloud URL address with the barrage video to the client.
6. And the client receives the return result, starts a playing flow to play the video with the bullet screen and waits for sharing of the user.
It should be noted that the above example is only an example of the case of the application in practical application, and the specific application example of the application in practical application is not limited to the above example, as long as the video recording method with bullet screen provided by the application is adopted, and all the methods belong to the scope of protection of the application.
In combination with the video recording method with a bullet screen provided in the embodiment of the present application, an embodiment of the present application further provides a video recording device with a bullet screen, which is applied to a client, please refer to fig. 9, and the device may include:
the determining unit 100 is configured to determine a target recording time period for a bullet screen video to be recorded; and the target recording time interval is a time interval corresponding to the bullet screen video to be recorded, which is required by a user, to record the bullet screen video.
The sampling unit 102 is configured to sample a bullet screen content layer of the bullet screen video to be recorded according to a preset sampling rate, so as to obtain each frame of bullet screen content layer picture of the bullet screen video to be recorded in a target recording time period.
A request sending unit 104, configured to send a composition request to a server; the synthesis request comprises a source address of the bullet screen video to be recorded, a target recording time interval of the bullet screen video to be recorded, a preset sampling rate and each frame of bullet screen content layer picture.
The video receiving unit 106 is used for receiving a source address of a target recorded video with a barrage returned by the server; and the target recording video with the bullet screen is the video with the bullet screen, which is synthesized by the server and is to be recorded in the target recording time interval.
Optionally, in practical applications, the determining unit 100 may be specifically configured to:
and acquiring and responding to time corresponding to the sharing operation of the user on the bullet screen video to be recorded, and taking the acquired time as the starting time of the bullet screen video to be recorded.
And judging whether the time corresponding to the recording ending operation of the bullet screen video to be recorded is acquired and received and responded by the user.
And if the time corresponding to the receiving and responding to the recording ending operation of the bullet screen video to be recorded by the user is judged, taking the obtained time as the ending time of the bullet screen video to be recorded.
And if the time corresponding to the receiving and responding to the recording ending operation of the bullet screen video to be recorded by the user is not obtained, taking the time when the bullet screen video to be recorded reaches the preset recording upper limit as the ending time of the bullet screen video to be recorded.
And determining the target recording time interval of the bullet screen video to be recorded based on the starting time of the bullet screen video to be recorded and the ending time of the bullet screen video to be recorded.
Optionally, in practical applications, the sampling unit 102 may be specifically configured to:
and creating a bullet screen acquisition class for recording the bullet screen content layer of the bullet screen video to be recorded.
Utilizing the bullet screen acquisition class to read the structure and the style information of a bullet screen content layer in the bullet screen video to be recorded according to a preset sampling rate; wherein the structure and style information includes: at least one of position, color, element size.
And constructing corresponding screenshots for the structure information and the style information of the bullet screen content layer read by each sampling in sequence to obtain each frame of bullet screen content layer picture of the bullet screen video to be recorded in the target recording time period.
Optionally, in practical application, the video recording apparatus with a bullet screen is further specifically configured to:
and receiving and responding to the playing operation of the user on the target recording tape bullet screen video, and/or receiving and responding to the sharing operation of the user on the target recording tape bullet screen video.
An embodiment of the present application provides a video recording device with a bullet screen, which is applied to a server, please refer to fig. 10, and the device may include:
a request receiving unit 200, configured to receive a composite request sent by a client; the synthesis request comprises a source address of the bullet screen video to be recorded, a target recording time period of the bullet screen video to be recorded, a preset sampling rate and each frame of bullet screen content layer picture.
The video synthesis unit 202 is configured to synthesize a target recording bullet screen video according to a source address of the bullet screen video to be recorded, a target recording time period of the bullet screen video to be recorded, a preset sampling rate, and each frame of bullet screen content layer picture; and the target recording bullet screen video is the video with the bullet screen in the target recording time period of the bullet screen video to be recorded.
And a video returning unit 204, configured to return the source address of the target recorded video with the barrage to the client.
In practical applications, the video synthesizing unit 202 is specifically configured to:
and determining a target recording video segment of the bullet screen video to be recorded according to the source address of the bullet screen video to be recorded and the target recording time period of the bullet screen video to be recorded.
And sequentially combining the bullet screen content layer pictures of each frame to a target recorded video segment according to a preset sampling rate to obtain a target recorded tape bullet screen video.
Fig. 9 shows a video recording apparatus with a bullet screen applied to a client, and specific working principles thereof can refer to steps executed by the client in the video recording apparatus with a bullet screen provided in this application; for a specific working principle of the video recording device with a bullet screen applied to the server shown in fig. 10, reference may be made to the steps executed by the server in the video recording device with a bullet screen provided in this embodiment of the present application, which are not described herein again.
The application provides a take video recording device of barrage, wherein the device that is applied to the customer end includes: the determining unit 100 is configured to determine a target recording time period for a bullet screen video to be recorded; the target recording time interval is a time interval corresponding to the bullet screen video to be recorded which is required by a user to record the bullet screen video with the bullet screen; the sampling unit 102 is configured to sample a bullet screen content layer of a bullet screen video to be recorded according to a preset sampling rate, so as to obtain each frame of bullet screen content layer picture of the bullet screen video to be recorded in a target recording time period; a request sending unit 104, configured to send a composition request to a server; the synthesizing request comprises a source address of the bullet screen video to be recorded, a target recording time period of the bullet screen video to be recorded, a preset sampling rate and each frame of bullet screen content layer picture; the video receiving unit 106 is used for receiving a source address of a target recording tape barrage video; the target recording video with the bullet screen is synthesized by the server, and the video with the bullet screen is recorded in the target recording time period of the bullet screen video to be recorded. According to the scheme, each frame of bullet screen content layer picture in a bullet screen content layer in a bullet screen video to be recorded can be obtained through client sampling, then each frame of bullet screen content layer picture obtained through sampling is synthesized with an original video through a server, a source address of a target recording bullet screen video is obtained, the video content and the bullet screen content are recorded into the same video, mixed recording of the original video content and the bullet screen content is achieved, and the problem that the current platforms only support recording of the original video content and cannot record bullet screen content in the video together is solved; meanwhile, the method for recording the barrage at the server is realized, and the computing capacity of the client is reduced to the maximum extent.
The embodiment of the present application further provides a computer storage medium, which is used for storing a computer program, and when the computer program is executed, the computer program is specifically used for implementing the video recording method with a barrage applied to a client provided by the present application, or for specifically implementing the video recording method with a barrage applied to a server provided by the present application.
An embodiment of the present application further provides an electronic device, please refer to fig. 11, including: a memory 601 and a processor 602.
The memory 601 is used for storing computer programs.
The processor 602 is configured to execute the computer program, and is specifically configured to implement the video recording method with a bullet screen applied to the client according to the embodiment of the present application, or implement the video recording method with a bullet screen applied to the server according to the embodiment of the present application.
Features described in the embodiments in the present specification may be replaced with or combined with each other, and the same and similar portions among the embodiments may be referred to each other, and each embodiment is described with emphasis on differences from other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use 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.
It is further noted that, herein, 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.

Claims (10)

1. A video recording method with a barrage is characterized by being applied to a client side, and the method comprises the following steps:
determining a target recording time period of a bullet screen video to be recorded; the target recording time interval is a time interval corresponding to the bullet screen video to be recorded, which is required by a user, to be recorded;
sampling the bullet screen content layer of the bullet screen video to be recorded according to a preset sampling rate to obtain each frame of bullet screen content layer picture of the bullet screen video to be recorded in the target recording time period;
sending a synthesis request to a server; the synthesis request comprises a source address of the bullet screen video to be recorded, a target recording time period of the bullet screen video to be recorded, the preset sampling rate and each frame of the bullet screen content layer picture;
receiving a source address of a target recorded video with a barrage returned by the server; and the target recording video with the bullet screen is synthesized by the server, and the bullet screen video to be recorded is the video with the bullet screen in the target recording time period.
2. The method for recording a video with a bullet screen according to claim 1, wherein the step of determining a target recording time period for recording the bullet screen video comprises the following steps:
acquiring and responding to time corresponding to the sharing operation of the user on the bullet screen video to be recorded, and taking the acquired time as the starting time of the bullet screen video to be recorded;
judging whether the time corresponding to the recording ending operation of the user on the bullet screen video to be recorded is obtained and responded;
if the time corresponding to the receiving and responding to the recording ending operation of the user on the bullet screen video to be recorded is judged to be acquired, the acquired time is used as the ending time of the bullet screen video to be recorded;
if the time corresponding to the receiving and responding to the recording ending operation of the user on the bullet screen video to be recorded is judged not to be acquired, taking the time when the bullet screen video to be recorded reaches a preset recording upper limit as the ending time of the bullet screen video to be recorded;
and determining the target recording time interval of the bullet screen video to be recorded based on the starting time of the bullet screen video to be recorded and the ending time of the bullet screen video to be recorded.
3. The method for recording a video with a bullet screen according to claim 1, wherein the step of sampling the bullet screen content layer of the bullet screen video to be recorded according to a preset sampling rate to obtain each frame of bullet screen content layer picture of the bullet screen video to be recorded in the target recording time period comprises:
creating a bullet screen acquisition class for recording the bullet screen content layer of the bullet screen video to be recorded;
reading the structure and the style information of the bullet screen content layer in the bullet screen video to be recorded according to the preset sampling rate by utilizing the bullet screen acquisition class; wherein the structure and style information includes: at least one of position, color, element size;
and constructing corresponding screenshots for the structure information and the style information of the bullet screen content layer read by each sampling in sequence to obtain each frame of bullet screen content layer picture of the bullet screen video to be recorded in the target recording time period.
4. The method for recording the video with the barrage according to any one of claims 1 to 3, further comprising, after receiving a source address of a target recorded video with the barrage returned by the server:
and receiving and responding to the playing operation of the user on the target recording tape bullet screen video, and/or receiving and responding to the sharing operation of the user on the target recording tape bullet screen video.
5. A video recording method with a barrage is characterized by being applied to a server side, and the method comprises the following steps:
receiving a synthesis request sent by a client; the synthesis request comprises a source address of the bullet screen video to be recorded, a target recording time period of the bullet screen video to be recorded, a preset sampling rate and each frame of bullet screen content layer picture;
synthesizing a target recording bullet screen video according to the source address of the bullet screen video to be recorded, the target recording time period of the bullet screen video to be recorded, the preset sampling rate and each frame of bullet screen content layer picture; the target recording bullet screen video is the video with the bullet screen of the bullet screen video to be recorded in the target recording time period;
and returning the source address of the target recording video with the barrage to the client.
6. The method for recording a video with a bullet screen according to claim 5, wherein the synthesizing of the target recorded bullet screen video according to the source address of the bullet screen video to be recorded, the target recording time period of the bullet screen video to be recorded, the preset sampling rate and the pictures of the bullet screen content layers comprises:
determining a target recording video segment of the bullet screen video to be recorded according to the source address of the bullet screen video to be recorded and the target recording time period of the bullet screen video to be recorded;
and based on the preset sampling rate, sequentially combining the frames of the bullet screen content layer pictures to the target recorded video segment to obtain the target recorded tape bullet screen video.
7. The utility model provides a take video recording device of barrage which characterized in that is applied to the customer end, the device includes:
the determining unit is used for determining a target recording time period of the bullet screen video to be recorded; the target recording time interval is a time interval corresponding to the bullet screen video to be recorded, which is required by a user, to be recorded;
the sampling unit is used for sampling the bullet screen content layer of the bullet screen video to be recorded according to a preset sampling rate to obtain each frame of bullet screen content layer picture of the bullet screen video to be recorded in the target recording time period;
a request sending unit, configured to send a composition request to a server; the synthesis request comprises a source address of the bullet screen video to be recorded, a target recording time period of the bullet screen video to be recorded, the preset sampling rate and each frame of the bullet screen content layer picture;
the video receiving unit is used for receiving a source address of a target recorded video with a bullet screen; and the target recording video with the bullet screen is synthesized by the server, and the bullet screen video to be recorded is the video with the bullet screen in the target recording time period.
8. The video recording device with bullet screen of claim 7, wherein said sampling unit is specifically configured to:
creating a bullet screen acquisition class for recording the bullet screen content layer of the bullet screen video to be recorded;
reading the structure and the style information of the bullet screen content layer in the bullet screen video to be recorded according to the preset sampling rate by utilizing the bullet screen acquisition class; wherein the structure and style information includes: at least one of position, color, element size;
and constructing corresponding screenshots for the structure information and the style information of the bullet screen content layer read by each sampling in sequence to obtain each frame of bullet screen content layer picture of the bullet screen video to be recorded in the target recording time period.
9. The utility model provides a take video recording device of barrage which characterized in that is applied to the server side, the device includes:
a request receiving unit, configured to receive a composite request sent by a client; the synthesis request comprises a source address of the bullet screen video to be recorded, a target recording time period of the bullet screen video to be recorded, a preset sampling rate and each frame of bullet screen content layer picture;
the video synthesis unit is used for synthesizing a target recording bullet screen video according to the source address of the bullet screen video to be recorded, the target recording time period of the bullet screen video to be recorded, the preset sampling rate and each frame of the bullet screen content layer picture; the target recording bullet screen video is the video with the bullet screen of the bullet screen video to be recorded in the target recording time period;
and the video return unit is used for returning the source address of the target recording tape barrage video to the client.
10. The apparatus for video recording with a pop-up screen of claim 9, wherein the video synthesizing unit is specifically configured to:
determining a target recording video segment of the bullet screen video to be recorded according to the source address of the bullet screen video to be recorded and the target recording time period of the bullet screen video to be recorded;
and according to the preset sampling rate, sequentially combining the frames of the bullet screen content layer pictures to a target recorded video segment to obtain the target recorded tape bullet screen video.
CN202111062825.2A 2021-09-10 2021-09-10 Video recording method and device with barrage Active CN113784169B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111062825.2A CN113784169B (en) 2021-09-10 2021-09-10 Video recording method and device with barrage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111062825.2A CN113784169B (en) 2021-09-10 2021-09-10 Video recording method and device with barrage

Publications (2)

Publication Number Publication Date
CN113784169A true CN113784169A (en) 2021-12-10
CN113784169B CN113784169B (en) 2023-06-27

Family

ID=78842553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111062825.2A Active CN113784169B (en) 2021-09-10 2021-09-10 Video recording method and device with barrage

Country Status (1)

Country Link
CN (1) CN113784169B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449334A (en) * 2022-01-29 2022-05-06 上海哔哩哔哩科技有限公司 Video recording method, video recording device, electronic equipment and computer storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120317173A1 (en) * 2011-06-09 2012-12-13 Quanta Computer Inc. System and method of multimodality-appended rich media comments
CN103647991A (en) * 2013-12-23 2014-03-19 乐视致新电子科技(天津)有限公司 Method and system for sharing video in intelligent television
CN104811485A (en) * 2015-04-10 2015-07-29 深圳市金立通信设备有限公司 Resource sharing method
CN105979288A (en) * 2016-06-17 2016-09-28 乐视控股(北京)有限公司 Video interception method and device
CN106713987A (en) * 2015-07-23 2017-05-24 阿里巴巴集团控股有限公司 Implementation method and device for audio/video sharing
WO2017166718A1 (en) * 2016-03-30 2017-10-05 乐视控股(北京)有限公司 Method, apparatus, and system for displaying bullet screen information
CN107734353A (en) * 2017-10-09 2018-02-23 武汉斗鱼网络科技有限公司 Record method, apparatus, readable storage medium storing program for executing and the equipment of barrage video
CN107743264A (en) * 2017-10-26 2018-02-27 上海哔哩哔哩科技有限公司 Video recording method and equipment
CN107743272A (en) * 2017-10-26 2018-02-27 上海哔哩哔哩科技有限公司 Screenshot method and equipment
CN109121015A (en) * 2018-10-17 2019-01-01 武汉斗鱼网络科技有限公司 A kind of method and relevant apparatus for converting barrage format
CN110300274A (en) * 2018-03-21 2019-10-01 腾讯科技(深圳)有限公司 Method for recording, device and the storage medium of video file
CN113225606A (en) * 2021-04-30 2021-08-06 上海哔哩哔哩科技有限公司 Video barrage processing method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120317173A1 (en) * 2011-06-09 2012-12-13 Quanta Computer Inc. System and method of multimodality-appended rich media comments
CN103647991A (en) * 2013-12-23 2014-03-19 乐视致新电子科技(天津)有限公司 Method and system for sharing video in intelligent television
CN104811485A (en) * 2015-04-10 2015-07-29 深圳市金立通信设备有限公司 Resource sharing method
CN106713987A (en) * 2015-07-23 2017-05-24 阿里巴巴集团控股有限公司 Implementation method and device for audio/video sharing
WO2017166718A1 (en) * 2016-03-30 2017-10-05 乐视控股(北京)有限公司 Method, apparatus, and system for displaying bullet screen information
CN105979288A (en) * 2016-06-17 2016-09-28 乐视控股(北京)有限公司 Video interception method and device
CN107734353A (en) * 2017-10-09 2018-02-23 武汉斗鱼网络科技有限公司 Record method, apparatus, readable storage medium storing program for executing and the equipment of barrage video
CN107743264A (en) * 2017-10-26 2018-02-27 上海哔哩哔哩科技有限公司 Video recording method and equipment
CN107743272A (en) * 2017-10-26 2018-02-27 上海哔哩哔哩科技有限公司 Screenshot method and equipment
CN110300274A (en) * 2018-03-21 2019-10-01 腾讯科技(深圳)有限公司 Method for recording, device and the storage medium of video file
CN109121015A (en) * 2018-10-17 2019-01-01 武汉斗鱼网络科技有限公司 A kind of method and relevant apparatus for converting barrage format
CN113225606A (en) * 2021-04-30 2021-08-06 上海哔哩哔哩科技有限公司 Video barrage processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449334A (en) * 2022-01-29 2022-05-06 上海哔哩哔哩科技有限公司 Video recording method, video recording device, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN113784169B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
CN112291627B (en) Video editing method and device, mobile terminal and storage medium
WO2020077856A1 (en) Video photographing method and apparatus, electronic device and computer readable storage medium
CN102708146B (en) Locally edit the image remotely stored
WO2020077855A1 (en) Video photographing method and apparatus, electronic device and computer readable storage medium
EP1750211A1 (en) Method and apparatus for displaying multimedia content with plug-in on wap browser incorporated in mobile communication terminal
US20090307602A1 (en) Systems and methods for creating and sharing a presentation
CN106844705B (en) Method and apparatus for displaying multimedia content
CN111629253A (en) Video processing method and device, computer readable storage medium and electronic equipment
CN107592577B (en) Method and system for displaying bullet screen information, mobile terminal and smart television
KR101123370B1 (en) service method and apparatus for object-based contents for portable device
CN108259923B (en) Video live broadcast method, system and equipment
JP2006345214A (en) Method and device for distributing 3-dimensional image data
CN114245228A (en) Page link releasing method and device and electronic equipment
CN106445439A (en) Method for online exhibiting pictures
CN113784169B (en) Video recording method and device with barrage
CN114374853A (en) Content display method and device, computer equipment and storage medium
CN113553466A (en) Page display method, device, medium and computing equipment
CN114374869B (en) Panoramic video playing method and device and computer storage medium
CN113559503B (en) Video generation method, device and computer readable medium
KR101221540B1 (en) Interactive media mapping system and method thereof
CN113038225B (en) Video playing method, device, computing equipment and storage medium
CN108614656B (en) Information processing method, medium, device and computing equipment
KR20210055301A (en) Review making system
WO2023273692A1 (en) Method and apparatus for replying to information, electronic device, computer storage medium, and product
US20100325543A1 (en) Media Player Architecture and Methods

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