CN108174281A - A kind of video play-reverse method, apparatus, system, medium and equipment - Google Patents

A kind of video play-reverse method, apparatus, system, medium and equipment Download PDF

Info

Publication number
CN108174281A
CN108174281A CN201810055493.7A CN201810055493A CN108174281A CN 108174281 A CN108174281 A CN 108174281A CN 201810055493 A CN201810055493 A CN 201810055493A CN 108174281 A CN108174281 A CN 108174281A
Authority
CN
China
Prior art keywords
picture
video
format
client
reproduction time
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
CN201810055493.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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201810055493.7A priority Critical patent/CN108174281A/en
Publication of CN108174281A publication Critical patent/CN108174281A/en
Pending legal-status Critical Current

Links

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/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 or rendering scenes according to encoded video stream scene graphs
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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 or rendering scenes according to encoded video stream scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer

Landscapes

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

Abstract

The present invention provides a kind of video play-reverse method, apparatus, system, medium and equipment, wherein the method applied to server includes:Receive the video play-reverse request that client is sent, at least one picture format that carrying video identifier and the client are supported in the video play-reverse request;The corresponding video file of the video identifier is read, the video file includes the reproduction time stamp of multiple video frame and each video frame;And a kind of picture format is chosen from least one picture format, as specified format;For each video frame in the video file, which is converted to the picture of the specified format, and the reproduction time of the video frame is stabbed and is associated with the picture;The picture being converted to and the associated reproduction time stamp of picture are sent to the client, so that the client carries out inverted order displaying to picture.Embodiment provided by the invention can reduce the appearance of picture Caton phenomenon to a certain extent.

Description

A kind of video play-reverse method, apparatus, system, medium and equipment
Technical field
The present invention relates to video display arts field more particularly to a kind of video play-reverse method, apparatus, medium, system and Equipment.
Background technology
At present, the mode for realizing video play-reverse is:Server side receives the video play-reverse request that web browser is sent;It beats It opens video play-reverse and asks corresponding video file, and the video file is decoded as yuv data;It will be in decoded yuv data I (key frame) frames and I frames associated P (non-key frame) frames backward storage, generate new video file, then regard new Frequency file is sent to web browser;Web browser carries out direct decoding broadcasting to the new video file, so as to reach video The purpose put upside down.
Inventor has found that existing video play-reverse mode, web browser needs to be decoded video file broadcasting, by Video is decoded in web browser less efficient, asking for picture interim card is often will appear in video file playing process Topic.
Invention content
The present invention provides a kind of video play-reverse method, apparatus, system, medium and equipment, is fallen to solve existing video It puts in mode, since web browser is decoded video less efficient, picture often occurs in video file playing process The problem of interim card.
In a first aspect, the embodiment of the present invention provides a kind of video play-reverse method, applied to server, including:
The video play-reverse request that client is sent is received, video identifier and the visitor are carried in the video play-reverse request At least one picture format that family end is supported;
The corresponding video file of the video identifier is read, the video file includes multiple video frame and each video The reproduction time stamp of frame;And
A kind of picture format is chosen from least one picture format, as specified format;
For each video frame in the video file, which is converted to the picture of the specified format, and The reproduction time of the video frame is stabbed and is associated with the picture;
The picture being converted to and the associated reproduction time stamp of picture are sent to the client, so that the client End carries out inverted order displaying to picture.
Second aspect, the embodiment of the present invention provide a kind of video play-reverse device, including:
For receiving the video play-reverse request of client transmission, video is carried in the video play-reverse request for receiving module At least one picture format that mark and the client are supported;
Read module, for reading the corresponding video file of the video identifier, the video file includes multiple videos Frame and the reproduction time of each video frame stamp;
Module is chosen, for choosing a kind of picture format from least one picture format, as specified format;
Modular converter for being directed to each video frame in the video file, which is converted to described specified The picture of form, and the reproduction time of the video frame is stabbed and is associated with the picture;
First sending module, for the picture being converted to and the associated reproduction time stamp of picture to be sent to the visitor Family end, so that the client carries out inverted order displaying to picture.
The third aspect, the embodiment of the present application provide a kind of nonvolatile computer storage media, and the computer storage is situated between Matter is stored with executable program, which performs the step for realizing the video play-reverse method that first aspect provides Suddenly.
Fourth aspect, the embodiment of the present application provide a kind of computing device, including memory, processor and are stored in memory On computer program, the step of processor realizes the video play-reverse method that first aspect provides when performing described program.
5th aspect, the embodiment of the present invention provide a kind of video play-reverse method, applied to client, including:
It is operated in response to the video play-reverse of user, video play-reverse request is sent to server, in the video play-reverse request Carry video identifier and at least one picture format of client support;
Receive picture and the associated reproduction time stamp of picture that server is sent;Wherein, the picture is by the service It video frame of the device in the corresponding video file of the video identifier and is chosen from least one picture format A kind of picture format conversion gained, reproduction time stamp of the associated reproduction time stamp of picture for corresponding video frame;
Descending sequence is stabbed according to the associated reproduction time of picture, and inverted order displaying is carried out to picture.
6th aspect, the embodiment of the present invention provide a kind of video play-reverse device, including:
For being operated in response to the video play-reverse of user, video play-reverse request is sent to server for respond module, described to regard Frequency is put upside down and carries at least one picture format that video identifier and the client are supported in request;
First receiving module, for receiving the picture of server transmission and the associated reproduction time stamp of picture;Wherein, institute Picture is stated by video frame of the server in the corresponding video file of the video identifier and from at least one A kind of picture format conversion gained chosen in picture format, when the associated reproduction time stamp of picture is the broadcasting of corresponding video frame Between stab;
Display module carries out inverted order exhibition for stabbing descending sequence according to the associated reproduction time of picture to picture Show.
7th aspect, the embodiment of the present application provide a kind of nonvolatile computer storage media, and the computer storage is situated between Matter is stored with executable program, which performs the step of video play-reverse method for realizing that the 5th aspect provides Suddenly.
Eighth aspect, the embodiment of the present application provide a kind of computing device, including memory, processor and are stored in memory On computer program, the processor realizes the video play-reverse method that the 5th aspect provides when performing described program the step of.
9th aspect, the embodiment of the present application provide a kind of video play-reverse system, including:
For being operated in response to the video play-reverse of user, video play-reverse request, the video are sent to server for client It puts upside down and carries at least one picture format that video identifier and the client are supported in request;
Server, for receiving the video play-reverse request of client transmission;Read the corresponding video text of the video identifier Part, the video file include the reproduction time stamp of multiple video frame and each video frame;And scheme from at least one A kind of picture format is chosen in piece form, as specified format;For each video frame in the video file, by the video Frame is converted to the picture of the specified format, and the reproduction time of the video frame is stabbed and is associated with the picture;It will convert To picture and picture associated reproduction time stamp be sent to the client;
The client is additionally operable to receive picture and the associated reproduction time stamp of picture that server is sent;According to figure The associated reproduction time of piece stabs descending sequence and carries out inverted order displaying to picture.
Using video play-reverse method, apparatus provided by the invention, system, medium and equipment, have the advantages that:Clothes Video frame in business device video that client request is put upside down is converted into picture and during by the broadcasting in video of each video frame Between stamp be associated with corresponding picture after be sent to client, client is stabbed descending according to the associated reproduction time of picture Sequence to picture carry out inverted order displaying, compared to the video play-reverse mode played after being decoded to video file, to picture The more efficient of displaying is decoded, and picture interim card can be reduced to a certain extent during being shown to picture The appearance of phenomenon.
Description of the drawings
Fig. 1 is the flow diagram of the video play-reverse method provided in an embodiment of the present invention applied to server;
Fig. 2 chooses a kind of method flow schematic diagram of picture format to be provided in an embodiment of the present invention;
Fig. 3 is another application provided in an embodiment of the present invention in the flow diagram of the video play-reverse method of server;
Fig. 4 is the flow diagram of the video play-reverse method provided in an embodiment of the present invention applied to client;
Fig. 5 is the structure diagram of the video play-reverse device provided in an embodiment of the present invention applied to server;
Fig. 6 is the structure diagram of the video play-reverse device provided in an embodiment of the present invention applied to client;
Fig. 7 is video play-reverse system schematic provided in an embodiment of the present invention;
Fig. 8 is the computing device provided in an embodiment of the present invention for being used to implement the video play-reverse method applied to server Hardware architecture diagram;
Fig. 9 is the computing device provided in an embodiment of the present invention for being used to implement the video play-reverse method applied to client Hardware architecture diagram.
Specific embodiment
Video play-reverse method provided by the invention is described in more detail with reference to the accompanying drawings and examples.
The embodiment of the present invention provides a kind of video play-reverse method, as shown in Figure 1, applied to server, including:
Step 101, receive the video play-reverse request that client is sent, carried in the video play-reverse request video identifier with And at least one picture format that the client is supported.
Specifically, client is browser client, for example can be web browser client, the more specifically client It holds as web browser front end, at this point, server is web browser rear end.The video play-reverse request that server receives includes please The video identifier for the video put upside down and the client is asked to support at least one picture format of displaying.Wherein, picture format packet Include BMP forms, PCX forms, jpeg format, JPG forms etc..
Step 102, read the corresponding video file of the video identifier, the video file include multiple video frame and The reproduction time stamp of each video frame.
Specifically, the corresponding video file of the video identifier is the video that request is put upside down, which includes video The reproduction time stamp of frame and each video frame in video display process, reproduction time stamp are the broadcasting relative to the video The playing sequence timestamp of total duration.For example, the broadcasting total duration of the video is 30s, it is suitable in first broadcasting in the video The reproduction time stamp of the video frame of sequence is first second, the reproduction time stamp of other video frame in the video, and so on.Certainly, Reproduction time stamp may be accurate to millisecond or delicate, not limit here.Wherein, reproduction time stamp and video frame one are a pair of Should, correspondingly, reproduction time stamp is corresponded with picture.
Step 103, a kind of picture format is chosen from least one picture format, as specified format.
Specifically, in the case where client only supports a kind of picture format, using the picture format as specified format, In the case that client supports plurality of picture form, a kind of picture format is chosen from plurality of picture form, as specified format. When it is implemented, a kind of picture format can be arbitrarily chosen from plurality of picture form as specified format, it also can be according to other sides Formula chooses picture format, does not limit here.
Wherein, the execution sequence of step 102 and step 103 can not limit, such as after can also first carrying out step 102 It performs step 103 or step 102 and step 103 is performed simultaneously.
Step 104, for each video frame in the video file, which is converted into the specified format Picture, and the reproduction time of the video frame is stabbed and is associated with the picture.
When it is implemented, each video frame in video file is converted, to be converted into the picture of specified format.Its In, a video frame is converted into a width picture, and the finger obtained by the reproduction time stamp of video frame and after being converted to the video frame The picture for the formula that fixes is associated, so as to obtain each picture corresponding reproduction time stamp in the video file.It specifically, can Video frame is converted into the video data of yuv format, then the video data of yuv format is converted into the picture number of specified format According to so as to achieve the purpose that the video frame is converted to the picture of specified format.
Step 105, the picture being converted to and the associated reproduction time stamp of picture are sent to the client, so that The client carries out inverted order displaying to picture.
Specifically, the picture being converted to and the associated reproduction time stamp of corresponding picture are sent to client, for Client carries out inverted order displaying to the picture received, to achieve the effect that video play-reverse.When client is web browser front end When, inverted order displaying is carried out to the picture received by web browser front end.
When it is implemented, the picture being converted to and the associated reproduction time stamp of picture can be sent out in a manner of data flow Give client.
The embodiment of the present invention, the video frame in the video that server puts client request upside down are converted into picture and will be each The reproduction time stamp of video frame in video is sent to client after being associated with corresponding picture, so that client is according to figure The associated timestamp of piece carries out inverted order displaying to the picture received, compared to the video played after being decoded to video file Rewind mode is decoded picture the more efficient of displaying, and can be in certain journey during being shown to picture The appearance of picture Caton phenomenon is reduced on degree.
Optionally, it in video play-reverse method provided by the embodiments of the present application, is also carried in the video play-reverse request current Network bandwidth, the then content provided according to Fig. 2 choose a kind of picture format from least one picture format:
Step 201, the pre-stored picture format set of the server and at least one picture format group are determined Into intersection of sets collection;Wherein, the pre-stored picture format is the picture format that the server is supported.
Specifically, prestoring the picture format set that the server is supported in server, client transmission is received At least one picture format after, determine client send at least one picture figure form set deposited in advance with server The picture format intersection of sets collection of storage, the picture format that the picture format in the intersection is supported simultaneously for server and client side.
Step 202, according to pre-stored bandwidth range and the correspondence of picture format, the current network band is determined The corresponding picture format of bandwidth range belonging to width.
Specifically, in the case where dimension of picture is identical, the space size shared by the picture of different-format is different, for example schemes Space size shared by piece form A is 1MB, and the space size shared by picture format B is 2MB.The embodiment of the present invention prestores The correspondence of bandwidth range and picture format, and the bandwidth range pair from the correspondence belonging to lookup current network bandwidth The picture format answered, to ensure the figure of the suitable picture format of space size shared by selection in the case where network bandwidth allows Piece.
It should be noted that video frame can be converted into the picture of pre-set dimension by the embodiment of the present invention.
Step 203, if the corresponding picture format of bandwidth range belonging to the current network bandwidth belongs to the intersection, Using the corresponding picture format of the bandwidth range belonging to the current network bandwidth as the picture format chosen.
The embodiment of the present invention, be based on server there may be do not support the situation of picture format that client is supported come Implement.In practical application, the function of server is more powerful, and the picture format server that common customer ends are supported all is supported, In this case, a kind of picture format can be also chosen from plurality of picture form in the following way:
According to pre-stored network bandwidth range and the correspondence of picture format, determine belonging to current network bandwidth The corresponding picture format of network bandwidth range;If it is determined that picture format include it is a variety of, then arbitrarily choose a kind of conduct Specified format;If it is determined that picture format only include one kind, then using the picture format as specified format.Wherein, current net Network bandwidth is determined as the prior art, does not limit here.
Optionally, as shown in figure 3, the picture being converted to and the associated reproduction time stamp of picture are sent to the visitor Before the end of family, further include:
Step 301, according to the current network bandwidth, picture refreshing frequency is determined.
Specifically, according to the correspondence of pre-stored network bandwidth range and refreshing frequency, current network band is determined The corresponding refreshing frequency of network bandwidth range belonging to width, as picture refreshing frequency, for example, when network bandwidth is more than 1MB/s, Picture refreshing frequency is 25 frames/s;When ranging from [512K/s, the 1MB/s] of network bandwidth, picture refreshing frequency is 15 frames/s;Net When being less than 512K/s of network bandwidth, picture refreshing frequency are 5 frames/s.
Step 302, the picture refreshing frequency is sent to the client, so that the client is according to the picture Refreshing frequency is shown picture.
Specifically, picture refreshing frequency is sent to client by server, client is according to the picture refreshing frequency to figure Piece is shown, if for example, picture refreshing frequency is 15 frames/s, client is according to the frequency per second for refreshing 15 width pictures to figure Piece is shown.
Optionally, the picture being converted to and the associated reproduction time stamp of picture are sent to the client, specifically Including:
When determining all video frame of current picture group in the video file being converted to the picture of the specified format, The corresponding picture of the current picture group and the associated reproduction time stamp of the corresponding picture of current picture group are sent to described Client.
Specifically, be made of in video file each picture group, according to playing sequence of the picture group in the video file, Picture conversion is carried out to each picture group successively, determines video frame all in the picture group of current order being converted to specified lattice It is during the picture of formula, the corresponding picture of picture group of the corresponding picture of the picture group of the current order and current order is associated Reproduction time stamp is sent to the client together.More specifically, it is broadcast in the video file by evening to early according to picture group Sequence is put forward, since the video file the picture group of the last one playing sequence, picture is carried out to each picture group successively and is turned It changes, picture conversion is carried out until completing the picture group to first playing sequence in the video file.
Wherein, picture group, that is, GOP (Group of Pictures), a picture group is made of one group of continuous video frame.
More specifically, for each picture group in video file, according to each video frame in the picture group in the video Each video frame in the picture group is converted to the picture of specified format by the playing sequence in file.It can be according to the picture group Interior each video frame in the video file by evening to morning playing sequence, the video of the last one playing sequence from picture group Frame starts, and carries out picture conversion to video frame each in the picture group successively, until terminating that first in the picture group is broadcast The video frame for putting forward sequence carries out picture conversion.
After the video play-reverse method for being applied to server end is introduced, regarding applied to client-side is described below Frequency is put upside down method, as shown in figure 4, including:
Step 401, it is operated in response to the video play-reverse of user, sends video play-reverse request to server, the video falls Put at least one picture format that video identifier and client support are carried in request.
Specifically, about the video identifier that carries in video play-reverse request, client, server, video play-reverse request with And picture format is seen above, and is not repeated here.
Step 402, picture and the associated reproduction time stamp of picture that server is sent are received;Wherein, the picture by Video frame of the server in the corresponding video file of the video identifier and from least one picture format A kind of picture format conversion gained of middle selection, reproduction time stamp of the associated reproduction time stamp of picture for corresponding video frame.
Specifically, the explanation that explains in detail about reproduction time stamp is seen above, do not repeat here.Server is according to regarding Frequency marking knows the video frame in corresponding video file and a kind of picture format chosen from least one picture format conversion The detailed embodiment for obtaining picture is seen above, and is not repeated here.
Step 403, it stabs descending sequence according to the associated reproduction time of picture and inverted order displaying is carried out to picture.
Specifically, the associated reproduction time stamp of picture is the broadcasting of the broadcasting total duration of video played relative to the request Sequential time stamp.During video play-reverse, reproduction time stamp is bigger, and the playing sequence of associated picture is stabbed with the reproduction time It is more forward.For example, reproduction time stamp is the 5th second and the 6th second respectively, then during video play-reverse, the 5th second corresponding picture Playing sequence is later than the playing sequence of the 6th second corresponding picture.
It should be noted that during video is just put, reproduction time stamp is bigger, and associated picture is stabbed with the reproduction time Playing sequence more rearward.
The embodiment of the present invention, the video frame in the video that server puts client request upside down are converted into picture and will be each The reproduction time stamp of video frame in video is sent to client after being associated with corresponding picture, and client is closed according to picture The reproduction time of connection stabs descending sequence and carries out inverted order displaying to picture, compared to being played after being decoded to video file Video play-reverse mode, be decoded the more efficient of displaying to picture, and can be during being shown to picture The appearance of picture Caton phenomenon is reduced to a certain extent.
Optionally, it before receiving the picture of server end transmission and the associated reproduction time stamp of picture, further includes:It receives The picture refreshing frequency that the server is sent.
Specifically, explanation about picture refreshing frequency by the agency of above, does not repeat, client can root here According to the picture refreshing frequency, the picture received is shown.When it is implemented, can according to the picture refreshing frequency and The associated reproduction time of picture stabs descending sequence, and inverted order displaying is carried out to picture.For example, when picture refreshing frequency is 25 During frame/s, a pictures can be shown per 40ms.
After the video play-reverse method for being applied to server end and client is introduced, implementation of the present invention is described below The video play-reverse device applied to server end that example provides, as shown in figure 5, including:
Receiving module 501 for receiving the video play-reverse request of client transmission, is carried in the video play-reverse request and is regarded At least one picture format that frequency marking is known and the client is supported;
Read module 502, for reading the corresponding video file of the video identifier, the video file includes multiple regard Frequency frame and the reproduction time of each video frame stamp;
Module 503 is chosen, for choosing a kind of picture format from least one picture format, as specified lattice Formula;
The video frame for being directed to each video frame in the video file, is converted to the finger by modular converter 504 The picture for the formula that fixes, and the reproduction time of the video frame is stabbed and is associated with the picture;
First sending module 505, for the picture being converted to and the associated reproduction time stamp of picture to be sent to institute Client is stated, so that the client carries out inverted order displaying to picture.
Optionally, current network bandwidth is also carried in the video play-reverse request, then the selection module 503, specific to use In:
Determine the pre-stored picture format set of the server and the set of at least one picture format composition Intersection;Wherein, the pre-stored picture format is the picture format that the server is supported;
According to pre-stored bandwidth range and the correspondence of picture format, determine belonging to the current network bandwidth The corresponding picture format of bandwidth range;
If the corresponding picture format of bandwidth range belonging to the current network bandwidth belongs to the intersection, described will work as The corresponding picture format of bandwidth range belonging to preceding network bandwidth is as the picture format chosen.
Optionally, video play-reverse device provided in an embodiment of the present invention, further includes:
Second sending module 506, in first sending module that the picture being converted to and picture is associated Reproduction time stamp is sent to before the client, according to the current network bandwidth, determines picture refreshing frequency;By the figure Piece refreshing frequency is sent to the client, so that the client is shown picture according to the picture refreshing frequency.
Optionally, first sending module 505, is specifically used for:
When determining all video frame of current picture group in the video file being converted to the picture of the specified format, The corresponding picture of the current picture group and the associated reproduction time stamp of the corresponding picture of current picture group are sent to described Client.
The video play-reverse device provided in an embodiment of the present invention applied to client is described below, as shown in fig. 6, including:
For being operated in response to the video play-reverse of user, video play-reverse request, institute are sent to server for respond module 601 State at least one picture format that video identifier and client support are carried in video play-reverse request;
First receiving module 602, for receiving the picture of server transmission and the associated reproduction time stamp of picture;Its In, the picture by video frame of the server in the corresponding video file of the video identifier and from it is described at least A kind of picture format conversion gained chosen in a kind of picture format, associated reproduction time stamp the broadcasting for corresponding video frame of picture Put timestamp;
Display module 603 carries out inverted order for stabbing descending sequence according to the associated reproduction time of picture to picture Displaying.
Optionally, video play-reverse device provided in an embodiment of the present invention, further includes:
Second receiving module 604, for receiving the picture and picture of server end transmission in first receiving module Before associated reproduction time stamp, the picture refreshing frequency that the server is sent is received.
Optionally, the display module 603, is specifically used for:
Descending sequence is stabbed according to the picture refreshing frequency and the associated reproduction time of picture, picture is carried out Inverted order is shown.
Video play-reverse system provided in an embodiment of the present invention is described below, as shown in fig. 7, comprises:
For being operated in response to the video play-reverse of user, video play-reverse request is sent to server for client 701, described Video identifier and at least one picture format of client support are carried in video play-reverse request;
Server 702, for receiving the video play-reverse request of client transmission;Read the corresponding video of the video identifier File, the video file include the reproduction time stamp of multiple video frame and each video frame;And from at least one A kind of picture format is chosen in picture format, as specified format;For each video frame in the video file, this is regarded Frequency frame is converted to the picture of the specified format, and the reproduction time of the video frame is stabbed and is associated with the picture;It will conversion The obtained associated reproduction time stamp of picture and picture is sent to the client;
The client 701 is additionally operable to receive picture and the associated reproduction time stamp of picture that server is sent;According to The associated reproduction time of picture stabs descending sequence and carries out inverted order displaying to picture.
The nonvolatile computer storage media provided in an embodiment of the present invention applied to server end is described below, it is described Computer storage media is stored with executable program, which performs times for realizing that above-described embodiment provides One be applied to server video play-reverse method the step of.
It is described below the computing device provided in an embodiment of the present invention applied to server end, which specifically can be with For property server.
The embodiment of the present invention also provides a kind of computing device, including memory, the meter of processor and storage on a memory Calculation machine program, the processor realize the step of any of the above-described video play-reverse method applied to server when performing described program Suddenly.
The embodiment of the present invention provides a kind of computing device, for performing the video applied to server in above-described embodiment Put upside down method, as shown in figure 8, for the present invention implement described in computing device hardware architecture diagram, computing device tool Desktop computer, portable computer, smart mobile phone, tablet computer that body can be etc..Specifically, which can wrap Memory 801, the computer program of processor 802 and storage on a memory are included, the processor performs real during described program The step of video play-reverse method applied to server of existing above-described embodiment.Wherein, memory 801 can include read-only storage Device (ROM) and random access memory (RAM), and the program instruction sum number stored in memory 801 is provided to processor 802 According to.
Further, the computing device described in the embodiment of the present invention can also include input unit 803 and output dress Put 804 etc..Input unit 803 can include keyboard, mouse, touch screen etc.;Output device 804 can include display equipment, such as Liquid crystal display (Liquid Crystal Display, LCD), cathode-ray tube (Cathode Ray Tube, CRT) touch Screen etc..Memory 801, processor 802, input unit 803 and output device 804 can be connected by bus or other modes It connects, in Fig. 8 for being connected by bus.
Processor 802 calls the program instruction of the storage of memory 801 and performs above-mentioned implementation according to the program instruction of acquisition The video play-reverse method applied to server that example provides.
The nonvolatile computer storage media provided in an embodiment of the present invention applied to client, the meter is described below Calculation machine storage medium is stored with executable program, which performs any for realizing that above-described embodiment provides The step of video play-reverse method applied to client.
The computing device provided in an embodiment of the present invention applied to client is described below.
The embodiment of the present invention also provides a kind of computing device, including memory, the meter of processor and storage on a memory Calculation machine program, the processor realize the step of any of the above-described video play-reverse method applied to client when performing described program Suddenly.
The embodiment of the present invention provides a kind of computing device, for performing the video applied to client in above-described embodiment Put upside down method, as shown in figure 9, for the present invention implement described in computing device hardware architecture diagram, computing device tool Desktop computer, portable computer, smart mobile phone, tablet computer that body can be etc..Specifically, which can wrap Memory 901, the computer program of processor 902 and storage on a memory are included, the processor performs real during described program The step of video play-reverse method applied to client of existing above-described embodiment.Wherein, memory 901 can include read-only storage Device (ROM) and random access memory (RAM), and the program instruction sum number stored in memory 901 is provided to processor 902 According to.
Further, the computing device described in the embodiment of the present invention can also include input unit 903 and output dress Put 904 etc..Input unit 903 can include keyboard, mouse, touch screen etc.;Output device 904 can include display equipment, such as Liquid crystal display (Liquid Crystal Display, LCD), cathode-ray tube (Cathode Ray Tube, CRT) touch Screen etc..Memory 901, processor 902, input unit 903 and output device 904 can be connected by bus or other modes It connects, in Fig. 9 for being connected by bus.
Processor 902 calls the program instruction of the storage of memory 901 and performs above-mentioned implementation according to the program instruction of acquisition The video play-reverse method applied to client that example provides.
Using video play-reverse method, apparatus provided by the invention, system, medium and equipment, have the advantages that:Clothes Video frame in business device video that client request is put upside down is converted into picture and during by the broadcasting in video of each video frame Between stamp be associated with corresponding picture after be sent to client, client is stabbed descending according to the associated reproduction time of picture Sequence to picture carry out inverted order displaying, compared to the video play-reverse mode played after being decoded to video file, to picture The more efficient of displaying is decoded, and picture interim card can be reduced to a certain extent during being shown to picture The appearance of phenomenon.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then additional changes and modifications may be made to these embodiments.So appended claims be intended to be construed to include it is excellent It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (19)

  1. A kind of 1. video play-reverse method, which is characterized in that applied to server, including:
    The video play-reverse request that client is sent is received, video identifier and the client are carried in the video play-reverse request At least one picture format of support;
    Read the corresponding video file of the video identifier, the video file includes multiple video frame and each video frame Reproduction time stabs;And
    A kind of picture format is chosen from least one picture format, as specified format;
    For each video frame in the video file, which is converted to the picture of the specified format, and should The reproduction time stamp of video frame is associated with the picture;
    The picture being converted to and the associated reproduction time stamp of picture are sent to the client, so that the client pair Picture carries out inverted order displaying.
  2. 2. according to the method described in claim 1, it is characterized in that, also carry current network band in video play-reverse request Width is then chosen a kind of picture format from least one picture format, is specifically included:
    Determine the pre-stored picture format set of the server and the intersection of sets of at least one picture format composition Collection;Wherein, the pre-stored picture format is the picture format that the server is supported;
    According to pre-stored bandwidth range and the correspondence of picture format, the bandwidth belonging to the current network bandwidth is determined The corresponding picture format of range;
    If the corresponding picture format of bandwidth range belonging to the current network bandwidth belongs to the intersection, by the current net The corresponding picture format of bandwidth range belonging to network bandwidth is as the picture format chosen.
  3. 3. according to the method described in claim 2, it is characterized in that, during by the picture being converted to and the associated broadcasting of picture Between stab and be sent to before the client, further include:
    According to the current network bandwidth, picture refreshing frequency is determined;
    The picture refreshing frequency is sent to the client so that the client according to the picture refreshing frequency to figure Piece is shown.
  4. 4. according to the method described in claim 1, it is characterized in that, during by the picture being converted to and the associated broadcasting of picture Between stamp be sent to the client, specifically include:
    When determining all video frame of current picture group in the video file being converted to the picture of the specified format, by institute It states the corresponding picture of current picture group and the associated reproduction time stamp of the corresponding picture of current picture group is sent to the client End.
  5. A kind of 5. video play-reverse method, which is characterized in that applied to client, including:
    It is operated in response to the video play-reverse of user, sends video play-reverse request to server, carried in the video play-reverse request At least one picture format that video identifier and the client are supported;
    Receive picture and the associated reproduction time stamp of picture that server is sent;Wherein, the picture is by the server root According to the video frame in the corresponding video file of the video identifier and the one kind chosen from least one picture format Picture format conversion gained, reproduction time stamp of the associated reproduction time stamp of picture for corresponding video frame;
    Descending sequence is stabbed according to the associated reproduction time of picture, and inverted order displaying is carried out to picture.
  6. 6. according to the method described in claim 5, it is characterized in that, picture and picture that reception server end is sent are associated Before reproduction time stamp, further include:
    Receive the picture refreshing frequency that the server is sent.
  7. 7. it according to the method described in claim 6, it is characterized in that, is stabbed according to the associated reproduction time of picture descending suitable Ordered pair picture carries out inverted order displaying, specifically includes:
    Descending sequence is stabbed according to the picture refreshing frequency and the associated reproduction time of picture, inverted order is carried out to picture Displaying.
  8. 8. a kind of video play-reverse device, which is characterized in that including:
    For receiving the video play-reverse request of client transmission, video identifier is carried in the video play-reverse request for receiving module And at least one picture format that the client is supported;
    Read module, for reading the corresponding video file of the video identifier, the video file include multiple video frame with And the reproduction time stamp of each video frame;
    Module is chosen, for choosing a kind of picture format from least one picture format, as specified format;
    The video frame for being directed to each video frame in the video file, is converted to the specified format by modular converter Picture, and the reproduction time of the video frame is stabbed and is associated with the picture;
    First sending module, for the picture being converted to and the associated reproduction time stamp of picture to be sent to the client End, so that the client carries out inverted order displaying to picture.
  9. 9. device according to claim 8, which is characterized in that also carry current network band in the video play-reverse request Width, then the selection module, is specifically used for:
    Determine the pre-stored picture format set of the server and the intersection of sets of at least one picture format composition Collection;Wherein, the pre-stored picture format is the picture format that the server is supported;
    According to pre-stored bandwidth range and the correspondence of picture format, the bandwidth belonging to the current network bandwidth is determined The corresponding picture format of range;
    If the corresponding picture format of bandwidth range belonging to the current network bandwidth belongs to the intersection, by the current net The corresponding picture format of bandwidth range belonging to network bandwidth is as the picture format chosen.
  10. 10. device according to claim 9, which is characterized in that further include:
    Second sending module, in first sending module by the picture being converted to and the associated reproduction time of picture Stamp is sent to before the client, according to the current network bandwidth, determines picture refreshing frequency;The picture is refreshed into frequency Rate is sent to the client, so that the client is shown picture according to the picture refreshing frequency.
  11. 11. device according to claim 8, which is characterized in that first sending module is specifically used for:
    When determining all video frame of current picture group in the video file being converted to the picture of the specified format, by institute It states the corresponding picture of current picture group and the associated reproduction time stamp of the corresponding picture of current picture group is sent to the client End.
  12. 12. a kind of video play-reverse device, which is characterized in that including:
    Respond module for being operated in response to the video play-reverse of user, sends video play-reverse request, the video falls to server Put at least one picture format that video identifier and client support are carried in request;
    First receiving module, for receiving the picture of server transmission and the associated reproduction time stamp of picture;Wherein, the figure Piece is by video frame of the server in the corresponding video file of the video identifier and from least one picture A kind of picture format conversion gained chosen in form, reproduction time of the associated reproduction time stamp of picture for corresponding video frame Stamp;
    Display module carries out inverted order displaying for stabbing descending sequence according to the associated reproduction time of picture to picture.
  13. 13. device according to claim 12, which is characterized in that further include:
    Second receiving module, for receiving the picture and picture is associated broadcasts that server end sends in first receiving module Before putting timestamp, the picture refreshing frequency that the server is sent is received.
  14. 14. device according to claim 13, which is characterized in that the display module is specifically used for:
    Descending sequence is stabbed according to the picture refreshing frequency and the associated reproduction time of picture, inverted order is carried out to picture Displaying.
  15. 15. a kind of video play-reverse system, which is characterized in that including:
    For being operated in response to the video play-reverse of user, video play-reverse request, the video play-reverse are sent to server for client Video identifier and at least one picture format of client support are carried in request;
    Server, for receiving the video play-reverse request of client transmission;Read the corresponding video file of the video identifier, institute State the reproduction time stamp that video file includes multiple video frame and each video frame;And from least one picture lattice A kind of picture format is chosen in formula, as specified format;For each video frame in the video file, which is turned The picture of the specified format is changed to, and the reproduction time of the video frame is stabbed and is associated with the picture;By what is be converted to Picture and the associated reproduction time stamp of picture are sent to the client;
    The client is additionally operable to receive picture and the associated reproduction time stamp of picture that server is sent;It is closed according to picture The reproduction time of connection stabs descending sequence and carries out inverted order displaying to picture.
  16. 16. a kind of nonvolatile computer storage media, which is characterized in that the computer storage media is stored with executable journey Sequence, the executable code processor perform the step of realizing claim 1-4 any the method.
  17. 17. a kind of computing device, which is characterized in that including memory, processor and storage computer program on a memory, The processor realizes the step of claim 1-4 any the methods when performing described program.
  18. 18. a kind of nonvolatile computer storage media, which is characterized in that the computer storage media is stored with executable journey Sequence, the executable code processor perform the step of realizing claim 5-7 any the method.
  19. 19. a kind of computing device, which is characterized in that including memory, processor and storage computer program on a memory, The processor realizes the step of claim 5-7 any the methods when performing described program.
CN201810055493.7A 2018-01-19 2018-01-19 A kind of video play-reverse method, apparatus, system, medium and equipment Pending CN108174281A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810055493.7A CN108174281A (en) 2018-01-19 2018-01-19 A kind of video play-reverse method, apparatus, system, medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810055493.7A CN108174281A (en) 2018-01-19 2018-01-19 A kind of video play-reverse method, apparatus, system, medium and equipment

Publications (1)

Publication Number Publication Date
CN108174281A true CN108174281A (en) 2018-06-15

Family

ID=62514930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810055493.7A Pending CN108174281A (en) 2018-01-19 2018-01-19 A kind of video play-reverse method, apparatus, system, medium and equipment

Country Status (1)

Country Link
CN (1) CN108174281A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040848A (en) * 2018-10-18 2018-12-18 武汉斗鱼网络科技有限公司 Barrage is put upside down method, apparatus, electronic equipment and storage medium
CN111866549A (en) * 2019-04-29 2020-10-30 腾讯科技(深圳)有限公司 Video processing method and device, terminal and storage medium
CN112423140A (en) * 2020-12-16 2021-02-26 富盛科技股份有限公司 Video playing method and device, electronic equipment and storage medium
CN114979763A (en) * 2022-04-13 2022-08-30 深圳市有为信息技术发展有限公司 Playing control method and device during video playback and video playback system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751378A (en) * 2008-12-12 2010-06-23 国际商业机器公司 Method and system for displaying document
CN105007524A (en) * 2015-07-29 2015-10-28 无锡天脉聚源传媒科技有限公司 Video processing method and device
CN105898626A (en) * 2015-12-11 2016-08-24 乐视网信息技术(北京)股份有限公司 Rewound video generating method and device and play device
US20170025155A1 (en) * 2014-04-10 2017-01-26 Tencent Technology (Shenzhen) Company Limited Method and apparatus for recording and replaying video of terminal
CN107509110A (en) * 2017-08-03 2017-12-22 乐蜜有限公司 A kind of loop play method and device of video file

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751378A (en) * 2008-12-12 2010-06-23 国际商业机器公司 Method and system for displaying document
US20170025155A1 (en) * 2014-04-10 2017-01-26 Tencent Technology (Shenzhen) Company Limited Method and apparatus for recording and replaying video of terminal
CN105007524A (en) * 2015-07-29 2015-10-28 无锡天脉聚源传媒科技有限公司 Video processing method and device
CN105898626A (en) * 2015-12-11 2016-08-24 乐视网信息技术(北京)股份有限公司 Rewound video generating method and device and play device
CN107509110A (en) * 2017-08-03 2017-12-22 乐蜜有限公司 A kind of loop play method and device of video file

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040848A (en) * 2018-10-18 2018-12-18 武汉斗鱼网络科技有限公司 Barrage is put upside down method, apparatus, electronic equipment and storage medium
CN111866549A (en) * 2019-04-29 2020-10-30 腾讯科技(深圳)有限公司 Video processing method and device, terminal and storage medium
US11600299B2 (en) 2019-04-29 2023-03-07 Tencent Technology (Shenzhen) Company Limited Video processing method and apparatus, terminal, and storage medium
CN111866549B (en) * 2019-04-29 2023-03-24 腾讯科技(深圳)有限公司 Video processing method and device, terminal and storage medium
US11922972B2 (en) 2019-04-29 2024-03-05 Tencent Technology (Shenzhen) Company Limited Method and apparatus for video coding
CN112423140A (en) * 2020-12-16 2021-02-26 富盛科技股份有限公司 Video playing method and device, electronic equipment and storage medium
CN114979763A (en) * 2022-04-13 2022-08-30 深圳市有为信息技术发展有限公司 Playing control method and device during video playback and video playback system

Similar Documents

Publication Publication Date Title
CN108174281A (en) A kind of video play-reverse method, apparatus, system, medium and equipment
CN104244024B (en) Video cover generation method and device and terminal
CN106528025B (en) Multi-screen image projection method, terminal, server and system
CN102984494B (en) A kind of video communication method and device
CN106028161A (en) Bullet screen generation method and apparatus, bullet screen presentation method and apparatus, server and client
CN108737482A (en) Document sharing method, device and system
CN108810052A (en) The selection method and device of direct broadcast server
CN106533932A (en) Method and device for pushing instant message
CN105100839A (en) Video file downloading method, device, server and terminal equipment
CN104253804B (en) A kind of method and device for transmitting view data
CN104427284A (en) Method and apparatus for selecting motion videos
CN108769824A (en) A kind of video mixed flow method, apparatus, system, equipment and medium
CN108881997A (en) Animation file generates and playback method, device and system
CN107124443A (en) Data analysing method and device based on block chain
CN103873490B (en) The control method for playing back and client of a kind of lantern slide
CN105049914A (en) Picture frame playing method and device
CN108668179A (en) The transmission method and relevant device of media index file
CN107786903A (en) video interactive method and device
CN111741353A (en) Method for device cooperative work, terminal device and readable storage medium
CN105260906A (en) Method and device for pushing interactive link
CN104794632B (en) A kind of advertisement loading method and device
JP2005515721A (en) Efficient image transmission
CN110446118B (en) Video resource preprocessing method and device and video resource downloading method and device
CN108810575A (en) A kind of method and apparatus sending target video
CN104834728B (en) A kind of method for pushing and device for subscribing to video

Legal Events

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

Application publication date: 20180615

RJ01 Rejection of invention patent application after publication