CN106254929A - A kind of processing method and processing device of video data - Google Patents

A kind of processing method and processing device of video data Download PDF

Info

Publication number
CN106254929A
CN106254929A CN201610818912.9A CN201610818912A CN106254929A CN 106254929 A CN106254929 A CN 106254929A CN 201610818912 A CN201610818912 A CN 201610818912A CN 106254929 A CN106254929 A CN 106254929A
Authority
CN
China
Prior art keywords
video data
key frame
cached
request
receiving
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
CN201610818912.9A
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.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media 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 TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN201610818912.9A priority Critical patent/CN106254929A/en
Publication of CN106254929A publication Critical patent/CN106254929A/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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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/4334Recording operations
    • 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/44004Processing 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 video buffer management, e.g. video decoder buffer or video display buffer
    • 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/47202End-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 requesting content on demand, e.g. video on demand

Abstract

The invention discloses the processing method and processing device of a kind of video data, do not have the purpose of blank screen in order to realize broadcast interface during buffered video data.Described method includes: receive the instruction of playing video data, sends the request obtaining video data to server;When receiving the first key frame of the video data that described server returns according to described request, at the first key frame of video data described in currently playing interface display.

Description

A kind of processing method and processing device of video data
Technical field
The present invention relates to technical field of internet application, particularly to the processing method and processing device of a kind of video data.
Background technology
Along with the development of technology, broadcasting service and mobile service start gradually to merge, different content of multimedia and business In different transmission over networks, user wishes to utilize different terminal units (such as intelligent TV set, smart mobile phone, flat board Computer etc.) these services can be enjoyed when accessing any network the most in the same time.
At present, in order to ensure the smoothness play, watch live or request program the most online, all can cache in advance, slow Deposit reach a certain amount of after just can play.But, in process of caching, broadcast interface is always blank screen, it would be highly desirable to solve this skill Art problem.
Summary of the invention
The present invention provides the processing method and processing device of a kind of video data, in order to realize during buffered video data Broadcast interface does not haves the purpose of blank screen.
The present invention provides the processing method of a kind of video data, including:
Receive the instruction of playing video data, send the request obtaining video data to server;
When receiving the first key frame of the video data that described server returns according to described request, currently playing First key frame of video data described in interface display.
In an embodiment of the present invention, described method also includes:
During receiving the video data that described server returns according to described request, the video data of reception is delayed It is stored to this locality;
Judge whether the video data volume being cached to this locality reaches to specify threshold value;
If it is not, then continue caching, and keep the picture of the first key frame of described video data on described currently playing interface Face is constant.
In an embodiment of the present invention, described method also includes:
If the video data volume being cached to this locality reaches to specify threshold value, then play the video data being cached to this locality.
In an embodiment of the present invention, described method also includes:
Described first key frame is extracted from the video data that the described server received returns according to described request.
In an embodiment of the present invention, described method also includes:
When receiving the instruction watching live or request program online, determine the instruction receiving playing video data.
The present invention also provides for the processing means of a kind of video data, including:
Sending module, for receiving the instruction of playing video data, sends the request obtaining video data to server;
Display module, at the first key frame receiving the video data that described server returns according to described request Time, at the first key frame of video data described in currently playing interface display.
In an embodiment of the present invention, described device also includes:
Cache module, for, during receiving the video data that described server returns according to described request, connecing The video data received is cached to this locality;
Judge module, for judging whether the video data volume being cached to this locality reaches to specify threshold value;
Processing module, if judging that the video data volume being cached to this locality not up to specifies threshold value for described judge module, Then continue caching, and keep the picture of the first key frame of described video data on described currently playing interface constant.
In an embodiment of the present invention, described processing module is additionally operable to:
If the video data volume being cached to this locality reaches to specify threshold value, then play the video data being cached to this locality.
In an embodiment of the present invention, described device also includes:
Extraction module, described for extracting from the video data that the described server received returns according to described request First key frame.
In an embodiment of the present invention, described sending module is additionally operable to:
When receiving the instruction watching live or request program online, determine the instruction receiving playing video data.
In embodiments of the present invention, receive the instruction of playing video data, send to server and obtain asking of video data Ask;When receiving the first key frame of the video data that described server returns according to described request, at currently playing interface Show the first key frame of described video data.As can be seen here, the embodiment of the present invention is capable of the mistake at buffered video data In journey, broadcast interface does not haves the purpose of blank screen.
Other features and advantages of the present invention will illustrate in the following description, and, partly become from description Obtain it is clear that or understand by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Structure specifically noted in book, claims and accompanying drawing realizes and obtains.
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
Accompanying drawing is for providing a further understanding of the present invention, and constitutes a part for description, with the reality of the present invention Execute example together for explaining the present invention, be not intended that limitation of the present invention.In the accompanying drawings:
Fig. 1 show the flow chart of the processing method of video data in one embodiment of the invention;
Fig. 2 show the flow chart of the processing method of video data in another embodiment of the present invention;
Fig. 3 show the structural representation of the processing means of video data in one embodiment of the invention;And
Fig. 4 show the structural representation of the processing means of video data in another embodiment of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated, it will be appreciated that preferred reality described herein Execute example be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Being illustrated in figure 1 the flow chart of the processing method of video data in one embodiment of the invention, the method can be applied In the terminal such as intelligent TV set, smart mobile phone, the method may comprise steps of S11-S12.
Step S11, receives the instruction of playing video data, sends the request obtaining video data to server.
In this step, when receiving the instruction watching live or request program online, it is determined that receive broadcasting and regard The instruction of frequency evidence.
Step S12, when receiving the first key frame of the video data that server returns according to request, currently playing First key frame of interface display video data.
In this step, institute can be extracted from the video data that the described server received returns according to described request State the first key frame.
In embodiments of the present invention, receive the instruction of playing video data, send to server and obtain asking of video data Ask;When receiving the first key frame of the video data that described server returns according to described request, at currently playing interface Show the first key frame of described video data.As can be seen here, the embodiment of the present invention is capable of the mistake at buffered video data In journey, broadcast interface does not haves the purpose of blank screen.
In the alternative embodiment of the present invention, it is also possible to comprise the following steps A1-A4.
Step A1, during receiving the video data that described server returns according to described request, by regarding of receiving Frequency is according to being cached to this locality.
Step A2, it is judged that whether the video data volume being cached to this locality reaches to specify threshold value, if it is not, then continue executing with step A3;The most then continue executing with step A4.
Step A3, continues caching, and keeps the picture of the first key frame of described video data on described currently playing interface Face is constant.
Step A4, plays the video data being cached to this locality.
In embodiments of the present invention, in order to ensure the smoothness play, when online viewing is live or during request program, can in advance Caching, caching reaches a certain amount of and just can play afterwards.Further, show the most at once when receiving first key frame, the most not Can blank screen.Keeping this key frame picture motionless, continue caching, caching reaches a certain amount of being further continued for afterwards and plays.
Be discussed in detail below by a specific embodiment video data of the present invention processing method realize process.As Fig. 2 show the flow chart of the processing method of video data in another embodiment of the present invention, and the method can be applied at Intelligent electric Depending on the terminal such as machine, smart mobile phone, the method may comprise steps of S21-S27.
Step S21, when receiving the instruction watching live or request program online, it is determined that receive broadcasting video counts According to instruction.
Step S22, sends the request obtaining video data to server.
Step S23, when receiving the first key frame of the video data that server returns according to request, currently playing First key frame of interface display video data.
Step S24, during receiving the video data that server returns according to request, delays the video data of reception It is stored to this locality.
Step S25, it is judged that whether the video data volume being cached to this locality reaches to specify threshold value, if it is not, then continue executing with step Rapid S26;The most then continue executing with step S27.
Step S26, continues caching, and keeps the picture of the first key frame of described video data on described currently playing interface Face is constant.
Step S27, plays the video data being cached to this locality.
The embodiment of the present invention shows the most at once when receiving first key frame, thus will not blank screen.Keep this key Frame picture is motionless, continues caching, and caching reaches a certain amount of being further continued for afterwards and plays.
It should be noted that in actual applications, above-mentioned all optional embodiments can be any in the way of using combination Combination, forms the alternative embodiment of the present invention, and this is no longer going to repeat them.
Corresponding to the processing method of the video data in above-described embodiment, the present invention also provides for the process of a kind of video data Device.It is illustrated in figure 3 the structural representation of the processing means of video data in one embodiment of the invention, including:
Sending module 31, for receiving the instruction of playing video data, sends the request obtaining video data to server;
Display module 32, for crucial receive the video data that described server returns according to described request first During frame, at the first key frame of video data described in currently playing interface display.
In an embodiment of the present invention, as shown in Figure 4, the device that Fig. 3 shows can also include:
Cache module 41, during at the described server of reception according to the video data of described request return, will The video data received is cached to this locality;
Judge module 42, for judging whether the video data volume being cached to this locality reaches to specify threshold value;
For described judge module 42, processing module 43, if judging that the video data volume being cached to this locality not up to specifies threshold Value, then continue caching, and keep the picture of the first key frame of described video data on described currently playing interface constant.
In an embodiment of the present invention, described processing module 43 is additionally operable to:
If the video data volume being cached to this locality reaches to specify threshold value, then play the video data being cached to this locality.
In an embodiment of the present invention, the device that Fig. 3 shows can also include:
Extraction module (not shown), for the video counts returned according to described request from the described server received According to described first key frame of middle extraction.
In an embodiment of the present invention, described sending module 31 is additionally operable to:
When receiving the instruction watching live or request program online, determine the instruction receiving playing video data.
The said apparatus of the embodiment of the present invention: receive the instruction of playing video data, sends to server and obtains video counts According to request;When receiving the first key frame of the video data that described server returns according to described request, currently broadcasting Put the first key frame of video data described in interface display.As can be seen here, the embodiment of the present invention is capable of at buffered video number During according to, broadcast interface does not haves the purpose of blank screen.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the reality in terms of the present invention can use complete hardware embodiment, complete software implementation or combine software and hardware Execute the form of example.And, the present invention can use at one or more computers wherein including computer usable program code The shape of the upper computer program implemented of usable storage medium (including but not limited to disk memory and optical memory etc.) Formula.
The present invention is with reference to method, equipment (system) and the flow process of computer program according to embodiments of the present invention Figure and/or block diagram describe.It should be understood that can the most first-class by computer program instructions flowchart and/or block diagram Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided Instruction arrives the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce A raw machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for real The device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame now.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to Make the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function specified in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meter Perform sequence of operations step on calculation machine or other programmable devices to produce computer implemented process, thus at computer or The instruction performed on other programmable devices provides for realizing at one flow process of flow chart or multiple flow process and/or block diagram one The step of the function specified in individual square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and the modification essence without deviating from the present invention to the present invention God and scope.So, if these amendments of the present invention and modification belong to the scope of the claims in the present invention and equivalent technologies thereof Within, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. the processing method of a video data, it is characterised in that including:
Receive the instruction of playing video data, send the request obtaining video data to server;
When receiving the first key frame of the video data that described server returns according to described request, at currently playing interface Show the first key frame of described video data.
Method the most according to claim 1, it is characterised in that also include:
During receiving the video data that described server returns according to described request, the video data of reception is cached to Local;
Judge whether the video data volume being cached to this locality reaches to specify threshold value;
If it is not, then continue caching, and keep on described currently playing interface the picture of the first key frame of described video data not Become.
Method the most according to claim 2, it is characterised in that also include:
If the video data volume being cached to this locality reaches to specify threshold value, then play the video data being cached to this locality.
4. according to the method according to any one of claim 1-3, it is characterised in that also include:
Described first key frame is extracted from the video data that the described server received returns according to described request.
Method the most according to claim 1, it is characterised in that also include:
When receiving the instruction watching live or request program online, determine the instruction receiving playing video data.
6. the processing means of a video data, it is characterised in that including:
Sending module, for receiving the instruction of playing video data, sends the request obtaining video data to server;
Display module, is used for when receiving the first key frame of the video data that described server returns according to described request, The first key frame at video data described in currently playing interface display.
Device the most according to claim 6, it is characterised in that also include:
Cache module, for during receiving the video data that described server returns according to described request, by receive Video data is cached to this locality;
Judge module, for judging whether the video data volume being cached to this locality reaches to specify threshold value;
Processing module, if judging that the video data volume being cached to this locality not up to specifies threshold value for described judge module, then continues Continuous caching, and keep the picture of the first key frame of described video data on described currently playing interface constant.
Device the most according to claim 7, it is characterised in that described processing module is additionally operable to:
If the video data volume being cached to this locality reaches to specify threshold value, then play the video data being cached to this locality.
9. according to the device according to any one of claim 6-8, it is characterised in that also include:
Extraction module, for extracting described first from the video data that the described server received returns according to described request Key frame.
Device the most according to claim 6, it is characterised in that described sending module is additionally operable to:
When receiving the instruction watching live or request program online, determine the instruction receiving playing video data.
CN201610818912.9A 2016-09-12 2016-09-12 A kind of processing method and processing device of video data Pending CN106254929A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610818912.9A CN106254929A (en) 2016-09-12 2016-09-12 A kind of processing method and processing device of video data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610818912.9A CN106254929A (en) 2016-09-12 2016-09-12 A kind of processing method and processing device of video data

Publications (1)

Publication Number Publication Date
CN106254929A true CN106254929A (en) 2016-12-21

Family

ID=57598852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610818912.9A Pending CN106254929A (en) 2016-09-12 2016-09-12 A kind of processing method and processing device of video data

Country Status (1)

Country Link
CN (1) CN106254929A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109951717A (en) * 2019-03-29 2019-06-28 北京奇艺世纪科技有限公司 A kind of method and device that quickly starts broadcasting
CN112584081A (en) * 2020-12-01 2021-03-30 北京融讯科创技术有限公司 Video transmission method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087407A (en) * 2006-06-06 2007-12-12 阿尔卡特朗讯公司 Method and apparatus for instant channel change
CN101267545A (en) * 2008-04-30 2008-09-17 中兴通讯股份有限公司 A program switching method and device
US20120140018A1 (en) * 2010-06-04 2012-06-07 Alexey Pikin Server-Assisted Video Conversation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087407A (en) * 2006-06-06 2007-12-12 阿尔卡特朗讯公司 Method and apparatus for instant channel change
CN101267545A (en) * 2008-04-30 2008-09-17 中兴通讯股份有限公司 A program switching method and device
US20120140018A1 (en) * 2010-06-04 2012-06-07 Alexey Pikin Server-Assisted Video Conversation

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109951717A (en) * 2019-03-29 2019-06-28 北京奇艺世纪科技有限公司 A kind of method and device that quickly starts broadcasting
CN109951717B (en) * 2019-03-29 2021-05-18 北京奇艺世纪科技有限公司 Rapid broadcasting method and device
CN112584081A (en) * 2020-12-01 2021-03-30 北京融讯科创技术有限公司 Video transmission method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105306963B (en) The processing system for video of adaptive mobile terminal resolution ratio, device and method
EP1921852A1 (en) Sharing Television Clips
CN102364905B (en) Data reproducing method, device and mobile terminal
US9367125B2 (en) Terminal apparatus for shooting and distributing video data and video-data distribution method
CN106301865B (en) Data processing method and device applied to service providing device
CN106998485B (en) Video live broadcasting method and device
CN104811814A (en) Video playing-based information processing method and system, client and server
CN103260079A (en) Control method and control device for multi-screen interaction
CN103686245A (en) Video-on-demand and live broadcasting switching method and device based on HLS protocol
CN105025351A (en) Streaming media player buffering method and apparatus
CN102387187A (en) Server, client as well as method and system for remotely playing video file by using client
CN106131700A (en) A kind of sharing files method and device during net cast
CN105100906A (en) Play control method and play control device
CN104811781A (en) Video across-screen playing method and video across-screen playing device
CN107690093B (en) Video playing method and device
CN104080006A (en) Video processing device and method
CN104284214A (en) Downloading system of film and television resources
CN111726641A (en) Live video playing processing method and device and server
US20220201348A1 (en) Intelligent Download of Content
CN105979354A (en) Channel switching method and device
CN106254929A (en) A kind of processing method and processing device of video data
CN106303581A (en) A kind of video file download process method, device and server
CN104641655A (en) Terminal cache method, terminal and server
CN105791964B (en) cross-platform media file playing method and system
CN106162234A (en) A kind of method and device sharing TV programme

Legal Events

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

Application publication date: 20161221