CN114979763A - Playing control method and device during video playback and video playback system - Google Patents

Playing control method and device during video playback and video playback system Download PDF

Info

Publication number
CN114979763A
CN114979763A CN202210387672.7A CN202210387672A CN114979763A CN 114979763 A CN114979763 A CN 114979763A CN 202210387672 A CN202210387672 A CN 202210387672A CN 114979763 A CN114979763 A CN 114979763A
Authority
CN
China
Prior art keywords
video
playback
video data
frame picture
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.)
Pending
Application number
CN202210387672.7A
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 Yuwei Information & Technology Development Co ltd
Original Assignee
Shenzhen Yuwei Information & Technology Development 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 Yuwei Information & Technology Development Co ltd filed Critical Shenzhen Yuwei Information & Technology Development Co ltd
Priority to CN202210387672.7A priority Critical patent/CN114979763A/en
Publication of CN114979763A publication Critical patent/CN114979763A/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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • 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/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists

Abstract

The application provides a play control method and device, a video playback system, electronic equipment and a computer program product during video playback, wherein the play control method is used for a video play system, the video play system comprises a streaming media server, a front-end player and video terminal equipment, the play control method is used for the streaming media server, and the play control method comprises the steps of acquiring video data from the video terminal equipment according to a video play request sent by the front-end player; sending the video data to the front-end player; decoding the video data into video frame pictures; storing the video frame picture; and sending a video frame picture corresponding to the playback request to the front-end player according to the playback request of the front-end player. According to some embodiments, the frame loss situation does not exist, and the transmission pressure of the space pressure and the bandwidth of the hard disk is reduced.

Description

Playing control method and device during video playback and video playback system
Technical Field
The present application relates to the field of video monitoring, and in particular, to a play control method and apparatus during video playback, a video playback system, an electronic device, and a computer program product.
Background
For H264 or H265, the logical components are I-frame, P-frame, B-frame. The frame I is a whole picture, the frame I can directly display an image, the frame P and the frame B are variable quantities stored relative to the previous frame, are not image data, are images decoded by the previous frame and are matched with images calculated according to the variable quantities stored relative to the previous frame. Therefore, P-frames and B-frames cannot be decoded separately. A typical video data frame rate is 25 frames, i.e., 25 frames of pictures in one second. Wherein, every second has 1I frame as the first frame, and the other 24 frames are B frames and P frames.
Due to the characteristics of video decoding, the display of the frame behind the video depends on the decoded data of the frame in front, and except the frame I, the frame P and the frame B can not be played independently, so that the frame B and the frame P in the traditional reverse playing scheme are lost, only the frame I is played reversely, the picture is lost, and the monitoring personnel can not check the playback information of the key time from the playback video when the monitoring personnel check the video data back frame by frame, thereby influencing the working efficiency of the monitoring personnel.
Another solution is to increase the I-frame density, e.g., typically the video I-frame interval is one in 1 second, and the existing solution reduces frame loss by increasing the number of I-frames in 1 second. However, although this method reduces the number of frame loss, there still exists frame loss. And the increase of the number of the I frames also causes the volume of the video file to be larger, thereby bringing greater storage pressure to a hard disk and greater transmission pressure to a bandwidth.
Disclosure of Invention
The application provides a play control method and device during video playback, a video playback system, electronic equipment and a computer program product, which are used for solving the problem of frame loss during the reverse play of historical videos.
According to an aspect of the present application, a play control method in video playback is provided, where the play control method is used in a video play system, the video play system includes a streaming media server, a front end player, and a video terminal device, and the play control method is used in the streaming media server, and the play control method includes: acquiring video data from the video terminal equipment according to a video playing request sent by the front-end player; sending the video data to the front-end player; decoding the video data into video frame pictures; storing the video frame picture; and sending a video frame picture corresponding to the playback request to the front-end player according to the playback request of the front-end player.
According to some embodiments, the playback request includes timestamp information of the video frame picture.
According to some embodiments, the video frame pictures are named with timestamp information of the video frame pictures.
According to some embodiments, the playback request comprises a name of the video frame picture.
According to an aspect of the present application, a play control method in video playback is provided, where the play control method is used in a video play system, the video play system includes a streaming media server and a front-end player, and the play control method is used in the front-end player, and the play control method includes: sending a video playing request to the streaming media server; receiving and playing video data sent by the streaming media server; obtaining playback request position information; sending a playback request to the streaming media server by using the playback request position; receiving a video frame picture which is sent by the streaming media server and corresponds to the playback request; and playing the video frame picture.
According to some embodiments, before playing the video frame picture, the playing control method further comprises: and pausing the playing of the video data, and sending a request for stopping sending the video data to the streaming media server.
According to some embodiments, the playback request position information includes time stamp information of the video frame picture.
According to some embodiments, the playback request includes a name of a video frame picture.
According to an aspect of the present application, a play control device during video playback is provided, where the play control device is used in a video play system, the video play system includes a streaming media server, a front end player, and a video terminal device, and the play control device: a video data acquisition unit, configured to acquire video data from the video terminal device according to a video playing request sent by the front-end player; a video data transmitting unit, configured to transmit the video data to the front-end player; a video frame picture generating unit for decoding the video data into a video frame picture; the video frame picture storage unit is used for storing the video frame picture; and the video frame picture sending unit is used for sending a video frame picture corresponding to the playback request to the front-end player according to the playback request of the front-end player.
According to an aspect of the present application, a video playback system is provided, including a video terminal device, a streaming media server, and a front-end player, wherein: the video terminal equipment is used for generating video data and sending the generated video data to the streaming media server according to the received video data playback request sent by the streaming media server; the front-end player is used for sending a video data playback request and a video frame picture playback request to the streaming media server; the streaming media server is configured to receive the video playback data request sent by the front-end player, request video data corresponding to the video playback data request to the video terminal device, receive the video data sent by the video terminal device, send the video data to the front-end player, decode the video data into a video frame picture, receive the video frame picture request sent by the front-end player, and send the video frame picture to the front-end player.
According to an aspect of the present application, an electronic device is provided, where the start-up control system includes: one or more processors; storage means for storing one or more programs; when executed by the one or more processors, cause the one or more processors to implement a method as described in any one of the preceding.
According to an aspect of the application, a computer program product is proposed, comprising a computer program or instructions which, when executed by a processor, implement the method as defined in any of the previous claims.
According to some example embodiments of the present application, a video player is used to decode video data being played into video frame pictures for storage, and when a front-end player needs to play backwards, the video frame pictures are sent to the video player to play backwards frame by frame, so that there is no frame loss, and the space pressure of a hard disk and the transmission pressure of bandwidth are reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below.
Fig. 1 shows a communication timing diagram of a video playback system according to an example embodiment of the present application.
Fig. 2 shows a flowchart of a play control method in video playback according to an example embodiment of the present application.
Fig. 3 is a flowchart illustrating another method for controlling playback during video playback according to an exemplary embodiment of the present application.
Fig. 4 shows a block diagram of a play control apparatus during video playback according to an exemplary embodiment of the present application.
Fig. 5 illustrates a block diagram of a video playback system implemented according to an example of the present application.
Fig. 6 shows a block diagram of an electronic device apparatus according to an example embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the embodiments of the disclosure can be practiced without one or more of the specific details, or with other means, components, materials, devices, or operations. In such cases, well-known structures, methods, devices, implementations, materials, or operations are not shown or described in detail.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Specific embodiments according to the present application will be described in detail below with reference to the accompanying drawings.
In the field of video monitoring, when a monitor handles some emergency events, the monitor often needs to know the occurrence process of the event by looking up historical video data. When playing back historical video data, it is often necessary for the video to perform fine playback of the video frame by frame in a back and forward play control manner for a specified time, so as to locate a specific moment when an event occurs to obtain evidence.
Fig. 1 shows a communication timing diagram of a video playback system according to an example embodiment of the present application. A detailed description of a specific communication process of a video playing system according to an exemplary embodiment of the present application is described below with reference to fig. 1.
The video playing system shown in fig. 1 includes a video terminal device, a streaming media server, and a front-end player.
In step S101, the video terminal device is online to the streaming media server through the TCP message, and a TCP connection channel is established, so that the streaming media server can notify the video terminal device of the video playing request sent by the front-end player.
In step S103, the front-end player sends a video playing request to a specific port of the streaming media server, and the streaming media server obtains a video data storage path corresponding to the video playing request by using the received video playing request.
In step S105, a video data request is transmitted to the video terminal device storing the parsed video data.
In step S107, the video terminal apparatus transmits the video data to the streaming server.
And the front-end player plays the video data after receiving the video data sent by the streaming media server.
In step S109, the streaming server transmits the received video data to the front-end server and performs step S111.
In step S111, the streaming server parses the video data received in step S107 into video frame pictures and stores them.
According to some embodiments, in order to improve the response speed of the front-end player, the parsed video frame pictures are stored in a cache of the streaming media server.
According to some embodiments, video frame pictures are named using temporal information corresponding to the video frame pictures. Such as a timestamp of a picture of a video frame.
According to some embodiments, the video frame pictures are stored in jpg or png format.
In step S113, the front-end player sends a playback request to the streaming server when a reverse play is required.
According to some embodiments, when the reverse play is required, the front-end player pauses the play of the current video, and obtains corresponding video frame pictures from the streaming media server frame by frame forward according to the timestamp information of the play position of the current video. For example, a name of a video frame picture, e.g., a timestamp of the video frame picture, is sent to the streaming server.
According to some embodiments, when the reverse play is required, the front-end player pauses the play of the current video, and acquires the playback request position information, for example, 3 minutes from the play of the video data. According to some embodiments, the acquired playback request position information includes time stamp information of the playback request position.
In step S115, the streaming media server sends a corresponding video frame picture to the front-end server according to the received playback request.
According to some embodiments, after receiving the video frame picture sent by the streaming media server, the front-end player suspends playing of the current video data and plays the received video frame picture.
According to some embodiments, after receiving the video frame picture, the front-end player further needs to send a request for stopping sending the video data to the streaming media server.
According to some embodiments, after the front-end player stops playing the reverse video, the request picture is stopped, that is, the video can be continuously played from the position paused in step S113, and the streaming media server executes step S111 to decode the video data.
According to some embodiments, the front-end player uses different windows to play the video data and the video frame pictures. When the reverse broadcasting is needed, the video data is temporarily played, and the video frame picture is played by using the video frame picture playing window; and after the reverse play is stopped, pausing or closing the video frame picture playing window, and continuously playing the video data from the paused position by using the video data window, thereby realizing the traceless switching between the reverse play mode and the normal play mode.
According to the embodiment shown in fig. 1, the video player is used to decode the video data being played into video frame pictures for storage, and when the front-end player needs to play backwards, the video frame pictures are sent to the video player to play backwards frame by frame, so that the situation of frame loss is avoided, and the space pressure of the hard disk and the transmission pressure of the bandwidth are reduced. Furthermore, seamless switching between reverse playing and normal playing modes can be realized.
Fig. 2 shows a flowchart of a play control method in video playback according to an example embodiment of the present application. A play control method at the time of video playback according to an exemplary embodiment of the present application will be described in detail below with reference to fig. 2.
According to some example embodiments of the present application, one play control method in video playback shown in fig. 2 is used in a video play system, where the video play system includes a streaming media server, a front end player and a video terminal device, and the play control method shown in fig. 2 is used in the streaming media server.
In step S201, the streaming media server obtains video data from the video terminal device according to a video playing request sent by the front-end player.
According to some embodiments, in step S201, the streaming media player receives a historical video data request sent by the front-end player, and parses the historical video data request to determine a storage location of the historical video data, that is, to determine a video terminal device storing the historical video data. And sending a video request to the determined video terminal device to acquire video data.
In step S203, the streaming server transmits the video data to the front-end player.
According to some embodiments, in step S203, after receiving the video data from the video terminal device, the streaming media server sends the received video data to the front-end player for the front-end player to view the historical video data.
In step S205, the streaming server decodes the video data into video frame pictures.
In order to facilitate the video data obtained by the front-end player during the reverse broadcasting, according to some example embodiments of the present application, the streaming media server decodes the video data into a video frame picture while performing step S203.
According to some embodiments, the streaming server parses the video data acquired in step S201 using a ffmpeg decoding tool.
It should be noted that step S203 and step S205 need to be executed simultaneously, and thus there is no front-back division.
In step S207, the streaming server stores the video frame picture. According to some embodiments, the timestamp information of the video frame pictures is utilized for naming and storing as a jpg format or a png format.
According to other embodiments, according to a pre-established rule, the video frame picture names corresponding to the timestamp information one-to-one are obtained by using the timestamp information of the video frame picture to name the video frame picture. It should be noted that naming the video frame picture by using the timestamp in the present exemplary embodiment is only an example, and other formats capable of uniquely determining the video frame picture may also be used to name the video frame picture, which is not limited herein. The method for playing back the video by acquiring the video frame picture falls into the protection scope of the present application.
In step S209, the streaming media server sends a video frame picture corresponding to the playback request to the front-end player according to the playback request of the front-end player. According to some embodiments, the playback request includes time stamp information for the video frame picture.
According to some example embodiments of the present application, when a reverse broadcast is required, a front-end player sends a video frame picture request to a streaming media server, and after acquiring a playback request sent by the front-end player, the streaming media server sends a corresponding video frame picture to the front-end player.
According to some embodiments, the playback request sent by the front-end player to the streaming server includes the name of the video frame picture.
For example, the streaming media server stores the video frame picture with a timestamp of the video frame picture of the video data, and the request parameter of the front-end player may obtain the corresponding video frame picture by including the timestamp of the video frame picture.
According to some embodiments, after performing step S207, the streaming media server receives a command to pause sending video data, which is sent by the front-end player. And after receiving the instruction of suspending sending the video data, the streaming media server stops sending the video data.
It should be noted that, the example embodiment requests the video frame picture by using the timestamp is only an example, and other ways of obtaining the corresponding video frame picture belong to the scope of protection of the present application.
According to the embodiment shown in fig. 2, the video player is used to decode the video data being played into video frame pictures for storage, so that the front-end player can play back frame by frame, and the space pressure and bandwidth transmission pressure of the hard disk are reduced without frame loss.
Fig. 3 is a flowchart illustrating another method for controlling playback during video playback according to an exemplary embodiment of the present application. Next, a play control method in video playback according to another exemplary embodiment of the present application will be described in detail with reference to fig. 3.
According to some example embodiments of the present application, another play control method in video playback shown in fig. 3 is used in a video playing system, the video playing system includes a streaming media server and a front-end player, and the play control method shown in fig. 3 is used in the front-end player.
In step S301, the front-end player sends a video playing request to the streaming media server.
In the field of video monitoring, when a monitor handles some emergency events, the monitor often needs to know the occurrence process of the event by looking up historical video data. When playing back historical video data, it is often necessary for the video to perform fine playback of the video frame by frame in a back and forward play control manner for a specified time, so as to locate a specific moment when an event occurs to obtain evidence. When the monitor needs to acquire the historical video data, the front-end player executes step S301 to send a video playing request to the streaming media server.
In step S303, the front-end player receives and plays the video data sent by the streaming media server.
According to some embodiments, after receiving a video playing request sent by a front-end player, a streaming media server requests video data from a corresponding video terminal device and sends the obtained video data to the front-end player, and the front-end player plays the video data after receiving the video data sent by the streaming media server.
In step S305, the front-end player acquires playback request position information.
According to some embodiments, the front-end player obtains playback request position information according to a position where the current video data is played, for example, timestamp information of the current video data playing position, and obtains corresponding video frame pictures frame by frame forward from the streaming media server.
According to other embodiments, when the front-end player needs to reverse, if the video data needs to be played from any position of the video data playing, for example, 3 minutes, any position is the position where the playback request is sent, and the obtained playback request position information includes time stamp information of the playback request position. In step S307, the front-end player sends a playback request to the streaming media server by using the playback request position.
According to some embodiments, the playback request sent by the front-end player to the streaming media server includes the name of the video frame picture.
For example, the streaming media server stores the video frame picture in a timestamp of the video frame picture of the video data, and the request parameter of the front-end player may obtain the corresponding video frame picture by including the timestamp of the video frame picture.
According to some embodiments, when the double-speed reverse broadcasting is required to be realized, the double-speed reverse broadcasting can be realized by increasing the frequency of requesting the video frame pictures.
In step S309, a video frame picture is received.
According to some embodiments, the front-end player pauses playing the video data while performing step S309.
According to some embodiments, after pausing the playing of the video data, the front-end player sends a pause sending video data instruction to the streaming media server. And after receiving the instruction of suspending sending the video data, the streaming media server stops sending the video data.
According to some embodiments, the front-end player uses different windows to play the video data and the video frame pictures. When the reverse broadcasting is needed, the video data is temporarily played, and the video frame picture is played by using the video frame picture playing window; and after the reverse play is stopped, pausing or closing the video frame picture playing window, and continuously playing the video data from the pause position by using the video data window, so that traceless switching between the reverse play mode and the normal play mode is realized. According to the embodiment shown in fig. 3, when the front-end player needs to reverse play, a video frame picture is requested from the video player, so that frame-by-frame reverse play is realized, the frame loss is avoided, the space pressure of a hard disk and the transmission pressure of bandwidth are reduced, and traceless switching between reverse play and normal play is realized.
Fig. 4 shows a block diagram of a play control apparatus during video playback according to an example embodiment of the present application. The apparatus shown in fig. 4 is used in a video playback system. The video playing system comprises a streaming media server, a front-end player and a video terminal device, and the device shown in fig. 4 is used for the streaming media server.
According to some embodiments, the play control device at the time of video playback shown in fig. 4 includes a video data acquisition unit 401, a video data transmission unit 403, a video frame picture generation unit 405, a video frame picture storage unit 407, and a video frame picture transmission unit 409, where the video data acquisition unit 401 is configured to acquire video data from a video terminal apparatus according to a video play request transmitted by a front-end player; a video data transmitting unit 403, configured to transmit video data to a front-end player; a video frame picture generation unit 405 for decoding video data into a video frame picture; a video frame picture storage unit 407, configured to store a video frame picture; a video frame picture sending unit 409, configured to send a video frame picture corresponding to the playback request to the front-end player according to the playback request of the front-end player.
Fig. 5 illustrates a block diagram of a video playback system implemented according to an example of the present application. The video playback system as shown in fig. 5 includes a video terminal apparatus 501, a streaming server 503, and a front-end player 505.
The video terminal device 501 is configured to generate video data and send the generated video data to the streaming server 503 according to a received playback video data request sent by the streaming server 503.
The front-end player 505 is configured to request playback of video data and video frame picture requests from the streaming server 503.
The streaming media server 503 is configured to receive a playback video data request sent by the front-end player 505, and request video data corresponding to the playback video data request to the video terminal device 501; receiving video data sent by the video terminal device 501; sending the video data to the front-end player 505; decoding the video data into video frame pictures; and sending the video frame picture to the front-end player 505 according to the video frame picture request sent by the front-end player 505.
According to the embodiment shown in fig. 5, the video player is used to decode the video data being played into video frame pictures for storage, so that the front-end player can play back frame by frame on line, and meanwhile, fast play is realized by increasing the request frequency. The frame loss is avoided, the space pressure of the hard disk and the transmission pressure of the bandwidth are reduced, and traceless switching between reverse playing and normal playing is realized. The method is convenient for a monitor to locate details and capture evidences when handling emergencies, and improves the working efficiency.
FIG. 6 shows a block diagram of an electronic device apparatus according to an example embodiment of the present application.
An electronic device 200 according to this embodiment of the present application is described below with reference to fig. 6. The electronic device 200 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the electronic device 200 is embodied in the form of a general purpose computing device. The components of the electronic device 200 may include, but are not limited to: at least one processing unit 210, at least one memory unit 220, a bus 230 connecting different system components (including the memory unit 220 and the processing unit 210), a display unit 240, and the like.
Wherein the storage unit stores program code that can be executed by the processing unit 210 such that the processing unit 210 performs the methods according to various exemplary embodiments of the present application described herein. For example, the processing unit 210 may perform a method as shown in fig. 1.
The storage unit 220 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)2201 and/or a cache memory unit 2202, and may further include a read only memory unit (ROM) 2203.
The storage unit 220 can also include a program/utility 2204 having a set (at least one) of program modules 2205, such program modules 2205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may comprise an implementation of a network environment.
Bus 230 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 200 may also communicate with one or more external devices 300 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 200, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 200 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 250. Also, the electronic device 200 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 260. The network adapter 260 may communicate with other modules of the electronic device 200 via the bus 230. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. The technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, or a network device, etc.) to execute the above method according to the embodiments of the present application.
The software product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The computer readable medium carries one or more programs which, when executed by a device, cause the computer readable medium to implement the functions described above.
Those skilled in the art will appreciate that the modules described above may be distributed in the apparatus as described in the embodiments, and that corresponding changes may be made in one or more apparatus that are unique from the embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.

Claims (12)

1. A playing control method during video playback is characterized in that the playing control method is used for a video playing system, the video playing system comprises a streaming media server, a front-end player and a video terminal device, the playing control method is used for the streaming media server, and the playing control method comprises the following steps:
acquiring video data from the video terminal equipment according to a video playing request sent by the front-end player;
sending the video data to the front-end player;
decoding the video data into video frame pictures;
storing the video frame picture;
and sending a video frame picture corresponding to the playback request to the front-end player according to the playback request of the front-end player.
2. The playback control method according to claim 1, wherein the playback request includes time stamp information of the video frame picture.
3. The playback control method according to claim 2, wherein the video frame picture is named using timestamp information of the video frame picture.
4. The playback control method according to claim 3, wherein the playback request includes a name of the video frame picture.
5. A playing control method during video playback is characterized in that the playing control method is used for a video playing system, the video playing system comprises a streaming media server and a front-end player, the playing control method is used for the front-end player, and the playing control method comprises the following steps:
sending a video playing request to the streaming media server;
receiving and playing video data sent by the streaming media server;
obtaining playback request position information;
sending a playback request to the streaming media server by using the playback request position;
receiving a video frame picture which is sent by the streaming media server and corresponds to the playback request;
and playing the video frame picture.
6. The playback control method according to claim 5, wherein before playing back the video frame picture, the playback control method further comprises:
and pausing the playing of the video data, and sending a request for stopping sending the video data to the streaming media server.
7. The playback control method according to claim 5, wherein the playback request position information includes time stamp information of the video frame picture.
8. The playback control method according to claim 7, wherein the playback request includes a name of a video frame picture.
9. The playing control device during video playback is characterized in that the playing control device is used for a video playing system, the video playing system comprises a streaming media server, a front-end player and a video terminal device, and the playing control device:
a video data acquisition unit, configured to acquire video data from the video terminal device according to a video playing request sent by the front-end player;
a video data transmitting unit, configured to transmit the video data to the front-end player;
a video frame picture generating unit for decoding the video data into a video frame picture;
the video frame picture storage unit is used for storing the video frame picture;
and the video frame picture sending unit is used for sending a video frame picture corresponding to the playback request to the front-end player according to the playback request of the front-end player.
10. A video playback system comprising a video terminal device, a streaming server, and a front-end player, wherein:
the video terminal equipment is used for generating video data and sending the generated video data to the streaming media server according to the received video data playback request sent by the streaming media server;
the front-end player is used for sending a video data playback request and a video frame picture playback request to the streaming media server;
the streaming media server is used for
Receiving the playback video data request sent by the front-end player,
requesting video data corresponding to the playback video data request from the video terminal device,
receiving the video data transmitted by the video terminal equipment,
sending video data to the front-end player,
decoding the video data into a video frame picture,
receiving the video frame picture request sent by the front-end player,
and sending the video frame picture to the front-end player.
11. An electronic device, wherein the activation control system comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the playback control method of any of claims 1-8.
12. A computer program product comprising a computer program or instructions characterized in that:
the computer program or instructions, when executed by a processor, implement a method of playback control as claimed in any one of claims 1 to 8.
CN202210387672.7A 2022-04-13 2022-04-13 Playing control method and device during video playback and video playback system Pending CN114979763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210387672.7A CN114979763A (en) 2022-04-13 2022-04-13 Playing control method and device during video playback and video playback system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210387672.7A CN114979763A (en) 2022-04-13 2022-04-13 Playing control method and device during video playback and video playback system

Publications (1)

Publication Number Publication Date
CN114979763A true CN114979763A (en) 2022-08-30

Family

ID=82977697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210387672.7A Pending CN114979763A (en) 2022-04-13 2022-04-13 Playing control method and device during video playback and video playback system

Country Status (1)

Country Link
CN (1) CN114979763A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110013889A1 (en) * 2009-07-17 2011-01-20 Microsoft Corporation Implementing channel start and file seek for decoder
CN102356644A (en) * 2009-02-04 2012-02-15 谷歌公司 Server-side support for seamless rewind and playback of video streaming
CN103873819A (en) * 2012-12-13 2014-06-18 杭州海康威视数字技术股份有限公司 Method and system for rapid playback of video files in video monitoring
US20170171638A1 (en) * 2015-12-15 2017-06-15 Le Holdings (Beijing) Co., Ltd. Method and Terminal for Video Play
CN108174281A (en) * 2018-01-19 2018-06-15 浙江大华技术股份有限公司 A kind of video play-reverse method, apparatus, system, medium and equipment
CN111866574A (en) * 2019-04-29 2020-10-30 浙江开奇科技有限公司 Real-time reverse playing method for mobile end streaming media
CN112291591A (en) * 2020-09-21 2021-01-29 浙江大华技术股份有限公司 Video data playback method, electronic equipment and storage medium
US20210051368A1 (en) * 2019-08-15 2021-02-18 Hulu, LLC Prediction-Based Dropped Frame Handling Logic In Video Playback
CN113382212A (en) * 2021-08-13 2021-09-10 深圳市有为信息技术发展有限公司 Method and device for playing real-time audio and video stream and electronic equipment
WO2021213831A1 (en) * 2020-04-21 2021-10-28 Theo Technologies Video stream control

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102356644A (en) * 2009-02-04 2012-02-15 谷歌公司 Server-side support for seamless rewind and playback of video streaming
US20110013889A1 (en) * 2009-07-17 2011-01-20 Microsoft Corporation Implementing channel start and file seek for decoder
CN103873819A (en) * 2012-12-13 2014-06-18 杭州海康威视数字技术股份有限公司 Method and system for rapid playback of video files in video monitoring
US20170171638A1 (en) * 2015-12-15 2017-06-15 Le Holdings (Beijing) Co., Ltd. Method and Terminal for Video Play
CN108174281A (en) * 2018-01-19 2018-06-15 浙江大华技术股份有限公司 A kind of video play-reverse method, apparatus, system, medium and equipment
CN111866574A (en) * 2019-04-29 2020-10-30 浙江开奇科技有限公司 Real-time reverse playing method for mobile end streaming media
US20210051368A1 (en) * 2019-08-15 2021-02-18 Hulu, LLC Prediction-Based Dropped Frame Handling Logic In Video Playback
WO2021213831A1 (en) * 2020-04-21 2021-10-28 Theo Technologies Video stream control
CN112291591A (en) * 2020-09-21 2021-01-29 浙江大华技术股份有限公司 Video data playback method, electronic equipment and storage medium
CN113382212A (en) * 2021-08-13 2021-09-10 深圳市有为信息技术发展有限公司 Method and device for playing real-time audio and video stream and electronic equipment

Similar Documents

Publication Publication Date Title
US10405048B2 (en) Methods and apparatus for supporting VOD requests in a system with hierarchical content stores
JP4313268B2 (en) A VCR-like feature that renders video on demand
US6014706A (en) Methods and apparatus for implementing control functions in a streamed video display system
US7558760B2 (en) Real-time key frame generation
EP0702493A1 (en) Interactive playout of videos
JPH11500289A (en) Method for transmitting and receiving a compressed television signal
CN111447487B (en) Reverse screen projection method and system for smart screen, smart screen and readable storage medium
US20040034870A1 (en) Data streaming system and method
CN112637661B (en) Video stream switching method and device, computer storage medium and electronic equipment
CN111182322B (en) Director control method and device, electronic equipment and storage medium
JP2010021663A (en) Communication apparatus and communication method
WO2019134499A1 (en) Method and device for labeling video frames in real time
CN112399257B (en) Cloud desktop video playing method, server, terminal and storage medium
CN113727184B (en) Video playing method, device, system, storage medium and electronic equipment
CN113382278B (en) Video pushing method and device, electronic equipment and readable storage medium
CN114979763A (en) Playing control method and device during video playback and video playback system
KR101390880B1 (en) Method and devices for the transfer of a data flow from a data source to a data sink
GB2328825A (en) Repetitive video replay in video on demand system
CN115243074A (en) Video stream processing method and device, storage medium and electronic equipment
US20120251086A1 (en) Trick mode technique for a bandwidth limited channel
CN110855645B (en) Streaming media data playing method and device
CN114339415A (en) Client video playing method and device, electronic equipment and readable medium
CN114079796A (en) Channel switching method, device and system
KR100899666B1 (en) Dispersed multistreaming transmission apparatus
CN110798700A (en) Video processing method, video processing device, storage medium and electronic equipment

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20220830