CN109982053A - Audio and video playing method, computer installation and computer readable storage medium - Google Patents
Audio and video playing method, computer installation and computer readable storage medium Download PDFInfo
- Publication number
- CN109982053A CN109982053A CN201910263687.0A CN201910263687A CN109982053A CN 109982053 A CN109982053 A CN 109982053A CN 201910263687 A CN201910263687 A CN 201910263687A CN 109982053 A CN109982053 A CN 109982053A
- Authority
- CN
- China
- Prior art keywords
- audio
- video data
- mobile terminal
- satellite
- program
- 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 42
- 238000003860 storage Methods 0.000 title claims abstract description 23
- 238000009434 installation Methods 0.000 title claims abstract description 11
- 230000005540 biological transmission Effects 0.000 claims description 24
- 238000004590 computer program Methods 0.000 claims description 23
- 238000007906 compression Methods 0.000 claims description 9
- 230000006835 compression Effects 0.000 claims description 9
- 230000006870 function Effects 0.000 description 16
- 238000005538 encapsulation Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 5
- 230000005611 electricity Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 241001269238 Data Species 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
- 238000009331 sowing Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
-
- 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/41—Structure of client; Structure of client peripherals
- H04N21/414—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
- H04N21/41407—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/20—Adaptations for transmission via a GHz frequency band, e.g. via satellite
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Astronomy & Astrophysics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of audio and video playing method, computer installation and computer readable storage medium, which is applied to satellite audio, video data R-T unit, this method comprises: receiving satellite audio, video data;The program probe instructions that mobile terminal is sent are received, obtain the programme information for the satellite audio, video data being currently received, and programme information is sent to mobile terminal;The first program selection instruction that mobile terminal is sent is received, corresponding first object audio, video data is obtained according to the first program selection instruction, first object audio, video data is sent to mobile terminal.The present invention also provides the computer installations and computer readable storage medium of realizing the above method.The present invention can realize the function to mobile terminal transmitting satellite TV programme on the satellites audio, video data R-T unit such as set-top box, and the program for not influencing original television set plays.
Description
Technical field
The present invention relates to the broadcasting fields of audio, video data, specifically being applied to broadcasting for the audio, video data of set-top box
It puts method and realizes computer installation, the computer readable storage medium of this method.
Background technique
Viewing video is the important way that people obtain information with amusement, wherein viewing TV programme are presently most general
Time viewing video mode.Currently, it is usually satellite television programming or network TV program that people, which watch TV programme, by
It is the digital signal needed through network transmission in network TV program, needs to be laid with the network equipments such as Ethernet, and somely
Network equipment laying in area's is not perfect, generallys use satellite television (DVB) viewing live television programming.
Viewing satellite television programming usually requires that satellite television receiving equipment is arranged within the family, such as DVB (digital satellite
Broadcast) set-top box device etc., pass through the equipment and receive radio signal and radio signal will be received and is converted into audio-video
Data simultaneously show device plays by television set etc..Therefore, existing DVB set-top box usually has the function of data encoding and decoding etc.,
Also the functions such as program selection, broadcasting are supported.
In the case where Ethernet covers poor or other specific conditions, it is desirable to set-top boxes can pass satellite television programming
A certain range of mobile terminal is transported to, such as on smart phone, in this way, people can watch satellite electricity by smart phone
Depending on program, satellite television programming is watched rather than just by television set.
Current some schemes are that the image frame and sound on real-time recording TV form audio, video data, then will be recorded
Audio, video data be transferred on hand-hold wireless network-termination device and play to realizing that large screen equipment arrives small screen device
It launches, the effect for throwing screen is large screen equipment and small screen device is mirror, i.e. large screen equipment and small screen device institute
The image of display be it is identical, this will lead to has enjoyed handheld terminal viewing audio-video mobile convenience, but limit electricity
The function of other video programs is put depending on machine sowing.
Summary of the invention
The main object of the present invention is to provide a kind of sound that can be realized and satellite audio, video data is transmitted to mobile terminal
Video broadcasting method.
It is a further object of the present invention to provide a kind of computer installations for realizing above-mentioned audio and video playing method.
Another object of the present invention is to provide a kind of computer readable storage medium for realizing above-mentioned audio and video playing method.
Main purpose to realize the present invention, audio and video playing method provided by the invention are applied to satellite audio, video data
R-T unit, this method comprises: receiving satellite audio, video data;The program probe instructions that mobile terminal is sent are received, acquisition is worked as
Before the programme information of satellite audio, video data that receives, and programme information is sent to mobile terminal;Receive mobile terminal hair
The the first program selection instruction sent obtains corresponding first object audio, video data according to the first program selection instruction, by first
Target sound video data is sent to mobile terminal.
By above scheme as it can be seen that the satellites audio, video data R-T unit such as satellite TV set-top boxes can receive movement
The program probe instructions etc. that terminal is sent, and programme information is sent according to program probe instructions, mobile terminal can also be received
Program selection instruction simultaneously sends first object audio, video data to mobile terminal, in this way, user can be received by mobile terminal
The satellite television programming that satellite audio, video data R-T unit is sent realizes that set-top box sends audio, video data to smart phone
Function.
One Preferable scheme is that, receive satellite audio, video data after, also execute: receive satellite audio, video data transmitting-receiving dress
The second program selection instruction that the control equipment set is sent obtains corresponding second target sound according to second program selection instruction and regards
Frequency evidence sends the second target sound video data to the display equipment connecting with satellite audio, video data R-T unit, preferably
, first object audio, video data and the second target audio, video data are independent from each other transmission.
It can be seen that the audio, video data that satellite audio, video data R-T unit is sent to mobile terminal or display equipment
It is independent from each other, i.e., can show that equipment transmits the second target audio, video data to television set etc. on one side, it on one side can be to shifting
Dynamic terminal transmission first object audio, video data, in this way, in the case where not influencing the satellite television programming of television for play, to
Mobile terminal transmits different satellite television programmings.
Further embodiment is, before receiving the program probe instructions that mobile terminal is sent, executes: opening hotspot letter
Number, and establish the wireless connection with terminal device.
As it can be seen that satellite audio, video data R-T unit is as the hotspot device being wirelessly connected, mobile terminal is by wirelessly connecting
The mode connect is communicated with satellite audio, video data R-T unit, is not needed upon other Wireless Communication Equipment in this way and also can
Enough realize the transmission of satellite television audio, video data.
Further embodiment is that it includes: to judge first object sound that first object audio, video data, which is sent to mobile terminal,
Whether the format of video data is preset format, if not, the format of first object audio, video data is converted into preset format
After be sent to mobile terminal.
It can be seen that satellite audio, video data R-T unit is retransmited after being adjusted to the format of audio, video data to shifting
Dynamic terminal, it can be ensured that mobile terminal receives the audio, video data of preset format, avoids mobile terminal due to format is incorrect
Can not playing audio-video the problem of.
Further scheme is that it includes: judgement first object that first object audio, video data, which is sent to mobile terminal,
Whether the code rate of audio, video data is greater than the maximal rate of wireless network card equipment transmission, if so, by first object audio, video data
Mobile terminal is sent to after being compressed.
As it can be seen that, more than the transmitting capacity of wireless network card equipment, can not thus have if the code rate of audio, video data is larger
Transmitting data on mobile terminal for effect plays, and leads to the Caton of mobile device audio and video playing, therefore, to audio, video data
After being compressed, it is possible to prevente effectively from the problem of audio and video playing Caton.
Further scheme is that carrying out compression to first object audio, video data includes: to first object audio-video number
According to being decoded, then decoded data are encoded according to preset code rate.
It can be seen that being first decoded to audio, video data when being compressed to audio, video data, then according to scheduled
Code rate is encoded, so that it is guaranteed that the code rate of compressed audio, video data is preset code rate, such as preset code rate is small
It, will not Caton when may insure audio and video playing in this way in the numerical value of the maximal rate of wireless network card equipment transmission.
Further scheme is, after first object audio, video data is compressed, also executes: by compressed first
Target audio, video data is stored in the local storage of satellite audio, video data R-T unit.
In this way, being stored with the satellite television having been received in the local storage of satellite audio, video data R-T unit
Program, the program before facilitating user to watch by way of program request realize the look back function on mobile terminal.
Further scheme is, before opening hotspot signal, executes: starting default application program, by default application
Program opens hotspot signal.
It can be seen that running default application program on satellite audio, video data R-T unit, application program is preset by this
The operation such as instruction realized the open and close of hotspot signal, receive mobile terminal, so there is no need to additionally increase by the
Satellite audio, video data R-T unit can be thus achieved to the function of mobile terminal transmission audio, video data in three method, apparatus.
To realize the another object for being, computer installation provided by the invention includes processor and memory, storage
Device is stored with computer program, and each step of above-mentioned audio and video playing method is realized when computer program is executed by processor.
To realize that above-mentioned a further object, the present invention provide and be stored with computer program on computer readable storage medium,
Each step of above-mentioned audio and video playing method is realized when computer program is executed by processor.
Detailed description of the invention
Fig. 1 is the satellite audio, video data R-T unit and mobile terminal using audio and video playing embodiment of the method for the present invention
Module frame chart.
Fig. 2 is the satellite audio, video data R-T unit and mobile terminal using audio and video playing embodiment of the method for the present invention
Interaction diagrams.
Fig. 3 is flow chart of the audio and video playing embodiment of the method for the present invention to display equipment output audio, video data.
Fig. 4 is flow chart of the audio and video playing embodiment of the method for the present invention to mobile terminal output audio, video data.
Fig. 5 is in audio and video playing embodiment of the method for the present invention to the flow chart of first object audio, video data compression.
The invention will be further described with reference to the accompanying drawings and embodiments.
Specific embodiment
Audio and video playing method of the invention is applied on satellite audio, video data R-T unit, specifically, using being in
On the satellite TV set-top boxes that front yard uses, on the one hand which be can connect to display equipment such as television sets, defeated to television set
Audio, video data all the way out, and it can be connected to the mobile terminals such as smart phone wirelessly, it is received by mobile terminal
Another way audio, video data, and the audio, video data that television set and smart phone play is not identical, i.e. television set and intelligent hand
Machine can play two different TV programme respectively, and mutually be independent of each other.Further, satellite audio, video data transmitting-receiving dress
Processor and memory are installed, computer program is stored on memory, processor is real by executing the computer program
Existing audio and video playing method.
Audio and video playing embodiment of the method:
The present embodiment is applied to satellite audio, video data R-T unit, referring to Fig. 1, using the satellite audio-video of the present embodiment
Satellite antenna 11, wireless radio frequency modules 12, front-end module 13, local video module 14, section are provided in data transmitter-receiver set 10
Mesh catalogue module 15, television channel selecting module 16, default application program opening module 17, code stream analyzing module 18, first solve
Code module 19, send aobvious module 20, drive module 21, interface module 22, code stream format judgment module 23, the second decoder module 24,
Coding module 25, package module 26, Data write. module 27, Fluidizer 28, local storage 29 and program scanning and response
With media play and control module 30.
Satellite audio, video data R-T unit 10 is carried out wireless communication with mobile terminal 40, and mobile terminal 40 can be intelligence
The mobile terminal apparatus such as mobile phone, mobile terminal 40 are provided with WIFI link block 41, application program launching module 42, program and visit
Survey module 43, program selecting module 44, playing control module 45, audio, video data receiving module 46 and conventional playing module
47。
Wherein, the satellite antenna 11 of satellite audio, video data R-T unit 10, wireless radio frequency modules 12, front-end module 13,
Local video module 14, program contents module 15, television channel selecting module 16, code stream analyzing module 18, the first decoder module
19, send aobvious module 20, drive module 21, interface module 22 identical as respective modules in existing set-top box, for example, satellite sound regards
Frequency data transmitter-receiver set 10 receives satellite-signal by satellite antenna, and satellite-signal passes through wireless radio frequency modules 12 and front end mould
Block 13, the directory information that obtains the directory information of the TV programme in satellite-signal, and will acquire are stored to program contents mould
In block 15.Local video module 14 is stored in local video data, and the program contents information of local video is sent
To program contents module 15.
In addition, the television channel that television channel selecting module 16 receives the sendings such as remote controler or key selects letter
Number, and received signal is sent to program contents module 15, corresponding program contents are provided by program contents module 15
Information simultaneously shows user.When user selects a certain television channel or TV programme, program contents module 15 obtains selected
TV programme initial data, and original data are parsed by code stream analyzing module 18, then by the first decoding mould
Block 19 is decoded original data, then by sending aobvious module 20 to handle decoded data, and drive module 21 drives
Audio, video data is simultaneously transmitted in the display equipment connecting with satellite audio, video data R-T unit 10 by interface module 22, display
Equipment can be the equipment having a display function such as television set or projector.Preferably, interface module 22 can be HDMI etc.
Display interface module, for audio, video data to be transmitted to display equipment and is shown on the display device.
Compared to traditional set-top box is played, the satellite audio, video data R-T unit 10 of the present embodiment increases code stream format and sentences
Multiple modules such as disconnected module 23 can star default for example, satellite audio, video data R-T unit 10 is provided with soft-AP
Application program opening module 17, while hotspot signal can be issued for the connection of mobile terminal 40, default application program is opened
Open module 17 for start the relevant each service module of the first program selection instruction.
Code stream format judgment module 23 is used to receive satellite audio, video data R-T unit 10 code of audio, video data
Flow data format is judged and is parsed, such as judges whether the format for the audio, video data being currently received is preset lattice
Formula, such as data of a constant bit rate and the MPEGTS format of video size, if not preset format, then by the second decoder module
24 pairs of audio, video datas are decoded, then are encoded by coding module 25, and are carried out MPEGTS by package module and formatted envelope
The audio, video data that dress guarantees that mobile terminal 40 receives is preset format, and then ensures that mobile terminal 40 can be received effectively
With normal play audio, video data.
Data write. module 27 compressed audio, video data can be written in Fluidizer 28 or local storage 29,
When Fluidizer 28 is written in audio, video data, data can be issued mobile terminal 40 by network and played;When by audio-video
It is then the local storage that audio, video data is written to set-top box, in SD card when local storage 29 is written in data.Program
Scanning is used to start the media services to satellite audio, video data R-T unit 10 with response and media play and control module 30
The information interchange and media play of process and realization and mobile terminal 40.
Operation has a client application in mobile terminal 40, which includes WIFI link block
40, application program launching module 42, program detecting module 43, program selecting module 44, playing control module 45, audio, video data
Receiving module 46 and conventional playing module 47.Wherein, WIFI link block 40 is used to open WIFI connection in mobile terminal 40
The hotspot of satellite audio, video data R-T unit 10 is selected and is connected to after function, to realize mobile terminal 40 and satellite
Wireless communication between audio, video data R-T unit 10.
Application program launching module 42 is used to start client application, such as starts corresponding component, program detection
Module 43 is used to send program detectable signal to satellite audio, video data R-T unit 10, and until receiving satellite audio, video data
The program contents information that R-T unit 10 returns.User can select program according to program contents information, at this point it is possible to pass through section
Mesh selecting module 44 sends programme selection signal to satellite audio, video data R-T unit 10, is used to indicate satellite audio, video data
The currently selected fixed program of 10 mobile terminal of R-T unit 40.And playing control module 45 is used to receive and dispatch to satellite audio, video data
Device 10, which is sent, plays control instruction, such as start broadcasting, pause, F.F., rewind or adjusting volume etc..Audio, video data connects
The audio, video data that module 46 is used to receive the transmission of satellite audio, video data R-T unit 10 is received, such as according to RTSP protocol integrated test system
Data are transmitted and receive audio, video data.Conventional playing module 47 is used to receive audio, video data and executes the solution of audio, video data
The operation such as code and broadcasting.
The detailed process of audio and video playing method is introduced below with reference to Fig. 2 to Fig. 5.When satellite audio, video data R-T unit
10 to television set etc. show equipment output audio, video data when, firstly, execute step S1, satellite audio, video data R-T unit 10
Satellite audio, video data is received, such as receives the program data of satellite television, Next, it is determined whether receiving second program selection
Instruction, i.e. execution step S2.In the present embodiment, satellite audio, video data R-T unit 10 is connected to a display equipment, such as
A television set or computer screen etc., which are connected to, by HDMI interface shows equipment.Therefore, user can pass through machine
The control button of the remote controler or set-top box itself of top box issues program selection instruction, i.e. second program selection instruction.
If receiving second program selection instruction, S3 is thened follow the steps, selects to execute according to second program, obtains and correspond to
The second target audio, video data, such as obtain the corresponding audio, video data of program of a certain television channel, and will be acquired
Audio, video data is transmitted to display equipment by interfaces such as HDMI.Preferably, satellite audio, video data R-T unit 10 is will to show
Show that the audio, video data for the format that equipment can parse is transmitted to display equipment, in order to show that equipment receives audio, video data
After correctly can parse and play.Then, step S4 is executed, judges whether to receive the instruction for stopping playing, if so, then
Stop playing program, otherwise, continues to obtain the second target audio, video data and continue to be regarded by the second target sound of display device plays
Frequency evidence.
Below with reference to Fig. 3 introduction when satellite audio, video data R-T unit 10 exports audio, video data to mobile terminal
Workflow, is first carried out step S5, and judgement receives the instruction for starting default application program.Since satellite audio, video data is received
Preset application program is provided in transmitting apparatus 10, but the application program is not to open with satellite audio, video data R-T unit 10
It moves and starts, but can be started as needed by user, therefore, when user needs to watch satellite television section by mobile terminal
When mesh, needing to start the default application program, step S5 is exactly the instruction for judging whether to receive the starting default application program,
If received, S6 is thened follow the steps, starts default application program, that is, starts satellite audio, video data R-T unit 10
SoftAP, satellite audio, video data R-T unit 10 opens hotspot signal, i.e. satellite audio, video data R-T unit at this time
10 as a WIFI hot spot and waiting and mobile terminal 40 establish connection, waits standby communication terminals 40 to establish and is wirelessly connected.
At this point, user can open the WIFI module of mobile terminal 40, and select to fill with the transmitting-receiving of satellite audio, video data
It sets 10 and establishes connection, that is, be connected to the hotspot signal of satellite audio, video data R-T unit 10.When satellite audio, video data
After wireless network connection success between R-T unit 10 and mobile terminal 40, step STEP-A shown in Fig. 2 is completed, and is entered
The operation of STEP-B.
In the present embodiment, step STEP-B is program detection and the operation replied, i.e. satellite audio, video data R-T unit
10 with after 40 successful connection of mobile terminal, and the client application on mobile terminal 40 can be received with explorer satellite audio, video data
Transmitting apparatus 10 currently receives the program that satellite TV channel or explorer satellite audio, video data R-T unit 10 are locally stored.Specifically
, explorer satellite audio, video data R-T unit 10 executes step S7, judges whether the program for receiving the transmission of mobile terminal 40
Probe instructions, such as mobile terminal 40 can issue program probe instructions by program detecting module 43.If satellite audio-video
Data transmitter-receiver set 10 receives program probe instructions, thens follow the steps S8, obtains present satellites electricity by program contents module 15
Depending on program contents information and local video program directory information, and the program contents information that will acquire is sent to mobile terminal
40, i.e. generation the rendition list returns to mobile terminal 40.It is sent out when mobile terminal 40 receives satellite audio, video data R-T unit 10
The program contents information sent, then the step STEP-B stage terminates, and enters step STEP-C, i.e., is received and dispatched and filled by satellite audio, video data
It sets 10 selection programs and starts Fluidizer.
After entering step STEP-C, the display program directory information on mobile terminal 40, user can select interested
Audio/video program plays out, and the programme information of selection is sent to satellite audio, video data R-T unit 10, satellite sound view
Frequency data transmitter-receiver set 10 receives the extraction for playing programme information and carrying out program data of the transmission of mobile terminal 40, will be from satellite day
Specific audio, video data is obtained in line or obtains specific audio, video data from local folders, then carries out code stream lattice
Formula judgement and processing.
Specifically, satellite audio, video data R-T unit 10 executes step S9, judge whether to receive the selection of the first program
The instruction for selecting some program that instruction, i.e. mobile terminal 40 are sent, such as receives the first program selection instruction, then executes step
Rapid S10 obtains corresponding first object audio, video data, and corresponding first audio, video data is sent to mobile terminal
40。
When practical application, due to the received satellite audio, video data of satellite audio, video data R-T unit 10 format not
Must be the audio, video data that mobile terminal 40 can play format or satellite audio, video data R-T unit 10 it is received
The code rate of satellite audio, video data is very high, is sometimes more than the transmitting capacity of wireless network card equipment, thus can not be effective
The broadcasting of mobile terminal 40 is transmitted data to, leads to the Caton of mobile device audio and video playing, therefore, it is necessary to sound to be transmitted
The format of video data is parsed and is judged and handled.
Therefore, in the present embodiment, in order to guarantee effective transmission of audio, video data, for high code rate audio, video data into
Row compression compression processing, it is therefore desirable to turn to audio, video data the processing of encapsulation or compression.Referring to Fig. 5, it is first carried out
Step S21 parses the format of audio, video data to be transmitted, obtain the encapsulation format of audio, video data to be transmitted with
And code rate numerical value.
Then, step S22 is executed, judges whether the format of audio, video data is preset format, for example whether being
MPEGTS format further judges whether the code rate of audio, video data sets less than wireless network card if so, also executing step S23
The maximal rate of standby transmission, such as the maximal rate of wireless network card equipment transmission is the data for transmitting 20M bit each second, then sentences
Whether the code rate of staccato video data is greater than 20M bit per second.If the code rate of audio, video data to be transmitted is no more than wireless
The maximal rate of network card equipment transmission, thens follow the steps S28, audio, video data is sent to mobile terminal 40, otherwise, executes step
Rapid S25, is decoded audio, video data, i.e., is decoded by the second decoder module 24, step S26 is then executed, according to pre-
If code rate encoded, such as by coding module 25 according to preset code rate encode, it is preferred that preset code rate be not more than nothing
The maximal rate of gauze card apparatus transmission.
Then step S27 is executed, audio, video data is encapsulated to the audio, video data to form preset format, such as be packaged into
The data of MPEGTS format, and the audio, video data after encapsulation is sent to mobile terminal 40.
If the judging result of step S22 be it is no, i.e., audio, video data to be transmitted is not the audio-video number of preset format
According to, S24 is thened follow the steps, it is further to judge whether the code rate of audio, video data is less than the maximum code that wireless network card equipment is transmitted
Audio, video data is packaged by rate if so, thening follow the steps S27 according to preset format, otherwise, executes step S25, S26
Step S27 is executed afterwards, is packaged into the audio, video data of preset format after audio, video data is compressed again, is retransmited to mobile terminal
40。
Therefore, in the present embodiment, wireless network is less than for preset format, such as code rate of the encapsulation of MPEGTS format and data
Card apparatus transmits the audio, video data of maximal rate, will directly be transmitted to Fluidizer;The code of still data is encapsulated for preset format
Rate is greater than the audio, video data of wireless network card equipment transmission maximal rate, needs to carry out compression processing, code rate is reduced to wirelessly
Network card equipment transmits maximal rate post package into preset format, then is transmitted to Fluidizer;For not being preset format encapsulation and number
According to code rate be less than wireless network card equipment transmission maximal rate audio, video data, audio, video data is Resealed, will
The audio, video data for being encapsulated as preset format is transmitted to Fluidizer;Code rate for not being preset format encapsulation and data is greater than wirelessly
Network card equipment transmits the audio, video data of maximal rate, then needs to carry out compression processing to audio, video data, code rate is reduced to
Wireless network card equipment transmits maximal rate, is then packaged into preset format to the data of coding, then be transmitted to Fluidizer.Certainly,
It, can also be medium by the buffer of treated audio, video data write-in Fluidizer while audio, video data is transmitted to Fluidizer
Standby communication terminal sends the request of data transmission.So far, step STEP-C terminates.
Then, the STEP-D stage is entered step, i.e., to program data request and control, at this point, mobile terminal 40 can be to
10 request data of satellite audio, video data R-T unit, in the present embodiment, mobile terminal and satellite audio, video data transmitting-receiving dress
The player of standard RTSP agreement can be supported by setting 10.The player of RTSP agreement will be using the RTSP agreement and satellite sound of standard
Interactive sessions between the default application program of video data R-T unit 10, specific interaction flow may include: OPTION:
Mobile terminal 40 inquires the message instruction set that satellite audio, video data R-T unit 10 is supported;DESCRIBE: mobile terminal 40 is ask
Ask the media information of video to be played;SETUP: mobile terminal 40 requests to establish medium data transmission path;PLAY: mobile terminal
40 request playing audio-video datas;TEARDOWN: mobile terminal 40 requests to stop and disconnects medium data transmission path.
After 40 built-in player of mobile terminal issues PLAY request instruction, the step STEP-D stage terminates, mobile terminal
40 audio, video datas that satellite audio, video data R-T unit 10 will be waited to transmit.
Finally, carrying out the step STEP-E stage, i.e. audio, video data sends and receives, satellite audio, video data transmitting-receiving dress
Set 10 receive PLAY request instruction after, by the lasting audio-video by the audio, video data of programme televised live or local video program
Data are sent to mobile terminal 40 by wireless network, and mobile terminal 40 is constantly from satellite audio, video data R-T unit 10
It receives audio, video data and then synchronizes and be decoded broadcasting, to realize that direct satellite broadcasting TV program or local video program are launched
The function of being played on to handhold mobile terminal equipment.
Certainly, the operation for stopping program and playing can also be performed in the step STEP-E stage, mobile terminal 40 terminates this
When broadcasting will issue TEARDOWN instruction stop request receive audio, video data, meanwhile, mobile terminal 40 also to program scanning with
Response and media play and control module 30, which issue, stops play instruction, and stopping loads number from satellite antenna or local video
The operation such as format according to, parsing, compression encapsulation, audio, video data, satellite audio, video data R-T unit 10 will be returned to step
The STEP-C stage simultaneously waits new program to play.
Further, it is also possible to which executing program switching plays control, it is such as returned to the step STEP-C stage, mobile terminal 40 can
Program switching control will be realized by playing next program with request.
It is disconnected further, it is also possible to execute connection, such as user disconnects mobile terminal 40 and the transmitting-receiving of satellite audio, video data fills
10 WIFI connection is set, satellite audio, video data R-T unit 10 will send abnormality sensing by RTSP protocol detection to data and move
The connection of dynamic terminal 40 is actively returned to the step STEP-C stage.Step S11 is executed at this point, being equivalent to, judges whether to visit
It measures hotspot and is closed or is connected to the network and be disconnected, if so, after closing hotspot and stopping WIFI connection, it will be actively
Program scanning and response and media play and control module 30 are closed, and stops media data load parsing, while can also stop
The process of the client application only run on mobile terminal 40.
As it can be seen that satellite audio, video data R-T unit is to distinguish, is independent to display equipment and mobile terminal transmission two
The different audio, video data in road, and broadcasting, the transmission of two-way audio, video data are not interfere with each other mutually, can be moved in this way to avoid because using
The program that dynamic terminal watches satellite audio, video data and influences television set plays.Also, audio, video data is realized in the present embodiment
The module of compression and the module for realizing audio, video data encapsulation are independent modules, can be directly used for the production of Video post-processing processing
In product.
Certainly, when practical application, a camera can be increased on satellite audio, video data R-T unit, it can be achieved that taking the photograph
The transmission of the audio, video data wireless network card equipment as captured by head, to realize the function of wireless camera, may be implemented simultaneously
The function of long-range PC and handheld device real time monitoring.Alternatively, mobile terminal is connected to automobile data recorder, driving can be played
The video that recorder was recorded in the past, facilitates user to watch.
Computer installation embodiment:
The computer installation of the present embodiment can be satellite audio, video data R-T unit, the device include processor,
Memory and storage in memory and the computer program that can run on a processor, when processor execution computer program
Realize each step of above-mentioned audio and video playing method.
For example, computer program can be divided into one or more modules, one or more module, which is stored in, is deposited
It in reservoir, and is executed by processor, to complete modules of the invention.One or more modules can be can complete it is specific
The series of computation machine program instruction section of function, the instruction segment is for describing execution of the computer program in terminal device
Journey.
Processor alleged by the present invention can be central processing unit (Central Processing Unit, CPU), may be used also
To be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng processor is the control centre of terminal device, utilizes the various pieces of various interfaces and the entire terminal device of connection.
Memory can be used for storing computer program and/or module, and processor is stored in memory by operation or execution
Interior computer program and/or module, and the data being stored in memory are called, realize the various functions of terminal device.
Memory can mainly include storing program area and storage data area, wherein storing program area can storage program area, at least one
Application program needed for function (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored according to hand
Machine uses created data (such as audio data, phone directory etc.) etc..In addition, memory may include high random access
Memory can also include nonvolatile memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart
Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk
Memory device, flush memory device or other volatile solid-state parts.
Computer readable storage medium:
If the computer program that above-mentioned computer installation is stored is realized in the form of SFU software functional unit and as only
Vertical product when selling or using, can store in a computer readable storage medium.Based on this understanding, this hair
All or part of the process in bright realization above-described embodiment method, can also be instructed by computer program relevant hardware come
Complete, which can be stored in a computer readable storage medium, the computer program when being executed by processor,
Each step of above-mentioned audio and video playing method can be achieved.
Wherein, computer program includes computer program code, and computer program code can be source code form, object
Code form, executable file or certain intermediate forms etc..Computer-readable medium may include: that can carry computer program
Any entity or device of code, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, electricity
Believe signal and software distribution medium etc..It should be noted that the content that computer-readable medium includes can be managed according to the administration of justice
Local legislation and the requirement of patent practice carry out increase and decrease appropriate, such as in certain jurisdictions, according to legislation and patent
Practice, computer-readable medium does not include electric carrier signal and telecommunication signal.
Finally it is emphasized that the present invention is not limited to the above embodiments, the variation of data bit rate after such as compressing, or
The change etc. of default encapsulation format, it also should include within the scope of the invention as claimed that these, which change,.
Claims (10)
1. audio and video playing method is applied to satellite audio, video data R-T unit characterized by comprising
Receive satellite audio, video data;
The program probe instructions that mobile terminal is sent are received, the programme information for the satellite audio, video data being currently received is obtained,
And the programme information is sent to the mobile terminal;
The first program selection instruction that the mobile terminal is sent is received, is obtained according to the first program selection instruction corresponding
The first object audio, video data is sent to the mobile terminal by first object audio, video data.
2. audio and video playing method according to claim 1, it is characterised in that:
After receiving the satellite audio, video data, also execute:
The second program selection instruction that the control equipment of the satellite audio, video data R-T unit is sent is received, according to described the
Two program selection instructions obtain corresponding second target audio, video data, by the second target sound video data send to institute
State the display equipment of satellite audio, video data R-T unit connection.
3. according to claim 1 or the 2 audio and video playing methods stated, it is characterised in that:
Before receiving the program probe instructions that the mobile terminal is sent, execute:
Hotspot signal is opened, and establishes the wireless connection with the terminal device.
4. audio and video playing method according to claim 1 or 2, it is characterised in that:
It includes: to judge the first object audio, video data that the first object audio, video data, which is sent to the mobile terminal,
Format whether be preset format, if not, being sent out after the format of the first object audio, video data is converted into preset format
It send to the mobile terminal.
5. the audio and video playing method stated according to claim 3, it is characterised in that:
It includes: to judge the first object audio, video data that the first object audio, video data, which is sent to the mobile terminal,
Code rate whether be greater than wireless network card equipment transmission maximal rate, if so, the first object audio, video data is pressed
The mobile terminal is sent to after contracting.
6. audio and video playing method according to claim 5, it is characterised in that:
Carrying out compression to the first object audio, video data includes: to be decoded to the first object audio, video data, so
Decoded data are encoded according to preset code rate afterwards.
7. audio and video playing method according to claim 6, it is characterised in that:
After the first object audio, video data is compressed, also executes: compressed first object audio, video data is deposited
It is stored in the local storage of the satellite audio, video data R-T unit.
8. audio and video playing method according to claim 3, it is characterised in that:
It before opening the hotspot signal, executes: starting default application program, the nothing is opened by the default application program
Line hot spot signal.
9. computer installation, which is characterized in that including processor and memory, the memory is stored with computer program,
Realizing the audio and video playing method as described in any one of claim 1 to 8 when the computer program is executed by processor
Each step.
10. computer readable storage medium is stored thereon with computer program, it is characterised in that: the computer program is located
Manage each step that the audio and video playing method as described in any one of claim 1 to 8 is realized when device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910263687.0A CN109982053A (en) | 2019-04-02 | 2019-04-02 | Audio and video playing method, computer installation and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910263687.0A CN109982053A (en) | 2019-04-02 | 2019-04-02 | Audio and video playing method, computer installation and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109982053A true CN109982053A (en) | 2019-07-05 |
Family
ID=67082389
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910263687.0A Pending CN109982053A (en) | 2019-04-02 | 2019-04-02 | Audio and video playing method, computer installation and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109982053A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110602558A (en) * | 2019-08-01 | 2019-12-20 | 贵州省广播电视信息网络股份有限公司 | High-performance DVB program sharing method for terminal |
CN110798700A (en) * | 2019-11-07 | 2020-02-14 | 网易(杭州)网络有限公司 | Video processing method, video processing device, storage medium and electronic equipment |
CN112272319A (en) * | 2020-09-21 | 2021-01-26 | 宇龙计算机通信科技(深圳)有限公司 | Audio and video data transmission method and device, storage medium and electronic equipment |
CN112333492A (en) * | 2020-09-25 | 2021-02-05 | 深圳Tcl新技术有限公司 | Video return control method and device, intelligent large-screen device and storage medium |
CN114286123A (en) * | 2021-12-23 | 2022-04-05 | 海宁奕斯伟集成电路设计有限公司 | Live broadcast method and device of television program |
CN114630178A (en) * | 2022-02-16 | 2022-06-14 | 山东浪潮超高清视频产业有限公司 | Message receiving system based on 5G NR broadcast and implementation method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120144418A1 (en) * | 2010-12-07 | 2012-06-07 | At&T Intellectual Property I, L.P. | System for presenting collateral information to mobile devices |
CN103024523A (en) * | 2012-12-07 | 2013-04-03 | 康佳集团股份有限公司 | Method and system for sharing television programs based on set top box (STB) |
CN103051954A (en) * | 2012-12-13 | 2013-04-17 | 四川金网通电子科技有限公司 | Method and device of data sharing for multiple receiving terminals of digital television |
CN103369393A (en) * | 2012-03-31 | 2013-10-23 | 深圳光启创新技术有限公司 | Satellite TV set top box |
CN104219472A (en) * | 2014-09-24 | 2014-12-17 | 浙江容贝电子科技有限公司 | Mobile satellite TV receiving system and method |
-
2019
- 2019-04-02 CN CN201910263687.0A patent/CN109982053A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120144418A1 (en) * | 2010-12-07 | 2012-06-07 | At&T Intellectual Property I, L.P. | System for presenting collateral information to mobile devices |
CN103369393A (en) * | 2012-03-31 | 2013-10-23 | 深圳光启创新技术有限公司 | Satellite TV set top box |
CN103024523A (en) * | 2012-12-07 | 2013-04-03 | 康佳集团股份有限公司 | Method and system for sharing television programs based on set top box (STB) |
CN103051954A (en) * | 2012-12-13 | 2013-04-17 | 四川金网通电子科技有限公司 | Method and device of data sharing for multiple receiving terminals of digital television |
CN104219472A (en) * | 2014-09-24 | 2014-12-17 | 浙江容贝电子科技有限公司 | Mobile satellite TV receiving system and method |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110602558A (en) * | 2019-08-01 | 2019-12-20 | 贵州省广播电视信息网络股份有限公司 | High-performance DVB program sharing method for terminal |
CN110798700A (en) * | 2019-11-07 | 2020-02-14 | 网易(杭州)网络有限公司 | Video processing method, video processing device, storage medium and electronic equipment |
CN110798700B (en) * | 2019-11-07 | 2022-03-04 | 网易(杭州)网络有限公司 | Video processing method, video processing device, storage medium and electronic equipment |
CN112272319A (en) * | 2020-09-21 | 2021-01-26 | 宇龙计算机通信科技(深圳)有限公司 | Audio and video data transmission method and device, storage medium and electronic equipment |
CN112333492A (en) * | 2020-09-25 | 2021-02-05 | 深圳Tcl新技术有限公司 | Video return control method and device, intelligent large-screen device and storage medium |
CN112333492B (en) * | 2020-09-25 | 2024-04-30 | 深圳Tcl新技术有限公司 | Video return control method and device, intelligent large-screen equipment and storage medium |
CN114286123A (en) * | 2021-12-23 | 2022-04-05 | 海宁奕斯伟集成电路设计有限公司 | Live broadcast method and device of television program |
CN114630178A (en) * | 2022-02-16 | 2022-06-14 | 山东浪潮超高清视频产业有限公司 | Message receiving system based on 5G NR broadcast and implementation method |
CN114630178B (en) * | 2022-02-16 | 2024-05-14 | 山东浪潮超高清视频产业有限公司 | Message receiving system based on 5G NR broadcast and realizing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109982053A (en) | Audio and video playing method, computer installation and computer readable storage medium | |
CN105763824A (en) | Method Used For Recording Media Programs In Remote Device And System Used For Recording Media Program To Play Back | |
US9826264B2 (en) | Apparatus, systems and methods to synchronize communication of content to a presentation device and a mobile device | |
CN102150432A (en) | Scalable video stream decoding apparatus and scalable video stream generating apparatus | |
JP2007018496A (en) | Content integration platform | |
CN103024523A (en) | Method and system for sharing television programs based on set top box (STB) | |
CN106210884A (en) | The code-transferring method of video file and device | |
WO2007108638A1 (en) | Platform for personal media broadcaster based on xml and method for setting up ip automatically | |
CN106464933B (en) | Apparatus and method for remotely controlling rendering of multimedia content | |
CN103607587B (en) | Debugging method and system for video terminal | |
CN101388780A (en) | System and method for sharing cabled digital program by mobile communication devices | |
CN107872721A (en) | A kind of multimedia data transmission method, terminal and computer-readable medium | |
KR102380673B1 (en) | System and method for providing cloud based user interfaces | |
CN100536563C (en) | Home IPTV VOD radio multi-channel transmission system based on the broadband | |
CN111182342A (en) | Media data playing method, device, equipment and storage medium based on DLNA | |
US20060002682A1 (en) | Recording apparatus and recording control method | |
KR20140020926A (en) | Method of acquisition, storage and use of data relating to a three-dimensional video stream, and video processing apparatus thereof | |
CN100387053C (en) | Video transmitting device, receiving device, video transmitting system, video transmitting method, | |
CN109729318A (en) | Video data playback process method, apparatus, computer equipment and storage medium | |
CN103825797A (en) | Service roaming system and method | |
CN111885412B (en) | HDMI signal screen transmission method and wireless screen transmission device | |
CN103297813A (en) | Video-on-demand method, video-on-demand system and video-on-demand server | |
CN101964902A (en) | Network video stream playing method and connecting equipment | |
CN101188733A (en) | A home network multimedia access system | |
CA2834159C (en) | Apparatus, systems and methods for transmitting media content events |
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: 20190705 |
|
RJ01 | Rejection of invention patent application after publication |