CN109600653B - Video file playing method and device and electronic equipment - Google Patents

Video file playing method and device and electronic equipment Download PDF

Info

Publication number
CN109600653B
CN109600653B CN201710923012.5A CN201710923012A CN109600653B CN 109600653 B CN109600653 B CN 109600653B CN 201710923012 A CN201710923012 A CN 201710923012A CN 109600653 B CN109600653 B CN 109600653B
Authority
CN
China
Prior art keywords
video
played
video file
scene information
playing
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.)
Active
Application number
CN201710923012.5A
Other languages
Chinese (zh)
Other versions
CN109600653A (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201710923012.5A priority Critical patent/CN109600653B/en
Publication of CN109600653A publication Critical patent/CN109600653A/en
Application granted granted Critical
Publication of CN109600653B publication Critical patent/CN109600653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

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

Abstract

The embodiment of the invention provides a method, a device and electronic equipment for playing a video file, wherein in the method, the video file to be played is obtained firstly; judging whether the video file to be played carries different scene information or not; if yes, dividing the video file to be played into a first number of video segments based on different scene information; then, a second number of video playing windows are created; and distributing the first number of video clips to the second number of video playing windows respectively for playing, wherein the second number is a positive integer greater than 2. The scheme provided by the embodiment of the invention can reduce the playing time of the video file to be played, so that a video viewer can acquire the video content information in the video file to be played in a short time.

Description

Video file playing method and device and electronic equipment
Technical Field
The present invention relates to the field of video playing technologies, and in particular, to a method and an apparatus for playing a video file, and an electronic device.
Background
Video files mainly refer to multimedia files containing audio and video information, and of course, a video file may also be a multimedia file containing video information but not audio information, for example, a video file contains a plurality of video frames but not audio frames.
When a video file is played, the video file is usually played directly in a video playing window. However, for some special video files such as video recording, a viewer of the video file may want to completely browse video contents in the video file in a short time through a video playing device, but in the prior art, one video file is played through one video playing window, which results in a long playing time of the video file.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for playing a video file and electronic equipment, so that when the video file to be played is played, the video file to be played is divided into a plurality of video segments, and the plurality of video segments obtained by division are distributed to a plurality of video playing windows for synchronous playing, thereby achieving the purpose of reducing the playing time of the video file and enabling a viewer to browse the video content in the video file to be played in a short time. The specific technical scheme is as follows:
to achieve the above object, in a first aspect, an embodiment of the present invention provides a method for playing a video file, where the method includes:
obtaining a video file to be played;
judging whether the video file to be played carries different scene information or not;
if yes, dividing the video file to be played into a first number of video segments based on the different scene information;
creating a second number of video playing windows, wherein the second number is a positive integer greater than 2;
and distributing the first number of video clips to the second number of video playing windows respectively for playing.
Optionally, the step of dividing the video file to be played into a first number of video segments based on the different scene information includes:
and dividing the video file to be played into a first number of video segments based on the different scene information and at least one of geographical position information, camera identification information, acquisition time information and monitoring environment information.
Optionally, the video file to be played contains a private frame;
the step of judging whether the video file to be played carries different scene information includes:
judging whether all the private frames of the video file to be played carry different scene information or not;
if the video file to be played carries different scene information, judging that the video file to be played carries different scene information;
and if not, judging that the video file to be played does not carry different scene information.
Optionally, the step of determining whether the video file to be played carries different scene information includes:
judging whether all video frames of the video file to be played carry different scene information or not;
if the video file to be played carries different scene information, judging that the video file to be played carries different scene information;
and if not, judging that the video file to be played does not carry different scene information.
Optionally, the step of dividing the video file to be played into a first number of video segments based on the different scene information includes:
dividing the video file to be played into a first number of video segments according to the division modes that the scene information corresponding to each video frame in the same video segment is the same and the scene information corresponding to the video frames in the adjacent video segments is different;
or the like, or, alternatively,
and dividing the video file to be played into a first number of video segments according to a dividing mode that the playing time length corresponding to the video segments is greater than a preset time length threshold value, and the scene information corresponding to the last video frame in the previous video segment in the adjacent video segments is different from the scene information corresponding to the first video frame in the next video segment.
Optionally, before the step of creating the second number of video playing windows, the method further includes:
determining whether the first number is greater than a window number threshold,
if the window number threshold value is larger than the threshold value, the step of creating a second number of video playing windows is executed by taking the window number threshold value as the second number;
and if the number is not larger than the first number, taking the first number as a second number, and executing the step of creating the second number of video playing windows.
In a second aspect, an embodiment of the present invention provides a device for playing a video file, where the device includes:
the acquisition module is used for acquiring a video file to be played;
the first judgment module is used for judging whether the video file to be played carries different scene information or not;
the dividing module is used for dividing the video file to be played into a first number of video segments based on the different scene information under the condition that the judgment result of the first judging module is yes;
the creating module is used for creating a second number of video playing windows, wherein the second number is a positive integer greater than 2;
and the playing module is used for respectively distributing the first number of video clips to the second number of video playing windows for playing.
Optionally, the dividing module is specifically configured to:
and under the condition that the judgment result of the first judgment module is yes, dividing the video file to be played into a first number of video segments based on the different scene information and at least one of geographic position information, camera identification information, acquisition time information and monitoring environment information.
Optionally, the video file to be played contains a private frame;
the first judging module is specifically configured to:
judging whether all the private frames of the video file to be played carry different scene information or not; if the video file to be played carries different scene information, judging that the video file to be played carries different scene information; and if not, judging that the video file to be played does not carry different scene information.
Optionally, the first determining module is specifically configured to:
judging whether all video frames of the video file to be played carry different scene information or not; if the video file to be played carries different scene information, judging that the video file to be played carries different scene information; and if not, judging that the video file to be played does not carry different scene information.
Optionally, the dividing module is specifically configured to:
under the condition that the judgment result of the first judgment module is yes, dividing the video file to be played into a first number of video segments according to the division modes that the scene information corresponding to each video frame in the same video segment is the same and the scene information corresponding to the video frames in the adjacent video segments is different;
or the like, or, alternatively,
and under the condition that the judgment result of the first judgment module is yes, dividing the video file to be played into a first number of video segments according to a dividing mode that the playing time length corresponding to the video segments is greater than a preset time length threshold value, and the scene information corresponding to the last video frame in the previous video segment in the adjacent video segments is different from the scene information corresponding to the first video frame in the next video segment.
Optionally, the apparatus further comprises:
a second judging module, configured to, before creating a second number of video playing windows, judge whether the first number is greater than a window number threshold, and if so, take the window number threshold as the second number, and perform the step of creating the second number of video playing windows; and if the number is not larger than the first number, taking the first number as a second number, and executing the step of creating the second number of video playing windows.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory,
the memory is used for storing program codes;
and the processor is used for realizing the method steps of the playing method of any video file when executing the program codes stored in the memory.
As can be seen from the above, in the scheme provided in the embodiment of the present invention, after the video file to be played is obtained, it is first determined whether the video file to be played carries different scene information; if yes, dividing the video file to be played into a first number of video segments based on different scene information; and then creating a second number of video playing windows, and distributing the first number of video clips to the second number of video playing windows for playing, wherein the second number is greater than 1. Compared with the prior art, in the scheme provided by the embodiment of the invention, under the condition that the video file to be played carries different scene information, the video file to be played is divided into a plurality of video segments according to the different scene information, and then the plurality of divided video segments are synchronously played in a multi-window manner. In addition, the video file to be played is divided based on the scene information, so that the video content in the same scene in the video file to be played can be continuously played in the same playing window, the video playing friendliness is high, and the user experience effect is ensured.
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 some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating a method for playing a video file according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an internal structure of a video file according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an internal structure of a private frame according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a video display interface according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a method for playing a video file according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a playing apparatus for playing a video file according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a playing apparatus for playing a video file according to another embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
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.
First, technical terms referred to in the present document will be briefly described below.
The scene may refer to a scene used by the video capture device to capture a video image when the video capture device is capturing a video, for example, for a monitoring device used for video monitoring, the scene may be a motion detection scene, a target tracking scene, an intrusion detection scene, and the like.
The scene information referred to in the present application document is information representing a scene corresponding to each video frame in the video file, and it needs to be described that the scene information may be original information directly showing the scene, for example, the scene information includes a field "motion detection"; the scene information may also be information of an identifier of a recorded scene, and the video playing device determines, according to a corresponding relationship between a preset identifier of a scene and the original information, the original information of the scene corresponding to a certain identifier, for example, for a certain identifier x, the video playing device searches a corresponding relationship table between the preset identifier of the scene and the original information, and determines that the original information of the scene corresponding to the identifier x is "target tracking".
It should be noted that the scene information referred to in this application document is information that is added to the video file by the device when the device generates the video file; for example, in the field of video surveillance and recording, when a monitoring device performs video surveillance on a certain scene, scene information corresponding to the scene is added to a video recording file collected by the monitoring device.
In order to solve the problem of long playing time caused by playing a video file to be played through a single window in the prior art, embodiments of the present invention provide a method and an apparatus for playing a video file, and an electronic device.
The present invention will be described in detail below with reference to specific examples.
The method for playing the video file provided by the embodiment of the invention can be applied to video playing equipment, and the video playing equipment can be a computer, a television and the like.
As shown in fig. 1, a method for playing a video file according to an embodiment of the present invention includes:
s101: and obtaining a video file to be played.
The video file to be played in the embodiment of the present invention may be acquired by one image acquisition device, for example, a video file captured by a certain monitoring device in a certain time period, or a complete video file obtained by combining a plurality of video files captured by the monitoring device in a plurality of time periods. The video file to be played may also be acquired by at least two image acquisition devices, for example, the video file 1 is acquired by a dome camera (dome camera) a, the video file 2 is acquired by a dome camera B, and the video file to be played may be obtained by combining the video file 1 and the video file 2.
For the video playing device, the video file to be played may be acquired by itself and stored locally, for example, the video playing device stores the video file a obtained by shooting locally, and when the video file a needs to be played, the video file to be played (video file a) is obtained locally; the video file to be played may also be sent to the video playing device by other devices, for example, after the video file B is collected by the video collecting device at the front end of the monitoring system, the video file B is sent to the video playing device at the rear end of the monitoring system, and the video playing device receives the video file to be played (video file B), that is, the video file to be played is obtained.
S102: and judging whether the video file to be played carries different scene information or not.
It should be noted that, for the video playing device, the video file to be played does not necessarily carry scene information, so in the embodiment of the present invention, in two cases, the determination result in step S102 is no: in one case, the video file to be played does not carry any scene information; in another case, the video file to be played carries scene information, but the video file to be played only carries one kind of scene information.
One implementation way for the video file to be played to carry the scene information may be to carry the scene information in a private frame of the video file to be played. It should be noted that the video file to be played necessarily includes a plurality of video frames and may also include audio frames, and more importantly, the video file to be played may also include private frames, or called private data. The private frames and the video frames have a corresponding relationship, one private frame may correspond to one video frame or at least two consecutive video frames, and one video frame corresponds to only one private frame. As shown in fig. 2, the video file to be played includes a plurality of video frames, and each video frame corresponds to an audio frame and a private frame.
In the video file, the private frame may be data that is additionally added to record other information besides the video frame and the audio frame; for example, the private frame may carry subtitle information, and when the video playing device plays a video file, subtitles may be displayed on the video playing window; for another example, in order to make the image of the object a displayed in the video playing window marked with a red box when the video file is played, the private frame may also carry data information corresponding to the red box.
Fig. 3 is a schematic diagram of an internal structure of a private frame according to an embodiment of the present invention, and as shown in fig. 3, the private frame may include a private frame header, a private frame type, private frame load information, and a header check, and further, the private frame header includes a start code, a frame length, a timestamp, and a header check. Wherein, the start code is data information representing that the frame data is a private frame; the frame length is the data length of the private frame; the time stamp represents the time information corresponding to the private frame, and can indicate the video frame corresponding to the private frame; the header check may be data for finally verifying whether the frame data is a private frame; the private frame type can carry scene information related in the embodiment of the invention, and the scene information is information carried in the private frame type; the private frame load information is data content carried in the private frame, such as the subtitle information and the data information corresponding to the red box; the check may be data information to verify the integrity of the private frame data.
Of course, fig. 3 is only an exemplary illustration of the private frame structure, and the specific structure of the private frame is not limited in the embodiment of the present invention, as long as the private frame carries scene information. For example, in a video file under the MPEG2 standard (a video coding standard), the above-mentioned scene information may be carried in the stream _ id field in the private frame.
Therefore, as an optional implementation manner of the embodiment of the present invention, in a case that the video file to be played contains a private frame, the step of determining whether the video file to be played carries different scene information (S102) may include:
judging whether all private frames of the video file to be played carry different scene information or not;
if the video file to be played carries different scene information, judging that the video file to be played carries different scene information;
and if not, judging that the video file to be played does not carry different scene information.
Judging whether all the private frames of the video file to be played carry different scene information, wherein the judgment result that all the private frames of the video file to be played carry different scene information is yes if two private frames exist in all the private frames of the video file to be played and the scene information carried by the two private frames are different, and the judgment result that all the private frames of the video file to be played carry different scene information is no if the two private frames exist.
For example, assuming that the internal composition of the video file to be played is as shown in fig. 2, it is obvious that some private frames carry scene information 1, some private frames carry scene information 2, and other private frames carry scene information m in the video file to be played corresponding to fig. 2, so that it can be determined that all the private frames of the video file to be played corresponding to fig. 2 carry different scene information, that is, it is determined that the video file to be played carries different scene information.
Another implementation manner for the video file to be played to carry the scene information may be to carry the scene information in the video frame of the video file to be played. For example, a designated field of any video frame may carry scene information. It will be understood by those skilled in the art that, in addition to carrying image data, a video frame may also carry description information of other corresponding video frames, where the description information may include the above-mentioned scene information for describing a scene corresponding to the video frame. For example, in a video file under the MPEG2 standard, a descriptor (descriptor) in a video frame may contain scene information.
Therefore, as another optional implementation manner of the embodiment of the present invention, the step of determining whether the video file to be played carries different scene information (S102) may include:
judging whether all video frames of the video file to be played carry different scene information or not;
if the video file to be played carries different scene information, judging that the video file to be played carries different scene information;
and if not, judging that the video file to be played does not carry different scene information.
Similarly, whether all video frames of the video file to be played carry different scene information is judged, which may be that whether two video frames exist in all video frames of the video file to be played, and the scene information carried by the two video frames is different; and if so, judging that all video frames of the video file to be played carry different scene information, otherwise, judging that all video frames of the video file to be played do not carry different scene information.
For example, in a video file to be played, video frames a1 to z1 all carry scene information 1, and video frames a2 to z2 all carry scene information 2, which indicates that all video frames of the video file to be played carry different scene information, that is, it can be determined that the video file to be played carries different scene information.
Since the scene information in the video file to be played may be carried in the private frame or the video frame, the two implementation manners may be combined together, that is, it is determined whether all the private frames of the video file to be played carry different scene information, and it is determined whether all the video frames of the video file to be played carry different scene information; if at least one of the two judgment results is yes, the video file to be played can be judged to carry different scene information; otherwise, judging that the video file to be played does not carry different scene information.
It should be noted that the scene information may be carried in other positions in the video file to be played, such as an audio frame, besides the private frame or the video frame, and the embodiment of the present invention does not limit the position of the video file to be played where the scene information is carried.
As shown in fig. 1, if the determination result of step S102 is yes, step S103 is executed: and dividing the video file to be played into a first number of video segments based on the different scene information.
It should be noted that, in the case that the determination result of step S102 shown in fig. 1 is no, the method flow points to "end", which indicates that when the determination result of step S102 is no, the video playing device may not divide the video file to be played, and in particular, in this case, the video playing device may play the video file to be played through a single window.
As can be seen from the foregoing description, whether the scene information is carried in the private frame of the video file to be played, or in the video frame, or in another location, each video frame in the video file to be played has its corresponding scene information. If the scene information is carried in the private frame of the video file to be played, if the timestamp corresponding to the video frame is within the range of the timestamp corresponding to a certain private frame, the scene information corresponding to the video frame is the scene information carried in the private frame; for another example, when the scene information is carried in a video frame of the video file to be played, the scene information corresponding to the video frame is the scene information carried in the video frame.
In addition, in the embodiment of the present invention, the first number is necessarily a positive integer greater than 1, but the first number is not a preset value, and the number of the divided video segments may be different for different video segments to be played. For example, if the video file a to be played contains 4 different scene information, the video file a to be played may be divided into 4 video segments; the video file B to be played contains 5 different scene information, and the video file B to be played can be divided into 5 video segments.
It should be emphasized that, in the embodiment of the present invention, the video file to be played is divided into the first number of video segments, in one case, each of the divided video segments itself is not a complete video file, the divided video file to be played is still a whole, and each of the divided video segments is only a part of the video file to be played; in another case, the divided video segments are respectively an integrated video file, and the video file to be played is respectively divided into a first number of sub-video files.
As an optional implementation manner of the embodiment of the present invention, the step of dividing the video file to be played into the first number of video segments (S103) based on the different scene information may include:
and dividing the video file to be played into a first number of video segments based on the different scene information and at least one of geographical position information, camera identification information, acquisition time information and monitoring environment information.
The geographical location information may be understood as shooting location information corresponding to each video frame in the video file to be played, for example, for a fixedly installed monitoring camera, shooting location information corresponding to the video frame shot by the monitoring camera is location information of the monitoring camera.
The camera identification information may be understood as identification information of a camera that collects each video frame in the video file to be played, for example, a Media Access Control (MAC) address of the camera, and the like.
The capture time information may be a capture time corresponding to each video frame in the video file to be played, for example, if the camera captures a video frame a in 100 milliseconds at 9, 30, 9, 5 min 3 s in 2017, 9, 30, 9, 5 min 3 s in 100 milliseconds, the capture time information of a of the video frame may be 100 milliseconds at 9, 2017.
The monitoring environment information may be a monitoring environment where the camera is located, such as a daytime environment, a nighttime environment, an indoor environment, and an outdoor environment, and more specifically, may also be environment information such as a garage and a market.
The geographic position information, the camera identification information, the acquisition time information, and the monitoring environment information may be carried in a private frame as the scene information, or may be carried in each video frame.
In addition, the manner of dividing the video file to be played based on the different scene information and at least one of the four kinds of information may be various, and the embodiment of the present invention does not limit the implementation manner of dividing the video file to be played based on the different scene information and at least one of the four kinds of information, and is only exemplified by the following examples.
In this example, if the video playing device divides the video file to be played based on the different scene information and the monitoring environment information, the video playing device may first pre-divide the video file to be played by using the different scene information to obtain a plurality of video segments; and then, subdividing the plurality of video segments obtained by the subdivision by using the monitoring environment information to obtain the first number of video segments, for example, judging whether two video frames respectively corresponding to the monitoring environment information of the daytime environment and the nighttime environment exist in each video segment obtained by the subdivision, if so, subdividing the video segment into a video segment in which the monitoring environments corresponding to all the video frames are the daytime environment and a video segment in which the monitoring environments corresponding to all the video frames are the nighttime environment.
As an optional implementation manner of the embodiment of the present invention, the step of dividing the video file to be played into the first number of video segments (S103) based on the different scene information may include:
the method comprises the steps of dividing a video file to be played into a first number of video segments according to the dividing modes that the corresponding scene information of each video frame in the same video segment is the same and the corresponding scene information of the video frames in the adjacent video segments is different.
It can be understood that, in this implementation manner, for each divided video segment, the scene information corresponding to all the video frames in the video segment is the same; and for any two video frames in the video file to be played, if the video segments in which the two video frames are respectively located are adjacent video segments, the scene information corresponding to the two video frames is different.
The adjacent video clips refer to two video clips, and satisfy the following conditions: in the process of playing the video file to be played in the single window, after the video clip played in the front is played, the video playing device can play the video clip played in the back next to the video clip played in the single window.
For this implementation, for example, the video playing device divides, according to the normal playing sequence of the video file to be played, all the continuous video frames corresponding to the same scene information into one video segment from the first video frame, divides the video segments corresponding to different scene information into different video segments, and obtains the first number of video segments according to the dividing manner.
For example, a video file to be played contains 100000 video frames, video frames with frame sequence numbers of 1 to 26000 correspond to scene information 1, video frames with frame sequence numbers of 26001 to 61000 correspond to scene information 2, video frames with frame sequence numbers of 61001 to 83000 correspond to scene information 3, video frames with frame sequence numbers of 83001 to 10000 correspond to scene information 4, each video frame with frame sequence numbers of 1 to 26000 can be divided into one video segment, each video frame with frame sequence numbers of 26001 to 61000 is divided into another video segment, each video frame with frame sequence numbers of 61001 to 83000 is divided into another video segment, each video frame with frame sequence numbers of 83001 to 83000 is divided into another video segment, and finally the video file to be played is divided into 4 video segments.
It should be noted that the to-be-played video file may include, in addition to the video frame, an audio frame and a private frame, and both the private frame and the audio frame have a corresponding relationship with the video frame, so that when the to-be-played video file including the audio frame and the private frame is divided, for each video frame, the corresponding private frame and the audio frame should be divided into the divided video segments.
It can be understood that, in the foregoing implementation manner, each video clip does not have two video frames respectively corresponding to different pieces of scene information, and dividing the video file to be played according to the foregoing implementation manner may possibly result in that the playing time of some video clips obtained by division is too short, so as to be another optional implementation manner of the embodiment of the present invention, the step of dividing the video file to be played into the first number of video clips (S103) based on the different pieces of scene information may further include:
and dividing the video file to be played into a first number of video segments according to a dividing mode that the playing time length corresponding to the video segments is greater than a preset time length threshold value and the scene information corresponding to the last video frame in the previous video segment in the adjacent video segments is different from the scene information corresponding to the first video frame in the next video segment.
In this implementation manner, the playing time length corresponding to any one of the divided video segments is greater than the preset time length threshold, and according to the playing sequence of the video file to be played, the scene information corresponding to the last video frame in any one of the video segments is different from the scene information corresponding to the first video frame in the adjacent video segment after the video segment. Of course, as shown in fig. 2, the playing duration corresponding to the video segment can be measured by the video timestamp span.
For this implementation, for example, for a video file to be played, according to a normal playing sequence of the video file to be played, a video playing device takes a first video frame of the video file to be played as a starting video frame, and then starts to search backward in sequence for a front-most ending video frame, where the ending video frame satisfies the following condition 1 or condition 2: the condition 1 is that the ending video frame is the last video frame of the video file to be played; condition 2, in the video file to be played, the scene information corresponding to the ending video frame and the next video frame are different; and the video playing time length corresponding to all the video frames is greater than the preset time length threshold value from the starting video frame to the ending video frame.
Then, the video playing device takes a video segment formed by all the video frames between the starting video frame and the ending video frame as a divided video segment. If the video frame exists behind the ending video frame, the next video frame behind the ending video frame is used as a new starting video frame, the step of sequentially searching for an ending video frame which is ahead is returned, and the latest searched ending video frame is guided to not exist any more behind the ending video frame.
For example, the video file to be played contains 100000 video frames, the video frames with frame serial numbers of 1 to 6000 correspond to the scene information 1, the video frames with frame serial numbers of 6001 to 26000 correspond to the scene information 2, the video frames with frame serial numbers of 26001 to 61000 correspond to the scene information 3, the video frames with frame serial numbers of 61001 to 83000 correspond to the scene information 4, the video frames with frame serial numbers of 83001 to 10000 correspond to the scene information 5, the playing time length of the video clip corresponding to the video frame with the frame sequence number of 1-6000 is less than the preset time length threshold, the playing time length of the video clip corresponding to the video frame with the frame sequence number of 6001-26000, the playing time length of the video clip corresponding to the video frame with the frame sequence number of 26001-61000, the playing time length of the video clip corresponding to the video frame with the frame sequence number of 61001-83000, and the playing time length of the video clip corresponding to the video frame with the frame sequence number of 83001-10000 are greater than the preset time length threshold.
Finally, the video playing device can divide each video frame with the frame sequence number of 1-26000 into one video segment, each video frame with the frame sequence number of 26001-61000 into another video segment, each video frame with the frame sequence number of 61001-83000 into another video segment, each video frame with the frame sequence number of 83001-10000 into another video segment, that is, the video file to be played is finally divided into 4 video segments.
S104: creating a second number of video playback windows, wherein the second number is a positive integer greater than 2.
The second number may be a fixed preset value, but the number of the video segments finally obtained by dividing is different for different video files to be played, and if the fixedly set second number is greater than the first number, a situation that video playing windows cannot be allocated to the video segments inevitably exists in step S105, which causes a problem of resource waste caused by creating too many video playing windows.
Therefore, in order to avoid the problem of resource waste, in the embodiment of the present invention, a value between 2 and the first number may be selected as the second number. For example, if the first number is 6, the second number may be any positive integer between 2 and 6, and the video playing device randomly selects 4 from 2 to 6 as the second number before executing step S104, and then executes the above step of creating the second number of video playing windows S104.
It should be noted that, in the embodiment of the present invention, the created video playing windows are windows that are simultaneously displayed on a video display interface of the video playing device, and the created video playing windows are not overlapped, so that a video viewer can simultaneously see a video picture in each video playing window. For example, as shown in fig. 4, the created 4 video playing windows do not overlap on the video display interface.
S105: and distributing the first number of video clips to the second number of video playing windows respectively for playing.
After the video clips are distributed to the video playing windows, the video playing windows simultaneously start to play the video clips distributed to the video playing windows; of course, for any video playing window to which at least two video clips are allocated, it needs to play the at least two video clips to which it is allocated in sequence.
It should be noted that, when the second number is not greater than the first number, in each of the video playing windows of the second number, at least one video clip is played, and one video clip is played in only one video playing window. For example, if the first number and the second number are both 4, the divided 4 video segments are respectively allocated to the created 4 video playing windows to start playing at the same time.
When the first number is greater than the second number, the video playing device may randomly allocate the first number of video segments to the second number of video segments for playing according to a principle that each video playing window is allocated with at least one video segment.
Certainly, in order to reduce the playing time of the video file to be played after division as much as possible, when the first number is greater than the second number, as an alternative of the embodiment of the present invention, the video playing device may determine all allocation schemes according to a principle that each video playing window is allocated with at least one video segment; and then selecting a distribution scheme with the shortest playing time of the divided video files to be played from all the schemes as a target distribution scheme, and distributing the first number of video clips to the second number of video playing windows for playing according to the target distribution scheme.
The divided video files to be played have the playing time length as follows: and under the specific distribution scheme, the playing time corresponding to the video playing window of the video clip is played finally. For example, video playing devices create video playing windows 1 to 4, the playing time lengths corresponding to the divided video segments 1 to 6 are 10 minutes, 12 minutes, 16 minutes, 5 minutes, 3 minutes and 13 minutes, respectively, and the current allocation scheme is as follows: video segments 3 and 6 are allocated in video playback windows 1 and 2, respectively, video segments 1 and 4 are allocated in video playback window 3, and video segments 2 and 5 are allocated in video playback window 4; after the video playing windows start to play the video segments allocated to each video playing window at the same time, obviously, the video playing window 1 must finish playing the video segments at last, and the playing time corresponding to the video playing window 1 is 16 minutes, that is, the playing time of the divided video file to be played is 16 minutes.
As another alternative of the embodiment of the present invention, when the video file to be played is divided into the first number of video segments according to the dividing manner that the scene information corresponding to each video frame in the same video segment is the same and the scene information corresponding to the video frames in the adjacent video segments is different, the video playing device may first select the first second number of video segments with the highest priority according to the priority of the preset scene information, and then respectively allocate the selected second number of video segments to the second number of video playing windows.
Then, the video playing device determines the video playing window with the shortest playing time corresponding to the distributed video segments as the target video playing window from the current video playing windows, distributes the video segments which are not distributed currently and have the highest priority to the current target playing window, and returns to execute the step of determining the video playing window with the shortest playing time corresponding to the distributed video segments as the target video playing window from the current video playing windows until all the video segments are distributed if the video segments which are not distributed currently exist.
The priority of the scene information may be set in advance according to the importance of each scene information, and the more important the scene information is, the higher the priority of the scene information is.
It can be understood that, in the embodiment of the present invention, after the video file to be played is divided, the video playing device starts to play the divided video segments in at least two video playing windows at the same time, and since the playing time of the video segment allocated to each video playing window is less than the playing time of the video file to be played before the division, the playing time of the video file to be played can be reduced by applying the scheme. In an extreme case, assuming that the second number is M and the playing time duration corresponding to each video clip is the same, by adopting the scheme of the embodiment of the present invention, the playing time duration of the video file to be played can be reduced to the original playing time duration
Figure BDA0001427080440000161
And the playing time of the video file to be played is greatly shortened.
For example, for a video file a to be played, when the video file a to be played is played through a video playing window, the playing time of the video file a to be played is 60 minutes; when the video file a to be played is played according to the scheme provided by the embodiment of the present invention, the video file a to be played is divided into 4 video segments with 15 minutes of playing time, and the divided 4 video segments are respectively played at the same time in the created 4 video playing windows, so that the playing time of the video file a to be played is 15 minutes.
Therefore, compared with the prior art, in the scheme provided by this embodiment, under the condition that the video file to be played carries different scene information, the video file to be played is divided into a plurality of video segments according to the different scene information, and then the plurality of divided video segments are synchronously played in multiple windows. In addition, the video file to be played is divided based on the scene information, so that the video content in the same scene in the video file to be played can be continuously played in the same playing window, the video playing friendliness is high, and the user experience effect is ensured.
As mentioned above, the second number is usually between 2 and the first number, and if the first number is too large, the second number is likely to be larger. For the video playing device, the size of the displayable display interface has an upper limit value, and it can be understood that if the second number is too large, each video playing window may be too small, so that the viewer of the video to be played cannot clearly see the video picture played by the video playing window. In order to reasonably control the value of the second number, a window number threshold is originally set in the embodiment of the present invention, and the window number threshold is an upper limit value of a video playing window that can be created by the video playing device.
The window number threshold may be set empirically, specifically, according to the size of the display interface of the video playing device, the definition of the video file to be played, and the preference of the user.
In this embodiment of the present invention, before the step of creating the second number of video playing windows (S104), the method may further include:
determining whether the first number is greater than a window number threshold,
if the window number threshold value is larger than the threshold value, the step of creating a second number of video playing windows (S104) is executed by taking the window number threshold value as the second number;
if not, the first number is used as the second number, and the step of creating the second number of video playing windows (S104) is executed.
That is, in the embodiment of the present invention, on the basis of the embodiment of the method shown in fig. 1, as shown in fig. 5, the method for playing the video file may be:
s201: and obtaining a video file to be played.
S202: and judging whether the video file to be played carries different scene information or not.
If the judgment result of the step S202 is yes, the step S203 is executed: and dividing the video file to be played into a first number of video segments based on the different scene information.
S204: judging whether the first number is larger than a window number threshold value or not; if so, taking the window quantity threshold value as a second quantity; if not, the first number is taken as the second number.
When the first number is greater than the window number threshold, setting the second number as the window number threshold; the second number is set to the first number when the first number is not greater than the window number threshold. Illustratively, the window number threshold is 4; if the first number is 6, setting the second number to be 4; if the first number is 3, the second number is set to 3.
S205: a second number of video playback windows is created, wherein the second number is not greater than the first number.
S206: and distributing the first number of video clips to the second number of video playing windows respectively for playing.
In the embodiment of the present invention, steps S201 to S203, S205, and S206 are respectively the same as steps S101 to S105 in the method embodiment shown in fig. 1, and specific contents and explanations of steps S201 to S203, S205, and S206 may refer to steps S101 to S105 in the method embodiment shown in fig. 1, which is not described herein again.
The following briefly describes a playing method of a video file according to an embodiment of the present invention by using a specific example.
The video playing device is a back-end device of the monitoring system, and receives a video file X to be played sent by a front-end device ball machine of the monitoring system, and the internal composition of the video file X to be played is shown in fig. 2. The video playing device first determines whether all the private frames of the video file to be played carry different scene information, and obviously, as shown in fig. 2, the scene information carried in all the private frames of the video file to be played includes scene information 1 and 2 … … m, so the video playing device determines that all the private frames of the video file to be played carry different scene information.
Then, the video playing device determines, for each piece of scene information in the pieces of scene information 1 and 2 … … m, the playing durations of the video segments corresponding to all the video frames corresponding to the piece of scene information, for example, whether the video timestamp span in fig. 2 is smaller than a preset threshold, where the determination result indicates that the video timestamp spans T1 and T2 … … Tm are not smaller than the preset threshold. In this case, the video playback device divides the video file X to be played into m video segments corresponding to the video timestamp spans T1 and T2 … … Tm, respectively.
Assuming that the threshold value of the number of windows is 4, and the value m is also 4, the video playing device sets the second number to 4 at this time, creates 4 video playing windows, and allocates the 4 video segments to the 4 video playing windows respectively to start playing synchronously.
Corresponding to the embodiment of the method shown in fig. 1, an embodiment of the present invention further provides a device for playing a video file, and as shown in fig. 6, the device includes:
an obtaining module 110, configured to obtain a video file to be played;
a first determining module 120, configured to determine whether the video file to be played carries different scene information;
a dividing module 130, configured to divide the video file to be played into a first number of video segments based on the different scene information if the determination result of the first determining module is yes;
a creating module 140, configured to create a second number of video playing windows, where the second number is a positive integer greater than 2;
the playing module 150 is configured to allocate the first number of video segments to the second number of video playing windows respectively for playing.
As an implementation manner of the embodiment of the present invention, the dividing module 130 may be specifically configured to:
and under the condition that the judgment result of the first judgment module is yes, dividing the video file to be played into a first number of video segments based on the different scene information and at least one of geographic position information, camera identification information, acquisition time information and monitoring environment information.
As an implementation manner of the embodiment of the present invention, the video file to be played includes a private frame;
the first determining module 120 may be specifically configured to:
judging whether all the private frames of the video file to be played carry different scene information or not; if the video file to be played carries different scene information, judging that the video file to be played carries different scene information; and if not, judging that the video file to be played does not carry different scene information.
As another implementation manner of the embodiment of the present invention, the first determining module 120 may be specifically configured to:
judging whether all video frames of the video file to be played carry different scene information or not; if the video file to be played carries different scene information, judging that the video file to be played carries different scene information; and if not, judging that the video file to be played does not carry different scene information.
As an implementation manner of the embodiment of the present invention, the dividing module may be specifically configured to:
under the condition that the judgment result of the first judgment module is yes, dividing the video file to be played into a first number of video segments according to the division modes that the scene information corresponding to each video frame in the same video segment is the same and the scene information corresponding to the video frames in the adjacent video segments is different;
or the like, or, alternatively,
and under the condition that the judgment result of the first judgment module is yes, dividing the video file to be played into a first number of video segments according to a dividing mode that the playing time length corresponding to the video segments is greater than a preset time length threshold value, and the scene information corresponding to the last video frame in the previous video segment in the adjacent video segments is different from the scene information corresponding to the first video frame in the next video segment.
As an implementation manner of the embodiment of the present invention, specifically, corresponding to the method embodiment shown in fig. 5, as shown in fig. 7, the apparatus may further include:
a second determining module 160, configured to determine, before creating a second number of video playing windows, whether the first number is greater than a window number threshold, and if so, take the window number threshold as the second number, and perform the step of creating the second number of video playing windows; and if the number is not larger than the first number, taking the first number as a second number, and executing the step of creating the second number of video playing windows.
As can be seen from the above, in the scheme provided in the embodiment of the present invention, under the condition that the video file to be played carries different scene information, the video file to be played is divided into a plurality of video segments according to the different scene information, and then the divided video segments are synchronously played in multiple windows. In addition, the video file to be played is divided based on the scene information, so that the video content in the same scene in the video file to be played can be continuously played in the same playing window, the video playing friendliness is high, and the user experience effect is ensured.
In accordance with any of the above method embodiments, the present invention further provides an electronic device, as shown in fig. 8, including a processor 210 and a memory 220, wherein,
a memory 220 for storing a computer program;
the processor 210, when executing the program stored in the memory 220, implements the following steps:
obtaining a video file to be played;
judging whether the video file to be played carries different scene information or not;
if yes, dividing the video file to be played into a first number of video segments according to a preset division rule based on the different scene information;
creating a second number of video playing windows, wherein the second number is a positive integer greater than 2;
and distributing the first number of video clips to the second number of video playing windows respectively for playing.
For specific implementation and related explanation of each step of the method, reference may be made to the method embodiment shown in fig. 1 or 5, which is not described herein again.
The electronic device may be provided with a communication interface for realizing communication between the electronic device and another device.
The processor 210, the communication interface, and the memory 220 are configured to communicate with each other via a communication bus, where the communication bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc.
The Memory 220 may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor 210 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
Therefore, compared with the prior art, in the scheme provided by this embodiment, under the condition that the video file to be played carries different scene information, the video file to be played is divided into a plurality of video segments according to the different scene information, and then the plurality of divided video segments are synchronously played in multiple windows. In addition, the video file to be played is divided based on the scene information, so that the video content in the same scene in the video file to be played can be continuously played in the same playing window, the video playing friendliness is high, and the user experience effect is ensured.
It is 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.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the device and electronic apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (11)

1. A method for playing a video file, the method comprising:
obtaining a video file to be played;
judging whether the video file to be played carries different scene information or not; the scene information is information representing scenes corresponding to all video frames in the video file to be played, and the scene information is information added into the video file by the video acquisition equipment when the video acquisition equipment generates the video file; the scene is used for acquiring a video picture when the video acquisition equipment shoots a video, and comprises at least one of a mobile detection scene, a target tracking scene and an intrusion detection scene;
if yes, dividing the video file to be played into a first number of video segments based on the different scene information;
creating a second number of video playing windows, wherein the second number is a positive integer greater than 2;
distributing the first number of video clips to the second number of video playing windows respectively for playing;
the step of dividing the video file to be played into a first number of video segments based on the different scene information includes:
and dividing the video file to be played into a first number of video segments according to a dividing mode that the playing time length corresponding to the video segments is greater than a preset time length threshold value, and the scene information corresponding to the last video frame in the previous video segment in the adjacent video segments is different from the scene information corresponding to the first video frame in the next video segment.
2. The method of claim 1,
the step of dividing the video file to be played into a first number of video segments based on the different scene information includes:
and dividing the video file to be played into a first number of video segments based on the different scene information and at least one of geographical position information, camera identification information, acquisition time information and monitoring environment information.
3. The method according to claim 1, wherein the video file to be played contains private frames;
the step of judging whether the video file to be played carries different scene information includes:
judging whether all the private frames of the video file to be played carry different scene information or not;
if the video file to be played carries different scene information, judging that the video file to be played carries different scene information;
and if not, judging that the video file to be played does not carry different scene information.
4. The method of claim 1,
the step of judging whether the video file to be played carries different scene information includes:
judging whether all video frames of the video file to be played carry different scene information or not;
if the video file to be played carries different scene information, judging that the video file to be played carries different scene information;
and if not, judging that the video file to be played does not carry different scene information.
5. The method of any of claims 1-4, wherein prior to the step of creating a second number of video playback windows, the method further comprises:
determining whether the first number is greater than a window number threshold,
if the window number threshold value is larger than the threshold value, the step of creating a second number of video playing windows is executed by taking the window number threshold value as the second number;
and if the number is not larger than the first number, taking the first number as a second number, and executing the step of creating the second number of video playing windows.
6. An apparatus for playing a video file, the apparatus comprising:
the acquisition module is used for acquiring a video file to be played;
the first judgment module is used for judging whether the video file to be played carries different scene information or not; the scene information is information representing scenes corresponding to all video frames in the video file to be played, and the scene information is information added into the video file by the video acquisition equipment when the video acquisition equipment generates the video file; the scene is used for acquiring a video picture when the video acquisition equipment shoots a video, and comprises at least one of a mobile detection scene, a target tracking scene and an intrusion detection scene;
the dividing module is used for dividing the video file to be played into a first number of video segments based on the different scene information under the condition that the judgment result of the first judging module is yes;
the creating module is used for creating a second number of video playing windows, wherein the second number is a positive integer greater than 2;
the playing module is used for respectively distributing the first number of video clips to the second number of video playing windows for playing;
the dividing module is specifically configured to:
and under the condition that the judgment result of the first judgment module is yes, dividing the video file to be played into a first number of video segments according to a dividing mode that the playing time length corresponding to the video segments is greater than a preset time length threshold value, and the scene information corresponding to the last video frame in the previous video segment in the adjacent video segments is different from the scene information corresponding to the first video frame in the next video segment.
7. The apparatus according to claim 6, wherein the partitioning module is specifically configured to:
and under the condition that the judgment result of the first judgment module is yes, dividing the video file to be played into a first number of video segments based on the different scene information and at least one of geographic position information, camera identification information, acquisition time information and monitoring environment information.
8. The apparatus according to claim 6, wherein the video file to be played contains private frames;
the first judging module is specifically configured to:
judging whether all the private frames of the video file to be played carry different scene information or not; if the video file to be played carries different scene information, judging that the video file to be played carries different scene information; and if not, judging that the video file to be played does not carry different scene information.
9. The apparatus of claim 6,
the first judging module is specifically configured to:
judging whether all video frames of the video file to be played carry different scene information or not; if the video file to be played carries different scene information, judging that the video file to be played carries different scene information; and if not, judging that the video file to be played does not carry different scene information.
10. The apparatus of any of claims 6-9, further comprising:
a second judging module, configured to, before creating a second number of video playing windows, judge whether the first number is greater than a window number threshold, and if so, take the window number threshold as the second number, and perform the step of creating the second number of video playing windows; and if the number is not larger than the first number, taking the first number as a second number, and executing the step of creating the second number of video playing windows.
11. An electronic device comprising a processor and a memory,
the memory is used for storing programs;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
CN201710923012.5A 2017-09-30 2017-09-30 Video file playing method and device and electronic equipment Active CN109600653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710923012.5A CN109600653B (en) 2017-09-30 2017-09-30 Video file playing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710923012.5A CN109600653B (en) 2017-09-30 2017-09-30 Video file playing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN109600653A CN109600653A (en) 2019-04-09
CN109600653B true CN109600653B (en) 2021-04-20

Family

ID=65956063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710923012.5A Active CN109600653B (en) 2017-09-30 2017-09-30 Video file playing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109600653B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112135179A (en) * 2020-09-11 2020-12-25 游艺星际(北京)科技有限公司 Video playing method and device, electronic equipment and storage medium
CN112770167A (en) * 2020-12-21 2021-05-07 深圳Tcl新技术有限公司 Video display method and device, intelligent display terminal and storage medium
CN113766325B (en) * 2021-08-11 2022-07-12 珠海格力电器股份有限公司 Video playing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488529A (en) * 2013-09-06 2014-01-01 上海骋娱传媒技术有限公司 Method and equipment for controlling access of video resources
CN103596044A (en) * 2013-11-22 2014-02-19 深圳创维数字技术股份有限公司 Method, device and system for processing and displaying video file
KR101437584B1 (en) * 2013-02-27 2014-09-05 부경대학교 산학협력단 An automatical shot change detection device and shot change detection result identification convenience improvement show device on digital surveillance camera system
CN104581380A (en) * 2014-12-30 2015-04-29 联想(北京)有限公司 Information processing method and mobile terminal
CN106888169A (en) * 2017-01-06 2017-06-23 腾讯科技(深圳)有限公司 Video broadcasting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101437584B1 (en) * 2013-02-27 2014-09-05 부경대학교 산학협력단 An automatical shot change detection device and shot change detection result identification convenience improvement show device on digital surveillance camera system
CN103488529A (en) * 2013-09-06 2014-01-01 上海骋娱传媒技术有限公司 Method and equipment for controlling access of video resources
CN103596044A (en) * 2013-11-22 2014-02-19 深圳创维数字技术股份有限公司 Method, device and system for processing and displaying video file
CN104581380A (en) * 2014-12-30 2015-04-29 联想(北京)有限公司 Information processing method and mobile terminal
CN106888169A (en) * 2017-01-06 2017-06-23 腾讯科技(深圳)有限公司 Video broadcasting method and device

Also Published As

Publication number Publication date
CN109600653A (en) 2019-04-09

Similar Documents

Publication Publication Date Title
CN109089154B (en) Video extraction method, device, equipment and medium
CN109089127B (en) Video splicing method, device, equipment and medium
US20190253474A1 (en) Media production system with location-based feature
US7912297B2 (en) Method of indexing image hierarchically and apparatus therefor
CN109600653B (en) Video file playing method and device and electronic equipment
CN108989830A (en) A kind of live broadcasting method, device, electronic equipment and storage medium
CN111050205A (en) Video clip acquisition method, device, apparatus, storage medium, and program product
US20150104149A1 (en) Video summary apparatus and method
US10021433B1 (en) Video-production system with social-media features
US9621929B1 (en) Method of video content selection and display
WO2017092333A1 (en) Method and device for generation and playback of video
CN110968391A (en) Screenshot method, screenshot device, terminal equipment and storage medium
CN106385613B (en) Control the method and device that barrage plays
KR102352955B1 (en) Method and Apparatus for Convenient TV Viewing Support based on Highlight Video using Pose Recognition Technique
CN105959805B (en) Television program playing method and device
CN108540817B (en) Video data processing method, device, server and computer readable storage medium
CN111741247A (en) Video playback method and device and computer equipment
CN112565886A (en) Video frame extraction method and device, electronic equipment and readable storage medium
US20170019713A1 (en) Video production system with content extraction feature
US20050283793A1 (en) Advertising detection method and related system for detecting advertising according to specific beginning/ending images of advertising sections
CN112804545B (en) Slow live broadcast processing method and system based on live broadcast streaming frame extraction algorithm
CN104244098A (en) Content providing method, terminal, server and system
CN110248208B (en) Video playing method and device, electronic equipment and storage medium
CN113596582A (en) Video preview method and device and electronic equipment
CN111246234B (en) Method, apparatus, electronic device and medium for real-time playing

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