CN110225416A - A kind of transmission method of video, the network terminal, intelligent terminal and storage device - Google Patents

A kind of transmission method of video, the network terminal, intelligent terminal and storage device Download PDF

Info

Publication number
CN110225416A
CN110225416A CN201910467674.5A CN201910467674A CN110225416A CN 110225416 A CN110225416 A CN 110225416A CN 201910467674 A CN201910467674 A CN 201910467674A CN 110225416 A CN110225416 A CN 110225416A
Authority
CN
China
Prior art keywords
flow
data
information
video
transmitted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910467674.5A
Other languages
Chinese (zh)
Inventor
王静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN201910467674.5A priority Critical patent/CN110225416A/en
Publication of CN110225416A publication Critical patent/CN110225416A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/30Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Abstract

This application discloses a kind of transmission method of video, the network terminal, intelligent terminal and storage device, which, which includes: the network terminal, treats transmitting video data using setting agreement and is encoded, to obtain the protocol data-flow of video data to be transmitted;The correspondent time information of video data to be transmitted is inserted into the supplemental enhancement information unit of protocol data-flow, to generate the supplemental enhancement information with timestamp information;The protocol data-flow for being inserted into timestamp information is sent to intelligent terminal, so that intelligent terminal is parsed to the protocol data-flow received, plays video data to be transmitted after obtaining timestamp information.By the above-mentioned means, the application can realize the transmission of self defined time stamp on the basis of not influencing video data and transport protocol standard, while it ensure that the synchronism of self defined time stamp and corresponding video frame.

Description

A kind of transmission method of video, the network terminal, intelligent terminal and storage device
Technical field
This application involves data transmission technical field more particularly to a kind of transmission method of video data, the network terminal, Intelligent terminal and storage device.
Background technique
According to RTP (Real-time Transport Protocol, real-time network transport protocol) network transmission protocol It is normally set up, H.264 (high compression digital video coding-coding device standard) video flowing is needed simultaneously when using Real-time Transport Protocol transmission Unix (multi-user, multiple task operating system) millisecond timestamp when each I frame of synchronous transfer being wanted to acquire video frame, to view Frequency acquisition time does displaying or other application.And Real-time Transport Protocol itself contains media timestamp information field, but the field is fixed For 4 byte lengths (the 2nd 32Bit in packet header), it is mainly used for audio-visual synchronization, unit is corresponding medium data acquisition frequency It is reciprocal.According to the limitation (will lead to value spilling beyond limitation and can not restore) of its purpose of design and 4 byte lengths, so that The field is not used to carry the unix timestamp of millisecond unit.
And currently, to realize the data transmission for carrying self defined time stamp, it will usually use two kinds of implementations: one, Self-defined information is added with customized for carrying using a kind of Extended Protocol based on Real-time Transport Protocol, and in the Extended Protocol Timestamp;Secondly, using additional data transmission channel (nonbinding is in RTP data packet), and be individually transferred to receiving end Define timestamp information.
But this can lead to the problem of other again, wherein according to mode one, then can destroy the versatility of Real-time Transport Protocol, cause Standard RTP protocol intercommunication can not be passed through with other products;And employing mode two, though it can be realized the transmission of self defined time stamp, But because its self defined time stamp information channel and video data channel are separation, the synchronization of information just can not also be effectively ensured Property, so that receiving end can not confirm the accurate corresponding relationship of video frame and self defined time stamp.
Summary of the invention
This application provides a kind of transmission method of video, the network terminal, intelligent terminal and storage device, the transmission sides Method is able to solve on the basis of not influencing video data and transport protocol standard, realizes the transmission of self defined time stamp, simultaneously The problem of guaranteeing self defined time stamp and corresponding to the synchronism of video frame.
In order to solve the above technical problems, the technical solution that the application uses is: a kind of transmission method of video is provided, Wherein, to include: the network terminal treat transmitting video data using setting agreement to the transmission method is encoded, to be transmitted to obtain The protocol data-flow of video data;The supplement that the correspondent time information of video data to be transmitted is inserted into protocol data-flow is increased Strong information unit, to generate the supplemental enhancement information with timestamp information;The protocol data-flow for being inserted into timestamp information is sent To intelligent terminal so that intelligent terminal is parsed to the protocol data-flow received, obtain playing after timestamp information to Transmitting video data.
Wherein, the correspondent time information of video data to be transmitted is inserted into the supplemental enhancement information list of protocol data-flow Member, the step of to generate supplemental enhancement information with the timestamp information further include: by the letter in supplemental enhancement information unit Breath is inserted into the setting position of protocol data-flow.
Wherein, the protocol data-flow for being inserted into timestamp information is sent to intelligent terminal, so that intelligent terminal is to reception To protocol data-flow parsed, when to obtain the step of playing video data to be transmitted after timestamp information include: by being inserted into Between stab information protocol data-flow according to setting rule carry out subpackage, obtain multi-group data packet, and multi-group data packet is successively sent out Intelligent terminal is given, so that intelligent terminal is receiving multi-group data packet, multi-group data packet is merged, protocol data is obtained After stream, the protocol data-flow received is parsed, plays video data to be transmitted after obtaining timestamp information.
Wherein, intelligent terminal is treated transmitting video data using setting agreement and is encoded, to obtain video counts to be transmitted According to protocol data-flow after, by the correspondent time information of video data to be transmitted be inserted into protocol data-flow supplement enhance Information unit, the step of to generate supplemental enhancement information with the timestamp information before, further includes: protocol data is flowed into Row filtering, to remove the information in the supplemental enhancement information unit in protocol data-flow;Setting to supplemental enhancement information unit For customization type.
It wherein, to supplemental enhancement information unit include: by supplemental enhancement information list the step of being set as customization type The type identifier of member is set as 5.
In order to solve the above technical problems, another technical solution that the application uses is: providing a kind of transmission side of video Method, wherein the transmission method includes that intelligent terminal receives the protocol data-flow with timestamp information that the network terminal is sent;Its In, protocol data-flow, which is the network terminal, to be treated transmitting video data using setting agreement and is encoded, and video counts to be transmitted are obtained According to protocol data-flow, the correspondent time information of video data to be transmitted is inserted into the supplemental enhancement information of protocol data-flow Unit, what generation obtained after the supplemental enhancement information with timestamp information;Protocol data-flow is parsed, timestamp letter is obtained Breath;Video data to be transmitted is played based on timestamp information.
Wherein, receiving the protocol data-flow with timestamp information that the network terminal is sent includes: to receive the network terminal to send Multi-group data packet, wherein multi-group data packet is the network terminal by the protocol data-flow with timestamp information according to setting rule It is obtained after progress subpackage;Multi-group data packet is merged, protocol data-flow is obtained.
In order to solve the above technical problems, another technical solution that the application uses is: a kind of network terminal is provided, In, which includes the processor being mutually coupled, timestamp information extraction module and sending module;Processor is for adopting It treats transmitting video data with setting agreement to be encoded, to obtain the protocol data-flow of video data to be transmitted;Timestamp letter Breath extraction module is for extracting the corresponding timestamp information of video data to be transmitted;Processor is also used to for being inserted into timestamp information To the supplemental enhancement information unit of protocol data-flow, to generate the supplemental enhancement information with timestamp information;Sending module is used for The protocol data-flow for being inserted into timestamp information is sent to intelligent terminal.
In order to solve the above technical problems, another technical solution that the application uses is: a kind of intelligent terminal is provided, In, which includes the receiving module, processor and display being mutually coupled;Receiving module is for receiving the insertion time Stab the respective protocol data flow of the video data to be transmitted of information;Processor is for solving the protocol data-flow received Analysis, to obtain timestamp information;Display is used to play video data to be transmitted according to timestamp information.
In order to solve the above technical problems, another technical solution that the application uses is: a kind of storage device is provided, In, which is stored with program data, and program data can be performed the transmission method to realize video as described above.
The beneficial effect of the application is: being different from the prior art, the transmission method of video includes: the network terminal in the application It treats transmitting video data using setting agreement to be encoded, to obtain the protocol data-flow of video data to be transmitted;It will be to be passed The correspondent time information of defeated video data is inserted into the supplemental enhancement information unit of protocol data-flow, is believed with generating band timestamp The supplemental enhancement information of breath;The protocol data-flow for being inserted into timestamp information is sent to intelligent terminal, so that intelligent terminal is right The protocol data-flow received is parsed, and plays video data to be transmitted after obtaining timestamp information.By the above-mentioned means, this Application can be by efficiently using and being transformed the supplemental enhancement information in video data to be transmitted, it is ensured that does not change data and spreads Defeated versatility, on the basis of not influencing video data and transport protocol standard, to realize the transmission of self defined time stamp, It ensure that the synchronism of self defined time stamp and corresponding video frame simultaneously.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.Wherein:
Fig. 1 is the flow diagram of the transmission method first embodiment of the application video;
Fig. 2 is the flow diagram of the transmission method second embodiment of the application video;
Fig. 3 is the flow diagram of the transmission method 3rd embodiment of the application video;
Fig. 4 is the flow diagram of the transmission method fourth embodiment of the application video;
Fig. 5 is the structural schematic diagram of one embodiment of the application network terminal;
Fig. 6 is the structural schematic diagram of one embodiment of the application intelligent terminal;
Fig. 7 is the structural schematic diagram of one embodiment of the application storage device.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment belongs to the range of the application protection.
Refering to fig. 1, Fig. 1 is the flow diagram of the transmission method first embodiment of the application video, present embodiment packet Include following steps:
S110: the network terminal is treated transmitting video data using setting agreement and is encoded, to obtain video counts to be transmitted According to protocol data-flow.
In the present embodiment, the network terminal, need to be to be transmitted to this first before transmitting to collected video data Video data handled so that it is converted to the data flow that can be used for being transmitted by standard network transport protocol, So as to effectively be parsed and played.It will be appreciated that the network terminal treats transmitting video data, using presetting Standard agreement encoded, can be used for being transmitted by standard network transport protocol to obtain the video data to be transmitted Protocol data-flow.
In an optional embodiment, setting agreement can be H.264 high compression digital video coding-coding device mark Quasi- agreement, the network terminal can transmit H.264 video flowing using RTP real-time transport protocol, then it will be appreciated that network Terminal first carries out collected original video data to be transmitted using H.264 high compression digital video coding-coding device standard Coding, to obtain corresponding H.264 code stream, to further RTP real-time transport protocol be used to be transmitted.
In the present embodiment, the network terminal can be the corresponding data processing terminal equipment of video capture equipment, can also be with It is corresponding network server terminal etc., the application does not limit this.
S120: the correspondent time information of video data to be transmitted is inserted into the supplemental enhancement information list of protocol data-flow Member, to generate the supplemental enhancement information with timestamp information.
In the present embodiment, by taking video data to be transmitted is encoded as H.264 video flowing as an example, H.264 video flowing is being adopted When being transmitted with Real-time Transport Protocol, need unix millisecond timestamp when synchronous transfer each I frame acquisition video frame, then it is found that To video data to be transmitted accordingly H.264 video flowing when, need further to believe the corresponding timestamp of the video data to be transmitted Breath is inserted into H.264 video flowing, correspondingly, because H.264 the data Network Abstraction Layer NAL of video flowing includes to add enhancing letter Interest statement member, SEI unit, thus supplement to data information in the SEI unit and modification can be effectively prevented from transformation RTP transmission association View, to ensure effectively to transmit corresponding timestamp information under the premise of not changing the versatility of data stream transmitting.It is intelligible It is that transmitting video data is treated using H.264 agreement in the network terminal and is encoded, and it is corresponding to obtain video data to be transmitted H.264 when video flowing, the corresponding timestamp information of the video data to be transmitted is further inserted into the supplement of H.264 video flowing Enhancement information unit, in SEI unit, to generate the supplemental enhancement information with timestamp information.
In the present embodiment, the network terminal is also needed the information in supplemental enhancement information unit according to standard transmission protocol General Requirement is inserted into the general setting position of protocol data-flow, for example, to adapt to the general transmission of RTP transport protocol sequence, SEI information in supplemental enhancement information unit need to be inserted into IDR (the Instantaneous Decoding of H.264 video flowing Refresh, instantaneous decoding refresh) before information, so that subsequent be able to carry out effectively is transmitted and is decoded.
S130: the protocol data-flow for being inserted into timestamp information is sent to intelligent terminal, so that intelligent terminal is to reception To protocol data-flow parsed, play video data to be transmitted after obtaining timestamp information.
In the present embodiment, it is inserted into the protocol data-flow of timestamp information, is finally sent to intelligent terminal, intelligent terminal Further the protocol data-flow is parsed, to obtain corresponding timestamp information, and is come together according to the timestamp information Step, which plays, parses video corresponding to obtained original video data to be transmitted.For example, the network terminal will be inserted into accordingly the time The H.264 video stream of information is stabbed to intelligent terminal, further to this, H.264 video flowing is decoded intelligent terminal, with Corresponding video is played simultaneously to corresponding timestamp information, and according to the timestamp information.
In an alternative embodiment, the network terminal will be inserted into the protocol data-flow of timestamp information according to corresponding transmission Agreement, if the general rule of Real-time Transport Protocol carries out subpackage, to obtain the corresponding data packet of multiple groups, and successively by the multi-group data packet Be sent to intelligent terminal so that intelligent terminal when receiving the multi-group data packet, merges the multi-group data packet, with Corresponding protocol data-flow is obtained, such as H.264 after video flowing, H.264 video flowing is parsed to this, to obtain the corresponding time Information is stabbed, and is played simultaneously corresponding video according to the timestamp information.
In the present embodiment, intelligent terminal can be mobile phone, tablet computer, wearable device, any tool such as smart television There is one of the intelligent terminal of video playback capability, the application does not limit this.
It is different from the prior art, the transmission method of video includes: that the network terminal uses setting agreement to be passed in the application Defeated video data is encoded, to obtain the protocol data-flow of video data to be transmitted;When by video data to be transmitted to correspondence Between stamp information be inserted into the supplemental enhancement information unit of protocol data-flow, to generate the supplemental enhancement information with timestamp information; The protocol data-flow for being inserted into timestamp information is sent to intelligent terminal, so that intelligent terminal is to the protocol data-flow received It is parsed, plays video data to be transmitted after obtaining timestamp information.By the above-mentioned means, the application can pass through effectively benefit With with the supplemental enhancement information be transformed in video data to be transmitted, it is ensured that the versatility for not changing data stream transmitting, not On the basis of influencing video data and transport protocol standard, the transmission of self defined time stamp is realized, while ensure that customized The synchronism of timestamp and corresponding video frame.
Referring to Fig. 2, Fig. 2 is the flow diagram of the transmission method second embodiment of the application video.The present embodiment with The difference of the application first embodiment is after executing step S110 and before step S120 in Fig. 1, further includes:
S111: being filtered protocol data-flow, to remove the letter in the supplemental enhancement information unit in protocol data-flow Breath.
In the present embodiment, according to the corresponding setting of network terminal video encoder, encoder when exporting video code flow, It may be comprising SEI information may also be free of.And SEI information is non-required data in the decoding end of intelligent terminal, it can be by the letter Breath removal.And in this network terminal, video data to be transmitted is adapted before transmission, to generate band self defined time The SEI information of stamp is simultaneously inserted into the bit stream data of real-time Transmission, can agreement number corresponding with the video data to be transmitted Intelligent terminal is reached by transmission link together according to stream, so that intelligent terminal is when receiving the protocol data-flow, according to setting Rule Extraction simultaneously parses data, to obtain corresponding SEI information and former video data to be transmitted.It will be appreciated that in net After network terminal obtains the protocol data-flow of video data to be transmitted, further the protocol data-flow can be filtered, with removal The information in supplemental enhancement information unit in protocol data-flow, to avoid the timestamp information being newly inserted into and former supplement enhancing letter Information in interest statement member mixes, so as to cause occurring unnecessary information in video playing.
S112: customization type is set as to supplemental enhancement information unit.
It in the present embodiment, need to be first by corresponding protocol data-flow according to the standard setting of supplemental enhancement information unit In corresponding supplemental enhancement information unit be set as customization type, with can be by the network terminal to the supplemental enhancement information list The supplemental enhancement information of needs is inputted in member, such as corresponding timestamp information of video data to be transmitted or other displaying information.
In the present embodiment, the identifier of the customization type of supplemental enhancement information unit is 5, can be by that will supplement enhancing The type identifier of information unit is set as 5, so that supplemental enhancement information unit is arranged to customization type.
Referring to Fig. 3, Fig. 3 is the flow diagram of the transmission method 3rd embodiment of the application video.Present embodiment Include the following steps:
S310: intelligent terminal receives the protocol data-flow with timestamp information that the network terminal is sent;Wherein, the agreement number According to stream, to be the network terminal treat transmitting video data using setting agreement is encoded, and obtains the agreement number of video data to be transmitted According to stream, the correspondent time information of video data to be transmitted is inserted into the supplemental enhancement information unit of protocol data-flow, is generated It is obtained after supplemental enhancement information with timestamp information.
In the present embodiment, intelligent terminal receives the protocol data-flow with timestamp information that the network terminal is sent, such as H.264 video flowing, wherein H.264 video flowing is that the network terminal is assisted using H.264 high compression digital video coding-coding device standard Data flow obtained from view encodes collected video data to be transmitted, and the video data to be transmitted corresponding time Stamp information is inserted into this H.264 in the supplemental enhancement information unit of video flowing, so that being finally able to the H.264 video transmitted Stream is with the supplemental enhancement information for accordingly including timestamp information.
In the present embodiment, intelligent terminal can be mobile phone, tablet computer, wearable device, and TV etc. is any to have view One of the intelligent terminal of frequency playing function, the application does not limit this.
In the present embodiment, the network terminal can be the corresponding data processing terminal equipment of video capture equipment, can also be with It is corresponding network server terminal etc., the application does not limit this.
S320: parsing protocol data-flow, obtains timestamp information.
In the present embodiment, intelligent terminal receive network terminal transmission with timestamp information, such as H.264 regard When frequency flows, further to this, H.264 video flowing is parsed, to obtain corresponding timestamp information.
S330: video data to be transmitted is played based on timestamp information.
In the present embodiment, intelligent terminal is parsed to H.264 video flowing, after obtaining corresponding timestamp information, The timestamp information is based further on the H.264 corresponding video of video flowing is played simultaneously.
Referring to Fig. 4, Fig. 4 is the flow diagram of the transmission method fourth embodiment of the application video.The present embodiment is The specific implementation step that S310 includes in the application 3rd embodiment comprising:
S3101: the multi-group data packet that the network terminal is sent is received, wherein multi-group data packet is that the network terminal will be with the time Stab information protocol data-flow carry out subpackage according to setting rule after obtain.
In the present embodiment, the received data packet sent by the network terminal of intelligent terminal is by the network terminal according to phase The transport protocol answered, if the general rule of Real-time Transport Protocol carries out subpackage, with the corresponding data packet of obtained multiple groups, and by the multiple groups Data packet is successively sent to the intelligent terminal, wherein before the multi-group data is coated with transmission transmission, which has first H.264, its corresponding protocol data-flow is such as inserted into corresponding timestamp information in video flowing.
S3102: multi-group data packet is merged, protocol data-flow is obtained.
In the present embodiment, intelligent terminal merges the multi-group data packet sent by the network terminal received, with Corresponding protocol data-flow is obtained, such as H.264 video flowing.
Based on total inventive concept, present invention also provides a kind of network terminals, referring to Fig. 5, Fig. 5 is the application network The structural schematic diagram of terminal first embodiment.Wherein, which includes the processor 510 being mutually coupled, timestamp letter Cease extraction module 520 and sending module 530.
In the present embodiment, processor 510 is used for using setting agreement, such as H.264 high compression digital video decoding Device standard agreement is encoded to treat transmitting video data, to obtain H.264 video corresponding with the video data to be transmitted Stream;Timestamp information extraction module 520 is for extracting the corresponding timestamp information of the video data to be transmitted, so that processor 510 can further be inserted into the timestamp information in the supplemental enhancement information unit of H.264 video flowing, thus H.264 The supplemental enhancement information for having timestamp information is generated in video flowing;Sending module 530 will be for that will be inserted into the timestamp information H.264 video stream is to intelligent terminal for this, so that intelligent terminal can further to this, H.264 video flowing be decoded, To obtain corresponding timestamp information, and corresponding video is played simultaneously according to the timestamp information.
In the present embodiment, the network terminal 50 can be the corresponding data processing terminal equipment of video capture equipment, can also To be corresponding network server terminal etc., the application is not limited this.
Based on total inventive concept, present invention also provides a kind of intelligent terminals, referring to Fig. 6, Fig. 6 is the application intelligence The structural schematic diagram of one embodiment of terminal.Wherein, which includes receiving module 610, the processor 620 being mutually coupled And display 630.
Wherein, receiving module 610 is used to receive the respective protocol data of the video data to be transmitted of insertion timestamp information Stream, such as H.264 video flowing, wherein H.264 video flowing is the network terminal using H.264 high compression digital video coding-coding device Data flow obtained from standard agreement encodes collected video data to be transmitted, and the video data to be transmitted is corresponding Timestamp information be inserted into this H.264 in the supplemental enhancement information unit of video flowing so that being finally able to transmit H.264 video flowing is with the supplemental enhancement information for accordingly including timestamp information;Processor 620 is used for should to what is received H.264 video flowing is parsed, to obtain corresponding timestamp information;Display 630 is used for further according to the timestamp information The H.264 corresponding video of video flowing is played simultaneously.
In the present embodiment, it is any to can be mobile phone, tablet computer, wearable device, smart television etc. for intelligent terminal 60 One of intelligent terminal with video playback capability, the application does not limit this.
Based on total inventive concept, present invention also provides a kind of storage devices, referring to Fig. 7, Fig. 7 is the application storage The structural schematic diagram of one embodiment of device.Wherein, it is stored with program data 710 in storage device 70, which can be by Execute the transmission method to realize the video of any description above.
In one embodiment, storage device 70 can be storage chip in terminal, hard disk either mobile hard disk or The tool of other read-write storages such as person's flash disk, CD, can also be server etc..
In several embodiments provided herein, it should be understood that disclosed method and apparatus can pass through it Its mode is realized.For example, device embodiments described above are only schematical, for example, processor or memory Division, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple processors with The function that memory is realized can be combined or can be integrated into another system, or some features can be ignored or not executed. Another point, shown or discussed mutual coupling or direct-coupling or connection can be through some interfaces, device or The INDIRECT COUPLING or connection of unit can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.It can select some or all of unit therein according to the actual needs to realize the purpose of present embodiment.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product To be stored in a computer readable storage medium.Based on this understanding, the technical solution of the application substantially or Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products Out, which is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute each implementation of the application The all or part of the steps of methods.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. it is various It can store the medium of program code.
It is different from the prior art, the transmission method of video includes: that the network terminal uses setting agreement to be passed in the application Defeated video data is encoded, to obtain the protocol data-flow of video data to be transmitted;When by video data to be transmitted to correspondence Between stamp information be inserted into the supplemental enhancement information unit of protocol data-flow, to generate the supplemental enhancement information with timestamp information; The protocol data-flow for being inserted into timestamp information is sent to intelligent terminal, so that intelligent terminal is to the protocol data-flow received It is parsed, plays video data to be transmitted after obtaining timestamp information.By the above-mentioned means, the application can pass through effectively benefit With with the supplemental enhancement information be transformed in video data to be transmitted, it is ensured that the versatility for not changing data stream transmitting, not On the basis of influencing video data and transport protocol standard, the transmission of self defined time stamp is realized, while ensure that customized The synchronism of timestamp and corresponding video frame.
The foregoing is merely presently filed embodiments, are not intended to limit the scope of the patents of the application, all to utilize this Equivalent structure or equivalent flow shift made by application specification and accompanying drawing content, it is relevant to be applied directly or indirectly in other Technical field similarly includes in the scope of patent protection of the application.

Claims (10)

1. a kind of transmission method of video, which is characterized in that the transmission method includes:
The network terminal is treated transmitting video data using setting agreement and is encoded, to obtain the association of the video data to be transmitted Discuss data flow;
The correspondent time information of the video data to be transmitted is inserted into the supplemental enhancement information list of the protocol data-flow Member, to generate the supplemental enhancement information with the timestamp information;
The protocol data-flow for being inserted into the timestamp information is sent to intelligent terminal, so that the intelligent terminal is to receiving The protocol data-flow parsed, play the video data to be transmitted after obtaining the timestamp information.
2. transmission method according to claim 1, which is characterized in that it is described by the video data to be transmitted to it is corresponding when Between stamp information be inserted into the supplemental enhancement information unit of the protocol data-flow, increased with generating the supplement with the timestamp information The step of strong information further include:
Information in the supplemental enhancement information unit is inserted into the setting position of the protocol data-flow.
3. transmission method according to claim 1 or 2, which is characterized in that the association that the timestamp information will be inserted into View data flow is sent to intelligent terminal, so that the intelligent terminal is parsed to the protocol data-flow received, obtains The step of playing the video data to be transmitted after to the timestamp information include:
The protocol data-flow of the insertion timestamp information is subjected to subpackage according to setting rule, obtains multi-group data packet, And the multi-group data packet is successively sent to intelligent terminal, so that the intelligent terminal is receiving the multi-group data packet, The multi-group data packet is merged, after obtaining the protocol data-flow, the protocol data-flow received is solved Analysis, plays the video data to be transmitted after obtaining the timestamp information.
4. transmission method according to claim 1, which is characterized in that the intelligent terminal is using setting agreement to be transmitted Video data is encoded, described by the view to be transmitted after obtaining the protocol data-flow of the video data to be transmitted The correspondent time information of frequency evidence is inserted into the supplemental enhancement information unit of the protocol data-flow, to generate with the time Before the step of stabbing the supplemental enhancement information of information, further includes:
The protocol data-flow is filtered, to remove the letter in the supplemental enhancement information unit in the protocol data-flow Breath;
Customization type is set as to the supplemental enhancement information unit.
5. transmission method according to claim 4, which is characterized in that the setting to the supplemental enhancement information unit Include: for the step of customization type
5 are set by the type identifier of the supplemental enhancement information unit.
6. a kind of transmission method of video, which is characterized in that the transmission method includes:
Intelligent terminal receives the protocol data-flow with timestamp information that the network terminal is sent;Wherein, the protocol data-flow is The network terminal is treated transmitting video data using setting agreement and is encoded, and the agreement of the video data to be transmitted is obtained The correspondent time information of the video data to be transmitted is inserted into the supplemental enhancement information of the protocol data-flow by data flow Unit, what generation obtained after the supplemental enhancement information with the timestamp information;
The protocol data-flow is parsed, the timestamp information is obtained;
The video data to be transmitted is played based on the timestamp information.
7. transmission method according to claim 6, which is characterized in that the band timestamp letter for receiving the network terminal and sending The protocol data-flow of breath includes:
Receive the multi-group data packet that the network terminal is sent, wherein the multi-group data packet is that the network terminal will be described Protocol data-flow with timestamp information obtains after carrying out subpackage according to setting rule;
The multi-group data packet is merged, the protocol data-flow is obtained.
8. a kind of network terminal, the network terminal includes the processor being mutually coupled, timestamp information extraction module and hair Send module;
The processor is used to treat transmitting video data using setting agreement and be encoded, to obtain the video counts to be transmitted According to protocol data-flow;
The timestamp information extraction module is for extracting the corresponding timestamp information of the video data to be transmitted;
The processor is also used to for the timestamp information being inserted into the supplemental enhancement information unit of the protocol data-flow, with Generate the supplemental enhancement information with the timestamp information;
The sending module is used to the protocol data-flow for being inserted into the timestamp information being sent to intelligent terminal.
9. a kind of intelligent terminal, the intelligent terminal includes the receiving module, processor and display being mutually coupled;
The receiving module is used to receive the respective protocol data flow of the video data to be transmitted of insertion timestamp information;
The processor is for parsing the protocol data-flow received, to obtain the timestamp information;
The display is used to play the video data to be transmitted according to the timestamp information.
10. a kind of storage device, which is characterized in that the storage device is stored with program data, and described program data can be by Execute the transmission method to realize the video as described in any one of claim 1-5 or 6-7.
CN201910467674.5A 2019-05-31 2019-05-31 A kind of transmission method of video, the network terminal, intelligent terminal and storage device Pending CN110225416A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910467674.5A CN110225416A (en) 2019-05-31 2019-05-31 A kind of transmission method of video, the network terminal, intelligent terminal and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910467674.5A CN110225416A (en) 2019-05-31 2019-05-31 A kind of transmission method of video, the network terminal, intelligent terminal and storage device

Publications (1)

Publication Number Publication Date
CN110225416A true CN110225416A (en) 2019-09-10

Family

ID=67819136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910467674.5A Pending CN110225416A (en) 2019-05-31 2019-05-31 A kind of transmission method of video, the network terminal, intelligent terminal and storage device

Country Status (1)

Country Link
CN (1) CN110225416A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542842A (en) * 2021-07-14 2021-10-22 国网信息通信产业集团有限公司 Video synchronization processing method and system suitable for edge calculation
CN113542815A (en) * 2021-09-17 2021-10-22 广州易方信息科技股份有限公司 Video live broadcast synchronization method and system
CN113873340A (en) * 2021-09-18 2021-12-31 恒安嘉新(北京)科技股份公司 Data processing method, device, equipment, system and storage medium
CN114173207A (en) * 2021-11-15 2022-03-11 杭州当虹科技股份有限公司 Method and system for transmitting video frames sequentially
CN114584811A (en) * 2022-05-09 2022-06-03 江西师范大学 Method and system for synchronizing streaming media video based on RTP (real-time transport protocol)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108200447A (en) * 2018-01-15 2018-06-22 北京金山云网络技术有限公司 Live data transmission method, device, electronic equipment, server and storage medium
CN108234997A (en) * 2017-12-12 2018-06-29 北京百度网讯科技有限公司 Time-delay measuring method, equipment, system and the computer-readable medium of live video
US20180376180A1 (en) * 2015-12-29 2018-12-27 Thomson Licensing Method and apparatus for metadata insertion pipeline for streaming media

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180376180A1 (en) * 2015-12-29 2018-12-27 Thomson Licensing Method and apparatus for metadata insertion pipeline for streaming media
CN108234997A (en) * 2017-12-12 2018-06-29 北京百度网讯科技有限公司 Time-delay measuring method, equipment, system and the computer-readable medium of live video
CN108200447A (en) * 2018-01-15 2018-06-22 北京金山云网络技术有限公司 Live data transmission method, device, electronic equipment, server and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542842A (en) * 2021-07-14 2021-10-22 国网信息通信产业集团有限公司 Video synchronization processing method and system suitable for edge calculation
CN113542815A (en) * 2021-09-17 2021-10-22 广州易方信息科技股份有限公司 Video live broadcast synchronization method and system
CN113542815B (en) * 2021-09-17 2022-03-08 广州易方信息科技股份有限公司 Video live broadcast synchronization method and system
CN113873340A (en) * 2021-09-18 2021-12-31 恒安嘉新(北京)科技股份公司 Data processing method, device, equipment, system and storage medium
CN113873340B (en) * 2021-09-18 2024-01-16 恒安嘉新(北京)科技股份公司 Data processing method, device, equipment, system and storage 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
CN114584811A (en) * 2022-05-09 2022-06-03 江西师范大学 Method and system for synchronizing streaming media video based on RTP (real-time transport protocol)

Similar Documents

Publication Publication Date Title
CN110225416A (en) A kind of transmission method of video, the network terminal, intelligent terminal and storage device
US10869106B2 (en) Data transmission method and apparatus, and electronic device
CN107637040A (en) Carry out transmission media data using WEBSOCKET sub-protocols
CN108924600A (en) Sending and receiving methods, device and the electronic equipment of live data
CN107846633A (en) A kind of live broadcasting method and system
CN103929681B (en) Method for improving RTP video streaming treatment efficiency in low-speed network
CN110784730B (en) Live video data transmission method, device, equipment and storage medium
DE10354556A1 (en) Device and method for displaying images in a mobile terminal
CN106303682B (en) Method, apparatus, terminal and the server of channel switching
CN102655584A (en) Media data transmitting and playing method and system in tele-presence technology
EP3792731A1 (en) Multimedia information transmission method and apparatus, and terminal
CN109327493A (en) A kind of remote medical monitoring system based on cloud and monitoring method
CN104168438B (en) Point-by-point corresponding video transmission method is realized based on SDI
CN106034258A (en) Router and broadcasting method for multipath broadcast digital television signals
CN110740380A (en) Video processing method and device, storage medium and electronic device
WO2024061295A1 (en) Video data processing method and system
CN110602522B (en) Multi-path real-time live webRTC stream synthesis method
CN112019877A (en) Screen projection method, device and equipment based on VR equipment and storage medium
CN104243920A (en) Image stitching method and device based on basic stream video data packaging
CN107820112A (en) A kind of audio written broadcasting live system
CN108924502A (en) A kind of portable image transmission system and its figure transmission method
CN114189711A (en) Video processing method and device, electronic equipment and storage medium
CN109040818B (en) Audio and video synchronization method, storage medium, electronic equipment and system during live broadcasting
CN108124158A (en) Multimedia terminal and the data processing method of multimedia terminal
US10362342B2 (en) Broadcast signal transmission device, broadcast signal reception device, broadcast signal transmission method, and broadcast signal reception method

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: 20190910

RJ01 Rejection of invention patent application after publication