CN105959786A - Audio and video playing method and device - Google Patents
Audio and video playing method and device Download PDFInfo
- Publication number
- CN105959786A CN105959786A CN201610274846.3A CN201610274846A CN105959786A CN 105959786 A CN105959786 A CN 105959786A CN 201610274846 A CN201610274846 A CN 201610274846A CN 105959786 A CN105959786 A CN 105959786A
- Authority
- CN
- China
- Prior art keywords
- audio
- module
- frequence player
- player device
- voice 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 60
- 230000005540 biological transmission Effects 0.000 claims description 26
- 238000007596 consolidation process Methods 0.000 claims description 12
- 230000001360 synchronised effect Effects 0.000 claims description 10
- 238000006243 chemical reaction Methods 0.000 claims 1
- 230000008569 process Effects 0.000 abstract description 8
- 230000011664 signaling Effects 0.000 description 5
- 230000004899 motility Effects 0.000 description 3
- 230000003044 adaptive effect Effects 0.000 description 2
- 230000010247 heart contraction Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002035 prolonged effect Effects 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/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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
-
- 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/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4305—Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
-
- 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/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
-
- 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/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4341—Demultiplexing of audio and video streams
-
- 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/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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440218—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention relates to the technical field of information, and discloses an audio and video playing method and a device, and the method which is used for home devices comprises the steps: an audio playing device is searched from devices which registered in the network; audio and video data is divided into audio data and video data; the audio data is transmitted to the searched audio playing device to play; the obtained video data is decoded, and the decoded video data is played. According to the invention, on a condition of keeping the same playing quality of using a signal line to connect, the complex wire arrangement between home devices and the audio playing device can be avoided, and the update and expansion of a home theater system formed by the home devices and the audio playing device can be performed; the same audio playing device can be utilized by different home devices, one home device can utilize a plurality of audio playing devices at the same time, and the whole process has no need to manually plug and unplug the signal line, so that a user can conveniently use.
Description
Technical field
The present invention relates to areas of information technology, in particular it relates to a kind of audio and video playing method and apparatus.
Background technology
Along with the development of various electronic equipments, it is many that people can use various equipment to carry out in home environment
The broadcasting of media content.People are typically the most directly to carry out video playback and audio frequency is play.But,
The such as household equipment of panel computer, PC (PC), TV etc., by equipment volume, cost
Deng restriction, it does not the most have the special audio-frequence player device of such as audio amplifier etc so that audio frequency
Result of broadcast is not ideal enough.
In prior art, the audio frequency that the holding wire of audio-frequence player device inserts household equipment can be used defeated
Go out the mode of socket, utilize the special audio-frequence player device of such as audio amplifier etc to play sound.The party
The defect of formula is, uses holding wire to be connected, cause between household equipment and special audio-frequence player device
Equipment position is limited, and connects and need people's manual operation, and using for user makes troubles.
Summary of the invention
It is an object of the invention to provide a kind of audio and video playing method and apparatus, ask solving above-mentioned technology
Topic, or solve above-mentioned technical problem at least in part.
To achieve these goals, the present invention provides a kind of audio and video playing method for household equipment,
The method includes: search audio-frequence player device from the equipment registered in a network;Audio, video data is divided
Stream becomes voice data and video data;The audio-frequence player device being sent to find by voice data is broadcast
Put;The described video data obtaining shunting is decoded, and broadcasts the video data of decoding gained
Put.
Preferably, the described audio-frequence player device being sent to voice data find plays out and includes:
It is consolidation form by voice data transcoding;The voice data of consolidation form is sent to the broadcasting of described audio frequency set
For playing out.
Preferably, described method also includes: calculate transmission delay in network;According to the biography calculated
The timestamp of defeated time delay amendment voice data, is sent to amended timestamp the broadcasting of described audio frequency and sets
Standby;According to the timestamp of the transmission delay amendment video data calculated, according to amended timestamp to regarding
Frequency is according to playing out.
Preferably, described method also includes: carry out clock with described audio-frequence player device synchronization.
Preferably, described method also includes: video playback is controlled by the order according to receiving;Will
The order received is sent to audio-frequence player device makes described audio-frequence player device broadcast audio frequency according to order
Put and be controlled.
According to a further aspect in the invention, it is provided that a kind of audio frequency broadcasting side for audio-frequence player device
Method, the method includes: register described audio-frequence player device in a network;Reception household equipment is sent out
The voice data sent;The voice data received is decoded, the voice data of decoding is played out.
Preferably, described method also includes: carry out clock with described household equipment synchronization.
Preferably, described method also includes: receive the order that household equipment sends;According to the order received
Audio frequency is play and is controlled.
According to a further aspect in the invention, it is provided that a kind of audio and video display device for household equipment,
This device includes: equipment searches module, sets for searching audio frequency broadcasting from the equipment registered in a network
Standby;Audio frequency and video diverter module, for being split into voice data and video data by audio, video data;Audio frequency
Sending module, plays out for the audio-frequence player device being sent to find by voice data;Video solution
Code module, is decoded for the described video data obtaining shunting;Video playback module, for right
The video data of decoding gained plays out.
Preferably, described device also includes audio frequency transcoding module, and described audio frequency transcoding module is for by audio frequency
Transcoded data is consolidation form;Described audio frequency sending module is for being sent to the voice data of consolidation form
Described audio-frequence player device plays out.
Preferably, described device also includes time delay computing module, and described time delay computing module is for network
Middle transmission delay calculates;Described audio frequency sending module is for according to the transmission delay amendment audio frequency calculated
The timestamp of data, is sent to described audio-frequence player device by amended timestamp;Described video playback
Module is for the timestamp according to the transmission delay amendment video data calculated, according to amended timestamp
Video data is played out.
Preferably, described device also includes: time synchronized module, for entering with described audio-frequence player device
Row clock synchronizes.
Preferably, described device also includes that conversation module, described video playback module are additionally operable to according to reception
To order video playback is controlled;Described conversation module is for being sent to sound by the order received
Frequently playback equipment makes described audio-frequence player device be controlled audio frequency broadcasting according to order.
According to another aspect of the invention, it is provided that a kind of audio frequency for audio-frequence player device plays dress
Putting, this device includes: facility registration module, for noting described audio-frequence player device in a network
Volume;Audio frequency receiver module, for receiving the voice data that household equipment sends;Audio decoder module, uses
In the voice data received is decoded;Audio playing module, for carrying out the voice data of decoding
Play.
Preferably, described device also includes: time synchronized module, in time carrying out with described household equipment
Clock synchronizes.
Preferably, described device also includes: conversation module, and described conversation module is used for receiving household equipment
The order sent;Described audio playing module is additionally operable to control audio frequency broadcasting according to the order received
System.
By technique scheme, from the equipment registered in a network, search audio-frequence player device;By sound
Video data is split into voice data and video data;The audio frequency being sent to voice data find is play
Equipment plays out;The described video data obtaining shunting is decoded, and the video to decoding gained
Data play out.So, it is possible to broadcast so that professional equipment can be used during playing audio-video to carry out audio frequency
Put, improve sound play quality;And automated wireless can be carried out between household equipment and audio-frequence player device
Connect so that the riding position of each equipment is no longer influenced by holding wire and limits, keeping and using holding wire
On the premise of connecting identical play quality, it is to avoid complicated cloth between household equipment and audio-frequence player device
Line, and it is easy to upgrading and the expansion of the household audio and video system that household equipment is formed with audio-frequence player device
Exhibition;Same audio-frequence player device can be used by different home equipment, and one family equipment can also be simultaneously
Use multiple audio-frequence player device, increase the motility of use;And whole process need not artificial hands
Work plug holding wire, convenient for users.
Other features and advantages of the present invention will be described in detail in detailed description of the invention part subsequently.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and constitutes the part of description, with
Detailed description below is used for explaining the present invention together, but is not intended that limitation of the present invention.?
In accompanying drawing:
Fig. 1 is the flow process of the audio and video playing method for household equipment according to embodiment of the present invention
Figure;
Fig. 2 is the flow process of the audio frequency playing method for audio-frequence player device according to embodiment of the present invention
Figure;
Fig. 3 is the schematic diagram of application scenarios according to the embodiment of the present invention;
Fig. 4 is the structural representation of system according to the embodiment of the present invention;
Fig. 5 is the structure of the audio and video display device for household equipment according to embodiment of the present invention
Figure;
Fig. 6 is the structure of the audio and video display device for household equipment according to embodiment of the present invention
Figure;
Fig. 7 is the structure of the audio playing apparatus for audio-frequence player device according to embodiment of the present invention
Figure;And
Fig. 8 is the structure of the audio playing apparatus for audio-frequence player device according to embodiment of the present invention
Figure.
Detailed description of the invention
Below in conjunction with accompanying drawing, the detailed description of the invention of the present invention is described in detail.It should be appreciated that
Detailed description of the invention described herein is merely to illustrate and explains the present invention, is not limited to this
Bright.
Fig. 1 is the flow process of the audio and video playing method for household equipment according to embodiment of the present invention
Figure, the method can be used for the household equipments such as panel computer, PC (PC), mobile phone, TV, this
Inventing described household equipment usually can be with the equipment of playing audio-video data.As it is shown in figure 1, the method
Comprise the steps.
In step s 110, from the equipment registered in a network, audio-frequence player device is searched.
For example, in home environment, various equipment use WiFi to be attached.Audio-frequence player device
After carrying out network connection, UPnP (UPnP) agreement or mDNS (multicast can be passed through
DNS) self device id and facility information are registered by agreement.Household equipment can be by using
UPnP protocol or mDNS agreement find audio-frequence player device from WiFi network.
In the step s 120, audio, video data is split into voice data and video data.
Audio, video data to be played is shunted by household equipment, distributes voice data and video counts
According to.
In step s 130, the audio-frequence player device being sent to find by voice data plays out.
Voice data is pushed to audio-frequence player device by household equipment, at packet loss and reduction packet loss
The complexity of reason, can use Transmission Control Protocol to send voice data, can be transmitted in units of frame.
In one embodiment, the described audio-frequence player device being sent to find by voice data plays out
Can include that by voice data transcoding be consolidation form, the voice data of consolidation form is sent to audio frequency and plays
Equipment plays out.
Such as, household equipment can require to select lossy coding mode or lossless coding side according to play quality
Formula, or according to the real-time condition adaptive selection lossy coding mode of the network bandwidth or lossless coding side
Formula, is unified coded format by voice data transcoding.So, it is possible so that audio-frequence player device is by one
Plant coded format to be decoded, reduce the decoding complex degree of audio-frequence player device.To voice data
After carrying out transcoding, voice data and correspondent time are sent to audio-frequence player device by household equipment.
In step S140, the video data obtaining shunting is decoded, and regards decoding gained
Frequency is according to playing out.
The video flowing of shunting gained is decoded by household equipment, it is thus achieved that video playback frame and corresponding time
Stamp, video playback frame is rendered according to this timestamp and system clock and realizes playing by household equipment.
Use technical scheme in present embodiment, it is possible to make to use professional equipment during playing audio-video
Carry out audio frequency broadcasting, improve sound play quality;And can enter between household equipment and audio-frequence player device
Row automated wireless connect so that the riding position of each equipment be no longer influenced by holding wire limit, keep with
The holding wire is used to connect on the premise of identical play quality, it is to avoid between household equipment and audio-frequence player device
Complicated wiring, and be easy to the liter of the household audio and video system that household equipment is formed with audio-frequence player device
Level and extension;Same audio-frequence player device can be used by different home equipment, and one family equipment also may be used
To use multiple audio-frequence player device simultaneously, increase the motility of use;And whole process need not
Artificial manual plug holding wire, convenient for users.
In one embodiment, in the present invention, method may also include and calculates transmission delay in network;
According to the timestamp of the transmission delay amendment voice data calculated, amended timestamp is sent to described
Audio-frequence player device;According to the timestamp of the transmission delay amendment video data calculated, according to amended
Video data is played out by timestamp.
For example, household equipment can use the average weighted algorithm of moving window, the calculation of fitting of a polynomial
Method or other any algorithm known calculate the biography of the subsequent time between household equipment and audio-frequence player device
Defeated time delay.Such as, calculating subsequent time transmission delay is Δ t.The timestamp of video is prolonged by household equipment
Δ t, also postpones Δ t by the timestamp of audio frequency late, and household equipment is play by the timestamp of the video after postponing
Video data, and the timestamp of audio frequency after postponing is sent to audio playing apparatus, audio playing apparatus
By the timestamp playing audio-fequency data after postponing.So, voice data and video data by after postponing time
Between stab and play out, it is ensured that video playback is play Tong Bu with audio frequency.
In one embodiment, the method for the present invention may also include and carries out clock together with audio-frequence player device
Step.
For example, clock is carried out between household equipment with audio-frequence player device periodically synchronization, to ensure house
Front yard equipment is consistent with the time of the system clock of audio-frequence player device.When clock synchronizes, can be with family
Front yard equipment is server, with audio-frequence player device as client, and when clock synchronizes, and household equipment
The current time information for synchronization that can send according to the transmission delay amendment estimated.Such as, currently
Time is T, and current time in synchronizing information is revised as T+ Δ t by household equipment, carries further with this
The accuracy that high clock synchronizes.
In one embodiment, in the present invention, method may also include according to the order received video playback
It is controlled;The order received is sent to audio-frequence player device makes audio-frequence player device right according to order
Audio frequency is play and is controlled.
For example, household equipment can receive broadcasting, time-out, F.F., fast from remote controller or interface
Move back, multiple broadcasting, the order such as stopping.Household equipment carries out correspondence according to the order received to video playback
Control.Session, also referred to as Signalling exchange is set up between household equipment and audio-frequence player device, will by session
Order is transferred to audio-frequence player device.It addition, also by session between household equipment and audio-frequence player device
Carry out the information such as switching equipment parameter and heart beating.
From the angle of household equipment end, middle pitch video broadcasting method of the present invention is described, below above
The method play sound intermediate frequency of the present invention from the angle of audio-frequence player device is described.
Fig. 2 is the flow process of the audio frequency playing method for audio-frequence player device according to embodiment of the present invention
Figure, the method can be used in the audio-frequence player device of such as audio amplifier etc., as in figure 2 it is shown, the method includes
Following steps.
In step S210, in a network audio-frequence player device is registered.
For example, in home environment, equipment room can use WiFi to be attached.Audio-frequence player device
After carrying out network connection, UPnP (UPnP) agreement or mDNS (multicast can be passed through
DNS) self device id and facility information are registered by agreement so that household equipment it can be found that
This audio-frequence player device.
In step S220, receive the voice data that household equipment sends.
Audio-frequence player device receives household equipment and sends the voice data of coming.Such as, connected by TCP
To receive voice data from household equipment.
In step S230, the voice data received is decoded, the voice data of decoding is carried out
Play.
The voice data received is decoded by audio-frequence player device, and such as decoding obtains audio frame and correspondence
Timestamp, audio frame is played out by current time and timestamp according to system clock afterwards.
In one embodiment, in the present invention, method may also include that to carry out clock with household equipment synchronization.
For example, clock is carried out between household equipment with audio-frequence player device periodically synchronization, to ensure house
Front yard equipment is consistent with the time of the system clock of audio-frequence player device.When clock synchronizes, can be with family
Front yard equipment is server, with audio-frequence player device as client, and when clock synchronizes, and household equipment
The current time information for synchronization that can send according to the transmission delay amendment calculated.Such as, time current
Between be T, current time in synchronizing information is revised as T+ Δ t by household equipment.Audio-frequence player device according to
Local clock is adjusted by the current time in the synchronizing information received so that local clock and family set
Standby clock synchronizes.
In one embodiment, in the present invention, method may also include and receives the order that household equipment sends;Root
According to the order received, audio frequency broadcasting is controlled.
For example, between audio-frequence player device and household equipment, set up session, also referred to as Signalling exchange, logical
Cross session and receive order from household equipment.This order can be that household equipment receives from remote controller or interface
Broadcasting, time-out, F.F., rewind, multiple broadcasting, the order such as stopping.Audio-frequence player device is according to connecing
Audio frequency is play and is carried out corresponding control by the order received.It addition, also may be used between audio-frequence player device and household equipment
The information such as switching equipment parameter and heart beating are carried out by session.
So, audio-frequence player device can be connected with setting up between household equipment in the above-described embodiments, plays
Household equipment send voice data so that audio-frequence player device put the limit no longer connected by holding wire
System, it is possible to make different home equipment use same audio-frequence player device, one family equipment also can be simultaneously
Use multiple audio-frequence player device, increase the motility of use.
Below with in WiFi network environment, television set uses the method that multiple audio amplifiers carry out audio and video playing
As a example by be described.As it is shown on figure 3, television set is attached by WiFi network with multiple audio amplifiers.
As shown in Figure 4, household equipment includes: equipment discovery module, conversation module, audio frequency and video diverter module,
Video decoding module, audio frequency transcoding module, time delay computing module, video playback module, audio frequency send mould
Block, time synchronized module;Audio amplifier includes facility registration module, conversation module, audio frequency receiver module, sound
Frequently decoder module, audio playing module and time synchronized module.Signaling between modules and data interaction
As shown in Figure 4.
Facility registration module uses UPnP or mDNS agreement by the device id of audio amplifier, facility information note
Volume is in LAN.Equipment discovery module uses UPnP or mDNS agreement to find each sound from network
Case.Session, transmission equipment information and the heart is set up between the conversation module of the conversation module of TV and each audio amplifier
Jump.After commencing play out, play command is transferred to the meeting of audio amplifier by signaling by the conversation module of TV respectively
Words module and the audio frequency and video diverter module of self.The conversation module of audio amplifier is by signaling other each moulds
Block is ready for playback process.Audio, video data is shunted by audio frequency and video diverter module, and by video flowing VES
Being transferred to Video decoding module, audio stream AES is transferred to audio frequency transcoding module.Audio frequency transcoding module solution
Code voice data, is encoded to unified audio format, selects to damage or lossless volume according to prescription
Code mode, or damage or lossless coding mode, by sound according to the adaptive selection of real-time condition of bandwidth
Frequency is sent to audio frequency sending module according to AES and timestamp PTS.Video decoding module decoded video streams,
And decoded video data YUV and timestamp PTS is transferred to video playback module.Time delay calculates
Module calculates the transmission delay between TV and audio amplifier, can take Moving Window weighted average, fitting of a polynomial
Scheduling algorithm estimation lower a moment transmission delay Δ t.Audio frequency sending module calculates according to time delay computing module
The timestamp of audio frequency (such as, is postponed Δ t), after transcoding by the timestamp of time delay Δ t amendment audio frequency
Voice data and timestamp are pushed to each audio amplifier, the complexity processed in order to avoid packet loss and reduction packet loss,
Use Transmission Control Protocol to send voice data, send in units of frame, with timestamp.Video playback mould
The timestamp of the time delay Δ t amendment video that tuber calculates according to time delay computing module (such as, by video time
Between stamp postpone Δ t), carry out video playback according to timestamp and present system time render video frame data.
Audio data receipt module receives audio frame number evidence and the timestamp PTS that audio frequency sending module sends over.
Audio decoder module decodes the voice data AES that receives, and by decoded voice data PCM and
Timestamp PTS is transferred to audio playing module.Audio playing module is according to timestamp and present system time
Play audio frame number evidence.System time is synchronized by the time synchronized module between TV and audio amplifier, time
Between when synchronizing TV may utilize the transmission delay that time delay computing module calculated and improve synchronization further
Accuracy.
Fig. 5 is the structure of the audio and video display device for household equipment according to embodiment of the present invention
Figure, this device can be used for the household equipment of panel computer, PC (PC), mobile phone, TV etc.,
Household equipment of the present invention usually can be with the equipment of playing audio-video data.As it is shown in figure 5, this dress
Put and include such as lower module.
Equipment searches module 510, for searching audio-frequence player device from the equipment registered in a network;
Audio frequency and video diverter module 520, for being split into voice data and video data by audio, video data;
Audio frequency sending module 530, is carried out for the audio-frequence player device being sent to find by voice data
Play;
Video decoding module 540, is decoded for the described video data obtaining shunting;
Video playback module 550, for playing out the video data of decoding gained.
In one embodiment, as shown in Figure 6, described device may also include audio frequency transcoding module 602, sound
Frequently transcoding module 602 is used for voice data transcoding being consolidation form;Audio frequency sending module 530 is used for will
The voice data of consolidation form is sent to described audio-frequence player device and plays out.
In one embodiment, as shown in Figure 6, device may also include time delay computing module 604, time delay meter
Calculate module 604 for transmission delay in network is calculated;Audio frequency sending module 530 by according to based on
The timestamp of the transmission delay amendment voice data calculated, is sent to amended timestamp audio frequency broadcasting and sets
Standby;Video playback module 540 is for the timestamp according to the transmission delay amendment video data calculated, root
According to amended timestamp, video data is played out.
In one embodiment, as shown in Figure 6, device may also include time synchronized module 606 for institute
State audio-frequence player device and carry out clock synchronization.
In one embodiment, as shown in Figure 6, device also can conversation module 608.Video playback module 540
It is additionally operable to the order according to receiving video playback is controlled;Conversation module 608 will be for receiving
Order be sent to audio-frequence player device make described audio-frequence player device according to order to audio frequency play carry out
Control.
Said method is corresponding with aforementioned means, and its exemplary illustration refers to describe in detail in method,
This repeats no more.
Fig. 7 is the structure of the audio playing apparatus for audio-frequence player device according to embodiment of the present invention
Figure;As it is shown in fig. 7, this device can include such as lower module.
Facility registration module 710, for registering described audio-frequence player device in a network.
Audio frequency receiver module 720, for receiving the voice data that household equipment sends;
Audio decoder module 730, for being decoded the voice data received;
Audio playing module 740, for playing out the voice data of decoding.
In one embodiment, as shown in Figure 8, described device may also include time synchronized module 802, uses
Synchronization in carrying out clock with described household equipment.
In one embodiment, as shown in Figure 8, described device may also include conversation module 804, session mould
Block 804 is for receiving the order that household equipment sends;Audio playing module 730 is additionally operable to according to reception
Order audio frequency is play and be controlled.
Said method is corresponding with aforementioned means, and its exemplary illustration refers to describe in detail in method,
This repeats no more.
The preferred embodiment of the present invention is described in detail above in association with accompanying drawing, but, the present invention does not limit
Detail in above-mentioned embodiment, in the technology concept of the present invention, can be to the present invention
Technical scheme carry out multiple simple variant, these simple variant belong to protection scope of the present invention.
It is further to note that each the concrete technology described in above-mentioned detailed description of the invention is special
Levy, in the case of reconcilable, can be combined by any suitable means, in order to avoid need not
The repetition wanted, various possible compound modes are illustrated by the present invention the most separately.
Additionally, combination in any can also be carried out between the various different embodiment of the present invention, as long as its
Without prejudice to the thought of the present invention, it should be considered as content disclosed in this invention equally.
Claims (16)
1., for an audio and video playing method for household equipment, the method includes:
Audio-frequence player device is searched from the equipment registered in a network;
Audio, video data is split into voice data and video data;
The audio-frequence player device being sent to find by voice data plays out;
The described video data obtaining shunting is decoded, and broadcasts the video data of decoding gained
Put.
Method the most according to claim 1, it is characterised in that described voice data is sent to
The audio-frequence player device found plays out and includes:
It is consolidation form by voice data transcoding;
The voice data of consolidation form is sent to described audio-frequence player device play out.
Method the most according to claim 1, it is characterised in that described method also includes:
Transmission delay in network is calculated;
According to the timestamp of the transmission delay amendment voice data calculated, amended timestamp is sent to
Described audio-frequence player device;
According to the timestamp of the transmission delay amendment video data calculated, according to amended timestamp to regarding
Frequency is according to playing out.
Method the most according to claim 1, it is characterised in that described method also includes:
Clock is carried out synchronization with described audio-frequence player device.
Method the most according to claim 1, it is characterised in that described method also includes:
Video playback is controlled by the order according to receiving;
The order received is sent to audio-frequence player device makes described audio-frequence player device right according to order
Audio frequency is play and is controlled.
6., for an audio frequency playing method for audio-frequence player device, the method includes:
In a network described audio-frequence player device is registered;
Receive the voice data that household equipment sends;
The voice data received is decoded, the voice data of decoding is played out.
Method the most according to claim 6, it is characterised in that described method also includes:
Clock is carried out synchronization with described household equipment.
Method the most according to claim 6, it is characterised in that described method also includes:
Receive the order that household equipment sends;
According to the order received, audio frequency broadcasting is controlled.
9., for an audio and video display device for household equipment, this device includes:
Equipment searches module, for searching audio-frequence player device from the equipment registered in a network;
Audio frequency and video diverter module, for being split into voice data and video data by audio, video data;
Audio frequency sending module, broadcasts for the audio-frequence player device being sent to find by voice data
Put;
Video decoding module, is decoded for the described video data obtaining shunting;
Video playback module, for playing out the video data of decoding gained.
Device the most according to claim 9, it is characterised in that described device also includes audio conversion
Code module,
It is consolidation form that described audio frequency transcoding module is used for voice data transcoding;
Described audio frequency sending module sets for the voice data of consolidation form is sent to the broadcasting of described audio frequency
For playing out.
11. devices according to claim 9, it is characterised in that described device also includes time delay meter
Calculate module,
Described time delay computing module is for calculating transmission delay in network;
Described audio frequency sending module, will for the timestamp according to the transmission delay amendment voice data calculated
Amended timestamp is sent to described audio-frequence player device;
Described video playback module is for the timestamp according to the transmission delay amendment video data calculated, root
According to amended timestamp, video data is played out.
12. devices according to claim 9, it is characterised in that described device also includes:
Time synchronized module, synchronization for carrying out clock with described audio-frequence player device.
13. devices according to claim 9, it is characterised in that described device also includes session mould
Block,
Video playback is controlled by the order that described video playback module is additionally operable to according to receiving;
Described conversation module makes described audio frequency broadcast for the order received is sent to audio-frequence player device
Audio frequency broadcasting is controlled by equipment of putting according to order.
14. 1 kinds of audio playing apparatus for audio-frequence player device, this device includes:
Facility registration module, for registering described audio-frequence player device in a network;
Audio frequency receiver module, for receiving the voice data that household equipment sends;
Audio decoder module, for being decoded the voice data received;
Audio playing module, for playing out the voice data of decoding.
15. devices according to claim 14, it is characterised in that described device also includes:
Time synchronized module, synchronization for carrying out clock with described household equipment.
16. devices according to claim 14, it is characterised in that described device also includes: meeting
Words module,
Described conversation module is for receiving the order that household equipment sends;
Described audio playing module is additionally operable to be controlled audio frequency broadcasting according to the order received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610274846.3A CN105959786A (en) | 2016-04-28 | 2016-04-28 | Audio and video playing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610274846.3A CN105959786A (en) | 2016-04-28 | 2016-04-28 | Audio and video playing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105959786A true CN105959786A (en) | 2016-09-21 |
Family
ID=56915698
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610274846.3A Pending CN105959786A (en) | 2016-04-28 | 2016-04-28 | Audio and video playing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105959786A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792073A (en) * | 2016-12-29 | 2017-05-31 | 北京奇艺世纪科技有限公司 | Method, playback equipment and system that the audio, video data of striding equipment is synchronously played |
CN108616767A (en) * | 2018-04-28 | 2018-10-02 | 青岛海信电器股份有限公司 | A kind of audio data transmission method and device |
CN108614829A (en) * | 2016-12-12 | 2018-10-02 | 中移(杭州)信息技术有限公司 | A kind of playback method and terminal |
CN114040237A (en) * | 2021-09-30 | 2022-02-11 | 茂佳科技(广东)有限公司 | Audio and video synchronous playing method, terminal, multimedia playing system and medium |
CN114173207A (en) * | 2021-11-15 | 2022-03-11 | 杭州当虹科技股份有限公司 | Method and system for transmitting video frames sequentially |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859544A (en) * | 2005-12-01 | 2006-11-08 | 华为技术有限公司 | System and method for playing medium |
US20070226312A1 (en) * | 2006-03-24 | 2007-09-27 | Nokia Corporation | System and method for using web syndication feeds as a change log for synchronization in a UPnP audio/video environment |
CN103888815A (en) * | 2014-03-13 | 2014-06-25 | 广州市花都区中山大学国光电子与通信研究院 | Method and system for real-time separation treatment and synchronization of audio and video streams |
-
2016
- 2016-04-28 CN CN201610274846.3A patent/CN105959786A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859544A (en) * | 2005-12-01 | 2006-11-08 | 华为技术有限公司 | System and method for playing medium |
US20070226312A1 (en) * | 2006-03-24 | 2007-09-27 | Nokia Corporation | System and method for using web syndication feeds as a change log for synchronization in a UPnP audio/video environment |
CN103888815A (en) * | 2014-03-13 | 2014-06-25 | 广州市花都区中山大学国光电子与通信研究院 | Method and system for real-time separation treatment and synchronization of audio and video streams |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108614829A (en) * | 2016-12-12 | 2018-10-02 | 中移(杭州)信息技术有限公司 | A kind of playback method and terminal |
CN106792073A (en) * | 2016-12-29 | 2017-05-31 | 北京奇艺世纪科技有限公司 | Method, playback equipment and system that the audio, video data of striding equipment is synchronously played |
CN106792073B (en) * | 2016-12-29 | 2019-09-17 | 北京奇艺世纪科技有限公司 | Method, playback equipment and the system that the audio, video data of striding equipment is played simultaneously |
CN108616767A (en) * | 2018-04-28 | 2018-10-02 | 青岛海信电器股份有限公司 | A kind of audio data transmission method and device |
CN108616767B (en) * | 2018-04-28 | 2020-12-29 | 海信视像科技股份有限公司 | Audio data transmission method and device |
CN114040237A (en) * | 2021-09-30 | 2022-02-11 | 茂佳科技(广东)有限公司 | Audio and video synchronous playing method, terminal, multimedia playing system and medium |
CN114173207A (en) * | 2021-11-15 | 2022-03-11 | 杭州当虹科技股份有限公司 | Method and system for transmitting video frames sequentially |
CN114173207B (en) * | 2021-11-15 | 2024-02-23 | 杭州当虹科技股份有限公司 | Method and system for video frame sequential transmission |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105959786A (en) | Audio and video playing method and device | |
CN102752642B (en) | Method and system for synchronously broadcasting multi-terminal video based on IP (internet protocol) network | |
CN101889422B (en) | Method and system for synchronizing the output of terminals | |
US7961653B2 (en) | Relay apparatus and communication system | |
JP4702397B2 (en) | Content server, information processing apparatus, network device, content distribution method, information processing method, and content distribution system | |
CN109361945A (en) | The meeting audiovisual system and its control method of a kind of quick transmission and synchronization | |
CN201781583U (en) | Multichannel server video playback synchronous control system | |
CN100562094C (en) | Camera with multiple frames at far end remote control thereof in a kind of TV conference system | |
CN103237191A (en) | Method for synchronously pushing audios and videos in video conference | |
CN101917428A (en) | Method and system for playing home media videos and mobile communication terminal | |
CN101895750A (en) | Set-top box and PC-oriented real-time streaming media server and working method | |
CN107018466A (en) | Strengthen audio recording | |
CN103686219A (en) | Method, device and system for recording and broadcasting video conference | |
CN202759552U (en) | Multi-terminal video synchronous playing system based on IP network | |
CN101489091A (en) | Audio signal transmission processing method and apparatus | |
CN105191316A (en) | Switching apparatus for switching compressed video streams, conference system with the switching apparatus and process for switching compressed video streams | |
CN108810656A (en) | A kind of the debounce processing method and processing system of real-time live broadcast TS streams | |
EP2667536B1 (en) | Method and system for adaptive streaming in a multipath environment. | |
CN106488255B (en) | A kind of method and device of switching media stream | |
CN103024441A (en) | Method for playing television programs by mobile terminal | |
CN103826084A (en) | Audio encoding method | |
JP4735666B2 (en) | Content server, information processing apparatus, network device, content distribution method, information processing method, and content distribution system | |
CN105763941A (en) | Channel switching method and system | |
CN111083427B (en) | Data processing method of embedded terminal and 4K video conference system | |
CN102438119A (en) | Audio/video communication system of digital television |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160921 |