CN109600626A - A kind of method for processing video frequency and relevant device - Google Patents
A kind of method for processing video frequency and relevant device Download PDFInfo
- Publication number
- CN109600626A CN109600626A CN201811581784.6A CN201811581784A CN109600626A CN 109600626 A CN109600626 A CN 109600626A CN 201811581784 A CN201811581784 A CN 201811581784A CN 109600626 A CN109600626 A CN 109600626A
- Authority
- CN
- China
- Prior art keywords
- video
- data
- way
- current
- audio data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000005540 biological transmission Effects 0.000 claims abstract description 35
- 238000010586 diagram Methods 0.000 description 8
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000009877 rendering Methods 0.000 description 3
- 238000005538 encapsulation Methods 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/233—Processing of audio elementary streams
- H04N21/2335—Processing of audio elementary streams involving reformatting operations of audio signals, e.g. by converting from one coding standard to another
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2387—Stream processing in response to a playback request from an end-user, e.g. for trick-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26291—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
- H04N21/4383—Accessing a communication channel
- H04N21/4384—Accessing a communication channel involving operations to reduce the access time, e.g. fast-tuning for reducing channel switching latency
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/439—Processing of audio elementary streams
- H04N21/4398—Processing of audio elementary streams involving reformatting operations of audio signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
- H04N21/4586—Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/835—Generation of protective data, e.g. certificates
- H04N21/8352—Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention provides a kind of method for processing video frequency and relevant devices, server can receive the video playing instruction of client device transmission, audio data all the way corresponding with video identifier is determined as current audio data, image data all the way corresponding with video identifier and video definition mark is determined as current image date, determining current audio data and current image date are sent to client device.Due to a video identifier only corresponding audio data all the way in the present invention, for certain video, no matter which kind of the clarity of the video switched to by user, and server of the invention can all be played out be sent to client device with audio data all the way.Since the audio data of video definition switching front and back is same circuit-switched data, the coding mode of the audio data will not change, and without rebuilding decoder, decoder before direct use avoids the sound delay time phenomenon occurred in video switch procedure.
Description
Technical field
The present invention relates to technical field of video processing, in particular to a kind of method for processing video frequency and relevant device.
Background technique
With the development of internet, more and more users watch video by network.In order to adapt to the net of different user
Network bandwidth, the video data that existing video website often provides multichannel difference clarity are selected for user.
Video is made of image and sound, and present inventor studies discovery: the video of existing multichannel difference clarity
The coding mode of sound in data is not also identical.Such as: A video has the video data of three tunnel difference clarity, is respectively as follows: super
Clearly, high definition and SD.Wherein, the coding mode of sound is different in this three roads video data.Due to the coding mode of sound
It is different, which results in when user's Switch Video clarity, need to re-establish decoder with to after switching all the way
Sound in video is encoded.But it re-establishes decoder needs to take some time, and is not decoded in this period
Device is decoded sound, leads to occur sound delay time phenomenon in video switch procedure.
It is still how to solve this problem the technical problem urgently to be resolved of this field one.
Summary of the invention
In view of this, the present invention provides a kind of method for processing video frequency and relevant device to solve to occur in video switch procedure
Sound delay time problem.
In order to achieve the above-mentioned object of the invention, the present invention the following technical schemes are provided:
A kind of method for processing video frequency is applied in server, which comprises
Receive the video playing instruction that client device is sent, wherein carry video mark in the video playing instruction
Know and video definition identifies;
Audio data all the way corresponding with the video identifier is determined as current audio data, it will be with the video identifier
Corresponding image data all the way is identified with the video definition and is determined as current image date, wherein a video identifier pair
The image data for answering multi-channel video clarity different and the corresponding audio data all the way of a video identifier;
Determining current audio data and current image date are sent to the client device.
Optionally, described that determining current audio data and current image date are sent to the client device, packet
It includes:
Obtain the video data all the way comprising determining current audio data and current image date, wherein a video
It identifies corresponding every image data audio data all the way all corresponding with the video identifier all the way and is encapsulated as video data all the way;
The video data all the way that will acquire is sent to the client device as current video data.
Optionally, the method also includes:
Receive the video definition switching command that the client device is sent, wherein the video definition switching refers to
Video identifier and video definition mark are carried in order;
According to the video definition switching command, current image date is updated are as follows: switch with the video definition
Video identifier and video definition in instruction identify corresponding image data all the way;
It obtains the video data all the way comprising current audio data and updated current image date and updates and work as forward sight
Frequency evidence is the road video data;
Updated current video data is sent to the client device.
Optionally, described that determining current audio data and current image date are sent to the client device, packet
It includes:
The current audio data data different as two-way with current image date are sent to the client device.
Optionally, the method also includes:
Receive the video definition switching command that the client device is sent, wherein the video definition switching refers to
Video identifier and video definition mark are carried in order;
According to the video definition switching command, current image date is updated are as follows: switch with the video definition
Video identifier and video definition in instruction identify corresponding image data all the way;
Updated current image date is sent to the client device.
A kind of method for processing video frequency is applied in client device, which comprises
Video playing instruction is sent to server, wherein carries video identifier and video in the video playing instruction
Clarity mark;
Receive the current audio data and current image date that the server returns, wherein the current audio data
It is the audio data all the way corresponding with the video identifier determined by the server, the current image date is by described
The image data all the way corresponding with the video identifier and video definition mark that server determines, a video identifier
The different image data of corresponding multi-channel video clarity and the corresponding audio data all the way of a video identifier.
Optionally, the current audio data that the server returns and current image date be it is unencapsulated together with two-way
Data, the method also includes:
Video definition switching command is sent to the server, wherein is carried in the video definition switching command
There are video identifier and video definition mark;
The updated current image date that the server is sent according to the video definition switching command is received,
In, updated current image date is and the video identifier and video definition mark in the video definition switching command
Corresponding image data all the way.
Optionally, the current audio data and current image date that the server returns are packaged in a number together
According to, the method also includes:
Video definition switching command is sent to the server, wherein is carried in the video definition switching command
There are video identifier and video definition mark;
The updated current video data that the server is sent according to the video definition switching command is received,
In, updated current video data is the video counts all the way comprising current audio data and updated current image date
According to, wherein updated current image date are as follows: in the video definition switching command video identifier and video it is clear
Scale knows corresponding image data all the way.
A kind of server, comprising: play instruction receiving unit, current data determination unit and data transmission unit,
The play instruction receiving unit, for receiving the video playing instruction of client device transmission, wherein the view
Video identifier and video definition mark are carried in frequency play instruction;
The current data determination unit, for audio data all the way corresponding with the video identifier to be determined as currently
Image data all the way corresponding with the video identifier and video definition mark is determined as present image by audio data
Data a, wherein video identifier corresponds to the different image data of multi-channel video clarity and a video identifier is corresponding all the way
Audio data;
The data transmission unit, for the current audio data determined and current image date to be sent to the client
End equipment.
A kind of client device, comprising: play instruction transmission unit and data receipt unit,
The play instruction transmission unit, for sending video playing instruction to server, wherein the video playing refers to
Video identifier and video definition mark are carried in order;
The data receipt unit, for receiving the current audio data and current image date that the server returns,
Wherein, the current audio data is the audio data all the way corresponding with the video identifier determined by the server, institute
State current image date be determined by the server with the video identifier and video definition mark corresponding one
Road image data, a video identifier corresponds to the different image data of multi-channel video clarity and a video identifier is corresponding all the way
Audio data.
A kind of method for processing video frequency and relevant device provided in an embodiment of the present invention can receive client device transmission
Video playing instruction, is determined as current audio data for audio data all the way corresponding with the video identifier, will be with the view
Frequency marking is known and the video definition identifies corresponding image data all the way and is determined as current image date, by determining current sound
Frequency evidence and current image date are sent to the client device.Since a video identifier only corresponds to sound all the way in the present invention
Frequency evidence, therefore for certain video, no matter which kind of the clarity of the video switched to by user, and server of the invention all can
Client device will be sent to audio data all the way to play out.Since the audio data of video definition switching front and back is same
One circuit-switched data, therefore the coding mode of the audio data will not change can be directly before use also just without rebuilding decoder
Decoder audio data is decoded, realize the seamless connection to audio decoder, avoid video switch procedure
The sound delay time phenomenon of middle appearance.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described.
Fig. 1 is a kind of flow diagram of method for processing video frequency provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another method for processing video frequency provided in an embodiment of the present invention;
Fig. 3 is that a kind of video data provided in an embodiment of the present invention sends mode;
Fig. 4 is that another video data provided in an embodiment of the present invention sends mode;
Fig. 5 is the flow diagram of another method for processing video frequency provided in an embodiment of the present invention;
Fig. 6 is the flow diagram of another method for processing video frequency provided in an embodiment of the present invention;
Fig. 7 is the flow diagram of another method for processing video frequency provided in an embodiment of the present invention;
Fig. 8 is the flow diagram of another method for processing video frequency provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of client device provided in an embodiment of the present invention.
Specific embodiment
The invention discloses a kind of method for processing video frequency and relevant device, those skilled in the art can be used for reference in this paper
Hold, is suitably modified realization of process parameters.In particular, it should be pointed out that all similar substitutions and modifications are to those skilled in the art
For be it will be apparent that they are considered as being included in the present invention.Method and application of the invention, which has passed through, preferably to be implemented
Example is described, related personnel obviously can not depart from the content of present invention, in spirit and scope to method described herein and
Using being modified or appropriate changes and combinations, carry out implementation and application the technology of the present invention.
As shown in Figure 1, a kind of method for processing video frequency provided in an embodiment of the present invention, is applied in server, this method can
To include:
S100, the video playing instruction that client device is sent is received, wherein carry view in the video playing instruction
Frequency marking knows and video definition mark;
Wherein, server can be the server of video website, or other servers, the present invention do not limit herein
It is fixed.
Wherein, client device can be the electronic equipment for being equipped with video jukebox software.
Wherein, above-mentioned video playing instruction can trigger the finger of client device transmission after video playing key for user
It enables.Such as: user opens the page of some video website on computers, and the video playing that certain video is clicked in list of videos is pressed
Key, the computer sends video playing instruction to the server of video website at this time.
Specifically, video identifier is the mark that can uniquely determine certain video, such as: video number.It is understood that certain
The corresponding video number of the video data of the multichannel difference clarity of video is identical.Video definition mark can there are many, such as:
Super clear, high definition, SD, smoothness etc..The present invention can find certain corresponding view by video identifier and video definition mark
The video data of the clarity all the way of frequency.
S200, audio data all the way corresponding with the video identifier is determined as current audio data, it will be with the view
Frequency marking is known and the video definition identifies corresponding image data all the way and is determined as current image date, wherein a video
Identify the different image data of corresponding multi-channel video clarity and the corresponding audio data all the way of a video identifier;
A video identifier corresponds to the different image data of multi-channel video clarity in the embodiment of the present invention, to meet user
Demand to the image of various clarity.Meanwhile a video identifier in the embodiment of the present invention only corresponds to audio data all the way,
In this way, no matter the image data of which kind of clarity is sent to during client device all can will be the same as audio all the way for server
Data are sent to client device.This allows for the received audio data of client device and does not change with video definition, this
Sample client device is just not necessarily to rebuild decoder, can the decoder directly before use audio data is decoded i.e.
Can, the seamless connection to audio decoder is realized, the sound delay time phenomenon occurred in video switch procedure is avoided.
S300, determining current audio data and current image date are sent to the client device.
Optionally, determining current audio data and current image date can be encapsulated as video data by the present invention, so
After be sent to the client device, can also without encapsulation, directly using current audio data and current image date as
The different data of two-way are sent to the client device.
Therefore, step S300 has at least the following two kinds specific implementation:
Mode one obtains the video data all the way comprising determining current audio data and current image date, wherein one
A video identifier is corresponding to be encapsulated as video data all the way per image data audio data all corresponding with the video identifier all the way;
The video data all the way that will acquire is sent to the client device as current video data.
Specifically, server provided in an embodiment of the present invention can be in advance to video per image data all the way: by the road
The audio data of image data and the video is encapsulated as video data all the way.It can be obtained by the multichannel view of different clarity in this way
Frequency evidence.Such as: there is A video high definition and SD two-way image data, A video also to have audio data all the way, then of the invention
Server the audio data all the way of the image data of high definition and A video can be encapsulated as video data all the way;It simultaneously can be with
The audio data all the way of the image data of SD and A video is encapsulated as video data all the way.For convenience of understanding, illustrate below
It is bright:
As shown in figure 3, the video data that A video has three tunnel clarity (high definition, SD and smoothness) different, the video of high definition
Data are encapsulated by the road the image data G and Y audio data of high definition;The video data of SD by SD image data B and Y
Road audio data encapsulates;Smooth video data is encapsulated by the smooth road image data L and Y audio data.
In this way, which video data no matter transmitted, the coding mode of the audio data in the video data is all identical
's.
The current audio data data different as two-way with current image date are sent to the client by mode two
Equipment.
Specifically, when the current audio data data different as two-way with current image date are sent, this two number
According to transmission can execute parallel, be independent of each other.Such as: when current image date changes (such as the image by high definition
Data are updated to the image data of SD), current audio data only need to normally be sent without variation.
As shown in figure 4, image data that A video has three tunnel clarity (high definition, SD and smoothness) different and all the way audio
Data, wherein G is high-definition image data, and B is SD image data, and L is smooth image data, and Y is audio data.Work as broadcasting
When HD video, server sends high-definition image data G and audio data Y to client device.When user's selection is high by viewing
When clear video is switched to viewing SD video, the image data of transmission is switched to SD image data B by server.And for sound
Frequency, then without being modified processing, continues transmission according to Y.
Due to a video identifier only corresponding audio data all the way in the present invention, for certain video, no matter user
Which kind of the clarity of the video switched to, server of the invention all can will be sent to client device with audio data all the way
It plays out.Since the audio data of video definition switching front and back is same circuit-switched data, the coding staff of the audio data
Formula will not change, also just without rebuilding decoder, can the decoder directly before use audio data is decoded,
The seamless connection to audio decoder is realized, the sound delay time phenomenon occurred in video switch procedure is avoided.
As shown in Fig. 2, another kind method for processing video frequency provided in an embodiment of the present invention, is applied in server, in Fig. 1 institute
On the basis of showing method, this method can also include:
S411, the video definition switching command that the client device is sent is received, wherein the video definition is cut
It changes in instruction and carries video identifier and video definition mark;
Wherein, client device is sent out after video definition switching command can trigger video definition switching key for user
The instruction sent.Such as: user clicks the instruction of client transmission after " SD " key when playing HD video.
S412, according to the video definition switching command, current image date is updated are as follows: with the video definition
Video identifier and video definition in switching command identify corresponding image data all the way;
Since same video only corresponds to audio data all the way, when video definition switching, the audio data of video
Without switching.
S413, the video data all the way comprising updated current audio data and updated current image date is obtained
And current video data is updated to the road video data;
S414, updated current video data is sent to the client device.
As shown in figure 5, another kind method for processing video frequency provided in an embodiment of the present invention, is applied in server, in Fig. 1 institute
On the basis of showing method, this method can also include:
S411, the video definition switching command that the client device is sent is received, wherein the video definition is cut
It changes in instruction and carries video identifier and video definition mark;
S412, according to the video definition switching command, current image date is updated are as follows: with the video definition
Video identifier and video definition in switching command identify corresponding image data all the way;
S415, updated current image date is sent to the client device.
It is understood that audio data may not need variation when current image date variation, only need to continue to be sent to
Client device.
A kind of method for processing video frequency provided in an embodiment of the present invention, the video playing that can receive client device transmission refer to
It enables, audio data all the way corresponding with the video identifier is determined as current audio data, it will be with the video identifier and institute
It states the corresponding image data all the way of video definition mark and is determined as current image date, by determining current audio data and work as
Preceding image data is sent to the client device.Since a video identifier only corresponds to audio data all the way in the present invention, because
This is for certain video, and no matter which kind of the clarity of the video switched to by user, and server of the invention all can will be the same as all the way
Audio data is sent to client device and plays out.Since the audio data of video definition switching front and back is same number
According to therefore the coding mode of the audio data will not change, can decoding directly before use also just without rebuilding decoder
Device is decoded audio data, realizes the seamless connection to audio decoder, avoids in video switch procedure and occur
Sound delay time phenomenon.
Corresponding with method shown in Fig. 1, the embodiment of the invention also provides at a kind of video applied to client device
Reason method.
As shown in fig. 6, be applied in client device the embodiment of the invention also provides a kind of method for processing video frequency, it should
Method may include:
S001, video playing instruction is sent to server, wherein carried in the video playing instruction video identifier and
Video definition mark;
S002, current audio data and current image date that the server returns are received, wherein the present video
Data are the audio datas all the way corresponding with the video identifier determined by the server, the current image date be by
The image data all the way corresponding with the video identifier and video definition mark that the server determines, a video
Identify the different image data of corresponding multi-channel video clarity and the corresponding audio data all the way of a video identifier.
Specifically, client device is after receiving current audio data and current image date, it can be to present video
Data and current image date are successively decoded processing and rendering processing, to show image and export sound (i.e. realization video
Broadcasting).In practical applications, client device can construct decoder when starting to play certain video first, then again into
Row decoding process.
It is understood that since only corresponding audio data all the way should in video definition switching for a video
The audio data of video is not followed by switching, therefore the decoder constructed before continuing to use is decoded processing.
Optionally, current audio data and the current image date that server returns can be it is unencapsulated together with two-way
Data are also possible to the circuit-switched data being packaged together.
Current audio data and the current image date that the server returns be it is unencapsulated together with two paths of data
When, as shown in fig. 7, another kind method for processing video frequency provided in an embodiment of the present invention, on the basis of embodiment shown in Fig. 6, may be used also
To include:
S003, Xiang Suoshu server send video definition switching command, wherein in the video definition switching command
Carry video identifier and video definition mark;
S004, the updated present image number that the server is sent according to the video definition switching command is received
According to, wherein updated current image date be in the video definition switching command video identifier and video it is clear
Scale knows corresponding image data all the way.
After the current image date of client device upon a reception of an updated, it can be decoded and rendering is handled,
To show updated current image date.
When the current audio data and current image date that the server returns are packaged in a circuit-switched data together,
As shown in figure 8, another kind method for processing video frequency provided in an embodiment of the present invention, on the basis of embodiment shown in Fig. 6, can also wrap
It includes:
S003, Xiang Suoshu server send video definition switching command, wherein in the video definition switching command
Carry video identifier and video definition mark;
S005, the updated current video number that the server is sent according to the video definition switching command is received
According to, wherein updated current video data is the view all the way comprising current audio data and updated current image date
Frequency evidence, wherein updated current image date are as follows: with the video identifier and video in the video definition switching command
Clarity identifies corresponding image data all the way.
Since current video data is to be packaged together audio data and image data, client device is being connect
After receiving current video data, current video data can be parsed first, obtain current audio data and present image
Data.Then processing is successively decoded to current audio data and current image date and rendering is handled, to show image simultaneously
Export sound (realizing the broadcasting of video).
Corresponding with the method for processing video frequency being applied in server, the embodiment of the invention also provides a kind of servers.
As shown in figure 9, a kind of server provided in an embodiment of the present invention, may include: play instruction receiving unit 100,
Current data determination unit 200 and data transmission unit 300,
The play instruction receiving unit 100, for receiving the video playing instruction of client device transmission, wherein institute
It states and carries video identifier and video definition mark in video playing instruction;
Wherein, server can be the server of video website, or other servers, the present invention do not limit herein
It is fixed.
Wherein, client device can be the electronic equipment for being equipped with video jukebox software.
Wherein, above-mentioned video playing instruction can trigger the finger of client device transmission after video playing key for user
It enables.Such as: user opens the page of some video website on computers, and the video playing that certain video is clicked in list of videos is pressed
Key, the computer sends video playing instruction to the server of video website at this time.
Specifically, video identifier is the mark that can uniquely determine certain video, such as: video number.It is understood that certain
The corresponding video number of the video data of the multichannel difference clarity of video is identical.Video definition mark can there are many, such as:
Super clear, high definition, SD, smoothness etc..The present invention can find certain corresponding view by video identifier and video definition mark
The video data of the clarity all the way of frequency.
The current data determination unit 200, for audio data all the way corresponding with the video identifier to be determined as
Image data all the way corresponding with the video identifier and video definition mark is determined as currently by current audio data
Image data a, wherein video identifier corresponds to the different image data of multi-channel video clarity and a video identifier is corresponding
Audio data all the way;
A video identifier corresponds to the different image data of multi-channel video clarity in the embodiment of the present invention, to meet user
Demand to the image of various clarity.Meanwhile a video identifier in the embodiment of the present invention only corresponds to audio data all the way,
In this way, no matter the image data of which kind of clarity is sent to during client device all can will be the same as audio all the way for server
Data are sent to client device.This allows for the received audio data of client device and does not change with video definition, this
Sample client device is just not necessarily to rebuild decoder, can the decoder directly before use audio data is decoded i.e.
Can, the seamless connection to audio decoder is realized, the sound delay time phenomenon occurred in video switch procedure is avoided.
The data transmission unit 300, it is described for the current audio data determined and current image date to be sent to
Client device.
Optionally, determining current audio data and current image date can be encapsulated as video data by the present invention, so
After be sent to the client device, can also without encapsulation, directly using current audio data and current image date as
The different data of two-way are sent to the client device.
Optionally, data transmission unit 300 can be specifically set are as follows: acquisition is comprising determining current audio data and currently
The video data all the way of image data, wherein a video identifier it is corresponding per image data all the way all with the video identifier pair
The audio data all the way answered is encapsulated as video data all the way;The video data all the way that will acquire is sent to as current video data
The client device.
Due to a video identifier only corresponding audio data all the way in the present invention, for certain video, no matter user
Which kind of the clarity of the video switched to, server of the invention all can will be sent to client device with audio data all the way
It plays out.Since the audio data of video definition switching front and back is same circuit-switched data, the coding staff of the audio data
Formula will not change, also just without rebuilding decoder, can the decoder directly before use audio data is decoded,
The seamless connection to audio decoder is realized, the sound delay time phenomenon occurred in video switch procedure is avoided.
On this basis, server shown in Fig. 9 can also include: switching command receiving unit, image update unit, video
Determination unit and video transmission unit,
The switching command receiving unit, the video definition switching command sent for receiving the client device,
Wherein, video identifier and video definition mark are carried in the video definition switching command;
Wherein, client device is sent out after video definition switching command can trigger video definition switching key for user
The instruction sent.Such as: user clicks the instruction of client transmission after " SD " key when playing HD video.
Described image updating unit, for according to the video definition switching command, current image date to be updated are as follows:
With the video identifier and the corresponding image data all the way of video definition mark in the video definition switching command;
Since same video only corresponds to audio data all the way, when video definition switching, the audio data of video
Without switching.
The video determination unit, for obtaining comprising current audio data and updated current image date all the way
Video data simultaneously updates current video data for the road video data;
The video transmission unit, for updated current video data to be sent to the client device.
In other embodiments of the present invention, data transmission unit 300 can be specifically set are as follows: by current audio data and work as
The preceding image data data different as two-way are sent to the client device.
It is understood that audio data may not need variation when current image date variation, only need to continue to be sent to
Client device.
On this basis, server shown in Fig. 9 can also include: switching command receiving unit, image update unit and figure
Picture transmission unit,
The switching command receiving unit, the video definition switching command sent for receiving the client device,
Wherein, video identifier and video definition mark are carried in the video definition switching command;
Described image updating unit, for according to the video definition switching command, current image date to be updated are as follows:
With the video identifier and the corresponding image data all the way of video definition mark in the video definition switching command;
Described image transmission unit, for updated current image date to be sent to the client device.
A kind of server provided in an embodiment of the present invention can receive the video playing instruction of client device transmission, will
Audio data all the way corresponding with the video identifier is determined as current audio data, will be with the video identifier and the video
Clarity identifies corresponding image data all the way and is determined as current image date, by determining current audio data and present image
Data are sent to the client device.Since a video identifier only corresponds to audio data all the way in the present invention, to certain
For video, no matter which kind of the clarity of the video switched to by user, and server of the invention all can will be the same as audio number all the way
It is played out according to client device is sent to.Since the audio data of video definition switching front and back is same circuit-switched data,
The coding mode of the audio data will not change, also just without rebuilding decoder, can decoder directly before use to sound
Frequency realizes the seamless connection to audio decoder, avoids the sound occurred in video switch procedure according to being decoded
Delay phenomenon.
Corresponding with the method for processing video frequency being applied in client device, the embodiment of the invention also provides a kind of clients
End equipment.
As shown in Figure 10, a kind of client device provided in an embodiment of the present invention may include: play instruction transmission unit
001 and data receipt unit 002,
The play instruction transmission unit 001, for sending video playing instruction to server, wherein the video is broadcast
It puts and carries video identifier and video definition mark in instruction;
The data receipt unit 002, the current audio data and present image number returned for receiving the server
According to, wherein the current audio data is the audio data all the way corresponding with the video identifier determined by the server,
The current image date be determined by the server it is corresponding with the video identifier and video definition mark
Image data all the way, a video identifier correspond to the different image data of multi-channel video clarity and a video identifier corresponding one
Road audio data.
Optionally, the current audio data that the server returns and current image date be it is unencapsulated together with two-way
Data, client device shown in Figure 10 can also include: switching command transmission unit and image receiving unit,
The switching command transmission unit, for sending video definition switching command to the server, wherein described
Video identifier and video definition mark are carried in video definition switching command;
Described image receiving unit is sent more for receiving the server according to the video definition switching command
Current image date after new, wherein updated current image date is and the view in the video definition switching command
Frequency marking is known and video definition identifies corresponding image data all the way.
Optionally, the current audio data and current image date that the server returns are packaged in a number together
It can also include: switching command transmission unit and video reception unit according to, client device shown in Figure 10,
The switching command transmission unit, for sending video definition switching command to the server, wherein described
Video identifier and video definition mark are carried in video definition switching command;
The video reception unit is sent more for receiving the server according to the video definition switching command
Current video data after new, wherein updated current video data is comprising current audio data and updated current
The video data all the way of image data, wherein updated current image date are as follows: in the video definition switching command
Video identifier and video definition identify corresponding image data all the way.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of method for processing video frequency, which is characterized in that be applied in server, which comprises
Receive the video playing instruction that client device is sent, wherein carried in the video playing instruction video identifier and
Video definition mark;
Audio data all the way corresponding with the video identifier is determined as current audio data, it will be with the video identifier and institute
It states the corresponding image data all the way of video definition mark and is determined as current image date, wherein a video identifier correspondence is more
The different image data of road video definition and the corresponding audio data all the way of a video identifier;
Determining current audio data and current image date are sent to the client device.
2. the method according to claim 1, wherein described by determining current audio data and present image number
According to being sent to the client device, comprising:
Obtain the video data all the way comprising determining current audio data and current image date, wherein a video identifier
It is corresponding to be encapsulated as video data all the way per image data audio data all the way all corresponding with the video identifier all the way;
The video data all the way that will acquire is sent to the client device as current video data.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
Receive the video definition switching command that the client device is sent, wherein in the video definition switching command
Carry video identifier and video definition mark;
According to the video definition switching command, current image date is updated are as follows: with the video definition switching command
In video identifier and video definition identify corresponding image data all the way;
It obtains the video data all the way comprising current audio data and updated current image date and updates current video number
According to for the road video data;
Updated current video data is sent to the client device.
4. the method according to claim 1, wherein described by determining current audio data and present image number
According to being sent to the client device, comprising:
The current audio data data different as two-way with current image date are sent to the client device.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Receive the video definition switching command that the client device is sent, wherein in the video definition switching command
Carry video identifier and video definition mark;
According to the video definition switching command, current image date is updated are as follows: with the video definition switching command
In video identifier and video definition identify corresponding image data all the way;
Updated current image date is sent to the client device.
6. a kind of method for processing video frequency, which is characterized in that be applied in client device, which comprises
Video playing instruction is sent to server, wherein carries video identifier in the video playing instruction and video is clear
Scale is known;
Receive the current audio data and current image date that the server returns, wherein the current audio data be by
The audio data all the way corresponding with the video identifier that the server determines, the current image date is by the service
The image data all the way corresponding with the video identifier and video definition mark that device determines, a video identifier are corresponding
The different image data of multi-channel video clarity and the corresponding audio data all the way of a video identifier.
7. according to the method described in claim 6, it is characterized in that, current audio data and current figure that the server returns
As data are unencapsulated two paths of data together, the method also includes:
Video definition switching command is sent to the server, wherein carries view in the video definition switching command
Frequency marking knows and video definition mark;
Receive the updated current image date that the server is sent according to the video definition switching command, wherein
Updated current image date is and video identifier in the video definition switching command and video definition mark pair
The image data all the way answered.
8. according to the method described in claim 6, it is characterized in that, current audio data and current figure that the server returns
As data are packaged in a circuit-switched data together, the method also includes:
Video definition switching command is sent to the server, wherein carries view in the video definition switching command
Frequency marking knows and video definition mark;
Receive the updated current video data that the server is sent according to the video definition switching command, wherein
Updated current video data is the video data all the way comprising current audio data and updated current image date,
In, updated current image date are as follows: with the video identifier and video definition mark in the video definition switching command
Know corresponding image data all the way.
9. a kind of server characterized by comprising play instruction receiving unit, current data determination unit and data are sent
Unit,
The play instruction receiving unit, for receiving the video playing instruction of client device transmission, wherein the video is broadcast
It puts and carries video identifier and video definition mark in instruction;
The current data determination unit, for audio data all the way corresponding with the video identifier to be determined as present video
Image data all the way corresponding with the video identifier and video definition mark is determined as present image number by data
According to, wherein a video identifier corresponds to the different image data of multi-channel video clarity and the corresponding sound all the way of a video identifier
Frequency evidence;
The data transmission unit is set for the current audio data determined and current image date to be sent to the client
It is standby.
10. a kind of client device characterized by comprising play instruction transmission unit and data receipt unit,
The play instruction transmission unit, for sending video playing instruction to server, wherein in the video playing instruction
Carry video identifier and video definition mark;
The data receipt unit, for receiving the current audio data and current image date that the server returns, wherein
The current audio data is the audio data all the way corresponding with the video identifier determined by the server, described current
Image data is the image all the way corresponding with the video identifier and video definition mark determined by the server
Data, a video identifier correspond to the different image data of multi-channel video clarity and the corresponding audio number all the way of a video identifier
According to.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811581784.6A CN109600626A (en) | 2018-12-24 | 2018-12-24 | A kind of method for processing video frequency and relevant device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811581784.6A CN109600626A (en) | 2018-12-24 | 2018-12-24 | A kind of method for processing video frequency and relevant device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109600626A true CN109600626A (en) | 2019-04-09 |
Family
ID=65964356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811581784.6A Pending CN109600626A (en) | 2018-12-24 | 2018-12-24 | A kind of method for processing video frequency and relevant device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109600626A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109831703A (en) * | 2019-01-22 | 2019-05-31 | 青岛海信电器股份有限公司 | A kind of motion compensation process and device for HDMI signal |
CN110996137A (en) * | 2019-12-05 | 2020-04-10 | 浙江大华技术股份有限公司 | Video processing method and device |
CN112492379A (en) * | 2019-09-12 | 2021-03-12 | 曙光信息产业(北京)有限公司 | Audio and video multi-path concurrent decoding method and device and computer equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101256568A (en) * | 2008-03-18 | 2008-09-03 | 深圳市迅雷网络技术有限公司 | Method, system and apparatus for providing multimedia resource |
CN103051937A (en) * | 2011-10-12 | 2013-04-17 | 腾讯科技(深圳)有限公司 | Video frequency broadcast and control method as well as device |
CN105430449A (en) * | 2015-11-25 | 2016-03-23 | 小米科技有限责任公司 | Media file play method, device and system |
CN106375836A (en) * | 2016-09-27 | 2017-02-01 | 广东小天才科技有限公司 | Video resolution switching method and device |
CN107277594A (en) * | 2017-07-06 | 2017-10-20 | 广州华多网络科技有限公司 | A kind of video and audio and barrage synchronous method and device |
CN108174280A (en) * | 2018-01-18 | 2018-06-15 | 湖南快乐阳光互动娱乐传媒有限公司 | Audio and video online playing method and system |
-
2018
- 2018-12-24 CN CN201811581784.6A patent/CN109600626A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101256568A (en) * | 2008-03-18 | 2008-09-03 | 深圳市迅雷网络技术有限公司 | Method, system and apparatus for providing multimedia resource |
CN103051937A (en) * | 2011-10-12 | 2013-04-17 | 腾讯科技(深圳)有限公司 | Video frequency broadcast and control method as well as device |
CN105430449A (en) * | 2015-11-25 | 2016-03-23 | 小米科技有限责任公司 | Media file play method, device and system |
CN106375836A (en) * | 2016-09-27 | 2017-02-01 | 广东小天才科技有限公司 | Video resolution switching method and device |
CN107277594A (en) * | 2017-07-06 | 2017-10-20 | 广州华多网络科技有限公司 | A kind of video and audio and barrage synchronous method and device |
CN108174280A (en) * | 2018-01-18 | 2018-06-15 | 湖南快乐阳光互动娱乐传媒有限公司 | Audio and video online playing method and system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109831703A (en) * | 2019-01-22 | 2019-05-31 | 青岛海信电器股份有限公司 | A kind of motion compensation process and device for HDMI signal |
CN112492379A (en) * | 2019-09-12 | 2021-03-12 | 曙光信息产业(北京)有限公司 | Audio and video multi-path concurrent decoding method and device and computer equipment |
CN112492379B (en) * | 2019-09-12 | 2023-02-28 | 曙光信息产业(北京)有限公司 | Audio and video multi-path concurrent decoding method and device and computer equipment |
CN110996137A (en) * | 2019-12-05 | 2020-04-10 | 浙江大华技术股份有限公司 | Video processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104918133B (en) | A kind of playing method and device for regarding video flowing in networking | |
CN101485170B (en) | Rendering repeatable data objects streamed over a network | |
CN109600626A (en) | A kind of method for processing video frequency and relevant device | |
CN107566918B (en) | A kind of low delay under video distribution scene takes the neutrel extraction of root | |
CN102036058B (en) | Method, server, terminal and system for switching videos in video monitoring system | |
JP4702397B2 (en) | Content server, information processing apparatus, network device, content distribution method, information processing method, and content distribution system | |
JP5738865B2 (en) | Distribution of MPEG-2TS multiplexed multimedia stream by selecting elementary packets of MPEG-2TS multiplexed multimedia stream | |
US20070022183A1 (en) | Media recording functions in a streaming media server | |
CN100515056C (en) | Method, system apparatus and set top box for displaying mutli-channel information in identical picture | |
EP1009140A2 (en) | Data transmission method, data transmission system, data receiving method, and data receiving apparatus | |
CN106303682B (en) | Method, apparatus, terminal and the server of channel switching | |
KR100739172B1 (en) | Method for transmitting moving picture in mobile terminal using pseudo streaming technology | |
WO2022262858A1 (en) | Image transmission method, image display and processing device, and image transmission system | |
CN108882010A (en) | A kind of method and system that multi-screen plays | |
CN105979354A (en) | Channel switching method and device | |
CN109845280A (en) | Audio and video playing method and device based on Streaming Media | |
CN101083752A (en) | Method for displaying meeting place name of video conference and video terminal | |
KR101272982B1 (en) | Iptv settop-box and method for changing channel | |
US8928728B2 (en) | Systems, methods, and media for controlling a presentation of data images in a video stream | |
CN111818347A (en) | Quick visual angle switching method based on reference frame replacement | |
CN108989426A (en) | Drawing stream method, system and client and storage medium based on HLS protocol | |
CN110662101A (en) | Network video multi-path display method and device based on UDP | |
JP5383316B2 (en) | Simplified method for transmitting a signal stream between a transmitter and an electronic device | |
CN101622873A (en) | Method by server broadcast audio and video data sequences | |
AU2015101273A4 (en) | A computer implemented system and method for transferring multimedia content |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190409 |
|
RJ01 | Rejection of invention patent application after publication |