CN113055612A - Video playing method, device, electronic equipment, system and medium - Google Patents

Video playing method, device, electronic equipment, system and medium Download PDF

Info

Publication number
CN113055612A
CN113055612A CN201911376887.3A CN201911376887A CN113055612A CN 113055612 A CN113055612 A CN 113055612A CN 201911376887 A CN201911376887 A CN 201911376887A CN 113055612 A CN113055612 A CN 113055612A
Authority
CN
China
Prior art keywords
time period
video
splicing
candidate
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911376887.3A
Other languages
Chinese (zh)
Other versions
CN113055612B (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201911376887.3A priority Critical patent/CN113055612B/en
Publication of CN113055612A publication Critical patent/CN113055612A/en
Application granted granted Critical
Publication of CN113055612B publication Critical patent/CN113055612B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/74Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/7867Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the application discloses a video playing method, a video playing device, electronic equipment, a video playing system and a video playing medium. The method comprises the following steps: taking the video source with overlapping acquisition time period and time period to be inquired as a candidate video source; selecting a splicing time period from the acquisition time periods of the candidate video sources according to the time period to be inquired; splicing the selected at least two splicing time periods to obtain a virtual time axis; the virtual time axis and the time period to be inquired are the same in duration; and playing the spliced video segment of the at least two candidate video sources in the splicing time period according to the virtual time axis. According to the method and the device, the videos of the time period to be inquired are obtained by splicing the video segments in the candidate video sources, so that when the videos are watched under the distribution of the multiple video sources, the duration of searching for watching the redundancy and the video segments is reduced while the whole content is watched, the watching efficiency of a user is improved, and the watching experience of the user is improved.

Description

Video playing method, device, electronic equipment, system and medium
Technical Field
Embodiments of the present invention relate to the field of video display technologies, and in particular, to a video playing method, an apparatus, an electronic device, a system, and a medium.
Background
With the increasing security awareness, it has become increasingly popular to provide monitoring systems in public areas. Usually, a plurality of monitoring devices are disposed in a monitoring system to collect video images, and a management platform of the monitoring system can access and play the video images of a plurality of video sources.
In the prior art, when viewing video images on a plurality of video sources, each video segment generally needs to be played one by one, when the content of the currently viewed video segment is missing, other video segments need to be viewed one by one to search and view the missing content, the time consumption is long, meanwhile, repeated viewing of a large amount of content exists, and poor viewing experience is brought to users.
Disclosure of Invention
The embodiment of the application provides a video playing method, a video playing device, electronic equipment, a video playing system and a video playing medium, so that when a video segment under the distribution of multiple video sources is watched, the watching redundancy and the searching time length are reduced while the watching of the whole content is ensured, and the watching efficiency is improved.
In a first aspect, an embodiment of the present application provides a video playing method, including:
taking the video source with overlapping acquisition time period and time period to be inquired as a candidate video source;
selecting a splicing time period from the acquisition time periods of the candidate video sources according to the time period to be queried;
splicing the selected at least two splicing time periods to obtain a virtual time axis; the virtual time axis and the time period to be inquired have the same duration;
and playing a spliced video segment of at least two candidate video sources in the splicing time period according to the virtual time axis.
In a second aspect, an embodiment of the present application further provides a video playing apparatus, including:
the candidate video source determining module is used for taking a video source with overlapping between the acquisition time period and the time period to be inquired as a candidate video source;
the splicing time period selection module is used for selecting a splicing time period from the acquisition time periods of the candidate video sources according to the time period to be inquired;
the virtual time axis obtaining module is used for splicing the selected at least two splicing time periods to obtain a virtual time axis; the virtual time axis and the time period to be inquired have the same duration;
and the video playing module is used for playing a spliced video segment of at least two candidate video sources in the splicing time period according to the virtual time axis.
In a third aspect, an embodiment of the present application further provides an electronic device, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement a video playing method as provided in an embodiment of the first aspect.
In a fourth aspect, an embodiment of the present application further provides a video management system, which includes at least two video capturing apparatuses and the electronic device provided in the embodiment of the third aspect.
In a fifth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a video playing method as provided in the first aspect.
According to the method and the device, the video source with overlapping acquisition time period and time period to be inquired is used as a candidate video source; selecting a splicing time period from the acquisition time periods of the candidate video sources according to the time period to be inquired; splicing the selected at least two splicing time periods to obtain a virtual time axis; the virtual time axis and the time period to be inquired are the same in duration; and playing a spliced video segment of the at least two candidate video sources in the splicing time period according to the virtual time axis. According to the technical scheme, the videos of the time period to be inquired are obtained by splicing the video segments in the candidate video sources, so that when the videos are watched under the distribution of the multiple video sources, the duration of looking for the redundancy and the video segments is reduced while the whole content is watched, the watching efficiency of a user is improved, and the watching experience of the user is improved.
Drawings
Fig. 1 is a flowchart of a video playing method according to a first embodiment of the present application;
fig. 2 is a flowchart of a video playing method in the second embodiment of the present application;
fig. 3 is a flowchart of a video playing method in the third embodiment of the present application;
fig. 4 is a structural diagram of a video playback device in a fourth embodiment of the present application;
fig. 5 is a block diagram of an electronic device in a fifth embodiment of the present application.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a video playing method in one embodiment of the present application, where the embodiment of the present application is applied to a case where a user watches a video segment collected by multiple video sources in the same time period, and the method is executed by a video playing apparatus, which is implemented by software and/or hardware and is specifically configured in an electronic device. The electronic device can be a terminal device such as a smart phone or a personal computer, and can also be a server.
A video playing method as shown in fig. 1 includes:
and S110, taking the video source with the overlapped acquisition time period and the time period to be inquired as a candidate video source.
The acquisition time period can be understood as the time period covered by the video data acquisition of the video source; the time period to be queried may be a time period corresponding to a video clip that the user wants to play. The time period to be queried can be determined by inputting in a human-computer interaction interface of the electronic device by a user.
It can be understood that when an overlap exists between the acquisition time period corresponding to the video source and the time period to be queried, it is indicated that the video source stores therein the video segments corresponding to at least part of the time period within the time period to be queried, and therefore, the video source having the video segments of at least part of the time period within the time period to be queried is taken as a candidate video source, so as to acquire the video segments associated with the time period to be queried from the candidate video source.
And S120, selecting a splicing time period from the acquisition time periods of the candidate video sources according to the time period to be inquired.
Illustratively, a time period which is overlapped with the time period to be queried and is not overlapped with the existing splicing time period is obtained from the acquisition time period of the candidate video source as the splicing time period of the candidate video source.
Specifically, a time period to be queried is taken as a missing time period; acquiring one candidate video source as a current video source; determining a time period in which the acquisition time period and the missing time period of the current video source are overlapped, and taking the time period as a splicing time period of the current video source; removing the existing splicing time periods from the missing time periods to update the missing time periods; and acquiring the next candidate video source as the current video source, and returning to execute the splicing time period determination operation until the missing time period is zero.
It can be understood that, according to the time period to be queried, the splicing time period is selected from the acquisition time periods of at least one candidate video source, so that the associated video clips are acquired from a plurality of candidate video sources, the integrity of the video clips in the time period to be queried is guaranteed, and meanwhile, the basis is provided for the interception time and the splicing sequence of different video clips in the candidate video sources.
S130, splicing the selected at least two splicing time periods to obtain a virtual time axis; and the virtual time axis and the time period to be inquired have the same duration.
It can be understood that the virtual time axis is obtained by splicing the selected at least two splicing time periods, so that the number of video sources of the video clips in the time period to be queried, the video sources of each splicing time period, the relevance between the video data and the like are determined. Certainly, in order to facilitate the user to have an overall grasp on the number of video sources of each video clip in the time period to be queried, the food sources of each splicing time period and the association performance between the video data, the virtual time axis can be displayed to the user.
In addition, by controlling the virtual time shaft to be the same as the time length of the time period to be inquired, the cross acquisition and playing of video data in different splicing time periods are avoided, and the video redundancy is reduced.
And S140, playing a spliced video segment of at least two candidate video sources in the splicing time segment according to the virtual time axis.
Specifically, according to a virtual time axis obtained by splicing, spliced video segments are obtained from candidate video sources corresponding to all the spliced time periods, and the obtained spliced video segments are played according to the time sequence of the virtual time axis.
It can be understood that, in order to facilitate the direct playing of the video data corresponding to the time period to be queried next time, when the spliced video segment of the at least two candidate video sources in the splicing time period is played according to the virtual time axis, the spliced video segment of the at least two candidate video sources in the virtual time axis in the corresponding splicing time period can be obtained; and splicing according to the virtual time axis to generate a video file, and storing the video file locally.
Optionally, when the virtual timeline is displayed in the electronic device, when a trigger operation of a user on a certain splicing time period in the virtual timeline is received, the spliced video segment corresponding to the splicing time period may also be displayed.
According to the method and the device, the video source with overlapping acquisition time period and time period to be inquired is used as a candidate video source; selecting a splicing time period from the acquisition time periods of the candidate video sources according to the time period to be inquired; splicing the selected at least two splicing time periods to obtain a virtual time axis; the virtual time axis and the time period to be inquired are the same in duration; and playing a spliced video segment of the at least two candidate video sources in the splicing time period according to the virtual time axis. According to the technical scheme, the videos of the time period to be inquired are obtained by splicing the video segments in the candidate video sources, so that when the videos are watched under the distribution of the multiple video sources, the duration of looking for the redundancy and the video segments is reduced while the whole content is watched, the watching efficiency of a user is improved, and the watching experience of the user is improved. Example two
Fig. 2 is a flowchart of a video playing method in the second embodiment of the present application, and the second embodiment of the present application performs optimization and improvement on the basis of the technical solutions of the foregoing embodiments.
Further, the operation of selecting a splicing time period from the acquisition time periods of the candidate video sources according to the time period to be queried is refined into the operation of sorting the candidate video sources according to the current network quality and/or the picture quality of the candidate video sources; and sequentially selecting splicing time periods from the acquisition time periods of the candidate video sources according to the sequencing result so as to improve the quality of the played video.
A video playing method as shown in fig. 2 includes:
s210, taking the video source with the overlapped acquisition time period and the time period to be inquired as a candidate video source.
S220, sorting the candidate video sources according to the current network quality and/or the picture quality of the candidate video sources.
Wherein, the current network quality can be understood as the network communication quality between the electronic device and the current candidate video source. Generally, the better the current network quality, the shorter the time for acquiring video clips from the current candidate video source, the higher the efficiency.
The picture quality of the candidate video source may be at least one of resolution, code rate, brightness, definition, and the like of a video image acquired by the candidate video source.
It can be understood that, in order to reduce the amount of data operations when the electronic device plays a video, typically, the picture quality of each candidate video source is determined by the candidate video source itself, and the electronic device obtains the picture quality of each candidate video source through an SDK (Software Development Kit).
It should be noted that the candidate video sources are sorted according to the current network quality, and the splicing time periods are sequentially selected from the acquisition time periods of the candidate video sources according to the sorting result, so that the spliced video segments in each splicing time period are acquired more smoothly; and sequencing the candidate video sources according to the picture quality, and sequentially selecting splicing time periods from the acquisition time periods of the candidate video sources according to the sequencing result, so that the picture quality of the finally played spliced video segment is higher.
Certainly, in order to give consideration to both the fluency of playing and the quality of a played picture, the network quality and the picture quality of each candidate video source can be respectively scored; determining a comprehensive score corresponding to the candidate video source according to the preset weight of the network quality and the picture quality; and sequencing the candidate video sources according to the comprehensive scores. The preset weights of the network quality and the picture quality can be determined by technicians according to needs or experience values, and can be set by users in a human-computer interaction interface of the electronic equipment according to the needs of the users.
And S230, sequentially selecting splicing time periods from the acquisition time periods of the candidate video sources according to the sequencing result.
Exemplarily, the time period to be queried is taken as the missing time period; acquiring a candidate video source with the highest ranking as a current video source; determining a time period in which the acquisition time period and the missing time period of the current video source are overlapped, and taking the time period as a splicing time period of the current video source; removing the existing time periods from the missing time periods to update the missing time periods; and obtaining a next candidate video source as the current video source according to the sorting result, and returning to execute the splicing time period determination operation until the missing time period is zero.
S240, splicing the selected at least two splicing time periods to obtain a virtual time axis; and the virtual time axis and the time period to be inquired have the same duration.
And S250, playing a spliced video segment of at least two candidate video sources in the splicing time segment according to the virtual time axis.
According to the embodiment of the application, the selection operation of the splicing time period is refined into the step of sorting the candidate video sources according to the current network quality and/or the picture quality of the candidate video sources; and sequentially selecting splicing time periods from the acquisition time periods of the candidate video sources according to the sequencing result. According to the technical scheme, the candidate video sources are screened according to the current network quality and/or the picture quality of the candidate video sources, so that when the spliced video segments of all the splicing time periods are played, the better fluency and/or picture quality are achieved, and the watching experience of a user is improved.
EXAMPLE III
Fig. 3 is a flowchart of a video playing method in the third embodiment of the present application, and the technical solutions of the foregoing embodiments are optimized and improved in the third embodiment of the present application.
Further, refining the operation of playing the spliced video segments of the at least two candidate video sources in the splicing time period according to the virtual time axis into the operation of obtaining and caching the spliced video segments of the at least two candidate video sources in the virtual time axis in the splicing time period, and sequentially playing the cached spliced video segments according to the virtual time axis; or playing the spliced video segment of the current candidate video source in the splicing time period according to the virtual time axis, and acquiring and caching the spliced video segment of the next candidate video source so as to perfect the video playing mechanism of the spliced video segment.
A video playing method as shown in fig. 3 includes:
s310, taking the video source with the overlapped acquisition time period and the time period to be inquired as a candidate video source.
S320, selecting a splicing time period from the acquisition time periods of the candidate video sources according to the time period to be inquired.
S330, splicing the selected at least two splicing time periods to obtain a virtual time axis; and the virtual time axis and the time period to be inquired have the same duration.
S340A, obtaining and caching the spliced video segments of the at least two candidate video sources in the virtual time axis in the splicing time period, and playing the cached spliced video segments in sequence according to the virtual time axis.
It can be understood that after the virtual time axis is obtained, the spliced video segments are obtained from the candidate video sources corresponding to the splicing time segments in the virtual time axis and are locally cached in the electronic device; and sequentially playing the cached spliced video segments according to the time sequence of the virtual time axis, so that the video playing process is smoother, and meanwhile, a foundation is laid for the generation of the video file corresponding to the time period to be inquired.
S340B, playing the spliced video segment of the current candidate video source in the splicing time period according to the virtual time axis, and acquiring and caching the spliced video segment of the next candidate video source.
In order to reduce the waiting time for the user to watch the video, the spliced video segment of the first splicing time period can be acquired and played according to the virtual time axis, and in the video playing process, when the video source switching is detected to be required, the spliced video segment of the next candidate video source is acquired and cached in advance, so that the pause phenomenon during the video source switching is avoided.
It can be understood that, when the spliced video segment is obtained and played online, before video source switching is performed, the video head of the spliced video segment of the next candidate video source can be only obtained and cached in advance, after video source switching is performed, the video head is directly played, and subsequently reading and playing of the subsequent part of the spliced video segment corresponding to the candidate video source are performed from the switched candidate video source, so that the data buffer amount is reduced, and the playing performance is improved.
It should be noted that, a user can select a smooth playing mode or a performance playing mode in a human-computer interaction interface of the electronic device according to the needs of the user; when the fluency playing mode is selected, the scheme of S340A is adopted to firstly cache all the spliced video segments, and then the spliced video segments which are cached in advance are played, so that the fluency of the video playing process is ensured; when the performance playing mode is selected, the scheme of S340B is adopted to buffer all or the spliced portion of the spliced video segment when the video source is switched, so as to reduce the playing waiting time and avoid the pause caused by switching the video source.
According to the method and the device, the playing process of the spliced video segments is refined into the spliced video segments of at least two candidate video sources in the virtual time axis in the splicing time period, and the cached spliced video segments are sequentially played according to the virtual time axis; or playing the spliced video segment of the current candidate video segment in the splicing time period according to the virtual time axis, and acquiring and caching the spliced video segment of the next candidate video source. According to the technical scheme, the playing process of the spliced video segments is refined into different video playing strategies, and the diversification of the playing process is realized, so that different playing strategies can be adopted to play videos according to different playing requirements of users, and the use experience of the users is improved.
Example four
Fig. 4 is a structural diagram of a video playing apparatus in a fourth embodiment of the present application, where the embodiment of the present application is suitable for a case where a user watches a video segment captured by multiple video sources in the same time period, and the apparatus is implemented by software and/or hardware and is specifically configured in an electronic device. The electronic device can be a terminal device such as a smart phone or a personal computer, and can also be a server.
A video playback apparatus as shown in fig. 4, comprising: the video source splicing method includes a candidate video source determining module 410, a splicing time period selecting module 420, a virtual timeline obtaining module 430 and a video playing module 440. Wherein,
a candidate video source determining module 410, configured to use a video source with an overlap between an acquisition time period and a time period to be queried as a candidate video source;
a splicing time period selection module 420, configured to select a splicing time period from the acquisition time periods of the candidate video sources according to the time period to be queried;
a virtual time axis obtaining module 430, configured to splice the selected at least two splicing time periods to obtain a virtual time axis; the virtual time axis and the time period to be inquired have the same duration;
and the video playing module 440 is configured to play a spliced video segment of at least two candidate video sources in the splicing time period according to the virtual timeline.
According to the embodiment of the application, a candidate video source determining module is used for taking a video source with overlapping between an acquisition time period and a time period to be inquired as a candidate video source; selecting a splicing time period from the acquisition time periods of the candidate video sources according to the time period to be inquired through a splicing time period selection module; splicing the selected at least two splicing time periods through a virtual time axis obtaining module to obtain a virtual time axis; the virtual time axis and the time period to be inquired are the same in duration; and playing the spliced video segment of the at least two candidate video sources in the splicing time period according to the virtual time axis through the video playing module. According to the technical scheme, the videos of the time period to be inquired are obtained by splicing the video segments in the candidate video sources, so that when the videos are watched under the distribution of the multiple video sources, the duration of looking for the redundancy and the video segments is reduced while the whole content is watched, the watching efficiency of a user is improved, and the watching experience of the user is improved.
Further, the splicing time period selection module 420 is specifically configured to:
and acquiring a time period which is overlapped with the time period to be inquired and is not overlapped with the existing splicing time period from the acquisition time period of the candidate video source to be used as the splicing time period of the candidate video source.
Further, the splicing time period selection module 420 is specifically configured to:
sorting the candidate video sources according to the current network quality and/or the picture quality of the candidate video sources;
and sequentially selecting splicing time periods from the acquisition time periods of the candidate video sources according to the sequencing result.
Further, the apparatus further includes a picture quality obtaining module configured to:
and acquiring the picture quality of each candidate video source through a Software Development Kit (SDK).
Further, the video playing module 440 is specifically configured to:
acquiring and caching spliced video segments of at least two candidate video sources in the virtual time axis in the splicing time period, and sequentially playing the cached spliced video segments according to the virtual time axis; or,
and playing the spliced video segment of the current candidate video source in the splicing time period according to the virtual time axis, and acquiring and caching the spliced video segment of the next candidate video source.
Further, the apparatus further includes a video file generation module configured to:
after playing the spliced video segment of at least two candidate video sources in the splicing time period according to the virtual time axis, acquiring the spliced video segment of at least two candidate video sources in the virtual time axis in the splicing time period;
and splicing according to the virtual time axis to generate a video file, and locally storing the video file.
The video playing device can execute the video playing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the video playing method.
EXAMPLE five
Fig. 5 is a block diagram of an electronic device in a fifth embodiment of the present application, where the electronic device includes: input device 510, output device 520, processor 530, and storage device 540.
The input device 510 is used for acquiring a spliced video segment from a candidate video source;
an output device 520 for displaying each spliced video segment;
one or more processors 530;
a storage 540 for storing one or more programs.
In fig. 5, a processor 530 is taken as an example, the input device 510 in the electronic apparatus may be connected to the output device 520, the processor 530 and the storage device 540 through a bus or other means, and the processor 530 and the storage device 540 are also connected through a bus or other means, which is taken as an example in fig. 5.
In this embodiment, the processor 530 in the electronic device may use a video source with an overlap between the acquisition time period and the time period to be queried as a candidate video source; the splicing time period can be selected from the acquisition time periods of the candidate video sources according to the time period to be inquired; the selected at least two splicing time periods can be spliced to obtain a virtual time axis; the virtual time axis and the time period to be inquired have the same duration; the input device 510 may be further controlled to obtain a spliced video segment of at least two candidate video sources in the splicing time period according to the virtual timeline; the output device 520 may be further controlled to play the spliced video segment of at least two candidate video sources in the splicing time period according to the virtual timeline.
The storage device 540 in the electronic device is used as a computer-readable storage medium, and can be used to store one or more programs, which may be software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the video playing method in the embodiment of the present application (for example, the candidate video source determining module 410, the splicing time period selecting module 420, the virtual time axis obtaining module 430, and the video playing module 440 shown in fig. 4 for video playing). The processor 530 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the storage 540, that is, implements the video playing method in the above method embodiment.
The storage device 540 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data and the like (such as the time period to be queried, the acquisition time period, the candidate video source, the splicing time period, the virtual time axis, the splicing video period, and the like in the above embodiments). In addition, the storage 540 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 540 may further include memory located remotely from processor 530, which may be connected to a server over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
EXAMPLE six
The embodiment of the application provides a video management system, which comprises at least two video acquisition devices, a video management device and a video management device, wherein the at least two video acquisition devices are used for acquiring video data in real time to generate video segments; an electronic device as shown in fig. 5 is also included.
EXAMPLE seven
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a video playback device, implements a video playback method provided in an embodiment of the present application, and the method includes: taking the video source with overlapping acquisition time period and time period to be inquired as a candidate video source; selecting a splicing time period from the acquisition time periods of the candidate video sources according to the time period to be queried; splicing the selected at least two splicing time periods to obtain a virtual time axis; the virtual time axis and the time period to be inquired have the same duration; and playing a spliced video segment of at least two candidate video sources in the splicing time period according to the virtual time axis.
From the above description of the embodiments, it is obvious for those skilled in the art that the present application can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods described in the embodiments of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. A video playback method, comprising:
taking the video source with overlapping acquisition time period and time period to be inquired as a candidate video source;
selecting a splicing time period from the acquisition time periods of the candidate video sources according to the time period to be queried;
splicing the selected at least two splicing time periods to obtain a virtual time axis; the virtual time axis and the time period to be inquired have the same duration;
and playing a spliced video segment of at least two candidate video sources in the splicing time period according to the virtual time axis.
2. The method of claim 1, wherein selecting a splicing time period from the acquisition time periods of the candidate video sources according to the time period to be queried comprises:
and acquiring a time period which is overlapped with the time period to be inquired and is not overlapped with the existing splicing time period from the acquisition time period of the candidate video source to be used as the splicing time period of the candidate video source.
3. The method of claim 1, wherein selecting a splicing time period from the acquisition time periods of the candidate video sources according to the time period to be queried comprises:
sorting the candidate video sources according to the current network quality and/or the picture quality of the candidate video sources;
and sequentially selecting splicing time periods from the acquisition time periods of the candidate video sources according to the sequencing result.
4. The method of claim 3, further comprising:
and acquiring the picture quality of each candidate video source through a Software Development Kit (SDK).
5. The method of claim 1, wherein playing the spliced video segment of at least two of the candidate video sources over the splicing time period according to the virtual timeline comprises:
acquiring and caching spliced video segments of at least two candidate video sources in the virtual time axis in the splicing time period, and sequentially playing the cached spliced video segments according to the virtual time axis; or,
and playing the spliced video segment of the current candidate video source in the splicing time period according to the virtual time axis, and acquiring and caching the spliced video segment of the next candidate video source.
6. The method according to any of claims 1-5, wherein when playing a spliced video segment of at least two of the candidate video sources over the splicing time period according to the virtual timeline, the method further comprises:
acquiring a spliced video segment of at least two candidate video sources in the virtual time axis in the corresponding spliced time segment;
and splicing according to the virtual time axis to generate a video file, and locally storing the video file.
7. A video playback apparatus, comprising:
the candidate video source determining module is used for taking a video source with overlapping between the acquisition time period and the time period to be inquired as a candidate video source;
the splicing time period selection module is used for selecting a splicing time period from the acquisition time periods of the candidate video sources according to the time period to be inquired;
the virtual time axis obtaining module is used for splicing the selected at least two splicing time periods to obtain a virtual time axis; the virtual time axis and the time period to be inquired have the same duration;
and the video playing module is used for playing a spliced video segment of at least two candidate video sources in the splicing time period according to the virtual time axis.
8. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a video playback method as recited in any of claims 1-6.
9. A video management system comprising at least two video capture devices and the electronic device of claim 8.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a video playback method according to any one of claims 1 to 6.
CN201911376887.3A 2019-12-27 2019-12-27 Video playing method, device, electronic equipment, system and medium Active CN113055612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911376887.3A CN113055612B (en) 2019-12-27 2019-12-27 Video playing method, device, electronic equipment, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911376887.3A CN113055612B (en) 2019-12-27 2019-12-27 Video playing method, device, electronic equipment, system and medium

Publications (2)

Publication Number Publication Date
CN113055612A true CN113055612A (en) 2021-06-29
CN113055612B CN113055612B (en) 2022-11-25

Family

ID=76506337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911376887.3A Active CN113055612B (en) 2019-12-27 2019-12-27 Video playing method, device, electronic equipment, system and medium

Country Status (1)

Country Link
CN (1) CN113055612B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050270638A1 (en) * 2000-05-03 2005-12-08 Soenksen Dirk G Fully automatic rapid microscope slide scanner
CN105100733A (en) * 2015-08-27 2015-11-25 广东威创视讯科技股份有限公司 Video playing method and system of mosaic display device
CN106954030A (en) * 2017-03-20 2017-07-14 华平智慧信息技术(深圳)有限公司 Monitor the video-splicing method and system of cloud platform
CN107592506A (en) * 2017-09-26 2018-01-16 英华达(上海)科技有限公司 A kind of monitoring method and supervising device, monitoring system
CN109189992A (en) * 2018-09-27 2019-01-11 北京邮电大学 A kind of video time search method in cloud monitoring system
CN110392281A (en) * 2018-04-20 2019-10-29 腾讯科技(深圳)有限公司 Image synthesizing method, device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050270638A1 (en) * 2000-05-03 2005-12-08 Soenksen Dirk G Fully automatic rapid microscope slide scanner
CN105100733A (en) * 2015-08-27 2015-11-25 广东威创视讯科技股份有限公司 Video playing method and system of mosaic display device
CN106954030A (en) * 2017-03-20 2017-07-14 华平智慧信息技术(深圳)有限公司 Monitor the video-splicing method and system of cloud platform
CN107592506A (en) * 2017-09-26 2018-01-16 英华达(上海)科技有限公司 A kind of monitoring method and supervising device, monitoring system
CN110392281A (en) * 2018-04-20 2019-10-29 腾讯科技(深圳)有限公司 Image synthesizing method, device, computer equipment and storage medium
CN109189992A (en) * 2018-09-27 2019-01-11 北京邮电大学 A kind of video time search method in cloud monitoring system

Also Published As

Publication number Publication date
CN113055612B (en) 2022-11-25

Similar Documents

Publication Publication Date Title
US10225613B2 (en) Method and apparatus for video playing processing and television
CN110856031B (en) Media resource display system, method, equipment and storage medium
US20200322647A1 (en) Method, apparatus, server, and storage medium for generating live broadcast video of highlight collection
CN105872717A (en) Video processing method and system, video player and cloud server
CN108712667B (en) Smart television, screen capture application method and device thereof, and readable storage medium
CN104135693A (en) A video playing method, smart TV and server
CN104079999A (en) Video screenshot preview method and system used on smart television
CN113569150B (en) Media content preloading method, model building method and related equipment
CN103442299B (en) A kind of display methods for playing record and electronic equipment
CN103763587A (en) Method and device for playing multimedia data
CN112702617A (en) Caching method and display method of live video page and related equipment
US20190222898A1 (en) Video playing method, device and storage
CN110996157A (en) Video playing method and device, electronic equipment and machine-readable storage medium
CN109729429A (en) Video broadcasting method, device, equipment and medium
CN111866457A (en) Monitoring image processing method, electronic device, storage medium and system
CN104010223A (en) Method and system for taking over terminal system for video playing
CN106131689A (en) Method for downloading video and device
CN112995746A (en) Video processing method and device and terminal equipment
CN104202641B (en) Method, multimedia equipment and the system of quick Search and Orientation multimedia programming resource
CN113055612B (en) Video playing method, device, electronic equipment, system and medium
CN104284231A (en) Quick digital television channel switching system and method
CN107592561B (en) Screen saver display method, device, intelligent remote controller and computer readable storage medium
CN114584709B (en) Method, device, equipment and storage medium for generating zooming special effects
CN115689642A (en) Media content recommendation method and device, electronic equipment and storage medium
CN114765692B (en) Live broadcast data processing method, device, equipment and 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
GR01 Patent grant
GR01 Patent grant