CN105721887A - Video playing method, apparatus and system - Google Patents

Video playing method, apparatus and system Download PDF

Info

Publication number
CN105721887A
CN105721887A CN201410737961.0A CN201410737961A CN105721887A CN 105721887 A CN105721887 A CN 105721887A CN 201410737961 A CN201410737961 A CN 201410737961A CN 105721887 A CN105721887 A CN 105721887A
Authority
CN
China
Prior art keywords
video
frame
compensation
local
present frame
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.)
Granted
Application number
CN201410737961.0A
Other languages
Chinese (zh)
Other versions
CN105721887B (en
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.)
DRPENG TELECOM MEDIA GROUP Co Ltd
Original Assignee
DRPENG TELECOM MEDIA GROUP 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 DRPENG TELECOM MEDIA GROUP Co Ltd filed Critical DRPENG TELECOM MEDIA GROUP Co Ltd
Priority to CN201410737961.0A priority Critical patent/CN105721887B/en
Publication of CN105721887A publication Critical patent/CN105721887A/en
Application granted granted Critical
Publication of CN105721887B publication Critical patent/CN105721887B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a video playing method and apparatus, a video compensation method and apparatus, and a video playing system. The video playing method comprises the steps: according to a video program identifier of a video to be played, acquiring a local video which is pre-stored in the local and conforms to the video program identifier; sending the video program identifier and a video quality index value of the local video to a video server, and requesting a video for compensation and an audio for compensation; receiving the video for compensation and/or the audio for compensation looped back from the video server; and overlaying the video for compensation and/or the audio for compensation in the local video, and playing the local video after compensation. The video playing method can play video with high video quality under lower network bandwidth so as to save the network bandwidth.

Description

Video broadcasting method, Apparatus and system
Technical field
The present invention relates to multimedia-data procession field, be specifically related to a kind of video broadcasting method and device.Present invention simultaneously relates to a kind of video comfort method and apparatus and a kind of audio/video player system.
Background technology
Intelligent television is the third message reference terminal after computer, mobile phone.So-called intelligent television, refers to have full open model platform, is equipped with operating system, user, while appreciating general television content, can install and uninstall types of applications software, the tv product persistently function being expanded and upgrading voluntarily.Pass through intelligent television, can from network, AV equipment (AudioVideo, refer to audio frequency, video, interface equipment), the multiple channel such as PC obtain programme content, user is operated by integrated operation interface easy to use, can the content that need most clearly be represented on giant-screen.Complying with the trend that television set develops to " high Qinghua ", " networking ", " intellectuality " direction, intelligent television has become the technical development focus of field of television.
A kind of very common occasion using intelligent television, is watch Internet video by intelligent television.That Internet video refers to is that provided by Web Video Service business, that be broadcast format with Streaming Media, can the audio video interleaved of live online or program request, for instance: the video frequency programs such as network film, TV play, news, variety show, advertisement.Along with the development of science and technology, continuing to bring out out substantial amounts of network HD video resource, each video website has provided the user colourful video resource.
Traditionally, user watches Internet video and places one's entire reliance upon the network bandwidth, when network bandwidth falls short, and the problem often occurring interrupting playing network video, constantly carrying out video buffer.Therefore, along with the appearance of substantial amounts of network HD video resource, it is necessary to improve constantly the network bandwidth of server end and user side, thus causing higher network bandwidth cost.Visible, the network bandwidth governs the development of Internet video, further, has become as the bottleneck of restriction intelligent television development.
Therefore, there is the problem that playing network video is completely dependent on the network bandwidth in prior art.
Summary of the invention
The application provides a kind of video broadcasting method and device, to solve the problem that prior art playing network video is completely dependent on the network bandwidth.The present invention additionally provides a kind of video comfort method and apparatus and a kind of audio/video player system.
The application provides a kind of video broadcasting method, including:
Video frequency program mark according to video to be played, obtains the local video being consistent with described video frequency program mark being stored in advance in this locality;
Send the video quality desired value of described video frequency program mark and described local video to video server, and ask compensation video and compensation audio frequency;
Receive described compensation video and/or the compensation audio frequency of described video server loopback;
Described compensation video and/or compensation audio frequency are added in described local video, and play the local video after compensation;
Wherein, described compensation video and compensation audio frequency are video and the audio frequency of the video quality instigating the video quality of described local video to reach far-end video;Described far-end video refers to the video file being consistent with described video frequency program mark being stored in advance in described video server, and its video quality is higher than the video quality of described local video.
Optionally, described compensation video adopts following steps to generate:
Each frame of video of described local video is read frame by frame, using the described frame of video that currently reads as local present frame according to playing sequence;
Obtain the position of inactive pixels point in the frame number of described local present frame and described local present frame, and the position of described frame number and described inactive pixels point is sent to described video server;
According to described frame number, described video server obtains the frame of video of same number of frames sequence number in described far-end video, as far-end present frame;
The position of the described inactive pixels point according to described local present frame, obtains the pixel that local present frame does not comprise from far-end present frame, these pixels is formed compensation frame of video;
Each described compensation frame of video is merged into described compensation video.
Optionally, in the position of the described described inactive pixels point according to described local present frame, from far-end present frame, obtain the pixel that local present frame does not comprise, after these pixels are formed compensation frame of video, also include:
The frame number of the next frame of described local present frame is sent to described video server;
Frame number according to described local present frame and the frame number of next frame thereof, obtain the frame of video between corresponding frame number in described far-end video, as compensation frame of video in described video server.
Optionally, described by described compensation video superimpose to described local video, and play the local video after compensation, including:
Each frame of video of described local video is read frame by frame, using the described frame of video that currently reads as local present frame according to playing sequence;
Frame number according to described local present frame, be added to described local present frame by the compensation frame of video of same number of frames sequence number in described compensation video, forms broadcasting present frame;
The transmission of described broadcasting present frame is used for video playback to video player.
Optionally, described described local present frame that the compensation frame of video of same number of frames sequence number in described compensation video is added to, form broadcasting present frame, specifically refer to:
Each pixel that the compensation frame of video of described same number of frames sequence number comprises is added to described local present frame correspondence position pixel on.
Optionally, after playing described broadcasting present frame, also include:
Judge the compensation frame of video whether including between described broadcasting present frame and its next frame in described compensation video;If so, the compensation frame of video between described broadcasting present frame and its next frame is then play.
Optionally, described compensation audio frequency adopts following steps to generate:
Obtain the described tonequality index of the audio signal of described local video, and tonequality desired value is sent to described video server;
According to described tonequality index, described video server obtains the audio signal compensated required for the tonequality making the tonequality of described local video reach described far-end video, as compensation audio frequency.
Optionally, the described video frequency program according to video to be played identifies, and obtains the local video being consistent with described video frequency program mark being stored in advance in this locality and includes:
Video frequency program mark according to described video to be played, inquires about the storage address of described local video in default video address synopsis;
Storage address according to described local video, obtains described local video.
Accordingly, the application also provides for a kind of video play device, including:
Obtain local video unit, identify for the video frequency program according to video to be played, obtain the local video being consistent with described video frequency program mark being stored in advance in this locality;
Request compensating unit, for sending the video quality desired value of described video frequency program mark and described local video to video server, asks compensation video and compensation audio frequency to described video server;
Receive compensating unit, for receiving described compensation video and/or the compensation audio frequency of described video server loopback;
Superposition broadcast unit, for described compensation video and/or compensation audio frequency being added in described local video, and plays the local video after compensation.
Optionally, described request compensating unit includes:
Generate and compensate video subelement, be used for generating described compensation video;
The described compensation video subelement that generates includes:
Read subelement, for reading each frame of video of described local video frame by frame according to playing sequence, using the described frame of video that currently reads as local present frame;
First sends subelement, is used for obtaining the position of inactive pixels point in the frame number of described local present frame and described local present frame, and sends the position of described frame number and described inactive pixels point to described video server;
First obtains subelement, for according to described frame number, obtaining the frame of video of same number of frames sequence number in described far-end video, as far-end present frame in described video server;
Second obtains subelement, for the position of the described inactive pixels point according to described local present frame, obtains the pixel that local present frame does not comprise, these pixels are formed compensation frame of video from far-end present frame;
Merge subelement, for each described compensation frame of video is merged into described compensation video.
Optionally, the described compensation video subelement that generates also includes:
Second sends subelement, for sending the frame number of the next frame of described local present frame to described video server;
3rd obtains subelement, for the frame number of the frame number according to described local present frame and next frame thereof, obtains the frame of video between corresponding frame number in described far-end video, as compensation frame of video in described video server.
Optionally, described superposition broadcast unit includes:
Read subelement, for reading each frame of video of described local video frame by frame according to playing sequence, using the described frame of video that currently reads as local present frame;
Superposition subelement, for the frame number according to described local present frame, be added to described local present frame by the compensation frame of video of same number of frames sequence number in described compensation video, forms broadcasting present frame;
First plays subelement, for the transmission of described broadcasting present frame is used for video playback to video player.
Optionally, described superposition broadcast unit also includes:
Second plays subelement, for judging the compensation frame of video whether including between described broadcasting present frame and its next frame in described compensation video;If so, the compensation frame of video between described broadcasting present frame and its next frame is then play.
Optionally, described request compensating unit includes:
Generate compensating audio subelement, be used for generating described compensation audio frequency;
Described generation compensating audio subelement includes:
Send subelement, for obtaining the described tonequality index of the audio signal of described local video, and tonequality desired value is sent to described video server;
Obtain subelement, for according to described tonequality index, described video server obtaining the audio signal compensated required for the tonequality making the tonequality of described local video reach described far-end video, as compensation audio frequency.
Optionally, described acquisition local video unit includes:
Inquiry subelement, identifies for the video frequency program according to described video to be played, inquires about the storage address of described local video in default video address synopsis;
Obtain subelement, for the storage address according to described local video, obtain described local video.
Additionally, the application also provides for a kind of video comfort method, including:
Receive the video comfort request of the corresponding particular clients local video that client sends;The request of described video comfort at least includes video frequency program mark and the video quality desired value of described local video;
According to described video frequency program mark and video quality desired value, obtain compensation video and/or the compensation audio frequency of the video quality making the video quality of described local video reach far-end video;
Described compensation video and/or compensation audio frequency are sent to described client.
Accordingly, the application also provides for a kind of video comfort device, including:
Receive unit, for receiving the video comfort request of the corresponding particular clients local video that client sends;The request of described video comfort at least includes video frequency program mark and the video quality desired value of described local video;
Acquiring unit, for according to described video frequency program mark and video quality desired value, obtaining compensation video and/or the compensation audio frequency of the video quality making the video quality of described local video reach far-end video;
Transmitting element, for sending described compensation video and/or compensation audio frequency to described client.
Additionally, the application also provides for a kind of audio/video player system, including: the video play device according to any of the above-described item and the video comfort device described in any one.
Compared with prior art, the application has the advantage that
The video broadcasting method that the application provides, video comfort method, and related device and system, the local video and far-end video that are consistent is identified by obtaining the video frequency program with video to be played with video server being stored in advance in this locality respectively, and the video quality desired value according to local video, far-end video obtains the compensation video making the video quality of local video reach the video quality of far-end video and to need and compensation audio frequency, the i.e. video quality according to far-end video dynamic compensation local video, make to play the video of higher video quality under the relatively low network bandwidth, thus reaching to save the effect of the network bandwidth.
Accompanying drawing explanation
Fig. 1 is the flow chart of the video broadcasting method embodiment A of the application;
Fig. 2 be the application video broadcasting method embodiment A in generate compensation video particular flow sheet;
Fig. 3 be the application video broadcasting method embodiment B in generate compensation video particular flow sheet;
Fig. 4 be the application video broadcasting method embodiment A in generate compensation audio frequency particular flow sheet;
Fig. 5 is the schematic diagram of the video play device embodiment of the application;
Fig. 6 is the flow chart of the video comfort embodiment of the method for the application;
Fig. 7 is the schematic diagram of the video comfort device embodiment of the application;
Fig. 8 is the schematic diagram of the audio/video player system embodiment of the application.
Detailed description of the invention
Elaborate a lot of detail in the following description so that fully understanding the present invention.But the present invention can implement being much different from alternate manner described here, and those skilled in the art can do similar popularization when without prejudice to intension of the present invention, therefore the present invention is by the following public restriction being embodied as.
In this application, it is provided that a kind of video broadcasting method and device.It is described in detail one by one in the following embodiments.
Refer to Fig. 1, it is the flow chart of video broadcasting method embodiment A of the application.Described method comprises the steps:
Step S101: identify according to the video frequency program of video to be played, obtains the local video being consistent with described video frequency program mark being stored in advance in this locality.
The video broadcasting method that the application provides, compensate in local video by the difference video between far-end video and local video is downloaded, and play the local video after compensation, it is possible to whole far-end video need not be downloaded and namely may be viewed by reaching the video frequency program of its video quality.
Local video described herein refers to the video with video to be played with the video frequency program mark being consistent, and is stored in advance in local device, for instance: the terminal unit such as intelligent television, PC, PAD, iPad.Compared with far-end video, the video quality of local video is relatively low.Local video includes each TV programme that television station has play and the Internet video downloaded from video website.In the present embodiment, video frequency program mark refers to the programm name of video frequency program, for instance: the various programm names such as movie name, variety show name.
In the present embodiment, the described video frequency program according to video to be played identifies, and obtains the local video being consistent with described video frequency program mark being stored in advance in this locality and includes:
Step S1012: identify according to the video frequency program of described video to be played, inquire about the storage address of described local video in default video address synopsis.
Video address synopsis described herein includes video frequency program mark and its corresponding relation storing between address of local video.
Step S1013: the storage address according to described local video, obtains described local video.
Step S102: send the video quality desired value of described video frequency program mark and described local video to video server, and ask compensation video and compensation audio frequency.
Video quality desired value described herein refers to weigh the various desired values of video playing quality, including the index such as video image clarity and tonequality.If the image definition of far-end video is higher than the image definition of local video, then obtain compensation video by video server;If the tonequality index of far-end video is higher than the tonequality index of local video, then obtain compensation audio frequency by video server.Described compensation video and compensation audio frequency are video and the audio frequency of the video quality instigating the video quality of described local video to reach far-end video.
Far-end video described herein refers to the Internet video being stored in advance in the video frequency program mark that having with video to be played in video server is consistent.Far-end video and the substantially same video frequency program of above-mentioned local video, namely the two has the video frequency program mark being consistent.The video size of far-end video and local video is identical, and namely each frame picture of the two has identical pixel number.Far-end video and local video are distinctive in that the video quality of far-end video is higher than local video, and namely the image definition of each frame picture of far-end video is higher than the definition of the corresponding frame of local video, or the tonequality of far-end video is higher than the tonequality of local video.Such as: a certain frame picture of local video has disappearance on the pixel that some are concrete, therefore produces mosaic phenomenon;And the corresponding picture in far-end video is complete, therefore the picture from visual aspects perception is smooth.
Refer to Fig. 2, its be the application video broadcasting method embodiment A in generate compensation video particular flow sheet.In the present embodiment, generate compensation video and adopt following steps:
Step S201: read each frame of video of described local video according to playing sequence frame by frame, using the described frame of video that currently reads as local present frame.
The video broadcasting method that the embodiment of the present application provides, image definition by each frame according to local video, obtain the image definition reaching in far-end video corresponding frame and the compensated video frames needed, and then carry out video comfort process for each frame of video, that is: the image definition of each frame of local video differs, or in far-end video, the image definition of corresponding frame differs, thus the size of each compensated video frames also differs.In actual applications, the image definition of each frame that can also give tacit consent to local video is essentially identical, the image definition of each frame of far-end video is also essentially identical, when asking compensation video to video server, image definition according only to local video, obtain the compensation video reaching the image definition of far-end video and need, it may be assumed that the size of each compensated video frames is identical.Further, it is also possible to the image definition meansigma methods according to local video, obtaining the image definition meansigma methods reaching far-end video and the compensation video needed, the size of each compensated video frames that the method obtains also is identical.These different modes above-mentioned, are all the change of detailed description of the invention, all without departing from the core of the application, therefore all within the protection domain of the application.
Step S202: obtain the position of inactive pixels point in the frame number of described local present frame and described local present frame, and the position of described frame number and described inactive pixels point is sent to described video server.
Inactive pixels point described herein refers to that this pixel position exists the phenomenon of missing pixel point value.Such as, the rgb value of pixel is (0,0,0) or (255,255,255), and namely this pixel is pure white or ater, then this pixel is considered as inactive pixels point.In the present embodiment, the rgb value of each pixel of the local present frame of scanning in a progressive way, to obtain the position of inactive pixels point in described local present frame.
Step S203: according to described frame number, obtains the frame of video of same number of frames sequence number in described far-end video, as far-end present frame in described video server.
Step S204: the position according to the described inactive pixels point of described local present frame, obtains the pixel that local present frame does not comprise from far-end present frame, these pixels is formed compensation frame of video.
Compensated video frames described herein includes the required all pixels compensated of image definition making the image definition of local present frame reach far-end present frame.
Refer to Fig. 3, its be the application video broadcasting method embodiment B in generate compensation video particular flow sheet, be the preferred embodiment of described method.In the present embodiment, except the step shown in Fig. 2, in the position of the described described inactive pixels point according to described local present frame, from far-end present frame, obtain the pixel that local present frame does not comprise, after these pixels are formed compensation frame of video, also include:
Step S301: the frame number of the next frame of described local present frame is sent to described video server.
Due to the special physiological structure of human eye, if the frame per second of seen picture is higher than 16, will thinking to link up, this phenomenon is referred to as vision and stops.Video is exactly the principle utilizing human eye vision to persist, and by playing a series of picture, makes human eye produce the sensation of motion.Video frame rate is for measuring measuring of display frame number, and measuring unit is display frame number per second.The number of times that when frame number per second frame per second in other words represents graphic process unit Treatment stations, each second can update.High frame per second can obtain animation more smooth, more true to nature.In general, frame per second is 30 is exactly acceptable, but is promoted to 60 and can be obviously improved mutual sense and realism, and is generally just not easy to have perceived obvious fluency more than 75 and improves.
The image definition of far-end video described herein not only its each frame could possibly be higher than local video, and the totalframes simultaneously forming far-end video is likely to higher than local video.In the present embodiment, by obtaining the frame of video between two distal frames corresponding with the two of local video continuous local frame in far-end video, and insert it into and play out between two continuous local frame, the frame per second making the video of actual play is improved, the frame per second of far-end video can be reached, thus strengthening the visual experience of user.
Step S302: the frame number according to the frame number of described local present frame and next frame thereof, obtains the frame of video between corresponding frame number in described far-end video, as compensation frame of video in described video server.
Step S205: each described compensation frame of video is merged into described compensation video.
Step S103: receive described compensation video and/or the compensation audio frequency of described video server loopback.
Owing to compensation video and compensation audio storage are in video server, therefore after generating compensation video and compensation audio frequency, it is necessary to download it in local playback equipment, in order to playing the local video after compensating after being compensated local video again.
Step S104: described compensation video and/or compensation audio frequency are added in described local video, and play the local video after compensation.
In the present embodiment, step S104 specifically includes:
Step S1041: read each frame of video of described local video according to playing sequence frame by frame, using the described frame of video that currently reads as local present frame.
Step S1042: the frame number according to described local present frame, be added to described local present frame by the compensation frame of video of same number of frames sequence number in described compensation video, forms broadcasting present frame.
In the present embodiment, described described local present frame that the compensation frame of video of same number of frames sequence number in described compensation video is added to, form broadcasting present frame to specifically refer to, each pixel that the compensation frame of video of described same number of frames sequence number comprises is added to described local present frame correspondence position pixel on so that the picture quality playing video reaches the picture quality of far-end video.
Step S1043: the transmission of described broadcasting present frame is used for video playback to video player.
In the present embodiment, after playing described broadcasting present frame, also include: judge the compensation frame of video whether including between described broadcasting present frame and its next frame in described compensation video;If so, the compensation frame of video between described broadcasting present frame and its next frame is then play.
Refer to Fig. 4, its be the application video broadcasting method embodiment A in generate compensation audio frequency particular flow sheet.In the present embodiment, generate compensation audio frequency and adopt following steps:
Step S401: obtain the tonequality index of the audio signal of described local video, and tonequality desired value is sent to described video server.
Step S402: according to described tonequality index, obtain the audio signal compensated required for the tonequality making the tonequality of described local video reach described far-end video in described video server, as compensation audio frequency.
In the above-described embodiment, it is provided that a kind of video broadcasting method, corresponding, the application also provides for a kind of video play device.Refer to Fig. 5, it is the schematic diagram of video play device embodiment of the application.Owing to device embodiment is substantially similar to embodiment of the method, so describing fairly simple, relevant part illustrates referring to the part of embodiment of the method.Device embodiment described below is merely schematic.
A kind of video play device of the present embodiment, including: obtain local video unit 101, identify for the video frequency program according to video to be played, obtain the local video being consistent with described video frequency program mark being stored in advance in this locality;Request compensating unit 102, for sending the video quality desired value of described video frequency program mark and described local video to video server, asks compensation video and compensation audio frequency to described video server;Receive compensating unit 103, for receiving described compensation video and/or the compensation audio frequency of described video server loopback;Superposition broadcast unit 104, for described compensation video and/or compensation audio frequency being added in described local video, and plays the local video after compensation.
Optionally, described request compensating unit 102 includes:
Generate and compensate video subelement, be used for generating described compensation video;
The described compensation video subelement that generates includes:
Read subelement, for reading each frame of video of described local video frame by frame according to playing sequence, using the described frame of video that currently reads as local present frame;
First sends subelement, is used for obtaining the position of inactive pixels point in the frame number of described local present frame and described local present frame, and sends the position of described frame number and described inactive pixels point to described video server;
First obtains subelement, for according to described frame number, obtaining the frame of video of same number of frames sequence number in described far-end video, as far-end present frame in described video server;
Second obtains subelement, for the position of the described inactive pixels point according to described local present frame, obtains the pixel that local present frame does not comprise, these pixels are formed compensation frame of video from far-end present frame;
Merge subelement, for each described compensation frame of video is merged into described compensation video.
Optionally, the described compensation video subelement that generates also includes:
Second sends subelement, for sending the frame number of the next frame of described local present frame to described video server;
3rd obtains subelement, for the frame number of the frame number according to described local present frame and next frame thereof, obtains the frame of video between corresponding frame number in described far-end video, as compensation frame of video in described video server.
Optionally, described superposition broadcast unit 104 includes:
Read subelement, for reading each frame of video of described local video frame by frame according to playing sequence, using the described frame of video that currently reads as local present frame;
Superposition subelement, for the frame number according to described local present frame, be added to described local present frame by the compensation frame of video of same number of frames sequence number in described compensation video, forms broadcasting present frame;
First plays subelement, for the transmission of described broadcasting present frame is used for video playback to video player.
Optionally, described superposition broadcast unit 104 also includes:
Second plays subelement, for judging the compensation frame of video whether including between described broadcasting present frame and its next frame in described compensation video;If so, the compensation frame of video between described broadcasting present frame and its next frame is then play.
Optionally, described request compensating unit 102 includes:
Generate compensating audio subelement, be used for generating described compensation audio frequency;
Described generation compensating audio subelement includes:
Send subelement, for obtaining the described tonequality index of the audio signal of described local video, and tonequality desired value is sent to described video server;
Obtain subelement, for according to described tonequality index, described video server obtaining the audio signal compensated required for the tonequality making the tonequality of described local video reach described far-end video, as compensation audio frequency.
Optionally, described acquisition local video unit 101 includes:
Inquiry subelement, identifies for the video frequency program according to described video to be played, inquires about the storage address of described local video in default video address synopsis;
Obtain subelement, for the storage address according to described local video, obtain described local video.
Corresponding with above-mentioned video broadcasting method, the application also provides for a kind of video comfort method.Refer to Fig. 6, it is the flow chart of video comfort embodiment of the method for the application, and the part that the present embodiment is identical with first embodiment content repeats no more, and refers to the appropriate section in embodiment one.A kind of video comfort method that the application provides, including:
Step S601: receive the video comfort request of the corresponding particular clients local video that client sends;The request of described video comfort at least includes video frequency program mark and the video quality desired value of described local video.
Step S602: according to described video frequency program mark and video quality desired value, obtain compensation video and/or the compensation audio frequency of the video quality making the video quality of described local video reach far-end video.
Step S603: described compensation video and/or compensation audio frequency are sent to described client.
In the above-described embodiment, it is provided that a kind of video comfort method, corresponding, the application also provides for a kind of video comfort device.Refer to Fig. 7, it is the schematic diagram of video comfort device embodiment of the application.Owing to device embodiment is substantially similar to embodiment of the method, so describing fairly simple, relevant part illustrates referring to the part of embodiment of the method.Device embodiment described below is merely schematic.
A kind of video comfort device of the present embodiment, including: receive unit 201, for receiving the video comfort request of the corresponding particular clients local video that client sends;The request of described video comfort at least includes video frequency program mark and the video quality desired value of described local video;Acquiring unit 202, for according to described video frequency program mark and video quality desired value, obtaining compensation video and/or the compensation audio frequency of the video quality making the video quality of described local video reach far-end video;Transmitting element 203, for sending described compensation video and/or compensation audio frequency to described client.
Present invention also provides a kind of audio/video player system, as shown in Figure 8, this system includes the video play device 801 described in above-described embodiment and video comfort device 802.Described video comfort device 802 is usually deployed in server, but is not limited to server, it is also possible to be that by any equipment of video comfort method;Described video play device 801 is usually deployed in the terminal unit such as intelligent television, PC, PAD, iPad.Such as, video play device is deployed on intelligent television, it is possible to uploads the position of inactive pixels point in the frame identification of local present frame and described local present frame, asks compensated video frames to server end;By superimposed to this locality present frame and compensated video frames, generate broadcasting frame of video, the user making intelligent television can watch and the video of far-end video identical image definition, and only need the network bandwidth compensating video that far-end video is corresponding with the image definition difference of local video, the viewing effect of far-end video can be reached.Video comfort device is disposed on the server, by the frame identification according to local present frame, obtains the far-end present frame being stored in server end;And the image definition according to the image definition of local present frame and far-end present frame, generate compensated video frames so that server end generates the compensated video frames returned to client.
The video broadcasting method that the application provides, video comfort method, and related device and system, the local video and far-end video that are consistent is identified by obtaining the video frequency program with video to be played with video server being stored in advance in this locality respectively, and the video quality desired value according to local video, far-end video obtains the compensation video making the video quality of local video reach the video quality of far-end video and to need and compensation audio frequency, the i.e. video quality according to far-end video dynamic compensation local video, make to play the video of higher video quality under the relatively low network bandwidth, thus reaching to save the effect of the network bandwidth.
Although the present invention is with preferred embodiment openly as above; but it is not for limiting the present invention; any those skilled in the art are without departing from the spirit and scope of the present invention; can making possible variation and amendment, therefore protection scope of the present invention should be as the criterion with the scope that the claims in the present invention define.
In a typical configuration, computing equipment includes one or more processor (CPU), input/output interface, network interface and internal memory.
Internal memory potentially includes the forms such as the volatile memory in computer-readable medium, random access memory (RAM) and/or Nonvolatile memory, such as read only memory (ROM) or flash memory (flashRAM).Internal memory is the example of computer-readable medium.
1, computer-readable medium includes permanent and impermanency, removable and non-removable media can by any method or technology to realize information storage.Information can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computer includes, but it is not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus or any other non-transmission medium, can be used for the information that storage can be accessed by a computing device.According to defining herein, computer-readable medium does not include non-temporary computer readable media (transitorymedia), such as data signal and the carrier wave of modulation.
2, it will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the application can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.

Claims (18)

1. a video broadcasting method, it is characterised in that including:
Video frequency program mark according to video to be played, obtains the local video being consistent with described video frequency program mark being stored in advance in this locality;
Send the video quality desired value of described video frequency program mark and described local video to video server, and ask compensation video and compensation audio frequency;
Receive described compensation video and/or the compensation audio frequency of described video server loopback;
Described compensation video and/or compensation audio frequency are added in described local video, and play the local video after compensation;
Wherein, described compensation video and compensation audio frequency are video and the audio frequency of the video quality instigating the video quality of described local video to reach far-end video;Described far-end video refers to the video file being consistent with described video frequency program mark being stored in advance in described video server, and its video quality is higher than the video quality of described local video.
2. video broadcasting method according to claim 1, it is characterised in that described compensation video adopts following steps to generate:
Each frame of video of described local video is read frame by frame, using the described frame of video that currently reads as local present frame according to playing sequence;
Obtain the position of inactive pixels point in the frame number of described local present frame and described local present frame, and the position of described frame number and described inactive pixels point is sent to described video server;
According to described frame number, described video server obtains the frame of video of same number of frames sequence number in described far-end video, as far-end present frame;
The position of the described inactive pixels point according to described local present frame, obtains the pixel that local present frame does not comprise from far-end present frame, these pixels is formed compensation frame of video;
Each described compensation frame of video is merged into described compensation video.
3. video broadcasting method according to claim 2, it is characterized in that, in the position of the described described inactive pixels point according to described local present frame, from far-end present frame, obtain the pixel that local present frame does not comprise, after these pixels are formed compensation frame of video, also include:
The frame number of the next frame of described local present frame is sent to described video server;
Frame number according to described local present frame and the frame number of next frame thereof, obtain the frame of video between corresponding frame number in described far-end video, as compensation frame of video in described video server.
4. video broadcasting method according to claim 1, it is characterised in that described by described compensation video superimpose to described local video, and play the local video after compensation, including:
Each frame of video of described local video is read frame by frame, using the described frame of video that currently reads as local present frame according to playing sequence;
Frame number according to described local present frame, be added to described local present frame by the compensation frame of video of same number of frames sequence number in described compensation video, forms broadcasting present frame;
The transmission of described broadcasting present frame is used for video playback to video player.
5. video broadcasting method according to claim 4, it is characterised in that the described described local present frame that the compensation frame of video of same number of frames sequence number in described compensation video is added to, forms broadcasting present frame, specifically refers to:
Each pixel that the compensation frame of video of described same number of frames sequence number comprises is added to described local present frame correspondence position pixel on.
6. video broadcasting method according to claim 4, it is characterised in that after playing described broadcasting present frame, also include:
Judge the compensation frame of video whether including between described broadcasting present frame and its next frame in described compensation video;If so, the compensation frame of video between described broadcasting present frame and its next frame is then play.
7. video broadcasting method according to claim 1, it is characterised in that described compensation audio frequency adopts following steps to generate:
Obtain the described tonequality index of the audio signal of described local video, and tonequality desired value is sent to described video server;
According to described tonequality index, described video server obtains the audio signal compensated required for the tonequality making the tonequality of described local video reach described far-end video, as compensation audio frequency.
8. the video broadcasting method according to claim 1-7, it is characterised in that the described video frequency program according to video to be played identifies, obtains the local video being consistent with described video frequency program mark being stored in advance in this locality and includes:
Video frequency program mark according to described video to be played, inquires about the storage address of described local video in default video address synopsis;
Storage address according to described local video, obtains described local video.
9. a video play device, it is characterised in that including:
Obtain local video unit, identify for the video frequency program according to video to be played, obtain the local video being consistent with described video frequency program mark being stored in advance in this locality;
Request compensating unit, for sending the video quality desired value of described video frequency program mark and described local video to video server, asks compensation video and compensation audio frequency to described video server;
Receive compensating unit, for receiving described compensation video and/or the compensation audio frequency of described video server loopback;
Superposition broadcast unit, for described compensation video and/or compensation audio frequency being added in described local video, and plays the local video after compensation.
10. video play device according to claim 9, it is characterised in that described request compensating unit includes:
Generate and compensate video subelement, be used for generating described compensation video;
The described compensation video subelement that generates includes:
Read subelement, for reading each frame of video of described local video frame by frame according to playing sequence, using the described frame of video that currently reads as local present frame;
First sends subelement, is used for obtaining the position of inactive pixels point in the frame number of described local present frame and described local present frame, and sends the position of described frame number and described inactive pixels point to described video server;
First obtains subelement, for according to described frame number, obtaining the frame of video of same number of frames sequence number in described far-end video, as far-end present frame in described video server;
Second obtains subelement, for the position of the described inactive pixels point according to described local present frame, obtains the pixel that local present frame does not comprise, these pixels are formed compensation frame of video from far-end present frame;
Merge subelement, for each described compensation frame of video is merged into described compensation video.
11. video play device according to claim 10, it is characterised in that described generation compensates video subelement and also includes:
Second sends subelement, for sending the frame number of the next frame of described local present frame to described video server;
3rd obtains subelement, for the frame number of the frame number according to described local present frame and next frame thereof, obtains the frame of video between corresponding frame number in described far-end video, as compensation frame of video in described video server.
12. video play device according to claim 9, it is characterised in that described superposition broadcast unit includes:
Read subelement, for reading each frame of video of described local video frame by frame according to playing sequence, using the described frame of video that currently reads as local present frame;
Superposition subelement, for the frame number according to described local present frame, be added to described local present frame by the compensation frame of video of same number of frames sequence number in described compensation video, forms broadcasting present frame;
First plays subelement, for the transmission of described broadcasting present frame is used for video playback to video player.
13. video play device according to claim 12, it is characterised in that described superposition broadcast unit also includes:
Second plays subelement, for judging the compensation frame of video whether including between described broadcasting present frame and its next frame in described compensation video;If so, the compensation frame of video between described broadcasting present frame and its next frame is then play.
14. video play device according to claim 9, it is characterised in that described request compensating unit includes:
Generate compensating audio subelement, be used for generating described compensation audio frequency;
Described generation compensating audio subelement includes:
Send subelement, for obtaining the described tonequality index of the audio signal of described local video, and tonequality desired value is sent to described video server;
Obtain subelement, for according to described tonequality index, described video server obtaining the audio signal compensated required for the tonequality making the tonequality of described local video reach described far-end video, as compensation audio frequency.
15. according to the video play device described in any one of claim 9-14, it is characterised in that described acquisition local video unit includes:
Inquiry subelement, identifies for the video frequency program according to described video to be played, inquires about the storage address of described local video in default video address synopsis;
Obtain subelement, for the storage address according to described local video, obtain described local video.
16. a video comfort method, it is characterised in that including:
Receive the video comfort request of the corresponding particular clients local video that client sends;The request of described video comfort at least includes video frequency program mark and the video quality desired value of described local video;
According to described video frequency program mark and video quality desired value, obtain compensation video and/or the compensation audio frequency of the video quality making the video quality of described local video reach far-end video;
Described compensation video and/or compensation audio frequency are sent to described client.
17. a video comfort device, it is characterised in that including:
Receive unit, for receiving the video comfort request of the corresponding particular clients local video that client sends;The request of described video comfort at least includes video frequency program mark and the video quality desired value of described local video;
Acquiring unit, for according to described video frequency program mark and video quality desired value, obtaining compensation video and/or the compensation audio frequency of the video quality making the video quality of described local video reach far-end video;
Transmitting element, for sending described compensation video and/or compensation audio frequency to described client.
18. an audio/video player system, it is characterised in that including:
Video play device according to claim 9;Video comfort device according to claim 17.
CN201410737961.0A 2014-12-05 2014-12-05 Video broadcasting method, apparatus and system Active CN105721887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410737961.0A CN105721887B (en) 2014-12-05 2014-12-05 Video broadcasting method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410737961.0A CN105721887B (en) 2014-12-05 2014-12-05 Video broadcasting method, apparatus and system

Publications (2)

Publication Number Publication Date
CN105721887A true CN105721887A (en) 2016-06-29
CN105721887B CN105721887B (en) 2019-02-22

Family

ID=56143972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410737961.0A Active CN105721887B (en) 2014-12-05 2014-12-05 Video broadcasting method, apparatus and system

Country Status (1)

Country Link
CN (1) CN105721887B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012161A (en) * 2017-11-10 2018-05-08 广州华多网络科技有限公司 Net cast method, system and terminal device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997163A (en) * 2006-11-28 2007-07-11 西安交通大学 A method for recovery of the video transfer signal error
CN102186001A (en) * 2011-03-25 2011-09-14 刘晓华 Self-adaptive bottom video mining method based on contrast resolution compensation
US20110279634A1 (en) * 2010-05-12 2011-11-17 Alagu Periyannan Systems and methods for real-time multimedia communications across multiple standards and proprietary devices
CN102395043A (en) * 2011-11-11 2012-03-28 北京声迅电子股份有限公司 Video quality diagnosing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997163A (en) * 2006-11-28 2007-07-11 西安交通大学 A method for recovery of the video transfer signal error
US20110279634A1 (en) * 2010-05-12 2011-11-17 Alagu Periyannan Systems and methods for real-time multimedia communications across multiple standards and proprietary devices
CN102186001A (en) * 2011-03-25 2011-09-14 刘晓华 Self-adaptive bottom video mining method based on contrast resolution compensation
CN102395043A (en) * 2011-11-11 2012-03-28 北京声迅电子股份有限公司 Video quality diagnosing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012161A (en) * 2017-11-10 2018-05-08 广州华多网络科技有限公司 Net cast method, system and terminal device
CN108012161B (en) * 2017-11-10 2021-10-01 广州华多网络科技有限公司 Video live broadcast method, system and terminal equipment

Also Published As

Publication number Publication date
CN105721887B (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CA2824365C (en) Output of content from the internet on a media rendering device
JP2020198612A (en) Reception method and receiving device
CN105763950A (en) Bullet screen display method and system
KR20170074866A (en) Receiving device, transmitting device, and data processing method
CN102572555A (en) Method and system for realizing live video playback at HTTP live streaming (HLS) client
AU2010294783B2 (en) Method and device for providing complementary information
KR101358807B1 (en) Method for synchronizing program between multi-device using digital watermark and system for implementing the same
US10484735B2 (en) Method and system for synchronizing media streams
WO2014190655A1 (en) Application synchronization method, application server and terminal
RU2668549C2 (en) Server device, client device, content distribution method and computer program
Søgaard et al. On subjective quality assessment of adaptive video streaming via crowdsourcing and laboratory based experiments
CN103475930A (en) Method for acquiring information, equipment and system
CN106604085A (en) Video sharing method and video sharing device
CN105721887A (en) Video playing method, apparatus and system
JP2012531863A5 (en)
JP2014007702A (en) Video receiver, video transmission/reception system and video reception method
EP2442564A1 (en) Method and device for obtaining and providing media data
KR20180109199A (en) Method for providing broadcast related service using communications network and apparatus using the same
JP4755717B2 (en) Broadcast receiving terminal device
JP2013077885A (en) Content transmission device, content reproduction device, and communication method of the same
KR20170044922A (en) Method for synchronizing contents between multiscreen devices
KR102052385B1 (en) Collaborating service providing method for media sharing and system thereof
JP2008244961A (en) System and method for television program data reproduction control, television program data transmitter, advertisement server, and program
KR20210025508A (en) Apparatus and method for transmitting broadcasting content based on atsc 3.0, and apparatus and method for receiving broadcasting content based on atsc 3.0
WO2018123572A1 (en) Video content reception system, video content reception method, and recording medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant