CN112511867A - Video anti-shake method and system - Google Patents

Video anti-shake method and system Download PDF

Info

Publication number
CN112511867A
CN112511867A CN202011234666.5A CN202011234666A CN112511867A CN 112511867 A CN112511867 A CN 112511867A CN 202011234666 A CN202011234666 A CN 202011234666A CN 112511867 A CN112511867 A CN 112511867A
Authority
CN
China
Prior art keywords
video
state
address
acquiring
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011234666.5A
Other languages
Chinese (zh)
Inventor
韩荣富
唐吉斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Citops Communication System Co ltd
Original Assignee
Shenzhen Citops Communication System 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 Shenzhen Citops Communication System Co ltd filed Critical Shenzhen Citops Communication System Co ltd
Priority to CN202011234666.5A priority Critical patent/CN112511867A/en
Publication of CN112511867A publication Critical patent/CN112511867A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
    • 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/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Graphics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application discloses a video anti-shake method and a video anti-shake system, wherein the method comprises the following steps: acquiring and storing video information in real time; receiving a video request of a user side, and acquiring the equipment state of the user side; acquiring a video address and a video of a corresponding parameter according to the state of user side equipment; according to the scheme, the video of the corresponding parameters can be acquired according to the equipment state of the user side, so that the video is anti-jittered, and the stability of video playing is ensured.

Description

Video anti-shake method and system
Technical Field
The present application relates to the field of monitoring systems, and in particular, to a video anti-shake method and system.
Background
In order to take account of the fluency and the definition of videos, video monitoring systems in the prior art generally propose the concepts of main and sub code streams: that is, after one path of video enters the encoder, the encoder encodes two code streams with different resolutions: the device comprises a main code stream and a sub code stream, wherein the resolution of the main code stream is greater than that of the sub code stream. When the wireless network bandwidth is good, a user can select the main code stream to view, so that high definition can be obtained, and when the wireless network condition is not good, the user can select the sub code stream to view, so that the video fluency can be maintained as much as possible. The main and sub code stream technologies give consideration to fluency and definition, but only video code streams with two resolutions can be provided at the same time, and the video code streams need to be manually adjusted by a user, and the problem of video stability cannot be solved.
Disclosure of Invention
The purpose of this application is to solve the user and watches video stability, the problem of video anti-shake.
The technical purpose of the application is realized by the following technical scheme:
the application discloses a video anti-shake method, wherein the method comprises the following steps:
acquiring and storing video information in real time;
receiving a video request of a user side, and acquiring the equipment state of the user side;
and acquiring the video address and the video of the corresponding parameter according to the state of the user side equipment.
According to the scheme, the video request of the user side is received, the equipment state of the user side is obtained, the video address corresponding to the equipment state and the video corresponding to the parameters are obtained according to the equipment state of the user side, the videos corresponding to the parameters are intelligently matched according to different equipment states, the smoothness of the videos can be guaranteed to be matched with the equipment state, and the stability of the videos is guaranteed.
Further, the video anti-shake method is provided, wherein the device state includes a bandwidth state and a network state.
According to the scheme, the video corresponding to the parameters is matched according to the equipment state, the equipment state preferably comprises the bandwidth and the network state, and the bandwidth and the network state are the two most main factors for video stability, so that the equipment state is judged according to the bandwidth and the network state, and the video stability is ensured.
Further, the video anti-shake method, wherein the step of obtaining and storing video information in real time further comprises:
and presetting video parameters and video addresses corresponding to different equipment states.
According to the scheme, the corresponding relation is set, so that after the equipment state of the user side is obtained, the corresponding video parameters and the video addresses are intelligently matched, and the video with the optimal stability is conveniently matched.
Further, the video anti-shake method, wherein the step of acquiring and storing video information in real time includes:
and encoding the video by a video encoder, and storing the main code stream video and the address and the sub code stream video and the address after encoding.
According to the scheme, the video is encoded through the encoder, and the video with the corresponding parameters is conveniently selected according to different equipment states through two types of storage.
Further, the video anti-shake method, wherein the step of obtaining the video address and the video corresponding to the parameter according to the state of the user end device includes:
when the equipment bandwidth and the network state are both in good states, acquiring a video address of a main code stream video to download or watch the video;
and when one of the equipment bandwidth or the network state is in a poor state, acquiring a video address of the sub-stream video to download or watch the video.
According to the scheme, the video addresses corresponding to different equipment states are set, so that after the user end equipment is obtained, videos of corresponding parameters and addresses are obtained intelligently, and the stability of the videos is guaranteed.
Further, the present application also discloses a video anti-shake system, wherein, include:
the video acquisition module is used for acquiring and storing video information in real time;
the device state acquisition module is used for receiving a video request of a user side and acquiring the device state of the user side;
and the calling module is used for acquiring the video address and the video corresponding to the parameter according to the state of the user side equipment.
According to the scheme, the video request of the user side is received, the equipment state of the user side is obtained, the video address corresponding to the equipment state and the video corresponding to the parameters are obtained according to the equipment state of the user side, the videos corresponding to the parameters are intelligently matched according to different equipment states, the smoothness of the videos can be guaranteed to be matched with the equipment state, and the stability of the videos is guaranteed.
Further, the video anti-shake system may further include the device state including a bandwidth state and a network state.
According to the scheme, the video corresponding to the parameters is matched according to the equipment state, the equipment state preferably comprises the bandwidth and the network state, and the bandwidth and the network state are the two most main factors for video stability, so that the equipment state is judged according to the bandwidth and the network state, and the video stability is ensured.
Further, the video anti-shake system further includes:
and the presetting module is used for presetting video parameters and video addresses corresponding to different equipment states.
According to the scheme, the corresponding relation is set, so that after the equipment state of the user side is obtained, the corresponding video parameters and the video addresses are intelligently matched, and the video with the optimal stability is conveniently matched.
Further, the video anti-shake system, wherein the video acquisition module includes:
and the coding unit is used for coding the video through the video coder, and storing the main code stream video and the address as well as the sub code stream video and the address after coding.
According to the scheme, the video is encoded through the encoder, and the video with the corresponding parameters is conveniently selected according to different equipment states through two types of storage.
Further, the video anti-shake system, wherein the calling module includes:
the first calling unit acquires a video address of a main code stream video to download or watch the video when the equipment bandwidth and the network state are both in good states;
and the second calling unit acquires the video address of the subcode stream video to download or watch the video when one of the equipment bandwidth or the network state is in a poor state.
According to the scheme, the video addresses corresponding to different equipment states are set, so that after the user end equipment is obtained, videos of corresponding parameters and addresses can be obtained intelligently, and stability of the videos is guaranteed
In summary, the present application discloses a video anti-shake method and system, wherein the method includes: acquiring and storing video information in real time; receiving a video request of a user side, and acquiring the equipment state of the user side; acquiring a video address and a video of a corresponding parameter according to the state of user side equipment; according to the scheme, the video of the corresponding parameters can be acquired according to the equipment state of the user side, so that the video is anti-jittered, and the stability of video playing is ensured.
Drawings
Fig. 1 is a flowchart illustrating steps of a video anti-shake method according to the present application.
Fig. 2 is a flowchart of step S3 of the video anti-shake method according to the present application.
Fig. 3 is a block diagram of a video anti-shake system according to the present application.
Fig. 4 is a block diagram of a video capture module of the video anti-shake system according to the present application.
Fig. 5 is a block diagram illustrating a calling module of the video anti-shake system according to the present application.
Detailed Description
The present application is described in further detail below with reference to the attached drawings.
Referring to fig. 1, a flowchart illustrating steps of a video anti-shake method according to the present application is shown. The application discloses a video anti-shake method and a video anti-shake system, aiming at solving the problem that in a monitoring system, a video is unstable due to equipment bandwidth and a network state, the method comprises the following steps:
s1, acquiring and storing video information in real time;
s2, receiving a video request of a user side, and acquiring the equipment state of the user side;
and S3, acquiring a video address and a video corresponding to the parameter according to the state of the user side equipment.
In the preferred embodiment of the present application, the video monitoring system is used to obtain and store the video information in real time in the step S1, in the preferred embodiment, the video monitoring is performed by using the camera to obtain the video information, and store the video information, so that the user can conveniently call the video, in step S2, the user requests to obtain the video, and needs to call the monitoring video, at this time, the system receives the video request from the user, obtains the sending end of the request command, i.e. the corresponding device status of the user, and different device statuses, for the video with the same parameter, some users can watch smoothly, but for some aging computers, etc., the configuration is low, and the video with less high requirement on the device status is watched, therefore, in the present application, the step S3 is further included according to the device status of the user, acquiring a video address and a video of a corresponding parameter; when the system receives a video request of a user side, the system calls the video address corresponding to the parameter to acquire the corresponding video according to the user sides in different equipment states, so that the problem of video jitter prevention is solved.
Further, in the foregoing solution, it is mentioned that the address of the video corresponding to the parameter is called to obtain the video information according to the device status, and therefore, in the preferred embodiment of the present application, before the step S1, the method further includes the steps of:
s0. preset video parameters and video addresses corresponding to different device states.
In step S0, the user may preset video parameters and video addresses corresponding to different device states, and obtain videos of the corresponding parameters according to the device state of the user side. One metaphor for the concept of bandwidth, which is more visual, is the highway. The amount of data that can be transferred on the line per unit time is commonly in bps (bit per second). The bandwidth of a computer network refers to the highest data rate that the network can pass, namely, the number of bits per second, the bandwidth influences the transmission rate, and the network state influences the stability; moreover, the video parameters and the video addresses can be set in various ways, so that the method is suitable for different bandwidth and network state requirements.
In the present application, the step of obtaining and storing video information in real time stores the obtained video, and the stored address and parameter information need to be adapted to the device states of different clients, so that the method further includes step s101 of encoding the video by using a video encoder, and storing the main stream video and address, and the sub stream video and address after encoding. In the prior art, several resolutions such as Qcif (176 × 144), CIF (352 × 288), HALF D1(704 × 288), D1(704 × 576) and the like are mainly used in the monitoring industry, and the CIF video resolution is the mainstream resolution, and most products adopt the CIF resolution. However, as the capacity of a single hard disk reaches 750GB or even 1000GB, most domestic DVRs can already connect 8 hard disks of 1000GB, so D1 gradually becomes a frequent main stream, in the present application, the preferred resolution of the main stream is D1, which can ensure the maximum definition, and because of the arrangement of multiple matching schemes, a larger application range can be ensured, and the adaptability is strong.
In the above solution, it is mentioned that different video parameters and video addresses are configured according to the device status of the user side, and therefore, referring to fig. 2, which is a flowchart of the step S3, the step S3 includes:
s301, when the equipment bandwidth and the network state are both in good states, acquiring a video address of a main code stream video to download or watch the video;
in the preferred embodiment of the present application, the device status of the user side includes a bandwidth and a network status, and it is preferred in the present application that when the bandwidth and the network status are both good statuses, the video address of the main stream video is acquired for downloading or watching.
When the network status is not good, in the present application, the step S3 further includes the steps of:
s302, when one of the device bandwidth or the network state is in a poor state, a video address of the sub-code stream video is acquired to download or watch the video. In the preferred embodiment of the present application, in the device state of the user side, if there is a state in the bandwidth or the network state that is unstable, and when it is worse, in order to ensure smooth downloading of video watching, it is preferable that the device state of the user side is judged to be the worse state as long as there is a state in the bandwidth or the network state that is unstable, so as to obtain the address of the sub-stream video for downloading or watching the video. Of course, the user can also set the video parameters and video addresses corresponding to different device states by himself, and the preferred embodiment of the present application is to ensure the stability of the video, eliminate the factors interfering with the stability of the video, and output the video with higher resolution only when the bandwidth and the network state are both good.
In combination with the above method steps, the present application further discloses a video anti-shake system, as shown in fig. 3, which is a structural block diagram of the system, and the video anti-shake system includes:
the video acquisition module 100 is used for acquiring and storing video information in real time;
the device state acquiring module 200 is configured to receive a video request from a user side and acquire a device state of the user side;
the calling module 300 is configured to obtain a video address and a video corresponding to the parameter according to the state of the user end device.
The modules and units of the system correspond to the method steps, and therefore, the operation flow of each module of the system is not described herein.
Further, the video anti-shake system may further include the device state including a bandwidth state and a network state.
Further, the video anti-shake system further includes:
the presetting module 400 is configured to preset video parameters and video addresses corresponding to different device states.
The modules and units of the system correspond to the method steps, and therefore, the operation flow of each module of the system is not described herein.
Further, the video anti-shake system is, as shown in fig. 4, a structural block diagram of the video obtaining module, wherein the video obtaining module 100 includes:
and the encoding unit 101 is configured to encode the video through a video encoder, and store the main stream video and the address, and the sub stream video and the address after encoding.
The modules and units of the system correspond to the method steps, and therefore, the operation flow of each module of the system is not described herein.
Further, the video anti-shake system is, as shown in fig. 5, a structural block diagram of the calling module, wherein the calling module 300 includes:
the first calling unit 301 obtains a video address of a main code stream video to download or watch the video when the device bandwidth and the network state are both good states;
the second invoking unit 302, when one of the device bandwidth or the network status is in a poor status, acquires a video address of the sub-stream video to download or watch the video.
The modules and units of the system correspond to the method steps, and therefore, the operation flow of each module of the system is not described herein.
In summary, according to the present application, video parameters and video addresses corresponding to different device states are preset, and when a video request of a user is obtained, the video request is compared with the preset parameters, and when the device state is good, the video parameter with higher resolution is called to watch or download, and when the device state is poor, the video parameter with correspondingly matched resolution is called to watch or download, so that different device states are realized, smoothness of a video can be ensured, and an anti-shake effect of the video is realized.
The embodiments of the present invention are preferred embodiments of the present application, and the scope of protection of the present application is not limited by the embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (10)

1. A video anti-shake method, the method comprising:
acquiring and storing video information in real time;
receiving a video request of a user side, and acquiring the equipment state of the user side;
and acquiring the video address and the video of the corresponding parameter according to the state of the user side equipment.
2. The video anti-shake method of claim 1, wherein the device state comprises a bandwidth state and a network state.
3. The video anti-shake method according to claim 2, wherein the step of acquiring and storing video information in real time further comprises:
and presetting video parameters and video addresses corresponding to different equipment states.
4. The video anti-shake method according to claim 3, wherein the step of acquiring and storing video information in real time comprises:
and encoding the video by a video encoder, and storing the main code stream video and the address and the sub code stream video and the address after encoding.
5. The video stabilization method according to claim 4, wherein the step of obtaining the video address and the video corresponding to the parameter according to the state of the client device comprises:
when the equipment bandwidth and the network state are both in good states, acquiring a video address of a main code stream video to download or watch the video;
and when one of the equipment bandwidth or the network state is in a poor state, acquiring a video address of the sub-stream video to download or watch the video.
6. A video anti-shake system, comprising:
the video acquisition module is used for acquiring and storing video information in real time;
the device state acquisition module is used for receiving a video request of a user side and acquiring the device state of the user side;
and the calling module is used for acquiring the video address and the video corresponding to the parameter according to the state of the user side equipment.
7. The video anti-shake system of claim 6, wherein the device states comprise a bandwidth state and a network state.
8. The video anti-shake system according to claim 7, further comprising:
and the presetting module is used for presetting video parameters and video addresses corresponding to different equipment states.
9. The video anti-shake system according to claim 8, wherein the video acquisition module comprises:
and the coding unit is used for coding the video through the video coder, and storing the main code stream video and the address as well as the sub code stream video and the address after coding.
10. The video anti-shake system of claim 9, wherein the invoking module comprises:
the first calling unit acquires a video address of a main code stream video to download or watch the video when the equipment bandwidth and the network state are both in good states;
and the second calling unit acquires the video address of the subcode stream video to download or watch the video when one of the equipment bandwidth or the network state is in a poor state.
CN202011234666.5A 2020-11-07 2020-11-07 Video anti-shake method and system Pending CN112511867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011234666.5A CN112511867A (en) 2020-11-07 2020-11-07 Video anti-shake method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011234666.5A CN112511867A (en) 2020-11-07 2020-11-07 Video anti-shake method and system

Publications (1)

Publication Number Publication Date
CN112511867A true CN112511867A (en) 2021-03-16

Family

ID=74955431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011234666.5A Pending CN112511867A (en) 2020-11-07 2020-11-07 Video anti-shake method and system

Country Status (1)

Country Link
CN (1) CN112511867A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010013129A1 (en) * 1996-06-25 2001-08-09 Matsushita Electric Industrial Co., Ltd. Video network server for distributing sound and video image information to a plurality of terminals
CN101917391A (en) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 Method for playing network video and system for playing network video
CN103051937A (en) * 2011-10-12 2013-04-17 腾讯科技(深圳)有限公司 Video frequency broadcast and control method as well as device
CN103338401A (en) * 2013-06-03 2013-10-02 贝壳网际(北京)安全技术有限公司 Video playing control method, device and system for mobile terminal browser
CN109218756A (en) * 2018-09-28 2019-01-15 广州市协衡网络科技有限公司 A kind of order method of camera shooting and video, device, server and storage medium
CN111601118A (en) * 2020-05-13 2020-08-28 广州市百果园信息技术有限公司 Live video processing method, system, device and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010013129A1 (en) * 1996-06-25 2001-08-09 Matsushita Electric Industrial Co., Ltd. Video network server for distributing sound and video image information to a plurality of terminals
CN101917391A (en) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 Method for playing network video and system for playing network video
CN103051937A (en) * 2011-10-12 2013-04-17 腾讯科技(深圳)有限公司 Video frequency broadcast and control method as well as device
CN103338401A (en) * 2013-06-03 2013-10-02 贝壳网际(北京)安全技术有限公司 Video playing control method, device and system for mobile terminal browser
CN109218756A (en) * 2018-09-28 2019-01-15 广州市协衡网络科技有限公司 A kind of order method of camera shooting and video, device, server and storage medium
CN111601118A (en) * 2020-05-13 2020-08-28 广州市百果园信息技术有限公司 Live video processing method, system, device and terminal

Similar Documents

Publication Publication Date Title
US8621532B2 (en) Method of transmitting layered video-coded information
KR100966447B1 (en) Data streaming system and method
JP4690280B2 (en) Method, system and client device for streaming media data
EP1407596B1 (en) Video stream switching
US7649938B2 (en) Method and apparatus of controlling a plurality of video surveillance cameras
KR100971715B1 (en) Multimedia server with simple adaptation to dynamic network loss conditions
US20020131496A1 (en) System and method for adjusting bit rate and cost of delivery of digital data
WO2001065855A2 (en) A method and apparatus for streaming scalable video
KR100917743B1 (en) Data structure for data streaming system
KR20010020498A (en) system for adaptive video/audio transport over a network
KR100410973B1 (en) Method streaming moving picture video on demand
CN101742289B (en) Method, system and device for compressing video code stream
EP1499023B1 (en) Data processing system, data processing method, data processing device, and data processing program
US9398256B2 (en) Telecommunication end-point device data transmission controller
US20030076858A1 (en) Multi-layer data transmission system
CN112511867A (en) Video anti-shake method and system
WO2013001375A2 (en) Systems, methods, and media for controlling a presentation of data images in a video stream
CN116962613A (en) Data transmission method and device, computer equipment and storage medium
KR20090125556A (en) Method, apparatus and system for coding video data
CN111818336B (en) Video processing method, video processing apparatus, storage medium, and communication apparatus
KR100669621B1 (en) Reference frame control method of video codec
Kamariotis Bridging the gap between CBR and VBR for H264 standard
Bolot et al. Sound and Video on the Web
CA2994452A1 (en) Systems and methods for adaptive streaming using jpeg 2000
KR20050052757A (en) Decoding method using error correction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210316