CN104135670A - Video playing method and device - Google Patents
Video playing method and device Download PDFInfo
- Publication number
- CN104135670A CN104135670A CN201410350485.7A CN201410350485A CN104135670A CN 104135670 A CN104135670 A CN 104135670A CN 201410350485 A CN201410350485 A CN 201410350485A CN 104135670 A CN104135670 A CN 104135670A
- Authority
- CN
- China
- Prior art keywords
- information
- video
- video data
- watermark
- video playback
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Television Systems (AREA)
Abstract
The invention discloses a video playing method and device. The method comprises the following steps: generating watermark information of video data transmitted by a server according to watermark related information of the video data; and during playing of the video data, displaying the watermark information of the video data on a video playing interface. By adopting the technical scheme of the invention, the server is only required to transmit one piece of watermark information to a client, so that the transmission efficiency of the video data is increased; and moreover, the watermark information is generated according to the watermark related information transmitted by the server through the client, and is added to the video playing interface on which the video data is played without being added into each data fragment of the video data, so that the video coding efficiency is increased effectively, and the change complexity of the watermark information of the video data is lowered.
Description
Technical field
The present invention relates to multimedia technology field, relate in particular to a kind of video broadcasting method and device.
Background technology
Along with the develop rapidly of the communication technology, obtain generally application by all kinds client terminal playing video data.
In video display process, in the video playback interface of client, comprise as video playback temporal information the watermark informations such as video playback station symbol.At present, conventionally adopt in to video data encoding process, the mode that watermark information is added in video data ensures can present watermark information in video playback interface.Be specially, be saved to server after watermark information being added in the middle of video data by staff; Obtain when request when server receives the video data that client sends, the video data transmitting that adds watermark information is delivered to client by server; Client is resolved the video data of above-mentioned interpolation watermark information, and will present the watermark information of this video data of playing in video playback interface.
Because video data is made up of multiple data fragmentations, and video data is play taking data fragmentation as unit, therefore, in order to ensure in video display process, in video playback interface, can present the watermark information of the video data of playing always, need in each data fragmentation in video data, add watermark information.As can be seen here, adopt technique scheme, in each data fragmentation of video data, all need to add watermark information, cause video data to take memory space large, efficiency of transmission is low, and waste of human resource in video data encoding process, improve the problem of the cost of video data encoding; And, after the watermark information of video data is determined, if desired change this watermark information, needs staff is carried out to manual operation, increase watermark information change difficulty.
In sum, in video display process, exist video data transmitting efficiency low at present, Video coding efficiency is low, and the high problem of watermark information change complexity.
Summary of the invention
The embodiment of the present invention provides a kind of video broadcasting method and device, exists video data transmitting efficiency low in order to solve prior art, and Video coding efficiency is low, and the high problem of watermark information change complexity.
The concrete technical scheme that the embodiment of the present invention provides is as follows:
A kind of video broadcasting method, comprising:
Send video acquisition request message to server;
Receive respectively video data that described server generates based on described video acquisition request message and the watermark relevant information of described video data;
According to described watermark relevant information, generate the watermark information of described video data;
When described video data is play at video playback interface, present the watermark information of described video data at video playback interface.
Optionally, described watermark relevant information comprises any one or the combination in any in video playback time started and video playback end time, flag, source address information, video name information.
Adopt technique scheme, watermark relevant information is sent to client, thereby has avoided watermark information to be added in each data fragmentation of video data, video data takies the problem that memory space is larger, has improved the efficiency of transmission of video data.
Optionally, in the time that described watermark relevant information comprises video playback time started and video playback end time, according to described video playback time started and video playback end time, obtain the temporal information of described video data; In the time that described watermark relevant information comprises video playback time started and video playback end time and flag, described video playback time started and video playback end time and current time are compared, and according to comparative result and described flag, generate the video broadcasting condition information of described video data; In the time that described watermark relevant information comprises source address information, according to the source address information of described video data, obtain the station symbol information of described video data; In the time that described watermark relevant information comprises video name information, according to described video name information, obtain the video name of described video data.
Optionally, when the described video playback time started is early than described current time, and described video playback end time while being later than described current time, the video broadcasting condition information of described video data is live state; When the described video playback end time is early than described current time, and described flag is while being the first mark, and the video broadcasting condition information of described video data is playback state; When the described video playback end time is early than described current time, and described flag is while being the second mark, and the video broadcasting condition information of described video data is recorded broadcast state.
Adopt technique scheme, according to video playback time started, video playback end time and current time, can Obtaining Accurate video broadcasting condition information.
Optionally, according to the address of carrying in the source address information of described video data, access server corresponding to described address, and obtain the station symbol information of described video data from described server; Or, resolve the source address information of described video data, obtain the station symbol information of carrying in described source address information; Wherein, described station symbol information comprises at least one station symbol.
Optionally, obtain the resolution information of described video data, and according to described resolution information, the display size of described watermark information is set; And obtain the positional information of described watermark information; On video playback interface, create a hyaline layer, according to described positional information, the display position of described watermark information on described hyaline layer is set, and show described watermark information according to described display size.
Adopt technique scheme, according to the resolution information at video playback interface, the size of watermark information is set, thereby the institute causing while having avoided watermark information size fixing presents the problem that watermark information is out of shape, and has improved watermark information and has presented effect.
Optionally, in the time that described station symbol information comprises at least two station symbols, according to preset order, the display position of the described station symbol information of setting in described video playback interface, at least two station symbols described in presenting successively; Wherein, the duration that described in each, station symbol presents in described video playback interface is default duration.
Adopt technique scheme, arrange according to user, display section or whole watermark information in video playback interface, thus improve the flexibility that watermark information shows.
A kind of video play device, comprising:
Transmitting element, for sending video acquisition request message to server;
Receiving element, for receiving respectively video data that described server generates based on described video acquisition request message and the watermark relevant information of described video data;
Generation unit, for according to described watermark relevant information, generates the watermark information of described video data;
Broadcast unit, for when described video data is play at video playback interface, presents the watermark information of described video data at video playback interface.
Optionally, described receiving element is used for: any one or the combination in any of receiver, video play start time and video playback end time, flag, source address information, video name information.
Adopt technique scheme, watermark relevant information is sent to client, thereby has avoided watermark information to be added in each data fragmentation of video data, video data takies the problem that memory space is larger, has improved the efficiency of transmission of video data.
Optionally, described broadcast unit, specifically for: obtain the resolution information of described video data, and according to described resolution information, the display size of described watermark information is set and obtains the positional information of described watermark information; On video playback interface, create a hyaline layer, according to described positional information, the display position of described watermark information on described hyaline layer is set, and show described watermark information according to described display size.
Adopt technique scheme, according to the resolution information at video playback interface, the size of watermark information is set, thereby the institute causing while having avoided watermark information size fixing presents the problem that watermark information is out of shape, and has improved watermark information and has presented effect.
Optionally, in the time that described station symbol information comprises at least two station symbols, described broadcast unit, specifically for: according to preset order, the display position of the described station symbol information of setting in described video playback interface, at least two station symbols described in presenting successively; Wherein, the duration that described in each, station symbol presents in described video playback interface is default duration.
Adopt technique scheme, arrange according to user, display section or whole watermark information in video playback interface, thus improve the flexibility that watermark information shows.
In the embodiment of the present invention, reception server sends respectively video data and watermark relevant information, according to the watermark relevant information of video data, generate the watermark information of this video data; Playing in the process of above-mentioned video data, in video playback interface, present the watermark information of above-mentioned video data.Adopt technical solution of the present invention, server only needs a watermark information to be sent to client, thereby has improved the efficiency of transmission of video data; And, the watermark relevant information generating watermark information that client sends according to server, be added into the just video playback interface at playing video data, need not in each data fragmentation of video data, add watermark information, thereby effectively improve the efficiency of Video coding, reduced the complexity of the watermark information change to video data.
Brief description of the drawings
Fig. 1 is communication system architecture schematic diagram in the embodiment of the present invention;
Fig. 2 is video playback flow chart one in the embodiment of the present invention;
Fig. 3 is video playback interfacial effect figure in the embodiment of the present invention;
Fig. 4 is video playback flowchart 2 in the embodiment of the present invention;
Fig. 5 is video play device structural representation in the embodiment of the present invention.
Embodiment
Exist video data transmitting efficiency low in order to solve prior art, Video coding efficiency is low, and the high problem of watermark information change complexity.In the embodiment of the present invention, reception server sends respectively video data and watermark relevant information, according to the watermark relevant information of video data, generate the watermark information of this video data; Playing in the process of above-mentioned video data, in video playback interface, present the watermark information of above-mentioned video data.Adopt technical solution of the present invention, server only needs a watermark information to be sent to client, thereby has improved the efficiency of transmission of video data; And, the watermark relevant information generating watermark information that client sends according to server, be added into the just video playback interface at playing video data, need not in each data fragmentation of video data, add watermark information, thereby effectively improve the efficiency of Video coding, reduced the complexity of the watermark information change to video data.
Consult shown in Fig. 1, for communication system architecture schematic diagram in the embodiment of the present invention, wherein, in this communication system, comprise server, and multiple clients, to comprise a server and a client in communication system as example, by reference to the accompanying drawings the preferred embodiment of the present invention is elaborated below.
Consult shown in Fig. 2, in the embodiment of the present invention, the detailed process that carries out video playback is:
Step 200: send video acquisition request message to server.
In the embodiment of the present invention, after client terminal start-up, send video acquisition request message to server; Or, after client terminal start-up, the video labeling to be played of selecting according to user, generating video obtains request message and is sent to server.Wherein, above-mentioned client is computer, mobile terminal, or TV.
Optionally, in the time that client is mobile terminal or computer, the client-side program of the server of the webpage that this client-access server provides or the local storage of operation, server detects after the web page access or client-side program operation of client, is sent to client by video play lists; Client presents this video play lists in local interface; The video labeling to be played that client is selected according to user, generating video obtains request message; In the time that client is TV, after this client terminal start-up, can send video acquisition request message to server, with acquisition request video play lists and video data.
Optionally, the video acquisition request message that client sends can be for meeting HTTP (Hyper Text Transport Protocol; Hypertext Transfer Protocol) message of type.
Step 210: the video data that reception server generates based on above-mentioned video acquisition request message respectively and the watermark relevant information of this video data.
In the embodiment of the present invention, in above-mentioned video acquisition request message, also carry the device type of the client of acquisition request video.Server receives after the video acquisition request message of above-mentioned client transmission, according to the device type of carrying in this video acquisition request message, in the time judging this client as TV, according to this video acquisition request message, the video data of current time in the video play lists in generation Preset Time section and this video play lists; Wherein, Preset Time section is set in advance as the case may be by user, as is set to 24 hours.
Optionally, above-mentioned watermark relevant information comprises any one or the combination in any in source address information and the video name information of video playback time started and video playback end time, flag, video data.
Adopt technique scheme, watermark relevant information is sent to client, thereby has avoided watermark information to be added in each data fragmentation of video data, video data takies the problem that memory space is larger, has improved the efficiency of transmission of video data.
Step 220: according to above-mentioned watermark relevant information, generate the watermark information of above-mentioned video data.
In the embodiment of the present invention, respectively according to the video playback time started comprising in above-mentioned watermark relevant information and video playback end time, flag, the source address information of video data, and video name information, generate corresponding watermark information.Concrete, according to the content difference comprising in watermark relevant information, the watermark information difference generating, therefore,, corresponding to watermark relevant information, watermark information can only comprise temporal information, or video broadcasting condition, or station symbol information, or video name, also can comprise above-mentioned every combination in any.
Optionally, in the time that watermark relevant information comprises video playback time started and video playback end time, according to the video playback time started comprising in above-mentioned watermark relevant information and video playback end time, obtain the temporal information of video data.Concrete, can be directly temporal information using video playback time started and video playback end time as video data, for example, be 14:00 when the video playback time started of video data, the video playback end time, while being 16:00, the temporal information of this video data was 14:00-16:00; Can also calculate the time difference between video playback time started and video playback end time, and using this time difference as temporal information, for example, be 14:00 when the video playback time started of video data, the video playback end time, while being 16:00, the temporal information of this video data was 2 hours; Can also be by above-mentioned video playback time started and video playback end time, and the time difference is all as the temporal information of video data.
Optionally, when watermark relevant information comprises video playback time started and video playback end time, when flag, according to the video playback time started comprising in above-mentioned watermark relevant information and video playback end time, and flag, the video broadcasting condition of generating video data, specifically comprises: video playback time started and video playback end time and current time are compared; When this video playback time started is early than current time, and this video playback end time while being later than current time, represent that this video data is the video data in playing, now, be live state by the video broadcasting condition information of video data; When the video playback end time is during early than current time, represent that this this video data is non-live state, now, according to the video broadcasting condition of flag identification video data, in the time that flag is the first mark, the video broadcasting condition information that represents this video data is playback state; When the video playback end time is early than current time, and flag is while being the second mark, and the video broadcasting condition information that represents above-mentioned video data is recorded broadcast state.Wherein, above-mentioned flag is for setting in advance, as is set to binary code, first is designated 0, the second and is designated 1; Or, when the video playback end time is during early than current time, can only in playback video data, add flag, using the video broadcasting condition of video data that does not comprise this flag in watermark relevant information as recorded broadcast state, also can only in recorded broadcast video data, add flag, using the video broadcasting condition of video data that does not comprise this flag in watermark relevant information as playback state.Wherein, above-mentioned flag can be carried by isRecord field, and client judges by resolving this isRecord field the information that flag is represented.
Adopt technique scheme, according to video playback time started, video playback end time and current time, can Obtaining Accurate video broadcasting condition information.
Optionally, in the time that watermark relevant information comprises source address information, according to the source address information of the video data comprising in above-mentioned watermark relevant information, the station symbol information of generating video data, specifically comprise: first kind of way, according to the address of carrying in the source address information of above-mentioned video data, access server corresponding to this address, and obtain the station symbol information of above-mentioned video data from server, wherein, client can directly be obtained the station symbol information of video data from server, also can obtain from server the station symbol picture of video data, resolve this station symbol picture, according to analysis result, obtain the station symbol information of video data, the second way, resolves the source address information of above-mentioned video data, obtains the station symbol information of carrying in this source address information.In said process, station symbol information comprises at least one station symbol, obtain station symbol information when adopting first kind of way, and when this station symbol information comprises at least two station symbols, client is obtained multiple station symbol pictures of video data from server, respectively each station symbol picture is resolved, according to analysis result, obtain respectively the station symbol information of each station symbol picture.Compared to the second way, although while adopting first kind of way to obtain the station symbol information of video data, Signalling exchange between client and server increases, but by station symbol picture and video data and watermark relevant information separate transmission, can shorten data transmission period, reduce the waiting time of video playback.
Optionally, in the time that watermark relevant information comprises video name information, the video name information comprising in above-mentioned watermark relevant information is resolved, obtain the video name of the video data carrying in this video name information.
Further, according to user's needs, other information can also be increased in watermark relevant information, as video type information; Client, according to the watermark relevant information increasing, generates corresponding watermark information, presents.
Step 230: when above-mentioned video data is play at video playback interface, present the watermark information of above-mentioned video data at video playback interface.
In the embodiment of the present invention, when obtaining after the watermark information of video data, be watermark information corresponding display size and positional information are set, and in video display process, at hyaline layer of video playback interface creating, according to this positional information, the display position of watermark information on above-mentioned hyaline layer is set, and shows described watermark information according to described display size.
Optionally, obtain the resolution information of the video data of client, and according to this resolution information, the display size of the temporal information of above-mentioned video data is set respectively, the display size of the video broadcasting condition of video data, the display size of video name, and the display size of the station symbol information of video data; And obtain the positional information of the temporal information of video data, the positional information of the video broadcasting condition of video data, the positional information of video name, and the positional information of the station symbol information of video data; According to the positional information of above-mentioned temporal information and display size, present the temporal information of video data at the video playback interface of client terminal local; According to the positional information of video broadcasting condition and display size, present the video broadcasting condition of video data at the video playback interface of client terminal local; According to the positional information of station symbol information and display size, present the station symbol information of video data at the video playback interface of client terminal local.
Optionally, the positional information of above-mentioned temporal information and the positional information of video name can be identical, now, according to preset order, present successively above-mentioned temporal information and video name in video playback interface.Further, in the time only comprising video playback time started and video playback end time in above-mentioned watermark relevant information, only presentative time information in video playback interface; In the time only comprising video name information in above-mentioned watermark relevant information, only in video playback interface, present video name.Adopt technique scheme, arrange according to user, display section or whole watermark information in video playback interface, thus improve the flexibility that watermark information shows.
Optionally, according to the resolution information of the video data of client terminal local, the display size of above-mentioned watermark information is set respectively, specifically comprise: the resolution information that obtains the video data of client terminal local, according to this resolution information, according to preset ratio, the display size of watermark information is set.For example, in the time that the resolution information of video data is 1920*820, preset ratio is set to 1/1000, and the display size of watermark information is set to 1920* (1/1000) centimetre and 820* (1/1000) centimetre.Adopt technique scheme, according to the resolution information of video data, the display size of watermark information is set, thereby the institute causing while having avoided watermark information display size fixing presents the problem that watermark information is out of shape, and has improved watermark information and has presented effect.
Optionally, consult shown in Fig. 3, in the time of customer end adopted Android system, client realizes the broadcasting of video data by SurfaceView control in this locality, and realizes presenting of watermark information by RelativeLayout control; Wherein, the video data of SurfaceView control is positioned at bottom level, and the watermark information level of RelativeLayout control is positioned on the video data level of SurfaceView control, and the watermark information level of RelativeLayout control is transparent background; Wherein, adopt Android View control to realize the transparent background effect of watermark information; And realize respectively presenting of picture and word by ImageView control and TextView control.Adopt technique scheme, by two kinds of different controls, video data and watermark information are placed in different levels and are processed, between two levels, be independent of each other, thereby ensure, in smooth playing video data, to present the watermark information of this video data; And, in the time that needs are changed watermark information, directly modify in watermark information place level, avoid the recompile to video data, improve watermark information change efficiency.
Optionally, in the time that above-mentioned station symbol information comprises at least two station symbols, according to preset order, in described video playback interface, present successively above-mentioned at least two station symbols; Wherein, the duration that each station symbol presents in above-mentioned video playback interface is default duration.For example, when existing three station symbols to be respectively station symbol A, station symbol B, when station symbol C, in the position of station symbol information, in the first default duration, present station symbol A, in the second default duration, present station symbol B, in the 3rd default duration, present station symbol C, according to the said sequence demonstration that circulates successively, until the video data of above-mentioned station symbol information finishes.In addition, in the time of customer end adopted Android system, can adopt Android Handler control, the show/hide function of Android ImageView control, reaches the object that shows successively all station symbols.
Further, the watermark relevant information of obtaining from server is watermark information, and client, in video display process, is directly presented on video playback interface by above-mentioned watermark relevant information.
Further, the watermark information of the video data presenting when video playback interface is more while not meeting consumers' demand, user can arrange voluntarily in terminal, specifically comprises: receive the instruction that arranges of user's transmission, some or all of watermark information is set to hidden state.For example, in the time that user's setting does not show station symbol information, in video playback interface, will not present station symbol information.Optionally, in the time of customer end adopted Android system, can adopt the show/hide function of Android ImageView control, show or hiding all or part watermark information.
Based on technique scheme, consult shown in Fig. 4, below in conjunction with concrete application scenarios, take client as example as TV, describe video display process in detail:
Step 400: after client terminal start-up, send video acquisition request message to server.
Step 401: the client video data that reception server sends respectively and the watermark relevant information of this video data.
Step 402: client compares comprising video playback time started t1 and end time t2 and current time t in watermark relevant information.
Step 403: in the time of t1 < t < t2, the video broadcasting condition of judging video data is live state.
Step 404: in the time of t > t2, judge whether to exist special identifier symbol information, if exist, perform step 405, otherwise, execution step 406.
Step 405: the video broadcasting condition of judging video data is recorded broadcast state.
Step 406: the video broadcasting condition of judging video data is playback state.
Step 407: client, according to video playback time started and video playback end time, is obtained the temporal information of video data.
Step 408: client, according to the video name information comprising in watermark relevant information, is obtained the video name of video data.
Step 409: client, according to the source address information comprising in watermark relevant information, is obtained the station symbol information of video data.
Step 410: client judges that whether the station symbol quantity comprising in station symbol information is greater than one, if so, performs step 411; Otherwise, directly perform step 412.
Step 411: client setting table target presents order and each station symbol presents duration.
In the embodiment of the present invention, between above-mentioned steps 402, step 407, step 408 and step 409, in no particular order sequentially, client can be carried out above-mentioned each step simultaneously.
Step 412: client is respectively above-mentioned temporal information, video name, station symbol information, video broadcasting condition allocation position information and display size.
Step 413: client, in playing video data, according to the positional information of every watermark information and display size, presents above-mentioned temporal information, video name, station symbol information, video broadcasting condition at video playback interface.
Based on technique scheme, consult shown in Fig. 5, the invention provides a kind of video play device, comprise transmitting element 50, receiving element 51, generation unit 52, and broadcast unit 53, wherein:
Transmitting element 50, for sending video acquisition request message to server;
Receiving element 51, for receiving respectively video data that described server generates based on described video acquisition request message and the watermark relevant information of described video data;
Generation unit 52, for according to described watermark relevant information, generates the watermark information of described video data;
Broadcast unit 53, for when described video data is play at video playback interface, presents the watermark information of described video data at video playback interface;
Optionally, receiving element 51 is for any one or the combination in any of receiver, video play start time and video playback end time, flag, source address information, video name information.
Optionally, generation unit 52, specifically for: in the time that described watermark relevant information comprises video playback time started and video playback end time, according to described video playback time started and video playback end time, obtain the temporal information of described video data; In the time that described watermark relevant information comprises video playback time started and video playback end time and flag, described video playback time started and video playback end time and current time are compared, and according to comparative result and described flag, generate the video broadcasting condition information of described video data; In the time that described watermark relevant information comprises source address information, according to the source address information of described video data, obtain the station symbol information of described video data; In the time that described watermark relevant information comprises video name information, according to described video name information, obtain the video name of described video data.
Optionally, generation unit 52, specifically for: when the described video playback time started is early than described current time, and described video playback end time while being later than described current time, the video broadcasting condition information of described video data is live state; When the described video playback end time is early than described current time, and described flag is while being the first mark, and the video broadcasting condition information of described video data is playback state; When the described video playback end time is early than described current time, and described flag is while being the second mark, and the video broadcasting condition information of described video data is recorded broadcast state.
Optionally, generation unit 52, specifically for: according to the address of carrying in the source address information of described video data, access server corresponding to described address, and obtain the station symbol information of described video data from described server; Or, resolve the source address information of described video data, obtain the station symbol information of carrying in described source address information; Wherein, described station symbol information comprises at least one station symbol.
Optionally, broadcast unit 53, specifically for: obtain the resolution information of described video data, and according to described resolution information, the display size of described watermark information is set and obtains the positional information of described watermark information; On video playback interface, create a hyaline layer, according to described positional information, the display position of described watermark information on described hyaline layer is set, and show described watermark information according to described display size.
Optionally, in the time that described station symbol information comprises at least two station symbols, described broadcast unit 53, specifically for: according to preset order, the display position of the described station symbol information of setting in described video playback interface, at least two station symbols described in presenting successively; Wherein, the duration that described in each, station symbol presents in described video playback interface is default duration.
In sum, in the embodiment of the present invention, send video acquisition request message to server; The video data that reception server generates based on above-mentioned video acquisition request message respectively and the watermark relevant information of this video data; According to above-mentioned watermark relevant information, generate the watermark information of above-mentioned video data; When above-mentioned video data is play at video playback interface, present the watermark information of above-mentioned video data at video playback interface.Adopt technical solution of the present invention, server only needs a watermark information to be sent to client, thereby has improved the efficiency of transmission of video data; And, the watermark relevant information generating watermark information that client sends according to server, be added into the just video playback interface at playing video data, need not in each data fragmentation of video data, add watermark information, thereby effectively improve the efficiency of Video coding, reduced the complexity of the watermark information change to video data.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction that makes to carry out by the processor of computer or other programmable data processing device produces the device for realizing the function of specifying at flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame on computer or other programmable devices.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and amendment to these embodiment.So claims are intended to be interpreted as comprising preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the embodiment of the present invention the embodiment of the present invention.Like this, if these amendments of the embodiment of the present invention and within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.
Claims (10)
1. a video broadcasting method, is characterized in that, comprising:
Send video acquisition request message to server;
Receive respectively video data that described server generates based on described video acquisition request message and the watermark relevant information of described video data;
According to described watermark relevant information, generate the watermark information of described video data;
When described video data is play at video playback interface, present the watermark information of described video data at video playback interface.
2. the method for claim 1, is characterized in that, described watermark relevant information comprises: any one or combination in any in video playback time started and video playback end time, flag, source address information, video name information.
3. method as claimed in claim 2, is characterized in that, according to described watermark relevant information, generates the watermark information of described video data, specifically comprises:
In the time that described watermark relevant information comprises video playback time started and video playback end time, according to described video playback time started and video playback end time, obtain the temporal information of described video data;
In the time that described watermark relevant information comprises video playback time started and video playback end time and flag, described video playback time started and video playback end time and current time are compared, and according to comparative result and described flag, generate the video broadcasting condition information of described video data;
In the time that described watermark relevant information comprises source address information, according to the source address information of described video data, obtain the station symbol information of described video data;
In the time that described watermark relevant information comprises video name information, according to described video name information, obtain the video name of described video data.
4. method as claimed in claim 3, is characterized in that, according to comparative result and described flag, generates the video broadcasting condition information of described video data, specifically comprises:
When the described video playback time started is early than described current time, and described video playback end time while being later than described current time, the video broadcasting condition information of described video data is live state;
When the described video playback end time is early than described current time, and described flag is while being the first mark, and the video broadcasting condition information of described video data is playback state;
When the described video playback end time is early than described current time, and described flag is while being the second mark, and the video broadcasting condition information of described video data is recorded broadcast state.
5. method as claimed in claim 3, is characterized in that, according to the source address information of described video data, obtains the station symbol information of described video data, specifically comprises:
According to the address of carrying in the source address information of described video data, access server corresponding to described address, and obtain the station symbol information of described video data from described server; Or,
Resolve the source address information of described video data, obtain the station symbol information of carrying in described source address information;
Wherein, described station symbol information comprises at least one station symbol.
6. method as claimed in claim 5, is characterized in that, in the time that described station symbol information comprises at least two station symbols, presents the station symbol information of described video data at described video playback interface, specifically comprises:
According to preset order, the display position of the described station symbol information of setting in described video playback interface, at least two station symbols described in presenting successively; Wherein, the duration that described in each, station symbol presents in described video playback interface is default duration.
7. the method as described in claim 1-6 any one, is characterized in that, when described video data is play at video playback interface, presents the watermark information of described video data at video playback interface, comprising:
Obtain the resolution information of described video data, and according to described resolution information, the display size of watermark information is set; And
Obtain the positional information of described watermark information;
On video playback interface, create a hyaline layer, according to described positional information, the display position of described watermark information on described hyaline layer is set, and show described watermark information according to described display size.
8. a video play device, is characterized in that, comprising:
Transmitting element, for sending video acquisition request message to server;
Receiving element, for receiving respectively video data that described server generates based on described video acquisition request message and the watermark relevant information of described video data;
Generation unit, for according to described watermark relevant information, generates the watermark information of described video data;
Broadcast unit, for when described video data is play at video playback interface, presents the watermark information of described video data at video playback interface.
9. device as claimed in claim 8, is characterized in that, described receiving element is used for: receiver, video play start time and video playback end time, flag, source address information, any one in video name information or combination in any.
10. install as claimed in claim 8 or 9, it is characterized in that, described broadcast unit is used for:
Obtain the resolution information of described video data, and according to described resolution information, the display size of watermark information is set; And obtain the positional information of described watermark information; On video playback interface, create a hyaline layer, according to described positional information, the display position of described watermark information on described hyaline layer is set, and show described watermark information according to described display size.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410350485.7A CN104135670B (en) | 2014-07-22 | 2014-07-22 | A kind of video broadcasting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410350485.7A CN104135670B (en) | 2014-07-22 | 2014-07-22 | A kind of video broadcasting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104135670A true CN104135670A (en) | 2014-11-05 |
CN104135670B CN104135670B (en) | 2018-01-19 |
Family
ID=51808180
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410350485.7A Expired - Fee Related CN104135670B (en) | 2014-07-22 | 2014-07-22 | A kind of video broadcasting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104135670B (en) |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104811814A (en) * | 2015-04-28 | 2015-07-29 | 腾讯科技(北京)有限公司 | Video playing-based information processing method and system, client and server |
CN104918135A (en) * | 2015-06-01 | 2015-09-16 | 无锡天脉聚源传媒科技有限公司 | Video station caption generating method and device |
CN105451035A (en) * | 2015-11-13 | 2016-03-30 | 北京光慧鸿途科技股份有限公司 | Video display method and video display system for preventing video copyright protection icons from being deleted or modified |
CN105812958A (en) * | 2016-04-11 | 2016-07-27 | 天脉聚源(北京)传媒科技有限公司 | Video playing method and device |
CN105848009A (en) * | 2016-03-31 | 2016-08-10 | 乐视控股(北京)有限公司 | Video living broadcast method and device |
CN105872854A (en) * | 2015-12-14 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Watermark showing method and device |
CN106060588A (en) * | 2016-06-19 | 2016-10-26 | 杭州阔知网络科技有限公司 | Video fingerprint generation method and system |
CN106060654A (en) * | 2016-06-29 | 2016-10-26 | 乐视控股(北京)有限公司 | Home cinema live broadcast security code increasing methods and apparatuses |
WO2017101396A1 (en) * | 2015-12-15 | 2017-06-22 | 乐视控股(北京)有限公司 | Video playing control method and device |
CN109275035A (en) * | 2016-03-01 | 2019-01-25 | 夏普株式会社 | The method of the opaque user data of signaling |
CN109413508A (en) * | 2018-10-26 | 2019-03-01 | 广州虎牙信息科技有限公司 | Method, apparatus, equipment, plug-flow method and the live broadcast system of image blend |
CN109743641A (en) * | 2019-01-23 | 2019-05-10 | 武汉烽火众智智慧之星科技有限公司 | The method and system of monitor video superposition watermark |
CN110198492A (en) * | 2019-04-28 | 2019-09-03 | 腾讯科技(深圳)有限公司 | A kind of watermark adding method of video, device, equipment and storage medium |
CN111698574A (en) * | 2020-05-26 | 2020-09-22 | 北京字节跳动网络技术有限公司 | Video watermark processing method and device, electronic equipment and storage medium |
CN112040168A (en) * | 2020-09-04 | 2020-12-04 | 苏州科达科技股份有限公司 | Station caption processing method, electronic device and storage medium |
CN112637681A (en) * | 2020-12-22 | 2021-04-09 | 新华三大数据技术有限公司 | Video redirection method and device |
CN113596392A (en) * | 2021-06-30 | 2021-11-02 | 海南视联通信技术有限公司 | Watermark processing method, device, terminal equipment and storage medium |
CN113672837A (en) * | 2021-08-25 | 2021-11-19 | 北京三快在线科技有限公司 | Webpage watermark adding method and device |
CN114079829A (en) * | 2020-08-21 | 2022-02-22 | 海信视像科技股份有限公司 | Display device and generation method of video collection file watermark |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1390050A (en) * | 2001-06-06 | 2003-01-08 | 汤姆森许可公司 | Video signal processing system with auxiliary information processing ability |
CN101299176A (en) * | 2008-06-27 | 2008-11-05 | 广东威创视讯科技股份有限公司 | Method and system for displaying additional information in main viewfinder |
CN101431635A (en) * | 2008-12-09 | 2009-05-13 | 四川长虹电器股份有限公司 | Display method for channel auxiliary information of digital television |
CN103686407A (en) * | 2013-12-04 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | Method and system for alternate broadcast watermark display |
-
2014
- 2014-07-22 CN CN201410350485.7A patent/CN104135670B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1390050A (en) * | 2001-06-06 | 2003-01-08 | 汤姆森许可公司 | Video signal processing system with auxiliary information processing ability |
CN101299176A (en) * | 2008-06-27 | 2008-11-05 | 广东威创视讯科技股份有限公司 | Method and system for displaying additional information in main viewfinder |
CN101431635A (en) * | 2008-12-09 | 2009-05-13 | 四川长虹电器股份有限公司 | Display method for channel auxiliary information of digital television |
CN103686407A (en) * | 2013-12-04 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | Method and system for alternate broadcast watermark display |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10271104B2 (en) | 2015-04-28 | 2019-04-23 | Tencent Technology (Shenzhen) Company Limited | Video play-based information processing method and system, client terminal and server |
CN104811814A (en) * | 2015-04-28 | 2015-07-29 | 腾讯科技(北京)有限公司 | Video playing-based information processing method and system, client and server |
CN104811814B (en) * | 2015-04-28 | 2019-01-29 | 腾讯科技(北京)有限公司 | Information processing method and system, client and server based on video playing |
CN104918135A (en) * | 2015-06-01 | 2015-09-16 | 无锡天脉聚源传媒科技有限公司 | Video station caption generating method and device |
CN105451035A (en) * | 2015-11-13 | 2016-03-30 | 北京光慧鸿途科技股份有限公司 | Video display method and video display system for preventing video copyright protection icons from being deleted or modified |
CN105872854A (en) * | 2015-12-14 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Watermark showing method and device |
WO2017101315A1 (en) * | 2015-12-14 | 2017-06-22 | 乐视控股(北京)有限公司 | Watermark display method and device |
WO2017101396A1 (en) * | 2015-12-15 | 2017-06-22 | 乐视控股(北京)有限公司 | Video playing control method and device |
CN109275035A (en) * | 2016-03-01 | 2019-01-25 | 夏普株式会社 | The method of the opaque user data of signaling |
CN105848009A (en) * | 2016-03-31 | 2016-08-10 | 乐视控股(北京)有限公司 | Video living broadcast method and device |
CN105812958A (en) * | 2016-04-11 | 2016-07-27 | 天脉聚源(北京)传媒科技有限公司 | Video playing method and device |
CN106060588A (en) * | 2016-06-19 | 2016-10-26 | 杭州阔知网络科技有限公司 | Video fingerprint generation method and system |
CN106060654A (en) * | 2016-06-29 | 2016-10-26 | 乐视控股(北京)有限公司 | Home cinema live broadcast security code increasing methods and apparatuses |
CN109413508A (en) * | 2018-10-26 | 2019-03-01 | 广州虎牙信息科技有限公司 | Method, apparatus, equipment, plug-flow method and the live broadcast system of image blend |
CN109743641A (en) * | 2019-01-23 | 2019-05-10 | 武汉烽火众智智慧之星科技有限公司 | The method and system of monitor video superposition watermark |
CN110198492A (en) * | 2019-04-28 | 2019-09-03 | 腾讯科技(深圳)有限公司 | A kind of watermark adding method of video, device, equipment and storage medium |
CN111698574A (en) * | 2020-05-26 | 2020-09-22 | 北京字节跳动网络技术有限公司 | Video watermark processing method and device, electronic equipment and storage medium |
WO2021238931A1 (en) * | 2020-05-26 | 2021-12-02 | 北京字节跳动网络技术有限公司 | Video watermark processing method and apparatus, information transmission method, electronic device and storage medium |
CN114079829A (en) * | 2020-08-21 | 2022-02-22 | 海信视像科技股份有限公司 | Display device and generation method of video collection file watermark |
CN112040168A (en) * | 2020-09-04 | 2020-12-04 | 苏州科达科技股份有限公司 | Station caption processing method, electronic device and storage medium |
CN112637681A (en) * | 2020-12-22 | 2021-04-09 | 新华三大数据技术有限公司 | Video redirection method and device |
CN112637681B (en) * | 2020-12-22 | 2022-02-22 | 新华三大数据技术有限公司 | Video redirection method and device |
CN113596392A (en) * | 2021-06-30 | 2021-11-02 | 海南视联通信技术有限公司 | Watermark processing method, device, terminal equipment and storage medium |
CN113672837A (en) * | 2021-08-25 | 2021-11-19 | 北京三快在线科技有限公司 | Webpage watermark adding method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104135670B (en) | 2018-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104135670A (en) | Video playing method and device | |
EP3120569B1 (en) | Manifest re-assembler for a streaming video channel | |
JP6093482B2 (en) | Method and apparatus for displaying search results on portable terminal | |
CN107071502B (en) | Video playing method and device | |
CN102055717A (en) | Quick playing method, terminal and server | |
EP3177098A1 (en) | Wifi display connection method and mobile device | |
CN104137520A (en) | Message pushing method and device | |
CN105763960A (en) | Method and apparatus for network video playing | |
CN104135693A (en) | A video playing method, smart TV and server | |
CN104508689A (en) | A two-dimension code processing method and a terminal | |
CN103647756A (en) | Advertisement broadcasting method, server, client and system | |
CN112333474A (en) | Screen projection method, system, equipment and storage medium | |
CN104811745A (en) | Video content displaying method and device | |
CN106998490A (en) | A kind of multi-medium data synchronous method and device | |
CN104333813A (en) | Video playing method, device and system | |
CN105491405A (en) | Method and device for interactive television program recommendation of television interactive system | |
CN105530536A (en) | Method and device for providing media related information | |
CN106331089A (en) | Video play control method and system | |
CN105142030A (en) | System and method for realizing social function based on television | |
EP3151574A1 (en) | System and method for maintaining connection channel in multi-device interworking service | |
JP2016522916A (en) | HTML page presentation apparatus and method | |
CN103647755A (en) | Advertisement broadcasting method, server, client and system | |
US8904378B2 (en) | Method and apparatus for performing service related to a predetermined device to another device based on widget migration | |
CN103905201A (en) | Interaction method and device for master application and multiple slave applications | |
CN104735482A (en) | Video pushing implementation method, system and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180119 Termination date: 20180722 |
|
CF01 | Termination of patent right due to non-payment of annual fee |