CN111800649A - Method and device for storing video and method and device for generating video - Google Patents
Method and device for storing video and method and device for generating video Download PDFInfo
- Publication number
- CN111800649A CN111800649A CN201911053649.9A CN201911053649A CN111800649A CN 111800649 A CN111800649 A CN 111800649A CN 201911053649 A CN201911053649 A CN 201911053649A CN 111800649 A CN111800649 A CN 111800649A
- Authority
- CN
- China
- Prior art keywords
- video
- change
- content
- slice
- target
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 82
- 230000008859 change Effects 0.000 claims abstract description 248
- 238000004458 analytical method Methods 0.000 claims description 27
- 238000005516 engineering process Methods 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 22
- 230000005540 biological transmission Effects 0.000 description 13
- 230000008569 process Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 230000007547 defect Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000010276 construction Methods 0.000 description 5
- 238000012544 monitoring process Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000006835 compression Effects 0.000 description 3
- 238000007906 compression Methods 0.000 description 3
- 238000000605 extraction Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 230000000877 morphologic effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000011410 subtraction method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/23418—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/8547—Content authoring involving timestamps for synchronizing content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/78—Television signal recording using magnetic recording
- H04N5/781—Television signal recording using magnetic recording on disks or drums
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a method and a device for storing a video and a method and a device for generating the video, and relates to the technical field of computers. One embodiment of the method comprises: analyzing the video content of the video stream to obtain a content change result; extracting a change video from the video stream based on the content change result, and storing the change video; and extracting the non-change video from the video stream based on the content change result, and performing slice storage on the non-change video. The embodiment reduces the volume occupied by storing the video file and reduces the data redundancy; enabling a limited volume to store more video files; and reduces or eliminates play delay in video live play.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for storing a video, and a method and an apparatus for generating a video.
Background
Video monitoring is an indispensable part in the life at present, meanwhile, a plurality of cameras are used for recording the life of the world or people every day, such as traffic monitoring, station monitoring or monitoring of other public places, and the like, and the real-time images (namely video files) are also archived and stored in a file system such as a disk memory. The magnetic disk memory uses magnetic disk as memory of storage medium, it is an auxiliary memory for data storage on the rotating disk coated with magnetic recording medium by utilizing magnetic recording technique, and has the characteristics of large storage capacity, high data transmission rate and long-term storage of stored data.
For a live video scene, a video source (i.e., a main broadcast) needs to push a locally acquired video stream (video file) to a third-party platform, and a client (i.e., a viewer) acquires the live video from the third-party platform. The video live broadcast refers to live broadcast by utilizing the internet and a streaming media technology.
Generally, the image of a video file is large, and if the video file is to be stored for a long time, the video file for the long time can be cached only by increasing the volume of the file system.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
the storage resources occupied for storing the video files are large; and when the network is transmitted, the transmission speed is slow and the phenomenon of playing delay exists.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for storing a video and a method and an apparatus for generating a video, which can reduce a volume occupied by storing a video file and reduce data redundancy; enabling a limited volume to store more video files; and reducing or eliminating play delay in video live play.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method of storing a video.
The method for storing the video comprises the following steps: analyzing the video content of the video stream to obtain a content change result; extracting a change video from the video stream based on the content change result, and storing the change video; and extracting non-change video from the video stream based on the content change result, and performing slice storage on the non-change video.
Optionally, analyzing the video content of the video stream to obtain a content change result, including: acquiring a video stream and encoding the video stream; analyzing the video content of the video stream by using a video analysis technology to obtain a content change result; wherein the content change result comprises the start-stop time of the sub-video and the content state of the sub-video.
Optionally, the content state includes changes and no changes; and determining the content state of the sub-video by adopting the following method: analyzing whether the video content of the sub-video comprises a preset event or not by utilizing a video analysis technology; if yes, the content state of the sub video is changed; and if not, the content state of the sub-video is unchanged.
Optionally, extracting a change video from the video stream based on the content change result, and storing the change video, includes: extracting the sub-video with the changed content state from the video stream to obtain a changed video; and storing the change video and adding a time stamp to the change video.
Optionally, extracting an unchanged video from the video stream based on the content change result, and performing slice storage on the unchanged video, includes: extracting the sub-video with unchanged content state from the video stream to obtain an unchanged video; slicing the unchanged video to obtain a video slice; and storing the video slices and adding time stamps to the video slices.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method of generating a video.
The method for generating the video comprises the following steps: receiving the video stream sent by a video source; acquiring a stored change video and/or video slice corresponding to the video stream; wherein the variant video is a video extracted from the video stream based on a content variation result, and the video slice is a slice of a non-variant video extracted from the video stream based on a content variation result; constructing the stored change video and/or the stored video slices into a real-time video stream according to the time stamp of the change video and/or the time stamp of the video slices; and sending the real-time video stream to a client.
Optionally, the method further comprises: acquiring a target change video and/or a target video slice from the change video and the video slice according to a target time period; and constructing the target change video and/or the target video slice into a target video stream according to the time stamp of the target change video and/or the time stamp of the target video slice.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided an apparatus for storing video.
The device for storing the video comprises the following components: the analysis module is used for analyzing the video content of the video stream to obtain a content change result; the extracting module is used for extracting a change video from the video stream based on the content change result and storing the change video; and the slicing module is used for extracting the non-change video from the video stream based on the content change result and carrying out slicing storage on the non-change video.
Optionally, the analysis module is further configured to: acquiring a video stream and encoding the video stream; analyzing the video content of the video stream by using a video analysis technology to obtain a content change result; wherein the content change result comprises the start-stop time of the sub-video and the content state of the sub-video.
Optionally, the content state includes changes and no changes; the analysis module is further to: analyzing whether the video content of the sub-video comprises a preset event or not by utilizing a video analysis technology; if yes, the content state of the sub video is changed; and if not, the content state of the sub-video is unchanged.
Optionally, the extracting module is further configured to: extracting the sub-video with the changed content state from the video stream to obtain a changed video; and storing the change video and adding a time stamp to the change video.
Optionally, the slicing module is further configured to: extracting the sub-video with unchanged content state from the video stream to obtain an unchanged video; slicing the unchanged video to obtain a video slice; and storing the video slices and adding time stamps to the video slices.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided an apparatus for generating a video.
The device for generating the video comprises the following components: the receiving module is used for receiving a video stream sent by a video source; the acquisition module is used for acquiring the stored change video and/or video slice corresponding to the video stream; wherein the variant video is a video extracted from the video stream based on a content variation result, and the video slice is a slice of a non-variant video extracted from the video stream based on a content variation result; a first constructing module, configured to construct the stored change video and/or the stored video slice into a real-time video stream according to a timestamp of the change video and/or a timestamp of the video slice; and the sending module is used for sending the real-time video stream to a client.
Optionally, the system further comprises a second building module, configured to: acquiring a target change video and/or a target video slice from the change video and the video slice according to a target time period; and constructing the target change video and/or the target video slice into a target video stream according to the time stamp of the target change video and/or the time stamp of the target video slice.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided an electronic device storing a video.
An electronic device for storing video according to an embodiment of the present invention includes: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method of storing a video of an embodiment of the present invention or a method of generating a video of an embodiment of the present invention.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided a computer-readable storage medium.
A computer-readable storage medium of an embodiment of the present invention has a computer program stored thereon, which when executed by a processor implements a method of storing a video of an embodiment of the present invention or a method of generating a video of an embodiment of the present invention.
One embodiment of the above invention has the following advantages or benefits: because the video content of the video stream is analyzed, the content change result is obtained; extracting a change video from the video stream based on the content change result, and storing the change video; the technical means of extracting the non-change video from the video stream based on the content change result and carrying out slice storage on the non-change video overcomes the defect that the storage resource occupied by storing the video file is large; when the video file is transmitted in a network, the transmission speed is slow due to the fact that the video file is large, and therefore the occupied volume for storing the video file is reduced, and data redundancy is reduced; enabling a limited volume to store more video files; and reducing or eliminating the playing delay in video live broadcasting.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a video live system;
FIG. 2 is a schematic diagram of the main steps of a method of storing video according to an embodiment of the invention;
FIG. 3 is a schematic diagram of the main steps of a method of generating video according to an embodiment of the invention;
fig. 4 is a schematic diagram of an application flow of a method of storing a video and a method of generating a video according to one referential embodiment of the present invention;
FIG. 5 is a schematic diagram of a system for implementing a method of storing a video and a method of generating a video according to one referenceable embodiment of the present invention;
FIG. 6 is a schematic diagram of a method of generating video according to one referenceable embodiment of the invention;
fig. 7 is a schematic diagram of main blocks of an apparatus for storing video according to an embodiment of the present invention;
fig. 8 is a schematic diagram of main blocks of an apparatus for storing video according to an embodiment of the present invention;
FIG. 9 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 10 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the existing video storage method, a video file is stored by using a file system such as a disk memory. For long-time video files, the storage resources occupied during storage are large; and when the video file is transmitted in the network, the transmission speed is slow due to the large video file.
As shown in fig. 1, the video live broadcast mainly includes the following processes: a video source (i.e. a anchor) pushes a locally acquired video stream (video file) to a Content Delivery Network (CDN); a CDN node in the CDN caches and forwards the video stream; the client (i.e. the audience) pulls the cached video stream in the CDN and plays it. Each CDN node is a file system for storing video files; the interaction between the video source and the CDN can adopt an RTMP protocol; the interaction between the client and the CDN node can adopt an RTMP protocol, an HLS protocol or an HTTP FLV protocol; RTMP is based on TCP (a connection-oriented, reliable, byte stream-based transport layer communication protocol), an open protocol developed by Adobe corporation for audio and video transmission between Flash players and servers; the HLS is based on HTTP (hypertext transfer protocol), and is an audio and video transmission protocol opened by Apple company; the HTTP FLV encapsulates the RTMP on the HTTP protocol, so that a firewall and the like can be better penetrated; and clients include, but are not limited to, smart phones, tablets, laptop portable computers, desktop computers, and the like.
Therefore, the existing method for storing video needs to continuously increase the volume of the file system, and in addition, due to the above disadvantages, the method is also prone to cause play delay, and cannot reduce or eliminate the play delay in time.
Therefore, the embodiment of the invention provides a method for storing videos, wherein a storage form is determined according to video content of a video stream, namely, only videos with changed video content or including preset events are stored completely, and videos with unchanged video content for a long time, little change or not including preset events are stored in slices, so that storage space occupied by repeated or useless video files of the video content is reduced, and data redundancy is reduced; meanwhile, the size of the video file is reduced, so that the transmission speed is improved.
It should be noted that the embodiments of the present invention and the technical features of the embodiments may be combined with each other without conflict.
Fig. 2 is a schematic diagram of the main steps of a method of storing video according to an embodiment of the present invention.
As shown in fig. 2, the method for storing video according to the embodiment of the present invention mainly includes the following steps:
step S201: and analyzing the video content of the video stream to obtain a content change result.
The video stream may be a video image captured by the monitoring device or a video already stored in some storage system. In order to reduce the storage resources occupied by storing the video stream, the file system or other third parties can analyze the video content of the video stream to obtain a content change result, and the content change result can embody the video content of the video stream and can influence the storage mode of the video stream in the file system.
In the embodiment of the present invention, step S201 may be implemented by: acquiring a video stream and encoding the video stream; and analyzing the video content of the video stream by using a video analysis technology to obtain a content change result.
Video coding refers to a way of converting a file in a certain video format into a file in another video format by a specific compression technique. For video streams such as video images or stored videos acquired by a video source, tools or technologies such as a video coding server can be used for coding the video streams and converting the video streams into a specific video format so as to facilitate other subsequent operations.
The video analysis technology generally adopts a background separation technology (background subtraction method) to detect image changes (all video analysis modes, such as intrusion, packet loss or retrograde motion, are image changes in one mode), and the idea is to compare a video frame with a reference background image, consider the change of pixels (areas) at the same position as a changed area, further process, track and identify the areas to obtain basic morphological information and dynamic information including target position, size, shape, speed, retention time and the like, and after the tracking and behavior understanding of a target are completed, the mapping relationship between image and image description is completed, so that further rule judgment is performed according to the mapping relationship.
The embodiment of the invention analyzes the video content of the video stream by utilizing the video analysis technology, thereby obtaining the content change result corresponding to the video stream. For an encoded video stream, it can be considered as a video composed of at least one sub-video, and each sub-video can be a video of a fixed duration. Accordingly, the content change result may include the start and end time of the sub video and the content state of the sub video, and further, in the content change result, the start and end time may be a time period or a time stamp, and the content state may include a change and no change.
In the embodiment of the present invention, the content state of the sub-video may be determined by the following method: analyzing whether the video content of the sub-video comprises a preset event or not by utilizing a video analysis technology; if yes, the content state of the sub-video is changed; if not, the content state of the sub-video is unchanged.
The content state of the sub-videos can be determined by analyzing the video analysis technology, that is, whether the video content includes the preset event is analyzed by the video analysis technology, if the preset event is recorded in one or more sub-videos of the video stream, the video content of the one or more sub-videos changes, and if the preset event is not recorded in one or more sub-videos of the video stream, the video content of the one or more sub-videos does not change. Specifically, whether the video content of the sub-video includes a preset event is analyzed by using a video analysis technology, the preset event may be that a specific person appears or a specific event occurs, for example, a vehicle passes through, a person dances or a book falls off, and the like; if the video stream does not include the preset event, for example, the picture repetition or the change is small, it is determined that the video content of the sub-video is unchanged, and the content state of the sub-video is unchanged. In addition, each preset event is completely recorded in one or more sub-videos.
In the method for storing video according to the embodiment of the present invention, a video stream may be regarded as two parts, namely, a changed video and an unchanged video according to video content, where one video stream may be all the changed video and the unchanged video, or one video stream may be changed video and the unchanged video at the same time (two parts may be interlaced with each other to divide the video stream into multiple segments, or two parts may divide the video stream into two segments), and at the same time, it may be determined which form (storing video or storing video slices) to use to store the video stream according to the video content.
Step S202: extracting a change video from the video stream based on the content change result, and storing the change video.
By analyzing the video content of the video stream in step S201, it is known which part of the video stream has changed video content, i.e. which part of the video stream belongs to the changed video, so that the changed video is extracted from the video stream and stored completely. In addition, when the change video is stored, the name of the change video may also be recorded.
In this embodiment of the present invention, step S202 may be implemented by: extracting a sub video with a changed content state from the video stream to obtain a changed video; and storing the change video and adding a time stamp to the change video.
The change video refers to a video with changed video content, and the change video includes a preset event, that is, the sub-videos with changed content states are all change videos, so that the sub-videos can be extracted from the video stream according to the content states of the sub-videos, the obtained sub-videos with changed content states are change videos, the change videos can be completely stored, and timestamps are added to the change videos, and the timestamps can correspond to the start time and the end time of the change videos, and can also correspond to the start time, the video duration and the like of the change videos. In addition, the extraction process may be to intercept or copy one or some of the sub-videos according to the occurrence time period.
Step S203: and extracting the non-change video from the video stream based on the content change result, and performing slice storage on the non-change video.
By analyzing the video content of the video stream in step S201, it is known which part of the video stream has no change, i.e. which part of the video stream belongs to the non-change video, so that the non-change video is extracted from the video stream and stored in slices. It should be noted that this step may be performed in synchronization with step S202 or before step S202.
In the embodiment of the present invention, step S203 may be implemented by: extracting a sub video with unchanged content state from the video stream to obtain an unchanged video; slicing the unchanged video to obtain video slices; and storing the video slices and adding time stamps to the video slices.
The non-change video refers to a video with unchanged video content, and the change video does not include a preset event, that is, the sub-videos with unchanged content states are all non-change videos, so that the sub-videos can be extracted from the video stream according to the content states of the sub-videos, and the obtained sub-videos with unchanged content states are the non-change videos. Since the video content of the non-change video has no change (i.e., the picture is repeated or has a small change), it is not necessary to store the video completely, and the non-change video may be sliced to obtain a video slice corresponding to the non-change video, and only the video slice is stored and added with a timestamp, where the timestamp may correspond to the time corresponding to the video slice, or may correspond to the time interval in which the video slice is located, or the like. In addition, when a video slice is stored, the name of the video slice may also be recorded.
The slicing process is to cut image frames from the non-change video at a preset frequency (i.e. a preset time interval), where the cut image frames are video slices, and the preset frequency may be set according to actual conditions or needs, for example, every ten minutes, a image frame is cut from the non-change video.
According to the method for storing the video, the content change result is obtained by analyzing the video content of the video stream; extracting a change video from the video stream based on the content change result, and storing the change video; the technical means of extracting the non-change video from the video stream based on the content change result and carrying out slice storage on the non-change video overcomes the defect that the storage resource occupied by storing the video file is large; when the video file is transmitted in a network, the transmission speed is slow due to the fact that the video file is large, and therefore the occupied volume for storing the video file is reduced, and data redundancy is reduced; enabling a limited volume to store more video files; and reducing or eliminating the playing delay in video live broadcasting.
Fig. 3 is a schematic diagram of the main steps of a method of generating a video according to an embodiment of the present invention.
As shown in fig. 3, the method for generating a video according to the embodiment of the present invention mainly includes the following steps:
step S301: receiving a video stream sent by a video source;
for scenes of playing and acquiring videos in real time such as live video and the like, video streams of video sources are not directly sent to each client but sent to content distribution platforms such as a CDN (content delivery network), file systems (such as CDN nodes) of the content distribution platforms firstly store the video streams by adopting the method of the steps, then the real-time video streams are constructed by stored changed videos and/or video slices, and the real-time video streams are sent to the clients.
Step S302: and acquiring the corresponding changed video and/or video slice of the stored video stream.
Wherein the changed video is a video extracted from the video stream based on the content change result, and the video slice is a slice of the non-changed video extracted from the video stream based on the content change result. The change video and the video slice are obtained by the method for storing the video according to the embodiment of the invention.
Step S303: and constructing the stored change video and/or the stored video slices into a real-time video stream according to the time stamp of the change video and/or the time stamp of the video slices.
Step S304: and sending the real-time video stream to the client.
The method for generating the video can be executed by a content distribution platform, and as the real-time video stream is constructed by the changing video and/or the video slice, the client can acquire the real-time video stream at a higher transmission speed for scenes such as video live broadcast, so that the playing delay is reduced or eliminated.
In an embodiment of the present invention, the method for generating a video may further include: acquiring a target change video and/or a target video slice from the change video and the video slice according to a target time period; and constructing the target change video and/or the target video slice into a target video stream according to the time stamp of the target change video and/or the time stamp of the target video slice.
By the method for storing the video, the content of the video stream can be completely stored while the video stream is stored in a smaller storage space. When the collected video (namely the saved video stream) of a certain time period (namely the target time period) needs to be called or played, the target change video and/or the target video slice corresponding to the target time period which is wanted to be called or viewed can be found out from the stored change video and video slices according to the time stamps, the sequence of the target change video and/or the target video slice can be determined according to the time stamps of the target change video and/or the time stamps of the target video slice, and the target change video and/or the target video slice can be constructed into the target video stream based on the sequence, and the content of the video stream can be really restored by the target video stream. In addition, the construction of the target video stream mainly includes splicing the target change video and splicing the target video slice after the target change video is converted into the video, and a known technical means can be adopted for specific implementation, and the embodiment of the invention is not repeated.
According to the method for generating the video, the content change result is obtained by analyzing the video content of the video stream; extracting a change video from the video stream based on the content change result, and storing the change video; the technical means of extracting the non-change video from the video stream based on the content change result and carrying out slice storage on the non-change video overcomes the defect that the storage resource occupied by storing the video file is large; when the video file is transmitted in a network, the transmission speed is slow due to the fact that the video file is large, and therefore the occupied volume for storing the video file is reduced, and data redundancy is reduced; enabling a limited volume to store more video files; and reducing or eliminating the playing delay in video live broadcasting.
Fig. 4 is a schematic diagram of a main flow of a method of storing a video and a method of generating a video according to one referenceable embodiment of the present invention.
As shown in fig. 4, when the method for storing a video and the method for generating a video according to the embodiment of the present invention are applied, the following processes may be referred to:
step S401: acquiring a video stream, and encoding the video stream:
for video streams such as video images acquired by an acquired video source or stored videos, the video streams may be encoded first and converted into a specific video format, for example, into a format such as h.264 (a digital video compression format) or Mp4 (a set of compression encoding standards for audio and video information);
step S402: analyzing the video content of the video stream by using a video analysis technology to obtain a content change result:
the content change result may include a start-stop time of the sub video and a content state of the sub video. The step can be executed when the video stream is coded, and whether the video content of the sub-video comprises the preset event or not can be analyzed by utilizing a video analysis technology; if yes, the content state of the sub-video is changed; if not, the content state of the sub-video is unchanged;
step S403: extracting a sub video with a changed content state from the video stream to obtain a changed video;
step S404: storing the change video, and adding a time stamp to the change video:
the change video is completely stored in a file system, and the file system is a storage device such as a disk memory;
step S405: extracting a sub video with unchanged content state from the video stream to obtain an unchanged video;
step S406: slicing the unchanged video to obtain video slices;
step S407: storing the video slices and adding time stamps to the video slices:
video slices may also be stored to a file system; in addition, the change video and the video slice can be stored in the same file system, or can be stored in different file systems respectively;
step S408: from the file system of step S404 and step S407, the stored change video and video slice are acquired:
when the collected video (namely the stored video stream) corresponding to the target time period needs to be called or played, the target change video and/or the target video slice corresponding to the target time period can be obtained from the file system according to the timestamp added in the previous step; or
Acquiring a just-stored change video and/or video slice from a file system, wherein the change video and/or video slice is constructed into a real-time video stream immediately and distributed when being stored in the file system;
step S409: constructing the change video and/or the video slices into a real-time video stream according to the time stamp of the change video and/or the time stamp of the video slices:
constructing the target change video and/or the target video slice into a target video stream according to the timestamp of the target change video and/or the timestamp of the target video slice, wherein the construction of the target video stream can be divided into the following five cases, 1, if one or more complete target change videos correspond to the requested time period, the target video stream is directly constructed by the one or more target change videos; 2. if the requested time period corresponds to one part of one or more target change videos, only the part corresponding to the requested time period is needed to be taken to construct a target video stream; 3. if the requested time period corresponds to a target video slice, converting the target video slice into a target video stream, which is similar to the situation that a video only has a constant picture; 4. converting the target video slices into a target video stream if the requested time period corresponds to a plurality of target video slices, wherein the target video slices are only required to be switched according to a preset time interval, the preset time interval is a preset frequency 5 for slice processing, the requested time period corresponds to a target change video and a target video slice, and the target change video and the target video slices are combined to form the target video stream; or
And constructing the stored change video and/or the stored video slices into a real-time video stream according to the time stamp of the stored change video and/or the time stamp of the stored video slices, wherein the construction of the real-time video stream is similar to that of the target video stream.
In addition, the implementation of steps S401 to S407 can refer to steps S201 to S203, and the implementation of steps S408 to S409 can refer to steps S301 to S304, which are not described herein again.
Fig. 5 is a schematic diagram of a system for implementing a method of storing a video and a method of generating a video according to one referenceable embodiment of the present invention.
As shown in fig. 5, the implementation system mainly includes a video source, a video encoding server, a file server, a slicing server, a decoding server, and a client, and the method for storing video according to the embodiment of the present invention mainly includes the following parts:
1. inputting a video stream of a video source into a video coding server; wherein, the video source can monitor the device or the storage system storing the video, and the streaming of the video into the video coding server can be performed by the video source, the video coding server or other third parties;
2. the video server judges whether the video content of the video stream changes, if so, the video stream is accessed to the file server, and if not, the video stream is accessed to the slicing server; wherein, the step S201 may be referred to in the determination process;
3. the file server extracts the change video from the video stream according to the occurrence time period of the preset event, stores the change video locally and adds a timestamp to the change video;
4. the slicing server extracts an unchanged video from the video stream, intercepts at least one image frame (namely a video slice) from the unchanged video at a preset frequency, adds a time stamp to the video slice, and locally stores the video slice or stores the video slice to a file server;
5. in the reverse process, there are two main cases:
firstly, when a client calls or plays a collected video (namely a stored video stream) in a certain target time period, a decoding server acquires a corresponding target change video and/or a target video slice from a file server and a slice server according to the target time period, constructs the target change video and/or the target video slice into a target video stream, and finally outputs the target video stream to the client;
secondly, when a video source sends a video stream to a video coding server, a decoding server acquires stored changed videos and/or video slices from a file server (or a slice server), and changes the videos and/or the video slices to construct a real-time video stream, and finally outputs the real-time video stream to a client.
Fig. 6 is a schematic diagram of a method of generating a video according to one referenceable embodiment of the present invention.
As shown in fig. 6, in the method for storing a video according to the embodiment of the present invention, the construction of the target video stream mainly includes the following parts:
1. a client requests a decoding server for a collected video (namely a stored video stream) of a certain target time period;
2. the decoding server searches a target change video corresponding to the target time period from the file server according to the timestamp, and if the target change video exists, the target change video is copied;
3. the decoding server searches a target video slice corresponding to the target time period from the slice server according to the time stamp, and if the target video slice exists, the target video slice is copied;
4. the decoding server constructs the target change video and/or the target video slice into a target video stream or a real-time video stream according to the timestamp of the target change video and/or the timestamp of the target video slice;
5. and the decoding server outputs the target video stream or the real-time video stream to the client.
In order to further illustrate the technical idea of the present invention, the technical solution of the present invention will now be described with reference to specific application scenarios.
Taking a live video scene as an example, firstly, a video source (i.e. a main broadcast) pushes a locally acquired video stream to a Content Delivery Network (CDN); then, a CDN node in the CDN caches and forwards the video stream, wherein the method for storing the video is adopted when the CDN node caches the video stream, and each CDN node is provided with a video coding server, a file server, a slice server and a decoding server, namely, a CDN node video source transmits the video stream to the video coding server; the video server judges whether the video content of the video stream changes; if the video stream is changed, accessing the video stream to a file server, extracting the changed video from the video stream by the file server, and storing the changed video in the local after adding a timestamp; if the video stream is not changed, accessing the video stream to a slicing server, extracting an unchanged video from the video stream by the slicing server, intercepting at least one image frame (namely a video slice) from the unchanged video at a preset frequency, and storing the video slice to a file server after adding a timestamp; and finally, the client (namely audience) pulls the target video stream from the CDN and plays the target video stream, wherein the decoding server acquires the target change video and/or the target video slice corresponding to the time period from the file server and the slice server according to the time stamp during pulling, constructs the target change video and/or the target video slice into the target video stream, and finally outputs the target video stream to the client.
Fig. 7 is a schematic diagram of main blocks of an apparatus for storing video according to an embodiment of the present invention.
As shown in fig. 7, an apparatus 700 for storing video according to an embodiment of the present invention includes: an analysis module 701, an extraction module 702, and a slicing module 703.
Wherein,
an analysis module 701, configured to analyze video content of the video stream to obtain a content change result;
an extracting module 702, configured to extract a change video from the video stream based on the content change result, and store the change video;
and a slicing module 703, configured to extract an unchanged video from the video stream based on the content change result, and perform slicing storage on the unchanged video.
In this embodiment of the present invention, the analysis module 701 may further be configured to:
acquiring a video stream and encoding the video stream;
analyzing the video content of the video stream by using a video analysis technology to obtain a content change result; the content change result comprises the start-stop time of the sub-video and the content state of the sub-video.
Further, the content state includes change and no change.
In this embodiment of the present invention, the analyzing module 701 is further configured to:
analyzing whether the video content of the sub-video comprises a preset event or not by utilizing a video analysis technology;
if yes, the content state of the sub-video is changed;
if not, the content state of the sub-video is unchanged.
In this embodiment of the present invention, the extracting module 702 may further be configured to:
extracting a sub video with a changed content state from the video stream to obtain a changed video;
and storing the change video and adding a time stamp to the change video.
In this embodiment of the present invention, the slicing module 703 may be further configured to:
extracting a sub video with unchanged content state from the video stream to obtain an unchanged video;
slicing the unchanged video to obtain video slices;
and storing the video slices and adding time stamps to the video slices.
According to the device for storing the video, the content change result is obtained by analyzing the video content of the video stream; extracting a change video from the video stream based on the content change result, and storing the change video; the technical means of extracting the non-change video from the video stream based on the content change result and carrying out slice storage on the non-change video overcomes the defect that the storage resource occupied by storing the video file is large; when the video file is transmitted in a network, the transmission speed is slow due to the fact that the video file is large, and therefore the occupied volume for storing the video file is reduced, and data redundancy is reduced; enabling a limited volume to store more video files; and reducing or eliminating the playing delay in video live broadcasting.
Fig. 8 is a schematic diagram of main blocks of an apparatus for generating a video according to an embodiment of the present invention.
As shown in fig. 8, an apparatus 800 for generating a video according to an embodiment of the present invention includes: a receiving module 801, an obtaining module 802, a first constructing module 803 and a sending module 804.
Wherein,
a receiving module 801, configured to receive a video stream sent by a video source;
an obtaining module 802, configured to obtain a stored change video and/or video slice corresponding to the video stream; wherein the variant video is a video extracted from the video stream based on a content variation result, and the video slice is a slice of a non-variant video extracted from the video stream based on a content variation result;
a first constructing module 803, configured to construct the stored change video and/or the stored video slice into a real-time video stream according to the timestamp of the change video and/or the timestamp of the video slice;
a sending module 804, configured to send the real-time video stream to a client.
In addition, the apparatus 800 for generating video according to the embodiment of the present invention may further include a second building module (not shown in the figure) configured to:
acquiring a target change video and/or a target video slice from the change video and the video slice according to a target time period;
and constructing the target change video and/or the target video slice into a target video stream according to the time stamp of the target change video and/or the time stamp of the target video slice.
According to the device for generating the video, the content change result is obtained by analyzing the video content of the video stream; extracting a change video from the video stream based on the content change result, and storing the change video; the technical means of extracting the non-change video from the video stream based on the content change result and carrying out slice storage on the non-change video overcomes the defect that the storage resource occupied by storing the video file is large; when the video file is transmitted in a network, the transmission speed is slow due to the fact that the video file is large, and therefore the occupied volume for storing the video file is reduced, and data redundancy is reduced; enabling a limited volume to store more video files; and reducing or eliminating the playing delay in video live broadcasting.
Fig. 9 illustrates an exemplary system architecture 900 of a method of storing video or an apparatus for storing video to which embodiments of the present invention may be applied.
As shown in fig. 9, the system architecture 900 may include end devices 901, 902, 903, a network 904, and a server 905. Network 904 is the medium used to provide communication links between terminal devices 901, 902, 903 and server 905. Network 904 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 901, 902, 903 to interact with a server 905 over a network 904 to receive or send messages and the like. The terminal devices 901, 902, 903 may have various communication client applications installed thereon, such as a shopping application, a web browser application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal devices 901, 902, 903 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 905 may be a server that provides various services, such as a background management server that supports shopping websites browsed by users using the terminal devices 901, 902, and 903. The background management server may analyze and perform other processing on the received data such as the product information query request, and feed back a processing result (e.g., target push information and product information) to the terminal device.
It should be noted that the method for storing video provided by the embodiment of the present invention is generally performed by the server 905, and accordingly, the apparatus for storing video is generally disposed in the server 905.
It should be understood that the number of terminal devices, networks, and servers in fig. 9 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 10, a block diagram of a computer system 1000 suitable for use with a terminal device implementing an embodiment of the invention is shown. The terminal device shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 10, the computer system 1000 includes a Central Processing Unit (CPU)1001 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)1002 or a program loaded from a storage section 1008 into a Random Access Memory (RAM) 1003. In the RAM 1003, various programs and data necessary for the operation of the system 1000 are also stored. The CPU 1001, ROM 1002, and RAM 1003 are connected to each other via a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
The following components are connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output section 1007 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1008 including a hard disk and the like; and a communication section 1009 including a network interface card such as a LAN card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the internet. The driver 1010 is also connected to the I/O interface 1005 as necessary. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1010 as necessary, so that a computer program read out therefrom is mounted into the storage section 1008 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication part 1009 and/or installed from the removable medium 1011. The computer program executes the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 1001.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes an analysis module, an extraction module, and a slicing module. The names of these modules do not in some cases constitute a limitation on the module itself, for example, the analysis module may also be described as a "module that analyzes video content of a video stream".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: step S201: analyzing the video content of the video stream to obtain a content change result; step S202: extracting a change video from the video stream based on the content change result, and storing the change video; step S203: extracting non-change video from the video stream based on the content change result, and performing slice storage on the non-change video, or causing the apparatus to include: step S301: receiving a video stream sent by a video source; step S302: acquiring a change video and/or a video slice corresponding to a stored video stream; step S303: constructing the stored change video and/or the stored video slices into a real-time video stream according to the time stamp of the change video and/or the time stamp of the video slices; step S304: and sending the real-time video stream to the client.
According to the technical scheme of the embodiment of the invention, the video content of the video stream is analyzed; extracting a change video from the video stream based on the video content and storing the change video; the technical means of extracting the non-change video from the video stream based on the video content and carrying out slice storage on the non-change video overcomes the defect that the storage resource occupied by storing the video file is large; when the video file is transmitted in a network, the transmission speed is slow due to the fact that the video file is large, and therefore the occupied volume for storing the video file is reduced, and data redundancy is reduced; enabling a limited volume to store more video files; and reducing or eliminating the playing delay in video live broadcasting.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (12)
1. A method of storing video, comprising:
analyzing the video content of the video stream to obtain a content change result;
extracting a change video from the video stream based on the content change result, and storing the change video;
and extracting non-change video from the video stream based on the content change result, and performing slice storage on the non-change video.
2. The method of claim 1, wherein analyzing the video content of the video stream to obtain a content change result comprises:
acquiring a video stream and encoding the video stream;
analyzing the video content of the video stream by using a video analysis technology to obtain a content change result; wherein the content change result comprises the start-stop time of the sub-video and the content state of the sub-video.
3. The method of claim 2, wherein the content state includes changed and unchanged; and
determining the content state of the sub-video by adopting the following method:
analyzing whether the video content of the sub-video comprises a preset event or not by utilizing a video analysis technology;
if yes, the content state of the sub video is changed;
and if not, the content state of the sub-video is unchanged.
4. The method of claim 3, wherein extracting a change video from the video stream based on the content change result and storing the change video comprises:
extracting the sub-video with the changed content state from the video stream to obtain a changed video;
and storing the change video and adding a time stamp to the change video.
5. The method of claim 4, wherein extracting non-change video from the video stream based on the content change result and performing slice storage on the non-change video comprises:
extracting the sub-video with unchanged content state from the video stream to obtain an unchanged video;
slicing the unchanged video to obtain a video slice;
and storing the video slices and adding time stamps to the video slices.
6. A method of generating video, comprising:
receiving a video stream sent by a video source;
acquiring a stored change video and/or video slice corresponding to the video stream; wherein the variant video is a video extracted from the video stream based on a content variation result, and the video slice is a slice of a non-variant video extracted from the video stream based on a content variation result;
constructing the stored change video and/or the stored video slices into a real-time video stream according to the time stamp of the change video and/or the time stamp of the video slices;
and sending the real-time video stream to a client.
7. The method of claim 6, further comprising:
acquiring a target change video and/or a target video slice from the change video and the video slice according to a target time period;
and constructing the target change video and/or the target video slice into a target video stream according to the time stamp of the target change video and/or the time stamp of the target video slice.
8. An apparatus for storing video, comprising:
the analysis module is used for analyzing the video content of the video stream to obtain a content change result;
the extracting module is used for extracting a change video from the video stream based on the content change result and storing the change video;
and the slicing module is used for extracting the non-change video from the video stream based on the content change result and carrying out slicing storage on the non-change video.
9. An apparatus for generating video, comprising:
the receiving module is used for receiving a video stream sent by a video source;
the acquisition module is used for acquiring the stored change video and/or video slice corresponding to the video stream; wherein the variant video is a video extracted from the video stream based on a content variation result, and the video slice is a slice of a non-variant video extracted from the video stream based on a content variation result;
a first constructing module, configured to construct the stored change video and/or the stored video slice into a real-time video stream according to a timestamp of the change video and/or a timestamp of the video slice;
and the sending module is used for sending the real-time video stream to a client.
10. The apparatus of claim 9, further comprising a second building module to:
acquiring a target change video and/or a target video slice from the change video and the video slice according to a target time period;
and constructing the target change video and/or the target video slice into a target video stream according to the time stamp of the target change video and/or the time stamp of the target video slice.
11. An electronic device that stores video, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5 or the method of any one of claims 6-7.
12. A computer-readable medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method of any one of claims 1 to 5 or the method of any one of claims 6 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911053649.9A CN111800649A (en) | 2019-10-31 | 2019-10-31 | Method and device for storing video and method and device for generating video |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911053649.9A CN111800649A (en) | 2019-10-31 | 2019-10-31 | Method and device for storing video and method and device for generating video |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111800649A true CN111800649A (en) | 2020-10-20 |
Family
ID=72805611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911053649.9A Pending CN111800649A (en) | 2019-10-31 | 2019-10-31 | Method and device for storing video and method and device for generating video |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111800649A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115134631A (en) * | 2022-07-25 | 2022-09-30 | 北京达佳互联信息技术有限公司 | Video processing method and video processing device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014172873A1 (en) * | 2013-04-25 | 2014-10-30 | Telefonaktiebolaget L M Ericsson (Publ) | Method and apparatus for improved network recording |
CN106534949A (en) * | 2016-11-25 | 2017-03-22 | 济南中维世纪科技有限公司 | Method for prolonging video storage time of video monitoring system |
CN108696771A (en) * | 2017-04-11 | 2018-10-23 | 上海谦问万答吧云计算科技有限公司 | A kind of video broadcasting method and device |
CN109525893A (en) * | 2018-11-20 | 2019-03-26 | 广州易方信息科技股份有限公司 | Video segment method based on slice file duration threshold value |
CN109815898A (en) * | 2019-01-24 | 2019-05-28 | 广州市天河区保安服务公司 | Urban district monitoring image acquisition and storage method and system |
CN110309111A (en) * | 2018-03-12 | 2019-10-08 | 杭州海康威视数字技术股份有限公司 | A kind of data processing method and its device |
-
2019
- 2019-10-31 CN CN201911053649.9A patent/CN111800649A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014172873A1 (en) * | 2013-04-25 | 2014-10-30 | Telefonaktiebolaget L M Ericsson (Publ) | Method and apparatus for improved network recording |
CN106534949A (en) * | 2016-11-25 | 2017-03-22 | 济南中维世纪科技有限公司 | Method for prolonging video storage time of video monitoring system |
CN108696771A (en) * | 2017-04-11 | 2018-10-23 | 上海谦问万答吧云计算科技有限公司 | A kind of video broadcasting method and device |
CN110309111A (en) * | 2018-03-12 | 2019-10-08 | 杭州海康威视数字技术股份有限公司 | A kind of data processing method and its device |
CN109525893A (en) * | 2018-11-20 | 2019-03-26 | 广州易方信息科技股份有限公司 | Video segment method based on slice file duration threshold value |
CN109815898A (en) * | 2019-01-24 | 2019-05-28 | 广州市天河区保安服务公司 | Urban district monitoring image acquisition and storage method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115134631A (en) * | 2022-07-25 | 2022-09-30 | 北京达佳互联信息技术有限公司 | Video processing method and video processing device |
CN115134631B (en) * | 2022-07-25 | 2024-01-30 | 北京达佳互联信息技术有限公司 | Video processing method and video processing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10187668B2 (en) | Method, system and server for live streaming audio-video file | |
WO2019205886A1 (en) | Method and apparatus for pushing subtitle data, subtitle display method and apparatus, device and medium | |
CN107634930B (en) | Method and device for acquiring media data | |
US20140351871A1 (en) | Live media processing and streaming service | |
CN105721811A (en) | Live video recording method and system | |
US9356985B2 (en) | Streaming video to cellular phones | |
CN106998485B (en) | Video live broadcasting method and device | |
CN113661692B (en) | Method, apparatus and non-volatile computer-readable storage medium for receiving media data | |
US20230082784A1 (en) | Point cloud encoding and decoding method and apparatus, computer-readable medium, and electronic device | |
US20240121455A1 (en) | Method, apparatus, electronic device and storage medium for video bitrate switching | |
CN113891132B (en) | Audio and video synchronous monitoring method and device, electronic equipment and storage medium | |
CN109168020A (en) | Method for processing video frequency, device, calculating equipment and storage medium based on live streaming | |
US20230045876A1 (en) | Video Playing Method, Apparatus, and System, and Computer Storage Medium | |
CN111818383B (en) | Video data generation method, system, device, electronic equipment and storage medium | |
CN113742518A (en) | Method, apparatus and computer program product for storing and providing video | |
CN111436009A (en) | Real-time video stream transmission and display method and transmission and play system | |
JP2020072461A (en) | Transmission device, server device, transmission method, and program | |
CN113873288A (en) | Method and device for generating playback in live broadcast process | |
CN110912948A (en) | Method and device for reporting problems | |
CN111800649A (en) | Method and device for storing video and method and device for generating video | |
CN111669605B (en) | Method and device for synchronizing multimedia data and associated interactive data thereof | |
CN112235592A (en) | Live broadcast method, live broadcast processing method, device and computer equipment | |
CN113453062B (en) | Video metadata acquisition and processing method, device, system and electronic equipment | |
WO2024046124A1 (en) | Video processing method and apparatus, and server | |
KR102613872B1 (en) | Server device, communication system, and non-transitory computer readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201020 |
|
RJ01 | Rejection of invention patent application after publication |