CN109005423A - A kind of video broadcasting method and device - Google Patents

A kind of video broadcasting method and device Download PDF

Info

Publication number
CN109005423A
CN109005423A CN201810911697.6A CN201810911697A CN109005423A CN 109005423 A CN109005423 A CN 109005423A CN 201810911697 A CN201810911697 A CN 201810911697A CN 109005423 A CN109005423 A CN 109005423A
Authority
CN
China
Prior art keywords
video
special
frame
information
played
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
CN201810911697.6A
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810911697.6A priority Critical patent/CN109005423A/en
Publication of CN109005423A publication Critical patent/CN109005423A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a kind of video broadcasting method and devices.The video broadcasting method includes: that the special frame information of the video to be played is obtained from server when client current play mode is low age mode;Wherein, the special frame information is the frame information that the unsuitable low age that server is determined and saved from video in advance watches the video frame of crowd's viewing;When current video frame to be played is special frames, skips current video frame to be played and do not play.As it can be seen that using the embodiment of the present invention, under low age play mode, may be implemented the video clip that selective shielded segment is not suitable for low age crowd viewing, at the same can also normal play video rest part, the information that can be maximumlly shown using video content.

Description

A kind of video broadcasting method and device
Technical field
The present invention relates to field of video broadcasting technology, more particularly to a kind of video broadcasting method and device.
Background technique
With the development of internet technology, people obtain various video resources in which can be convenient, to obtain all kinds of abundant Knowledge.But for the network user of different age group, acceptable video content is different.Such as: it is instantly popular Police-and-bandit film, suspense piece and the horror film based on violence beauty, the segment that such video has will not cause spectators adult not It is suitable, but either have bad influence to the psychology of low age crowd or behavior, therefore these video clips are not suitable for low age Crowd's viewing.Low age crowd referred herein refers to the age in 12 one full year of life viewing crowd below.
Currently, common processing method has the following two kinds for the video of such unsuitable low age crowd viewing:
One, it prohibits broadcasting entire video.In fact, being that partial content is not suitable for low age crowd viewing in majority of network video. It prohibits broadcasting entire video, protects low age crowd, but limit adult user's viewing.
Two, directly whole section of partial video may had a negative impact to the physical and mental health of low age crowd in video is deleted It removes.However, video content is deleted on whole section of ground, it may cause that video plot is discontinuous, and user experience is bad.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of video broadcasting method and device, is not suitable for low age to realize to shield The video clip of crowd's viewing.
Specific technical solution is as follows:
In a first aspect, providing a kind of video broadcasting method, the method is applied to client, this method comprises:
Judge whether current play mode is low age mode;
If so, obtaining the corresponding special frame information of video to be played from server side;Wherein, the special frame information is Be not suitable for the frame information of the video frame of low age crowd viewing;
Determine the current frame image of the video to be played;
According to acquired special frame information, judge that the current frame image is watched if appropriate for low age crowd;
If being suitble to low age crowd viewing, the current frame image is played, the current frame image is otherwise skipped.Further , it is described that the step of whether current play mode is low age mode judged, may include:
Read the configuration information comprising current play mode;
Judge whether the current play mode in the configuration information is low age mode.
Further, described the step of obtaining video to be played corresponding special frame information, may include:
The corresponding special frame information of video to be played is obtained from server;Or,
The corresponding special frame information of video to be played is obtained from local cache, wherein the video to be played is corresponding Special frame information is to download in advance from server.
Further, the special frames information includes: the timestamp of each special frames;
The special frame information according to acquired in judges that the current frame image is watched if appropriate for low age crowd, can To include:
Obtain the timestamp of the present frame;
The acquired special frame information of judgement whether include the present frame timestamp;
If so, determining that the current frame image is the special frames for being not suitable for low age crowd viewing, otherwise, it determines described work as Prior image frame is the frame image for being suitble to low age crowd viewing.Second aspect, provides a kind of video broadcasting method, and the method is answered For server, this method comprises:
Receive the corresponding special for the video to be played of the client transmission that current play mode is low age mode The acquisition request of frame information, wherein the special frame information is the frame information for being not suitable for the video frame of low age crowd viewing;
Obtain the corresponding special frame information of the video to be played;
Acquired special frame information is sent to the client, so that the client can be believed according to the special frames Breath plays the video frame for being suitble to low age crowd viewing in the video to be played.Further, described to obtain the view to be played Frequently the step of corresponding special frame information may include:
The special frames for the video to be played that the client that current play mode is low age mode is sent are received to believe Cease acquisition request;
From the special frame information that the unsuitable low age crowd for predefining and saving watches, the video to be played is obtained Corresponding special frame information.
Further, the step of the special frame information of the unsuitable low age viewing crowd's viewing for predefining and saving Suddenly, may include:
According to preset special frames recognizer, video to be processed is identified, is identified in the video to be processed Be not suitable for the special frames of low age crowd viewing;
The frame information for obtaining the special frames, as special frame information;
Save the corresponding special frame information of the video to be processed.
Further, the preset special video frame recognizer, identifies video to be played, identifies video In be not suitable for low age crowd viewing special frames the step of, may include:
By the image recognition algorithm model after training, judge whether picture frame to be played is special frames.
The third aspect provides a kind of video play device, and described device is applied to client, the apparatus may include:
Video play mode judgment module, for judging whether current play mode is low age mode;
Special frames data obtaining module, for if so, obtaining the corresponding special frame information of video to be played, wherein institute Stating special frame information is the image frame information for being not suitable for low age crowd viewing;
Current frame image determining module, for determining the current frame image of the video to be played;
Current frame image judgment module, for whether judging the current frame image according to acquired special frame information It is suitble to low age crowd viewing;
Current frame image playing module, if playing the current frame image for being suitble to low age crowd viewing, otherwise jumping Cross the current frame image.
Further, the video play mode judgment module may include:
Configuration information reading submodule, for reading the configuration information comprising current play mode;
Play mode judging submodule, for judging whether the current play mode in the configuration information is low age mould Formula.
Further, the special frames data obtaining module may include:
The first submodule of special frames acquisition of information, for obtaining the corresponding special frame information of video to be played from server; Or,
Special frames acquisition of information second submodule obtains the corresponding special frame information of video to be played from local cache, Wherein, the corresponding special frame information of the video to be played is to download in advance from server.
Further, the characteristic frame information includes: the timestamp of each special frames;
The current frame image judgment module, comprising:
Present frame timestamp acquisition submodule, for obtaining the timestamp of the present frame;
It whether include timestamp judging submodule, for judging whether acquired special frame information includes the present frame Timestamp;
Special frames determine submodule, if for acquired special frames information including the timestamp of the present frame, really The fixed current frame image is the special frames for being not suitable for low age crowd viewing,
Special frames negate submodule, if not including the timestamp of the present frame for acquired special frame information, Determine that the current frame image is the frame image for being suitble to low age crowd viewing.Fourth aspect provides a kind of video play device, Described device is applied to server, the apparatus may include:
Special frames information acquisition request receiving module is sent for receiving the client that current play mode is low age mode For the corresponding special frames information acquisition request of the video to be played, wherein the special frame information is to be not suitable for low age The frame information of the video frame of crowd's viewing;
Special frames data obtaining module, for obtaining the corresponding special frame information of the video to be played;
Special frames information sending module, for sending acquired special frame information to client, so that the client The video frame for being suitble to low age crowd viewing in the video to be played can be played according to the special frame information.
Further, the special frames data obtaining module may include:
Special frames acquisition of information submodule, the special frames for being watched from the unsuitable low age crowd for predefining and saving In information, the corresponding special frame information of the video to be played is obtained.
Further, the special frames acquisition of information submodule may include:
Special frames recognition unit, for being identified to video content to be processed according to preset special frames recognizer, Identify the special frames for being not suitable for low age crowd viewing in the video to be processed;
Special frames information acquisition unit, for obtaining the frame information of the special frames, as special frame information;
Special frames information holding unit, for saving the corresponding special frame information of the video to be processed.
Further, the special frames recognition unit, comprising:
Special frames identify subelement, for judging that picture frame to be played is by the image recognition algorithm model after training No is special frames.
5th aspect, provides a kind of audio/video player system, comprising: client device and server;
The client judges whether current play mode is low age mode;If so, being directed to server transmission The acquisition request of the corresponding special frame information of the video to be played;Wherein, the special frame information is to be not suitable for low age crowd The frame information of the video frame of viewing;
It is corresponding to obtain the video to be played after receiving the acquisition request that the client is sent for the server Special frame information;And acquired special frame information is sent to the client;
The client determines the video to be played after receiving the special frame information that the server is sent Current frame image;According to acquired special frame information, judge that the current frame image is watched if appropriate for low age crowd;If It is suitble to low age crowd viewing, then plays the current frame image, otherwise skip the current frame image.
6th aspect, provides a kind of client, including processor, communication interface, memory and communication bus, wherein Processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes following methods step:
Judge whether current play mode is low age mode;
If so, obtaining the corresponding special frame information of video to be played from server side;Wherein, the special frame information is Be not suitable for the frame information of the video frame of low age crowd viewing;
Determine the current frame image of the video to be played;
According to acquired special frame information, judge that the current frame image is watched if appropriate for low age crowd;
If being suitble to low age crowd viewing, the current frame image is played, the current frame image is otherwise skipped.7th side Face provides a kind of server, including processor, communication interface, memory and communication bus, wherein processor, communication connect Mouthful, memory completes mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes following method and step:
Receive the corresponding special for the video to be played of the client transmission that current play mode is low age mode Frame information acquisition request, wherein the special frame information is the frame information for being not suitable for the video frame of low age crowd viewing;
Obtain the corresponding special frame information of the video to be played;
Special frame information obtained is sent to the client, so that the client is according to the special frame information, Determine the video frame for being suitble to low age crowd viewing in the video to be played.
Eighth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Computer program is stored in storage media, the computer program realizes any of the above-described video broadcasting method when being executed by processor The step of.
The embodiment of the invention provides a kind of video broadcasting method and devices, are low age moulds in client current play mode When formula, the special frame information of the video to be played is obtained from server;Wherein, the special frame information is to be not suitable for low age people The special frame information of group's viewing;When current video frame to be played is special frames, skips current video frame to be played and do not broadcast It puts.As it can be seen that using the embodiment of the present invention under low age play mode, selective shielded segment may be implemented and be not suitable for low age The video clip of crowd's viewing, at the same can also normal play video rest part, can be maximumlly aobvious using video content The information shown.
Certainly, it implements any of the products of the present invention or method must be not necessarily required to reach all the above excellent simultaneously Point.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of a kind of flow diagram of video broadcasting method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another video broadcasting method provided in an embodiment of the present invention;
Fig. 3 is a kind of interaction diagrams of audio/video player system provided in an embodiment of the present invention;
Fig. 4 is a kind of a kind of structural schematic diagram of video play device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another video play device provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of client device provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Remaining of normal play video while shielding the video clip for being not suitable for low age viewing crowd's viewing to realize Video clip, the embodiment of the invention provides a kind of video broadcasting method and devices, are described in detail separately below.
A kind of video broadcasting method provided in an embodiment of the present invention is introduced first below.
Shown in Figure 1, Fig. 1 is a kind of flow diagram of the video broadcasting method of the embodiment of the present invention, including as follows Step:
S101 judges whether current play mode is low age mode.
It should be noted that the executing subject in the present embodiment method can be any client device.
When it is implemented, video to be played be different that video-see crowd selects in client device it is complete to Play video.
In this step, then judged in the configuration information by reading the configuration information comprising current play mode Current play mode whether be low age mode.
In embodiments of the present invention, user realizes choosing by before playing video, selecting different video play modes The broadcasting of selecting property or the partial video in shielding video to be played.The play mode of video can have low age mode and common mould Formula, low age crowd are the corresponding viewing crowd of decolletage mode, and Adult Groups are the corresponding viewing crowd of general mode.S102, if It is then to obtain the corresponding special frame information of video to be played from server side;Wherein, the special frame information is to be not suitable for low age The frame information of the video frame of crowd's viewing.
It should be noted that the corresponding special frame information of the acquisition introduced in this step video to be played, it can be from service Device obtains, and can also obtain from local cache, can also preserve in the database of corresponding informance and obtain from other, here not It limits.
Specifically, client can first be sent to server before obtaining the corresponding special frame information of video to be played For the acquisition message of the corresponding special frame information of above-mentioned video to be played, and receive the special frame information of server transmission;It Afterwards, according to above-mentioned received special frame information, the video frame for being suitble to low age crowd viewing in above-mentioned video to be played is determined.
In other examples, if special frame information is stored in database, client can be sent out to database The acquisition message for being directed to the corresponding special frame information of above-mentioned video to be played is sent, receives special frame information from database.In addition, such as Fruit has downloaded the corresponding special frame information of video to be played from server in advance, and video to be played can be obtained from local cache Corresponding special frame information.
S103 determines the current frame image of the video to be played.
S104 judges that the current frame image is watched if appropriate for low age crowd according to acquired special frame information.
It should be noted that the corresponding special frame information of above-mentioned video to be played can be the timestamp of each special frames, Being also possible to other any can mark the information that the video frame is special frames.
Before this step, the timestamp of present frame can be first obtained.Then step S104 is being executed, is judging above-mentioned obtain In the special frame information taken whether include present frame timestamp.
Specifically, if in the special frame information of above-mentioned acquisition including the timestamp of present frame, it is determined that the current frame image For the special frames for being not suitable for low age crowd viewing;If not including the timestamp of present frame in the special frame information of above-mentioned acquisition, The current frame image is determined as to be suitble to the frame image of low age crowd viewing.
In a kind of possible embodiment, client is corresponding according to the video to be played of acquisition before playing video Special frame information, the unsuitable low age that each of the video to be played of acquisition picture frame is judged, and will judged Crowd viewing video for image frame deletion, then play be suitble to low age crowd viewing video to be played for image Frame.
In alternatively possible embodiment, client is corresponding according to the video to be played of acquisition when playing video Special frame information, timestamp is in the timestamp for judging current image frame special frame information corresponding with the video to be played of acquisition It is no identical, if they are the same, it is determined that the current image frame is to be not suitable for the video frame of low age crowd viewing, and skip the picture frame; If not identical, it is determined that the current image frame is to be suitble to the video frame of low age crowd viewing, and play the picture frame.Later, sentence Break the current frame image next frame image if appropriate for low age crowd watch, until having judged all figures in video to be played Until frame.
S105 plays the current frame image, otherwise skips the current frame image if being suitble to low age crowd viewing.
Specifically, by S104 step it is found that whether judging above-mentioned current frame image according to acquired special frame information It is suitble to after low age crowd viewing, when the video frame is suitble to low age crowd viewing, plays the video frame;When video frame discomfort When closing low age crowd viewing, then skips the video frame and do not play.
By the above embodiments as it can be seen that since the embodiment of the present invention is by selecting different video play modes, energy It is enough to realize the different situation of video content that may be viewed by for low age crowd with adult population, selective shielded segment video The rest part of normal play video while segment, the information that can be maximumlly shown using video content.
Shown in Figure 2, Fig. 2 is the flow diagram of another video broadcasting method of the embodiment of the present invention, this method Applied to server, include the following steps:
S201 receives the corresponding for the video to be played of the client transmission that current play mode is low age mode Special frames information acquisition request, wherein the special frame information is the frame information for being not suitable for the video frame of low age crowd viewing;
S202 obtains the corresponding special frame information of the video to be played;
Specifically, server is in video coding process, according to preset special frames recognizer, to video to be processed into Row identification identifies the special frames for being not suitable for low age crowd viewing in the video to be processed;Meanwhile obtaining above-mentioned special frames Timestamp, and as the corresponding special frame information of above-mentioned video to be processed.
Specifically, preset special frames recognizer refers to the image recognition algorithm model after training.By magnanimity in system Some unsuitable low age crowds viewings such as violence, pornographic picture sample and its corresponding special frame information, know as image Other algorithm model is output and input, and is trained to image recognition algorithm model, and the image recognition after being trained is calculated Method model;
Wherein, the picture frame in above-mentioned video to be processed is input to the image recognition algorithm model after above-mentioned training, just Can determine whether picture frame to be played is special frames.It is optionally, described according to preset special video frame recognizer, it may be said that Image recognition algorithm model after training is also possible to other any special frames recognizer models.
S203 sends special frame information obtained to the client, so that the client is according to the special frames Information determines the video frame for being suitble to low age crowd viewing in the video to be played.
Specifically, sending special frame information obtained to the client that the current play mode is low age mode;With Make the client according to special frame information, whether the current video frame to be played of judgement is to be not suitable for low age viewing crowd's viewing Special frames;And when current video frame to be played is special frames, current video frame to be played is skipped, it is special for only playing not The video frame of different frame.
By the above embodiments as it can be seen that since the embodiment of the present invention is by selecting different video play modes, energy It is enough to realize the different situation of video content that may be viewed by for low age crowd with adult population, selective shielded segment video The rest part of normal play video while segment, the information that can be maximumlly shown using video content.
It is clearer in order to describe, a kind of video provided in an embodiment of the present invention is broadcast below by a specific embodiment Place system is described in detail.
Referring to Fig. 3, audio/video player system provided in an embodiment of the present invention includes: client and server.
In practical application, all kinds of video contents can be stored in advance in client, can also be from being stored with all kinds of video contents Server in obtain all kinds of video contents online.After video to be played has been determined, user selects different in client Video play mode realizes the partial video in selective broadcasting or shielding video to be played.Detailed process is as follows:
S301: the network user determines video to be played in client.
The video to be played that client is selected according to the network user judges the play mode of above-mentioned video to be played.
S302: client reads the configuration information comprising current mode to be played.
S303: client judges in above-mentioned configuration information according to the configuration information comprising current play mode of reading Whether current play mode is low age mode.
Wherein, low age crowd is the age in 12 one full year of life viewing crowd below;The play mode of video to be played can have General mode and low age mode, low age crowd are the corresponding viewing crowd of decolletage mode, and Adult Groups are that general mode is corresponding Viewing crowd.
S304: if current play mode is low age mode, it is corresponding that user end to server sends above-mentioned video to be played Special frames information acquisition request, wherein the special frame information be not suitable for low age crowd viewing video frame frame information.
Further, if client judges that the play mode of above-mentioned video to be played is general mode, client is straight It connects and plays complete video content.
S305: server receives the acquisition for being directed to the corresponding special frame information of above-mentioned video to be played that client is sent and asks It asks.
S306: server obtains the corresponding special frame information of above-mentioned video to be played.
S307: the corresponding special frame information of above-mentioned video to be played that server will acquire issues client.
S308: client receives the above-mentioned special frame information that server is sent.
S309: client obtains the current frame image of above-mentioned video to be played.
S310: client obtains in the corresponding special frame information of the present frame according to the current frame image of above-mentioned acquisition Timestamp.
S311: whether the special frame information that client is sent according to acquired server judges above-mentioned current frame image It is suitble to low age crowd viewing.Specifically, client is believed according to the corresponding special frames of video to be played that the server of acquisition is sent It ceasing, whether timestamp is identical in the timestamp for judging current image frame special frame information corresponding with the video to be played of acquisition, So that it is determined that current image frame is watched if appropriate for low age crowd.
S312: if they are the same, it is determined that the current image frame is to be not suitable for the video frame of low age crowd viewing, and skip the figure As frame.
S313: if not identical, it is determined that the current image frame is to be suitble to the video frame of low age crowd viewing, and play the figure As frame.
S314: judging whether video to be played finishes, if it is, terminating;If it is not, then next frame is determined as Current frame image returns to the step S310, judges that the next frame image of the current frame image is watched if appropriate for low age crowd, Until having judged all picture frames in video to be played.
It should be noted that the embodiment of above-mentioned introduction is client during playing video, judge whether there is Special frames, it is also possible to be judged as before playing video in video to be played with the presence or absence of above-mentioned special frames, specific explanations It can be found in embodiment of the method described in Fig. 1, this will not be repeated here.
It, can be different by selecting by the above embodiments as it can be seen that audio/video player system provided in an embodiment of the present invention Video play mode, the different situation of the video content that realization may be viewed by for low age crowd and adult population are selective The rest part of normal play video while shielded segment video clip, the letter that can be maximumlly shown using video content Breath.
Based on the same technical idea, corresponding to embodiment of the method shown in Fig. 1, the embodiment of the invention also provides a kind of views Frequency playing device is applied to client, as shown in figure 4, the device includes:
Video play mode judgment module 401, for judging whether current play mode is low age mode;
Special frames data obtaining module 402, for if so, obtaining the corresponding special frame information of video to be played, wherein The special frame information is the image frame information for being not suitable for low age crowd viewing;
Current frame image determining module 403, for determining the current frame image of the video to be played;
Current frame image judgment module 404, for judging that the current frame image is according to acquired special frame information No suitable low age crowd viewing;
Current frame image playing module 405, it is no if playing the current frame image for being suitble to low age crowd viewing Then skip the current frame image.
In embodiments of the present invention, above-mentioned video play mode judgment module may include:
Reading submodule, for reading the configuration information comprising play mode;
Judging submodule, for judging whether the play mode in the configuration information is low age mode.
In embodiments of the present invention, above-mentioned special frames data obtaining module may include:
The first submodule of special frames acquisition of information, for obtaining the corresponding special frame information of video to be played from server; Or,
Special frames acquisition of information second submodule obtains the corresponding special frame information of video to be played from local cache, Wherein, the corresponding special frame information of the video to be played is to download in advance from server.
In embodiments of the present invention, features described above frame information includes: the timestamp of each characteristic frame;
The current frame image judgment module may include:
Present frame timestamp acquisition submodule, for obtaining the timestamp of the present frame;
It whether include timestamp judging submodule, for judging whether acquired special frame information includes the present frame Timestamp;
Special frames determine submodule, if for acquired special frames information including the timestamp of the present frame, really The fixed current frame image is the special frames for being not suitable for low age crowd viewing,
Special frames negate submodule, if not including the timestamp of the present frame for acquired special frame information, Determine that the current frame image is the frame image for being suitble to low age crowd viewing.
By the above embodiments as it can be seen that since the embodiment of the present invention is by selecting different video play modes, energy Enough realize watches the different situation of video content that crowd may be viewed by, selective shielding for low age viewing crowd and adult The rest part of normal play video while partial video segment, the information that can be maximumlly shown using video content.
Based on the video play device that the corresponding embodiment of Fig. 4 provides, Fig. 5 is a kind of another knot of video play device Structure schematic diagram is applied to server end, as shown in figure 4, the device includes:
Special frames information acquisition request receiving module 501, for receiving the client that current play mode is low age mode What is sent is directed to the corresponding special frames information acquisition request of the video to be played, wherein the special frame information is unsuitable The frame information of the video frame of low age crowd viewing;
Special frames data obtaining module 502, for obtaining the corresponding special frame information of the video to be played;
Special frames information sending module 503, for sending special frame information obtained to client, so that the client End determines the video frame for being suitble to low age crowd viewing in the video to be played according to the special frame information.
In embodiments of the present invention, above-mentioned special frames data obtaining module may include:
Special frames acquisition of information submodule, the spy for being watched from the unsuitable low age viewing crowd for predefining and saving In the frame information of different frame, the special frame information of the video to be played is obtained;
In embodiments of the present invention, above-mentioned special frames acquisition of information submodule may include:
Special frames recognition unit, for being identified to video content to be processed according to preset special frames recognizer, Identify the special frames for being not suitable for low age crowd viewing in the video to be processed;
Special frames information acquisition unit, for obtaining the frame information of the special frames, as special frame information;
Special frames information holding unit, for saving the corresponding special frame information of the video to be processed.
In embodiments of the present invention, above-mentioned special frames recognition unit may include:
Special frames identify subelement, for judging that picture frame to be played is by the image recognition algorithm model after training No is special frames.
By the above embodiments as it can be seen that since the embodiment of the present invention is by selecting different video play modes, energy Enough realize watches the different situation of video content that crowd may be viewed by, selective shielding for low age viewing crowd and adult The rest part of normal play video while partial video segment, the information that can be maximumlly shown using video content.
The embodiment of the invention also provides a kind of client devices, as shown in fig. 6, including processor 601, communication interface 602, memory 603 and communication bus 604, wherein processor 601, communication interface 602, memory 603 pass through communication bus 604 complete mutual communication,
Memory 603, for storing computer program;
Processor 601 when for executing the program stored on memory 603, realizes provided in an embodiment of the present invention one Kind video broadcasting method.
Specifically, a kind of above-mentioned video broadcasting method, comprising:
Judge whether current play mode is low age mode;
If so, obtaining the corresponding special frame information of video to be played from server side;Wherein, the special frame information is Be not suitable for the frame information of the video frame of low age crowd viewing;
Determine the current frame image of the video to be played;
According to acquired special frame information, judge that the current frame image is watched if appropriate for low age crowd;
If being suitble to low age crowd viewing, the current frame image is played, the current frame image is otherwise skipped.
Specific implementation and relevant explanation content about each step of this method may refer to shown in above-mentioned Fig. 1 and 2 Embodiment of the method, this will not be repeated here.
By the above embodiments as it can be seen that since the embodiment of the present invention is by selecting different video play modes, energy Enough realize watches the different situation of video content that crowd may be viewed by, selective shielding for low age viewing crowd and adult The rest part of normal play video while partial video segment, the information that can be maximumlly shown using video content.
In addition, processor 601 execute the program stored on memory 603 and a kind of video broadcasting method for realizing its His implementation, it is identical as implementation mentioned by preceding method embodiment part, it also repeats no more here.
In addition, the embodiment of the invention also provides a kind of server, as shown in fig. 7, comprises processor 701, communication interface 702, memory 703 and communication bus 704, wherein processor 701, communication interface 702, memory 703 pass through communication bus 704 complete mutual communication,
Memory 703, for storing computer program;
Processor 701 when for executing the program stored on memory 603, realizes provided in an embodiment of the present invention one Kind video broadcasting method.
Specifically, a kind of video broadcasting method, comprising:
Receive the corresponding special for the video to be played of the client transmission that current play mode is low age mode Frame information acquisition request, wherein the special frame information is the frame information for being not suitable for the video frame of low age crowd viewing;
Obtain the corresponding special frame information of the video to be played;
Special frame information obtained is sent to the client, so that the client is according to the special frame information, Determine the video frame for being suitble to low age crowd viewing in the video to be played.
Specific implementation and relevant explanation content about each step of this method may refer to shown in above-mentioned Fig. 1 and 2 Embodiment of the method, this will not be repeated here.
By the above embodiments as it can be seen that since the embodiment of the present invention is by selecting different video play modes, energy Enough realize watches the different situation of video content that crowd may be viewed by, selective shielding for low age viewing crowd and adult The rest part of normal play video while partial video segment, the information that can be maximumlly shown using video content.
In addition, processor 701 execute the program stored on memory 703 and a kind of video broadcasting method for realizing its His implementation, it is identical as implementation mentioned by preceding method embodiment part, it also repeats no more here.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with instruction in storage medium, when run on a computer, so that computer executes any institute in above-described embodiment The video broadcasting method stated.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device, For electronic equipment and computer readable storage medium embodiment, since it is substantially similar to the method embodiment, so description It is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (19)

1. a kind of video broadcasting method, which is characterized in that be applied to client, which comprises
Judge whether current play mode is low age mode;
If so, obtaining the corresponding special frame information of video to be played from server side;Wherein, the special frame information is discomfort Close the frame information of the video frame of low age crowd viewing;
Determine the current frame image of the video to be played;
According to acquired special frame information, judge that the current frame image is watched if appropriate for low age crowd;
If being suitble to low age crowd viewing, the current frame image is played, the current frame image is otherwise skipped.
2. judging whether current play mode is low age mode the method according to claim 1, wherein described Step, comprising:
Read the configuration information comprising current play mode;
Judge whether the current play mode in the configuration information is low age mode.
3. according to the method described in claim 1, described the step of obtaining video to be played corresponding special frame information, comprising:
The corresponding special frame information of video to be played is obtained from server;Or,
The corresponding special frame information of video to be played is obtained from local cache, wherein the video to be played is corresponding special Frame information is to download in advance from server.
4. method according to claim 1 or 3, which is characterized in that the special frames information include: each special frames when Between stab;
The special frame information according to acquired in judges that the current frame image is watched if appropriate for low age crowd, comprising:
Obtain the timestamp of the present frame;
The acquired special frame information of judgement whether include the present frame timestamp;
If so, determining that the current frame image is the special frames for being not suitable for low age crowd viewing, otherwise, it determines the present frame Image is the frame image for being suitble to low age crowd viewing.
5. a kind of video broadcasting method, which is characterized in that be applied to server, comprising:
The corresponding special frames of the video to be played that are directed to that the client that current play mode is low age mode is sent are received to believe The acquisition request of breath, wherein the special frame information is the frame information for being not suitable for the video frame of low age crowd viewing;
Obtain the corresponding special frame information of the video to be played;
Acquired special frame information is sent to the client so that the client can according to the special frame information, Play the video frame for being suitble to low age crowd viewing in the video to be played.
6. according to the method described in claim 5, it is characterized in that, described obtain the corresponding special frames letter of the video to be played The step of breath, comprising:
From the special frame information that the unsuitable low age crowd for predefining and saving watches, it is corresponding to obtain the video to be played Special frame information.
7. according to the method described in claim 6, it is characterized in that, the unsuitable low age crowd for predefining and saving sees The step of special frame information seen, comprising:
According to preset special frames recognizer, video to be processed is identified, is identified uncomfortable in the video to be processed Close the special frames of low age crowd viewing;
The frame information for obtaining the special frames, as special frame information;
Save the corresponding special frame information of the video to be processed.
8. the method according to the description of claim 7 is characterized in that the preset special frames recognizer, to view to be played The step of frequency is identified, identifies the special frames for being not suitable for low age crowd viewing in the video, comprising:
By the image recognition algorithm model after training, judge whether picture frame to be played is special frames.
9. a kind of video play device, which is characterized in that be applied to client, comprising:
Video play mode judgment module, for judging whether current play mode is low age mode;
Special frames data obtaining module, for if so, obtaining the corresponding special frame information of video to be played, wherein the spy Different frame information is the image frame information for being not suitable for low age crowd viewing;
Current frame image determining module, for determining the current frame image of the video to be played;
Current frame image judgment module, for according to acquired special frame information, judge the current frame image if appropriate for Low age crowd viewing;
Current frame image playing module, if playing the current frame image for being suitble to low age crowd viewing, otherwise skipping institute State current frame image.
10. device according to claim 9, which is characterized in that the video play mode judgment module, comprising:
Configuration information reading submodule, for reading the configuration information comprising current play mode;
Play mode judging submodule, for judging whether the current play mode in the configuration information is low age mode.
11. device according to claim 9, which is characterized in that the special frames data obtaining module, comprising:
The first submodule of special frames acquisition of information, for obtaining the corresponding special frame information of video to be played from server;Or,
Special frames acquisition of information second submodule obtains the corresponding special frame information of video to be played from local cache, wherein The corresponding special frame information of the video to be played is to download in advance from server.
12. the device according to claim 9 or 11, which is characterized in that the special frames information includes: each special frames Timestamp;
The current frame image judgment module, comprising:
Present frame timestamp acquisition submodule, for obtaining the timestamp of the present frame;
Whether include timestamp judging submodule, for judge acquired special frame information whether include the present frame when Between stab;
Special frames determine submodule, if for acquired special frames information including the timestamp of the present frame, it is determined that institute Stating current frame image is the special frames for being not suitable for low age crowd viewing,
Special frames negate submodule, if not including the timestamp of the present frame for acquired special frame information, it is determined that The current frame image is the frame image for being suitble to low age crowd viewing.
13. a kind of video play device, which is characterized in that be applied to server, comprising:
Special frames information acquisition request receiving module, the needle sent for receiving the client that current play mode is low age mode Special frames information acquisition request corresponding to the video to be played, wherein the special frame information is to be not suitable for low age crowd The frame information of the video frame of viewing;
Special frames data obtaining module, for obtaining the corresponding special frame information of the video to be played;
Special frames information sending module, for sending acquired special frame information to client, so that the client can According to the special frame information, the video frame for being suitble to low age crowd viewing in the video to be played is played.
14. device according to claim 13, which is characterized in that the special frames data obtaining module, comprising:
Special frames acquisition of information submodule, the frame of the special frames for being watched from the unsuitable low age crowd for predefining and saving In information, the corresponding special frame information of the video to be played is obtained.
15. device according to claim 14, which is characterized in that the special frames acquisition of information submodule, comprising:
Special frames recognition unit is identified for being identified to video content to be processed according to preset special frames recognizer Be not suitable for the special frames of low age crowd viewing in the video to be processed out;
Special frames information acquisition unit, for obtaining the frame information of the special frames, as special frame information;
Special frames information holding unit, for saving the corresponding special frame information of the video to be processed.
16. device according to claim 15, which is characterized in that the special frames recognition unit, comprising:
Special frames identify subelement, for by training after image recognition algorithm model, judge picture frame to be played whether be Special frames.
17. a kind of audio/video player system characterized by comprising client and server;Wherein,
The client judges whether current play mode is low age mode;If so, sending to the server for described The acquisition request of the corresponding special frame information of video to be played;Wherein, the special frame information is to be not suitable for low age crowd viewing Video frame frame information;
It is corresponding special to obtain the video to be played after receiving the acquisition request that the client is sent for the server Frame information;And acquired special frame information is sent to the client;
The client determines working as the video to be played after receiving the special frame information that the server is sent Prior image frame;According to acquired special frame information, judge that the current frame image is watched if appropriate for low age crowd;If being suitble to Low age crowd viewing, then play the current frame image, otherwise skip the current frame image.
18. a kind of client, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and step of claim 1-4.
19. a kind of server, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and step of claim 5-8.
CN201810911697.6A 2018-08-10 2018-08-10 A kind of video broadcasting method and device Pending CN109005423A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810911697.6A CN109005423A (en) 2018-08-10 2018-08-10 A kind of video broadcasting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810911697.6A CN109005423A (en) 2018-08-10 2018-08-10 A kind of video broadcasting method and device

Publications (1)

Publication Number Publication Date
CN109005423A true CN109005423A (en) 2018-12-14

Family

ID=64595373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810911697.6A Pending CN109005423A (en) 2018-08-10 2018-08-10 A kind of video broadcasting method and device

Country Status (1)

Country Link
CN (1) CN109005423A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111711837A (en) * 2020-05-14 2020-09-25 北京奇艺世纪科技有限公司 Target video changing method and device, electronic equipment and computer readable medium
CN111935502A (en) * 2020-06-28 2020-11-13 百度在线网络技术(北京)有限公司 Video processing method, video processing device, electronic equipment and storage medium
CN114051171A (en) * 2021-11-15 2022-02-15 上海卓易科技股份有限公司 Fear picture shielding method and system in video based on AI emotion analysis

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1981281A (en) * 2004-04-12 2007-06-13 克里尔普雷有限公司 Apparatus, system, and method for filtering objectionable portions of a multimedia presentation
CN101438585A (en) * 2006-01-30 2009-05-20 克里尔普雷有限公司 Synchronizing filter metadata with a multimedia presentation
CN104902337A (en) * 2015-06-05 2015-09-09 广东欧珀移动通信有限公司 Video shielding display method, device and terminal equipment
CN105847994A (en) * 2016-05-05 2016-08-10 北京奇艺世纪科技有限公司 Multimedia file playing method and device
CN107995523A (en) * 2017-12-21 2018-05-04 广东欧珀移动通信有限公司 Video broadcasting method, device, terminal and storage medium
US20180176641A1 (en) * 2016-12-19 2018-06-21 Samsung Electronics Co., Ltd. Method and apparatus for filtering video

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1981281A (en) * 2004-04-12 2007-06-13 克里尔普雷有限公司 Apparatus, system, and method for filtering objectionable portions of a multimedia presentation
CN101438585A (en) * 2006-01-30 2009-05-20 克里尔普雷有限公司 Synchronizing filter metadata with a multimedia presentation
CN104902337A (en) * 2015-06-05 2015-09-09 广东欧珀移动通信有限公司 Video shielding display method, device and terminal equipment
CN105847994A (en) * 2016-05-05 2016-08-10 北京奇艺世纪科技有限公司 Multimedia file playing method and device
US20180176641A1 (en) * 2016-12-19 2018-06-21 Samsung Electronics Co., Ltd. Method and apparatus for filtering video
CN107995523A (en) * 2017-12-21 2018-05-04 广东欧珀移动通信有限公司 Video broadcasting method, device, terminal and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111711837A (en) * 2020-05-14 2020-09-25 北京奇艺世纪科技有限公司 Target video changing method and device, electronic equipment and computer readable medium
CN111935502A (en) * 2020-06-28 2020-11-13 百度在线网络技术(北京)有限公司 Video processing method, video processing device, electronic equipment and storage medium
CN114051171A (en) * 2021-11-15 2022-02-15 上海卓易科技股份有限公司 Fear picture shielding method and system in video based on AI emotion analysis

Similar Documents

Publication Publication Date Title
CN105409226B (en) The system and method for client behavior effectively in control adaptive stream media
CN107995523B (en) Video broadcasting method, device, terminal and storage medium
CN105872773B (en) The monitoring method and monitoring device of net cast
CN108322788B (en) Advertisement display method and device in live video
CN108270738B (en) Video processing method and network equipment
JP4621758B2 (en) Content information reproducing apparatus, content information reproducing system, and information processing apparatus
US8875186B2 (en) Apparatus and method of providing a recommended broadcast program
CN109005423A (en) A kind of video broadcasting method and device
CN102216945B (en) Networking with media fingerprints
CN104918061B (en) A kind of recognition methods of television channel and system
CN110784751B (en) Information display method and device
CN106604078B (en) A kind of network video recommended method and device
CN105847976A (en) Method and device for skipping advertisement according to facial features
CN106851326B (en) Playing method and device
CN104967690B (en) A kind of information-pushing method and device
CN108696765A (en) Auxiliary input method in video playing and device
CN109729376A (en) A kind of processing method of life cycle, device, equipment and storage medium
CN107770624A (en) It is a kind of it is live during multimedia file player method, device and storage medium
CN108881938A (en) Live video intelligently cuts broadcasting method and device
CN109040782A (en) Video playing processing method, device and electronic equipment
CN106341704A (en) Anchor-based recommendation method and device
US20170048584A1 (en) Network set-top box and its operating method
CN104602031B (en) A kind of video data display method and server
US20050001903A1 (en) Methods and apparatuses for displaying and rating content
CN106060609A (en) Method and device for acquiring picture

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181214