CN105847946A - Screen transmission video processing method - Google Patents

Screen transmission video processing method Download PDF

Info

Publication number
CN105847946A
CN105847946A CN201610368581.3A CN201610368581A CN105847946A CN 105847946 A CN105847946 A CN 105847946A CN 201610368581 A CN201610368581 A CN 201610368581A CN 105847946 A CN105847946 A CN 105847946A
Authority
CN
China
Prior art keywords
packet
data
screen
data packets
video data
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
CN201610368581.3A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201610368581.3A priority Critical patent/CN105847946A/en
Publication of CN105847946A publication Critical patent/CN105847946A/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/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary 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 or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display

Landscapes

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

Abstract

The invention discloses a screen transmission video processing method. The screen transmission video processing method comprises the steps of receiving screen transmission video data, acquiring data packets corresponding to the screen transmission video data, storing the data packets into a decoding waiting queue, extracting the data packets from the decoding waiting queue and judging whether the number of the data packets is greater than a preset threshold or not, extracting reference data of the next data packet corresponding to the current video sequence in the data packets if the number of the data packets is judged to be greater than the preset threshold, returning back to the steps of extracting the data packets and judging whether the number of the data packets is greater than the preset threshold, carrying out decoding on the data packets if the number of the data packets is judged to be not greater than the preset threshold. According to the invention, data in the decoding waiting queue can be consumed as soon as possible, and increase of time delay caused by data accumulation is prevented.

Description

A kind of biography shields method for processing video frequency
Technical field
The present invention relates to multimedia technology field, especially relate to a kind of biography and shield method for processing video frequency.
Background technology
Development along with information technology, it is possible to achieve different resource shares displaying on different platform equipment simultaneously, it is achieved multi-screen interactive, enriches the multimedia life of user.
Client in the multi-screen interactive of prior art the processing method passing screen video is had a following two scheme:
The first scheme is: first network receives and passes screen video data with demultiplexing (demux), to obtain passing the packet that screen video data is corresponding, then decodes and shows.
Wherein, the process of decoding is specially the packet that video is passed screen data corresponding and is decoded, and further from yuv format, decoded data is converted to rgb format, finally by queues to be shown such as the frame data after conversion are stored in.
The process of display is specially takes out frame data from display queue, the timestamp of the timestamp according to present frame and previous frame calculates the display time of present frame, if present frame can show at once, showing present frame, otherwise dormancy display thread is until present frame can show.
First scheme is: first receiving source screen equipment and encode the Frame including frame of video and audio frame obtained, frame of video includes: I frame;If the frame of video detected in currently received Frame does not arrives second I frame, then delete currently received Frame;If the frame of video detected in currently received Frame is second I frame, then decode currently and Frame received after second I frame, and the reflection that will obtain after decoding is shown on screen.Thus can effectively reduce delay during transmission screen image, allow multi-screen interactive time can more effectively reach the effect that shows in real time.
But there is following defect in the first scheme:
Decode thread process one frame data is time-consumingly higher than network reception, time-consuming (particularly the biggest when passing screen video data and being HD video) of de-multiplex operation, i.e. waits that the data depletion rate of decoding queue is less than its data generation speed.In the prior art, if there is the frame per second processing speed higher than client decoding thread of fluctuation or the output of server side code device in wireless network during using multi-screen interactive, client then will certainly be caused to wait, and the video data in decoding queue is piled up, video data is piled up and is meaned that up-to-date video more can not get display the most at most, i.e. time delay is the biggest, and it is the poorest to experience.Further, the display thread of client from etc. frame data decode are taken out in queue to be shown after, in addition it is also necessary to calculate the display time of present frame again, and dormancy show thread as required, so only result in time delay more greatly, experience worse.
There is following defect in first scheme:
The core of first scheme is to abandon some frame of video in the client biography screen broadcasting incipient stage, just starts by normal flow decoding broadcasting until receiving second I frame.Owing to it has abandoned first sequence of frames of video, (the sequence of frames of video time is different in size, general between 0.5-4s), inevitably result in client from commencing play out biography screen video to demonstrating the time lengthening (extending the length of a sequence of frames of video) passing screen picture, the blank screen time before i.e. commencing play out is elongated, is unfavorable for Consumer's Experience.
Meanwhile, first scheme pertain only to pass screen video commence play out the stage, it cannot solve the problem in the playing process of the first scheme above-mentioned, so it has the defect of the first scheme equally.
Summary of the invention
The technical problem that present invention mainly solves is to provide a kind of display terminal and passes screen method for processing video frequency, both can ensure that the biography screen video data decoded in the queues to be shown such as client can show as early as possible, will not produce in waiting decoding queue again and pass overstocking of screen video data, video time delay is little, improves the experience of user.
For solving above-mentioned technical problem, the technical scheme that the present invention uses is: providing one biography screen method for processing video frequency, the method comprises the following steps: receives and passes screen video data, and obtains the packet that biography screen video data is corresponding;Packet is stored in wait decoding queue;From waiting, decoding queue extracts packet, and judge that whether the quantity of packet is more than the threshold value preset;If the result judged is yes, then the reference data of the next packet of the corresponding current video sequence in extraction packet, and return extraction packet, and judge whether the quantity of packet is more than the step of the threshold value preset;If the result judged is no, then packet is decoded.
Wherein, method also includes: by the queues to be shown such as decoded data are directly stored in.
Wherein, method also includes: takes out decoded data from display queue and directly shows.
Wherein, the step obtaining packet corresponding to biography screen video data includes: demultiplex passing screen video data, the packet corresponding to obtain biography screen video data.
Wherein, packet is stored in the step waited in decoding queue to include: the packet after demultiplexing is stored in wait decoding queue.
For solving above-mentioned technical problem, the technical scheme that the present invention uses is: providing a kind of display terminal, this display terminal includes: receiver module, is used for receiving biography screen video data;Packet acquisition module, passes, for obtaining, the packet that screen video data is corresponding;First memory module, for being stored in packet in wait decoding queue;Packet extraction module, for from waiting extraction packet decoding queue;Judge module, for judging that whether the quantity of packet is more than the threshold value preset;Processing module, for the result that judges at judge module as being time, the reference data of the next packet of the corresponding current video sequence in extraction packet, and control packet extraction module continuation extraction packet, and judge module continues to judge that whether the quantity of packet is more than default threshold value;When the result that judge module judges is no, packet is decoded.
Wherein, display terminal farther includes the second memory module, for by the queues to be shown such as decoded data are directly stored in.
Wherein, display terminal farther includes display module, and display module is for taking out decoded data and directly showing from display queue.
Wherein, packet acquisition module is demultiplexing module, for demultiplexing biography screen video data, passes, to obtain, the packet that screen video data is corresponding.
Wherein, the packet after the first memory module is further used for demultiplexing is stored in wait decoding queue.
The invention has the beneficial effects as follows: be different from the situation of prior art, the display terminal of the present invention is when determining the quantity passing packet corresponding to screen video data more than the threshold value preset, the only reference data of the next packet of the corresponding current video sequence in extraction packet, the only quantity of packet is less than or equal to during the threshold value preset just be decoded, when thus can avoid next packets need normal decoder because causing flower screen without reference to data in the case of, the data waited in decoding queue can be consumed again as soon as possible, the time delay preventing data stacking from causing increases.
Accompanying drawing explanation
Fig. 1 is the structural representation of a kind of display terminal that the embodiment of the present invention provides;
Fig. 2 is a kind of flow chart passing screen method for processing video frequency that the embodiment of the present invention provides.
Detailed description of the invention
Refer to the structural representation that Fig. 1, Fig. 1 are a kind of display terminals that the embodiment of the present invention provides.As it is shown in figure 1, the display terminal 10 that the embodiment of the present invention provides is specially the client terminal in multi-screen interactive.It mainly receives biography screen video data of service end transmission, and be decoded this biography screen video data waiting operate after be shown to user.
Specifically, display terminal 10 includes receiver module 11, packet acquisition module 12, packet extraction module 13, judge module 14, processing module 15 and the first memory module 16.
Wherein, receiver module 11 is for receiving the biography screen video data of service end.Receiver module 11 concretely bluetooth module or Anneta module etc..Packet acquisition module 12 passes, for obtaining, the packet that screen video data is corresponding.First memory module 16 is for being stored in packet in wait decoding queue.Packet extraction module 13 is for from waiting extraction packet decoding queue.Judge module 14 is for judging that whether the quantity of packet is more than the threshold value preset.Processing module 15 is used for when the result that judge module 14 judges is as being, the reference data of the next packet of the corresponding current video sequence in extraction packet, it is to avoid because causing flower to shield without reference to data during next packets need normal decoder.Processing module 15 controls packet extraction module 12 further and continues to extract packet, and judge module 14 continues to judge that whether the quantity of packet is more than the threshold value preset.When the result that judge module 14 judges is no, packet is decoded.
Wherein, the reference data of packet is specially the reference picture of next video sequence and the predictive value of present frame and forecast error.
It should be noted that, when the result that judge module 14 judges is as being, after the reference data of the next packet of the corresponding current video sequence that processing module 15 is extracted in current packet, will give up by current packet, the most current packet is no longer decoded.Thus can save the time of decoding.
Therefore, in the present embodiment, when can avoid next packets need normal decoder because causing flower screen without reference to data in the case of, the data waited in decoding queue can be consumed again as soon as possible, the time delay preventing data stacking from causing increases.
Further, display terminal 10 farther includes the second memory module 18, for by the queues to be shown such as decoded data are directly stored in.It follows that the present embodiment eliminates the step of form of the prior art conversion, the most further save the time of decoding.
Further, display terminal 10 farther includes display module 17, and display module 17 is for taking out decoded data and directly showing from display queue.Thus, the display terminal 10 of the present embodiment withouts waiting for display, in time video is shown to user, improves Consumer's Experience.
In the present embodiment, packet acquisition module 12 concretely demultiplexing module, for biography screen video data is carried out demultiplexing process, pass, to obtain, the packet that screen video data is corresponding.Wherein, the packet after demultiplexing is stored in wait decoding queue by the first memory module 16 further.
Described in brought forward, the present embodiment both can consume the data waited in decoding queue as soon as possible, and the time delay preventing data stacking from causing increases.Timely the data decoded can be shown to user again, improve the experience of user.
The application is additionally based upon previously described display terminal provides one to pass screen method for processing video frequency.Specifically refer to Fig. 2.
As in figure 2 it is shown, the biography screen method for processing video frequency of the present embodiment comprises the following steps:
Step S1: receive and pass screen video data, and obtain the packet that biography screen video data is corresponding.
Particularly as follows: demultiplex passing screen video data, pass, to obtain, the packet that screen video data is corresponding.
Step S2: packet is stored in wait decoding queue;
It is specially the packet after step S1 being demultiplexed to be stored in wait decoding queue.
Step S3: extract packet decoding queue from waiting, and judge that whether the quantity of packet is more than the threshold value preset.
In this step, if the result judged is yes, then jump to step S4, if the result judged is no, then jump to step S5.
Step S4: the reference data of the next packet of the corresponding current video sequence in extraction packet, and return step S2.
Wherein, the reference data of packet is specially the reference picture of next video sequence and the predictive value of present frame and forecast error.
This step can be avoided shielding because causing spending without reference to data during next packets need normal decoder.
It should be noted that in this step, after the reference data of the next packet of the corresponding current video sequence being extracted in current packet, will give up by current packet, the most current packet is no longer decoded.Thus can save the time of decoding.
Step S5: packet is decoded.
Method also includes: will take out decoded data in the queues to be shown such as decoded data are directly stored in and from display queue and shows.Thus in time video can be shown to user, improve the experience of user.
In sum, when the present invention is by being more than, in the quantity passing packet corresponding to screen video data, the threshold value preset, the only reference data of the next packet of the corresponding current video sequence in extraction packet, when thus can avoid next packets need normal decoder because causing flower screen without reference to data in the case of, can consume again the data waited in decoding queue as soon as possible, the time delay preventing data stacking from causing increases.
Further, the present invention also will take out decoded data in the queues to be shown such as decoded data are directly stored in and from display queue and shows.Thus in time video can be shown to user, improve the experience of user.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the invention and accompanying drawing content to be made or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, the most in like manner it is included in the scope of patent protection of the present invention.

Claims (3)

1. one kind passes screen method for processing video frequency, it is characterised in that said method comprising the steps of:
Receive and pass screen video data, and obtain the packet that described biography screen video data is corresponding;
Described packet is stored in wait decoding queue;
From described wait decoding queue, extract described packet, and judge that whether the quantity of described packet is more than the threshold value preset;
If the result judged is yes, then extracts the reference data of the next packet of corresponding current video sequence in described packet, and return the described packet of extraction, and judge that the quantity of described packet is whether more than the step of the threshold value preset;
If the result judged is no, then described packet is decoded;
The described step passing packet corresponding to screen video data of described acquisition includes:
The described screen video data that passes is demultiplexed, the packet corresponding to obtain described biography screen video data.
Method the most according to claim 1, it is characterised in that described method also includes:
By in the queues to be shown such as decoded data are directly stored in.
Method the most according to claim 2, it is characterised in that described method also includes:
From described display queue, take out described decoded data and directly show.
CN201610368581.3A 2016-05-28 2016-05-28 Screen transmission video processing method Pending CN105847946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610368581.3A CN105847946A (en) 2016-05-28 2016-05-28 Screen transmission video processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610368581.3A CN105847946A (en) 2016-05-28 2016-05-28 Screen transmission video processing method

Publications (1)

Publication Number Publication Date
CN105847946A true CN105847946A (en) 2016-08-10

Family

ID=56595889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610368581.3A Pending CN105847946A (en) 2016-05-28 2016-05-28 Screen transmission video processing method

Country Status (1)

Country Link
CN (1) CN105847946A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872728A (en) * 2016-05-28 2016-08-17 刘健文 Screen transfer video processing method for multi-screen interaction
CN107438197A (en) * 2016-05-29 2017-12-05 刘健文 A kind of display terminal
CN107438198A (en) * 2016-05-29 2017-12-05 刘健文 A kind of display terminal for being used to pass screen video
CN107438199A (en) * 2016-05-29 2017-12-05 刘健文 One kind passes screen video display terminal
CN111935497A (en) * 2020-09-18 2020-11-13 武汉中科通达高新技术股份有限公司 Video stream management method and data server for traffic police system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297772A (en) * 2013-05-02 2013-09-11 深圳市比维视创科技有限公司 Method and system for processing transmission screen image and display equipment
CN103546802A (en) * 2013-10-15 2014-01-29 深圳Tcl新技术有限公司 Method for dynamically adjusting cache and display terminal
CN104113777A (en) * 2014-08-01 2014-10-22 广州金山网络科技有限公司 Audio stream decoding method and device
CN104301767A (en) * 2014-09-29 2015-01-21 四川长虹电器股份有限公司 Method for achieving synchronous television video playing on mobile phone
EP2843899A2 (en) * 2013-08-30 2015-03-04 Samsung Electronics Co., Ltd Method of receiving or transmitting a packet, terminal thereof, and system thereof
CN104702968A (en) * 2015-02-17 2015-06-10 华为技术有限公司 Frame loss method for video frame and video sending device
US20160134931A1 (en) * 2014-11-12 2016-05-12 Bing Song Method and apparatus for reducing latency in multi-media system
CN105872728A (en) * 2016-05-28 2016-08-17 刘健文 Screen transfer video processing method for multi-screen interaction

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297772A (en) * 2013-05-02 2013-09-11 深圳市比维视创科技有限公司 Method and system for processing transmission screen image and display equipment
EP2843899A2 (en) * 2013-08-30 2015-03-04 Samsung Electronics Co., Ltd Method of receiving or transmitting a packet, terminal thereof, and system thereof
CN103546802A (en) * 2013-10-15 2014-01-29 深圳Tcl新技术有限公司 Method for dynamically adjusting cache and display terminal
CN104113777A (en) * 2014-08-01 2014-10-22 广州金山网络科技有限公司 Audio stream decoding method and device
CN104301767A (en) * 2014-09-29 2015-01-21 四川长虹电器股份有限公司 Method for achieving synchronous television video playing on mobile phone
US20160134931A1 (en) * 2014-11-12 2016-05-12 Bing Song Method and apparatus for reducing latency in multi-media system
CN104702968A (en) * 2015-02-17 2015-06-10 华为技术有限公司 Frame loss method for video frame and video sending device
CN105872728A (en) * 2016-05-28 2016-08-17 刘健文 Screen transfer video processing method for multi-screen interaction

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872728A (en) * 2016-05-28 2016-08-17 刘健文 Screen transfer video processing method for multi-screen interaction
CN107438197A (en) * 2016-05-29 2017-12-05 刘健文 A kind of display terminal
CN107438198A (en) * 2016-05-29 2017-12-05 刘健文 A kind of display terminal for being used to pass screen video
CN107438199A (en) * 2016-05-29 2017-12-05 刘健文 One kind passes screen video display terminal
CN111935497A (en) * 2020-09-18 2020-11-13 武汉中科通达高新技术股份有限公司 Video stream management method and data server for traffic police system
CN111935497B (en) * 2020-09-18 2021-01-12 武汉中科通达高新技术股份有限公司 Video stream management method and data server for traffic police system

Similar Documents

Publication Publication Date Title
KR102002835B1 (en) Method, computer program, reception apparatus, and information providing apparatus for trigger compaction
CN105847946A (en) Screen transmission video processing method
CN105872728A (en) Screen transfer video processing method for multi-screen interaction
JP5990650B2 (en) Broadcast signal processing method and apparatus including interactive broadcast service
KR102267861B1 (en) Extensions to trigger parameters table for interactive television
CN104219459A (en) Video language translation method and system and intelligent display device
US8707151B2 (en) Apparatus and method for composing scenes using Rich Media contents
CN103428538A (en) Method, device and system for interaction of interactive broadcast televisions
TW201242340A (en) Decoder and method at the decoder for synchronizing the rendering of contents received through different networks
CN105142000A (en) Information pushing method and system based on television playing content
CN108494792A (en) A kind of flash player plays the converting system and its working method of hls video flowings
CN105847971A (en) Method for processing screen transmission video
JP6728246B2 (en) Method and apparatus for transmitting and receiving signals in multimedia system
EP2344951B1 (en) Conditional processing method and apparatus
CN102088631A (en) Live and demand broadcast method of digital television (TV) programs as well as related device and system
KR101525248B1 (en) Method and apparatus for providing rich-media service
EP2453651A1 (en) Method, terminal and server for processing graphics
CN109618186A (en) A kind of H264/AVC video Supplemental Enhancement Information encapsulated circuit realized using FPGA
CN109525852A (en) Live video method for stream processing, device, system and computer readable storage medium
US8401516B2 (en) Method and device for receiving emergency broadcasting messages
CN101286810A (en) Method and device for transmitting and receiving video preview of mobile phone television
CN107438199A (en) One kind passes screen video display terminal
KR20130066432A (en) Method and apparatus for providing iptv service based on cloud
US8863193B2 (en) Information processing apparatus, broadcast receiving apparatus and information processing method
CN107438198A (en) A kind of display terminal for being used to pass screen video

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160810

WD01 Invention patent application deemed withdrawn after publication