CN105657497B - A kind of video broadcasting method and equipment - Google Patents
A kind of video broadcasting method and equipment Download PDFInfo
- Publication number
- CN105657497B CN105657497B CN201610072373.9A CN201610072373A CN105657497B CN 105657497 B CN105657497 B CN 105657497B CN 201610072373 A CN201610072373 A CN 201610072373A CN 105657497 B CN105657497 B CN 105657497B
- Authority
- CN
- China
- Prior art keywords
- video
- display screen
- ambient noise
- subtitle file
- threshold value
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4131—Peripherals receiving signals from specially adapted client devices home appliance, e.g. lighting, air conditioning system, metering devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4334—Recording operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44204—Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47217—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4858—End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the present invention provides a kind of video broadcasting method and equipment, is related to field of video broadcasting technology, can reduce interference of the environmental noise to video playing, improves user experience.This method comprises: ambient noise when acquisition video playing, the ambient noise is the sound other than the audio pronunciation of the video;Detect whether the ambient noise meets preset threshold value, the threshold value includes intensity threshold and time threshold, if the intensity of the ambient noise is more than or equal to the intensity threshold, and the ambient noise is sustained for longer than or is equal to the time threshold, then the ambient noise meets the threshold value;If the ambient noise meets the threshold value, the video is played according to preset noise control strategy, to highlight the image or text of the video.This method is applied in field of video broadcasting technology.
Description
Technical field
The present invention relates to field of video broadcasting technology more particularly to a kind of video broadcasting method and equipment.
Background technique
When user is when watching video, user may do some can act and generate the larger sound, for example, blowing
The ambient noises such as the sound of blower, the sound for buying fruit juice, the sound cut the dish;User is also possible to watch view in noise circumstance
Frequently, for example, the ambient noises such as sound that firecrackers sound, next door outside festive occasion room are fitted up are caused due to the interference of ambient noise
User can not catch the sound of video, influence user experience.
Summary of the invention
The embodiment of the present invention provides a kind of video broadcasting method and equipment, can reduce environmental noise to video playing
Interference, to improve user experience.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, the embodiment of the present invention provides a kind of video broadcasting method, which comprises
Ambient noise when video playing is acquired, the ambient noise is the sound other than the audio pronunciation of the video;
It detecting the ambient noise and whether meets preset threshold value, the threshold value includes intensity threshold and time threshold, if
The intensity of the ambient noise is more than or equal to the intensity threshold, and the ambient noise is sustained for longer than or waits
In the time threshold, then the ambient noise meets the threshold value;
If the ambient noise meets the threshold value, the video is played according to preset noise control strategy, with prominent aobvious
Show the image or text of the video.
The video broadcasting method provided through the embodiment of the present invention, when video playback apparatus detects that ambient noise meets threshold
When value, the video can be played according to noise control strategy, so that the image or text of the video are highlighted, to enhance the video
Visual effect, make up the deficiency of user's sense of hearing under noisy environment, thus reach reduce ambient noise video playing is done
It disturbs, improves user experience.
In the first possible implementation of the first aspect, described that the view is played according to preset noise control strategy
Frequently, comprising:
Obtain the subtitle file of the video;
Determine that the font size that the subtitle file is shown is the first numerical value, first numerical value is greater than described in current display
First display screen of video shows preset benchmark font size when the subtitle file;
The subtitle file is shown according to the size of first numerical value.
The possible implementation of with reference to first aspect the first, in the second possible implementation, the acquisition
The subtitle file of the video, comprising:
Obtain the subtitle file built-in in the video;Alternatively,
The subtitle file is searched for from video server;Alternatively,
The audio pronunciation of the video is converted to text to obtain the subtitle file.
Second of possible implementation of the possible implementation of with reference to first aspect the first or first aspect,
In the third possible implementation, determine that the font size that the subtitle file is shown is the first numerical value, comprising:
N times for determining the benchmark font size is first numerical value, and N > 1, N are integer;
Second of possible implementation of the possible implementation of with reference to first aspect the first or first aspect,
In 4th kind of possible implementation, determine that the font size that the subtitle file is shown is the first numerical value, comprising:
Determine the first distance between user and first display screen;
According to the first distance and preset parameter corresponding with first display screen, first numerical value is calculated.
By first to fourth kind of possible implementation of above-mentioned first aspect, by the subtitle file for amplifying the video
Font size mode, highlight the text of the video, to enhance the visual effect of the video, make up user in noise ring
The deficiency of the sense of hearing under border improves user experience to reach the interference for reducing ambient noise to video playing.
In conjunction with the 4th kind of possible realization side of the first possible implementation of first aspect above-mentioned to first aspect
Any implementation in formula, it is in the fifth possible implementation of the first aspect, described according to first numerical value
Size show the subtitle file after, comprising:
The video flowing of the video is detected, determines whether the video is to cache the video played;
If the video is the video that the caching plays, playback label is set, and the playback label is used to indicate institute
State the playback progress that ambient noise meets the video when threshold value.
The 5th kind of possible implementation with reference to first aspect, in a sixth possible implementation, the method
Further include:
If the video is not the video that caching plays, start recording operation, records currently playing interior of the video
Hold;
After the starting recording operation, the method also includes:
When the ambient noise is unsatisfactory for the threshold value, keep after starting the recording operation preset period,
Stop the recording operation, and saves the content of recording;
When receiving when checking instruction of user's input, the content of the recording is played.
The 6th kind of possible implementation with reference to first aspect, in the 7th kind of possible implementation, the starting
Before recording operation, the method also includes:
Detect whether the currently playing content of the video is advertisement;
If the currently playing content of the video is advertisement, the recording operation is not started;
If the currently playing content of the video is not advertisement, start the recording operation.
By the 6th kind of possible implementation, the buffer memory capacity of video playback apparatus can be saved.
It is described according to preset in conjunction with above-mentioned in a first aspect, in the 8th kind of possible implementation of first aspect
Noise control strategy plays the video, comprising:
Determine second display screen, the distance between the second display screen and user, which are less than, currently shows the of the video
The distance between one display screen and the user, alternatively, the size of the second display screen is greater than the ruler of first display screen
It is very little;
The video is switched to the second display screen to show.
By above-mentioned 8th kind of possible implementation, video can be switched to away from aobvious on display screen closer to the user
Show, or be switched to bigger display screen display, to highlight the image of the video, to enhance the vision effect of the video
Fruit, makes up the deficiency of user's sense of hearing under noisy environment, to reach the interference for reducing ambient noise to video playing, improves and uses
Family experience.
It is described according to preset in conjunction with above-mentioned in a first aspect, in the 9th kind of possible implementation of first aspect
Noise control strategy plays the video, comprising:
The point centered on the center of the first display screen for currently showing the video expands the broadcasting pictures of the video
M times is shown, M > 1.
By above-mentioned 9th kind of possible implementation, broadcasting pictures can be amplified, to highlight the video
Image makes up the deficiency of user's sense of hearing under noisy environment to enhance the visual effect of the video, makes an uproar to reach and reduce environment
Interference of the sound to video playing improves user experience.
Second aspect, the embodiment of the present invention provide a kind of video playback apparatus, comprising:
Acquisition unit, for acquiring ambient noise when video playing, the ambient noise is that the audio of the video is sent out
Sound other than sound;
Whether detection unit, the ambient noise for detecting the acquisition unit acquisition meet preset threshold value, institute
Stating threshold value includes intensity threshold and time threshold, if the intensity of the ambient noise is more than or equal to the intensity threshold, and
The ambient noise is sustained for longer than or is equal to the time threshold, then the ambient noise meets the threshold value;
Broadcast unit, if detecting that the ambient noise meets the threshold value for the detection unit, according to default
Noise control strategy play the video, to highlight the image or text of the video.
The technical effect of video playback apparatus provided in an embodiment of the present invention may refer to above-mentioned first aspect video playing
The technical effect of video playback apparatus described in the video broadcasting method that equipment executes, details are not described herein again.
In the first possible implementation of the second aspect, the broadcast unit includes obtaining module, determining module
And display module,
The acquisition module, for obtaining the subtitle file of the video;
The determining module, for determining that the font size that show of the subtitle file that the acquisition module obtains is the
One numerical value, first numerical value, which is greater than, currently shows that the first display screen of the video shows preset base when the subtitle file
Quasi- font size;
The display module, for showing the subtitle file according to the size of first numerical value.
In conjunction with the first possible implementation of second aspect, in the second possible implementation,
The acquisition module, specifically for obtaining the subtitle file built-in in the video, or from Video service
The subtitle file is searched in device, or the audio pronunciation of the video is converted to text to obtain the subtitle file.
In conjunction with the first possible implementation of second aspect or second of possible implementation of second aspect,
In the third possible implementation,
The determining module, N times specifically for the determination benchmark font size is first numerical value, and N > 1, N are
Integer;
In conjunction with the first possible implementation of second aspect or second of possible implementation of second aspect,
In the fourth possible implementation,
The determining module, specifically for determining the first distance between user and first display screen;
The determining module is also used to according to the first distance and preset ginseng corresponding with first display screen
Number calculates first numerical value.
In conjunction with second aspect above-mentioned second of possible implementation to second aspect the 4th kind of possible realization
Any implementation in mode, in a fifth possible implementation,
The broadcast unit, after being also used to show the subtitle file according to the size of first numerical value, to described
The video flowing of video is detected, and determines whether the video is to cache the video played;
Playback label is arranged if being also used to the video is the video that the caching plays in the broadcast unit, described
Playback label is used to indicate the playback progress that the ambient noise meets the video when threshold value.
In conjunction with the 5th kind of possible implementation of second aspect above-mentioned, in a sixth possible implementation,
The broadcast unit starts recording operation if being also used to the video not is the video of caching broadcasting, records institute
State the currently playing content of video;
The broadcast unit is also used to when the ambient noise is unsatisfactory for the threshold value, keeps starting the recording behaviour
After making the preset period, stop the recording operation, and saves the content of recording;
The broadcast unit is also used to play the content of the recording when receiving when checking instruction of user's input.
In conjunction with the 6th kind of possible implementation of second aspect above-mentioned, in the 7th kind of possible implementation,
The broadcast unit, before being also used to start the recording operation, detecting the currently playing content of the video is
No is that advertisement if the currently playing content of the video is advertisement does not start the recording operation, if the video is currently broadcast
The content put is not advertisement, then starts the recording operation.
In conjunction with second aspect above-mentioned, in the 8th kind of possible implementation of second aspect,
The broadcast unit, be specifically used for determine second display screen, by the video be switched to the second display screen into
Row display, the distance between the second display screen and user are less than the first display screen for currently showing the video and the use
The distance between family, alternatively, the size of the second display screen is greater than the size of first display screen.
In conjunction with second aspect above-mentioned, in the 9th kind of possible implementation of second aspect,
The broadcast unit will specifically for the point centered on the center for currently showing the first display screen of the video
The broadcasting pictures of the video expand M times and are shown, M > 1.
The third aspect, the embodiment of the present invention provide a kind of video playback apparatus, comprising: processor, memory, system are total
Line, communication interface and output module;
The memory passes through institute for storing computer executed instructions, the processor and the memory, display screen
System bus connection is stated, when video playback apparatus operation, the processor executes the meter of the memory storage
Calculation machine executes instruction, so that the video playback apparatus is executed as any one of above-mentioned first aspect or first aspect are possible
Implementation described in video playback apparatus.
The technical effect of video playback apparatus provided in an embodiment of the present invention may refer to above-mentioned first aspect video playing
The technical effect of video playback apparatus described in the video broadcasting method that equipment executes, details are not described herein again.
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, instead of all the embodiments.
Fig. 1 is a kind of flow chart one for video broadcasting method that example of the invention provides;
Fig. 2 is a kind of flowchart 2 for video broadcasting method that example of the invention provides;
Fig. 3 is a kind of flow chart 3 for video broadcasting method that example of the invention provides;
Fig. 4 is a kind of flow chart four for video broadcasting method that example of the invention provides;
Fig. 5 is a kind of flow chart five for video broadcasting method that example of the invention provides;
Fig. 6 is a kind of structural schematic diagram one for video playback apparatus that example of the invention provides;
Fig. 7 is a kind of structural schematic diagram two for video playback apparatus that example of the invention provides;
Fig. 8 is a kind of hardware structural diagram for video playback apparatus that example of the invention provides.
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.
The embodiment of the present invention provides a kind of video broadcasting method, as shown in Figure 1, this method comprises:
Ambient noise when S101, video playback apparatus acquisition video playing, the ambient noise are that the audio of the video is sent out
Sound other than sound.
S102, video playback apparatus detect whether the ambient noise meets preset threshold value, which includes intensity threshold
And time threshold, if the intensity of the ambient noise is more than or equal to the intensity threshold, and the ambient noise duration is big
In or equal to the time threshold, then the ambient noise meets the threshold value.
In embodiments of the present invention, video playback apparatus can during broadcasting, real-time detection ambient noise it is strong
Whether degree is more than or equal to the intensity threshold, if the intensity of ambient noise is more than or equal to the intensity threshold, detection should
Whether ambient noise duration is more than or equal to the time threshold.
If the ambient noise is more than or equal to the intensity threshold, and the ambient noise is sustained for longer than or waits
In the time threshold, video playback apparatus then determines that the ambient noise meets the threshold value.
If S103, the ambient noise meet the threshold value, video playback apparatus plays the view according to preset noise control strategy
Frequently, to highlight the image or text of the video.
In embodiments of the present invention, when the ambient noise meets the threshold value, i.e., during video playing, work as environment
Noise interferes video playing, when influencing user's viewing effect, can play the video according to preset noise control strategy, from
And interference of the ambient noise to video playing is reduced, user experience is improved, the noise control strategy is for reducing ambient noise to described
The interference of video playing.
Optionally, in embodiments of the present invention, broadcasting for the video can be amplified by way of amplifying or showing subtitle
Clarity is put, specifically, in conjunction with Fig. 1, as shown in Fig. 2, above-mentioned S103 specifically can include:
S103a, video playback apparatus obtain the subtitle file of the video.
In embodiments of the present invention, video playback apparatus can at least obtain the subtitle of the video by following three kinds of modes
File, comprising: built-in subtitle file in the available video of video playback apparatus, or the word is searched for from video server
Curtain file, or the audio pronunciation of the video is converted to text to obtain the subtitle file.
I.e. in embodiments of the present invention, may be built-in in the video of broadcasting subtitle file, video player can be direct
Built-in subtitle file is obtained from the video.Alternatively, video playback apparatus can also be taken by video playback apparatus and video
Network between business device, searches for from video server and downloads the subtitle file.Video playback apparatus can also directly pass through
The audio pronunciation of the video is converted to text, to obtain the subtitle file of the video, wherein video playback apparatus is by video
Audio pronunciation is converted into the specific implementation of text, may refer to it is relevant in the prior art, details are not described herein again.
S103b, video playback apparatus determine that the font size that the subtitle file is shown is the first numerical value, and first numerical value is big
Preset benchmark font size when currently showing that the first display screen of the video shows the subtitle file.
Wherein, the first numerical value can be N times of the benchmark font size, N > 1.For example, N can take the numbers such as 1.5,2,2.5,3
Value.
Optionally, video playback apparatus can also calculate the first number according to the first distance between user and the first display screen
Value.Specifically, above-mentioned S103b may include:
(1) video playback apparatus determines the first distance between user and the first display screen.
Video playback apparatus can have by the first distance between suitable the first display screen of sensor measurement and user
Body, the concrete mode for measuring the distance between display screen and user may refer to related art, and details are not described herein again.
(2) video playback apparatus calculates institute according to the first distance and preset parameter corresponding with first display screen
State the first numerical value.
Wherein, parameter corresponding with first display screen can be pre-configured parameter, or video playing
Equipment calculates gained according to one or more property parameters saved in first display screen.
First numerical value is calculated according to first distance parameter corresponding with first display screen with video playback apparatus below
For carry out it is illustrative.
Optionally, in the case where considering screen resolution, which may include first aobvious
Other parameter presets of the resolution ratio of display screen and the first display screen.
(1) device parameter of first display screen can be calculated according to the following formula first:
Wherein, X indicates that the device parameter of first display screen, resolution indicate the resolution ratio of first display screen,
Resolution_base indicates that the reference resolution of first display screen, dpi indicate the screen density of first display screen,
Dpi_base indicates the benchmark screen density of first display screen.
Then (2) the first numerical value can be calculated according to the following formula:
Wherein, distance_base indicates the reference distance between user and the first display screen, fontsize_base
Indicate the benchmark font size of subtitle, distance indicates first distance, and fontsize indicates the first numerical value.
S103c, video playback apparatus show the subtitle file according to the size of first numerical value.
In the embodiment of the present invention, in such a way that amplification shows the subtitle file of the video, the text of the video is highlighted
Word makes up the deficiency of user's sense of hearing under noisy environment to enhance the visual effect of the video, to reach reduction ambient noise
Interference to video playing improves user experience.
The embodiment of the present invention also provides a kind of more preferred mode for obtaining subtitle file.It can specifically include:
S1, video playback apparatus detect in the video with the presence or absence of built-in subtitle file.
If there are the subtitle file in S2, the video, the font of the subtitle file is amplified to by video playback apparatus
One numerical value is shown.
Specifically, in embodiments of the present invention, when, there are when the subtitle file, may include two kinds of situations in video, dividing
Wei not exist and have been displayed in the video and there is and do not show the subtitle file, the i.e. word in the subtitle file or the video
Curtain file may be shown during video playing, it is also possible to not shown.
Further, after above-mentioned S1, this method further include:
If the subtitle file is not present in S3, the video, video playback apparatus searches for the subtitle from video server
File.
If S4, searching the subtitle file, video playback apparatus is by the font in the subtitle file according to the first numerical value
Size shown.
It should be noted that video playback apparatus searches the subtitle file, and by the big of the font in the subtitle file
It is small be amplified to the first numerical value after, it is thus necessary to determine that the playback progress correspondent time current with the video in the subtitle file, from this
The corresponding text of timestamp starts to show, so that the content of shown subtitle file and the currently playing picture pair of the video
It answers.
It i.e. in embodiments of the present invention, can be from network when in video being played on without the built-in subtitle file
The subtitle file is searched for, and when searching the subtitle file, by the font in the subtitle file according to the size of the first numerical value
It is shown, to enhance the visual effect of the video, makes up the deficiency of user's sense of hearing under noisy environment, reduce environmental noise pair
The interference of video playing improves user experience.
Further, after above-mentioned S3, this method can also include:
If S4, not searching the subtitle file, the audio pronunciation of the video is converted to text by video playback apparatus, is obtained
Take the subtitle file.
Specifically, can not be searched from network when video playback apparatus detects in the video without the built-in subtitle file
Rope is to the subtitle file, and video playback apparatus can test and analyze the audio of the video, by the audio hair of the video
Sound is converted into text, obtains the subtitle file.
S5, video playback apparatus show the font in the subtitle file according to the size of the first numerical value.
When video playback apparatus is converted to text to by the audio pronunciation of the video, after obtaining the subtitle file, can incite somebody to action
Font in the subtitle file is shown according to the size of the first numerical value.
Optionally, in embodiments of the present invention, in conjunction with Fig. 2, as shown in figure 3, after above-mentioned S103c, this method can be with
Include:
S103d, video playback apparatus detect the video flowing of the video, determine whether the video is what caching played
Video.
In embodiments of the present invention, can determine whether the video is that caching is played by detecting the video flowing of the video
Video, if this be not caching play video, i.e., currently playing is live video, then the video can not be suspended, again
The operation such as broadcast, play back.If behaviour such as the video are to cache the video played, which can then be suspended, be replayed, played back
Make.
If S103e, the video are the video that caching plays, playback label is arranged in video playback apparatus, the playback label
It is used to indicate the playback progress of the video when ambient noise meets the threshold value.
In embodiments of the present invention, when ambient noise meets the threshold value, video playback apparatus passes through the view to the video
Frequency stream is detected, and determines that the video is the video that caching plays, so that it is determined that the video can carry out playback operation, then video
Playback label can be set in playback equipment, is used to indicate the playback progress of the video when ambient noise meets the threshold value, in turn
It, can be with if user thinks to watch the content during noise again when ambient noise is unsatisfactory for the threshold value (i.e. at the end of noise)
According to the playback label determine since when play back video.
Further, after above-mentioned S103d, this method further include:
If S103f, the video are not the video that caching plays, video playback apparatus starts recording operation, records the view
Frequently currently playing content.
S103g, when ambient noise is unsatisfactory for the threshold value, video playback apparatus keep start the recording operation it is preset when
Between after section, stop the recording operation, and save the content of recording.
I.e. in embodiments of the present invention, (meet the threshold from ambient noise during video playback apparatus can record noise
Value continues to that ambient noise is unsatisfactory for this period of the threshold value) video playing content, i.e. live video during noise.
Happen suddenly new wave ambient noise again after stopping in order to avoid previous wave ambient noise, can be after the stopping of previous wave ambient noise
Starting recording operation is kept in the preset period.After the preset period technology, recording operation can be stopped, and will record
Video saved, for example, being saved in individual center.
S103h, when video playback apparatus receive user input when checking instruction, play the content of the recording.
In embodiments of the present invention, user can be according to personal inclination, and video playback apparatus is recorded during checking noise at any time
The clearly video content of system, the interference so as to avoid ambient noise to video playing improve user experience.
Optionally, before above-mentioned S103f, whether video playback apparatus can also detect the currently playing content of the video
For advertisement.
If the currently playing content of the video is advertisement, video playback apparatus does not start recording operation.If the video is worked as
The content of preceding broadcasting is not advertisement, and video playback apparatus then starts recording operation.
I.e. in embodiments of the present invention, when video playback apparatus detects that ambient noise meets the threshold value, and it is currently playing
Content be advertisement when, recording operation can not be started, thus avoid waste video playback apparatus buffer memory capacity.It is understood that
, when video playback apparatus detects that advertisement broadcasting terminates, and ambient noise still meets the threshold value, video playing is set
It is standby to start recording operation.
Specifically, judge the currently playing content of the video whether be advertisement concrete mode, may refer to relevant existing
Have in technology, details are not described herein again.Optionally, in conjunction with Fig. 1, as shown in figure 4, above-mentioned S103 can specifically include:
S103i, video playback apparatus determine second display screen, and the distance between the second display screen and user are less than current
The distance between the first display screen and the user of the video are shown, alternatively, the size of the second display screen is greater than first display
The size of screen.
The video is switched to the second display screen and shown by S103j, video playback apparatus.
In the case where ambient noise meets threshold value, video can be switched to away from aobvious on display screen closer to the user
Show, or be switched to bigger display screen display, to highlight the image of the video, to enhance the vision effect of the video
Fruit, makes up the deficiency of user's sense of hearing under noisy environment, to reach the interference for reducing ambient noise to video playing, improves and uses
Family experience.
Optionally, in conjunction with Fig. 1, as shown in figure 5, above-mentioned S103 can specifically include:
Point centered on the center of the first display screen of S103k, video playback apparatus currently to show the video, by the video
Broadcasting pictures expand M times shown, M > 1.
Preferably, M can be between 1.25~1.5.It is understood that in the case where ambient noise meets threshold value,
By amplifying broadcasting pictures, to enhance the visual effect of the video, the deficiency of user's sense of hearing under noisy environment is made up, thus
Reach the interference for reducing ambient noise to video playing, improves user experience.
As shown in fig. 6, the embodiment of the present invention provides a kind of video playback apparatus, the video playback apparatus includes:
Acquisition unit 10, for acquiring ambient noise when video playing, the ambient noise is the audio of the video
Sound other than pronunciation.
Detection unit 11, for detecting whether the ambient noise that the acquisition unit 10 acquires meets preset threshold
Value, the threshold value includes intensity threshold and time threshold, if the intensity of the ambient noise is more than or equal to the intensity threshold
Value, and the ambient noise is sustained for longer than or is equal to the time threshold, then the ambient noise meets the threshold
Value.
Broadcast unit 12, if detecting that the ambient noise meets the threshold value, basis for the detection unit 11
Preset noise control strategy plays the video, to highlight the image or text of the video.
Optionally, in conjunction with Fig. 6, as shown in fig. 7, the broadcast unit 12 includes obtaining module 120, determining module 121 with
And display module 122.
The acquisition module 120, for obtaining the subtitle file of the video.
The determining module 121, the font for determining that the subtitle file that the acquisition module 120 obtains is shown are big
Small is the first numerical value, and first numerical value is pre- when the subtitle file greater than currently showing that the first display screen of the video is shown
If benchmark font size.
The display module 122, for showing the subtitle file according to the size of first numerical value.
Optionally, the acquisition module 120, specifically for the subtitle file built-in in the acquisition video, or
The subtitle file is searched for from video server, or the audio pronunciation of the video is converted to text to obtain the word
Curtain file.
Optionally, the determining module 121, N times specifically for the determination benchmark font size is first number
Value, N > 1, N are integer.
Optionally, the determining module 121, specifically for determine between user and first display screen first away from
From.
The determining module 121 is also used to according to the first distance and preset corresponding with first display screen
Parameter calculates first numerical value.
Optionally, the broadcast unit 12, be also used to show according to the size of first numerical value subtitle file it
Afterwards, the video flowing of the video is detected, determines whether the video is to cache the video played.
Playback label, institute is arranged if being also used to the video is the video that the caching plays in the broadcast unit 12
It states playback label and is used to indicate the playback progress that the ambient noise meets the video when threshold value.
Optionally, the broadcast unit 12 starts recording behaviour if being also used to the video not is the video of caching broadcasting
Make, records the currently playing content of the video.
The broadcast unit 12 is also used to when the ambient noise is unsatisfactory for the threshold value, keeps starting the recording
After operating the preset period, stop the recording operation, and saves the content of recording.
The broadcast unit 12 is also used to play the content of the recording when receiving when checking instruction of user's input.
Optionally, before being also used to start the recording operation, it is currently playing to detect the video for the broadcast unit 12
Content whether be advertisement, if the currently playing content of the video is advertisement, do not start the recording operation, if the view
Frequently currently playing content is not advertisement, then starts the recording operation.
Optionally, the broadcast unit 12 is specifically used for determining second display screen, the video is switched to described second
Display screen is shown that the distance between the second display screen and user are less than the first display screen for currently showing the video
The distance between described user, alternatively, the size of the second display screen is greater than the size of first display screen.
Optionally, the broadcast unit 12, specifically for being with the center for currently showing the first display screen of the video
The broadcasting pictures of the video are expanded M times and shown by central point, M > 1.
The embodiment of the present invention provides a kind of video playback apparatus, can when detecting that ambient noise meets threshold value, according to
Noise control strategy plays the video, to highlight the image or text of the video, to enhance the visual effect of the video, more
The deficiency of user's sense of hearing under noisy environment is mended, to reach the interference for reducing ambient noise to video playing, improves user's body
It tests.
As shown in figure 8, the embodiment of the present invention provides a kind of video playback apparatus video playback apparatus, the video playback apparatus
Video playback apparatus includes: processor 20, memory 21, system bus 22, communication interface 23 and output module 24.
The memory 21 passes through described for storing computer executed instructions, the processor 30 with the memory 21
System bus 22 connects, and when video playback apparatus operation, the processor 20 executes the institute that the memory 21 stores
State computer executed instructions so that the video playback apparatus execute as Fig. 1 to Fig. 5 arbitrarily one of as described in video playing side
Method.Specific video broadcasting method can be found in it is above-mentioned as Fig. 1 to Fig. 5 one of arbitrarily shown in associated description in embodiment, this
Place repeats no more.
The present embodiment also provides a kind of storage medium, which may include the memory 21.
The processor 20 can be central processing unit (English: central processing unit, abbreviation: CPU).
The processor 20 can also be other general processors, digital signal processor (English: digital signal
Processing, abbreviation DSP), specific integrated circuit (English: application specific integrated
Circuit, abbreviation ASIC), field programmable gate array (English: field-programmable gate array, referred to as
FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components etc..General procedure
Device can be microprocessor or the processor is also possible to any conventional processor etc..
The memory 21 may include volatile memory (English: volatile memory), such as arbitrary access is deposited
Reservoir (English: random-access memory, abbreviation: RAM);The memory 21 also may include nonvolatile memory
(English: non-volatile memory), such as read-only memory (English: read-only memory, abbreviation: ROM), fastly
Flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid state hard disk (English
Text: solid-state drive, abbreviation: SSD);The memory 21 can also include the combination of the memory of mentioned kind.
The system bus 22 may include data/address bus, power bus, control bus and signal condition bus etc..This reality
It applies for clear explanation in example, various buses is all illustrated as system bus 22 in fig. 8.
The communication interface 23 specifically can be the transceiver on video playback apparatus.The transceiver can be wireless receiving and dispatching
Device.For example, wireless transceiver can be the antenna etc. of video playback apparatus.The processor 20 by the communication interface 23 with
The transmitting-receiving of data is carried out between other equipment, such as video server.
During specific implementation, it is above-mentioned as Fig. 1 Fig. 5 it is one of any shown in each step in video broadcasting method process
The computer executed instructions that the software form stored in memory 21 can be executed by the processor 20 of example, in hardware are realized.
To avoid repeating, details are not described herein again.
The output module 24 can be that can show the display screen of video pictures, such as television display screen, personal electricity
The display screen of brain, the display screen etc. of mobile phone can also be individual display screen, may include flexible display screen, also may include
Projector etc..In this regard, the present invention is with no restriction.
The embodiment of the present invention provides a kind of video playback apparatus, can when detecting that ambient noise meets threshold value, according to
Noise control strategy plays the video, to highlight the image or text of the video, to enhance the visual effect of the video, more
The deficiency of user's sense of hearing under noisy environment is mended, to reach the interference for reducing ambient noise to video playing, improves user's body
It tests.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function
The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds
Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of function described above
Energy.The specific work process of the system, apparatus, and unit of foregoing description, can be with reference to corresponding in preceding method embodiment
Journey, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module or
The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units
Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute
Display or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit
Indirect coupling or communication connection.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member can be realized in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, all or part of the technical solution
It can be embodied in the form of software products, which is stored in a storage medium, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) or processor execute
All or part of the steps of the method according to each embodiment of the present invention.The storage medium is non-transitory (English: non-
Transitory) medium, comprising: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or light
The various media that can store program code such as disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (16)
1. a kind of video broadcasting method, which is characterized in that the described method includes:
Ambient noise when video playing is acquired, the ambient noise is the sound other than the audio pronunciation of the video;
Detect whether the ambient noise meets preset threshold value, the threshold value includes intensity threshold and time threshold, if described
The intensity of ambient noise is more than or equal to the intensity threshold, and the ambient noise is sustained for longer than or is equal to institute
Time threshold is stated, then the ambient noise meets the threshold value;
If the ambient noise meets the threshold value, the video is played according to preset noise control strategy, to highlight
State the image or text of video;
It is wherein, described that the video is played according to preset noise control strategy, comprising:
Obtain the subtitle file of the video;
Determine the first distance between user and the first display screen;
According to the first distance and preset parameter corresponding with first display screen, the first numerical value is calculated;Described first
Numerical value, which is greater than, currently shows that the first display screen of the video shows preset benchmark font size when the subtitle file;
The subtitle file is shown according to the size of first numerical value.
2. the method according to claim 1, wherein the subtitle file for obtaining the video, comprising:
Obtain the subtitle file built-in in the video;Alternatively,
The subtitle file is searched for from video server;Alternatively,
The audio pronunciation of the video is converted to text to obtain the subtitle file.
3. the method according to claim 1, wherein determining that the font size that the subtitle file is shown is first
Numerical value, comprising:
N times for determining the benchmark font size is first numerical value, and N > 1, N are integer.
4. method according to claim 1-3, which is characterized in that the size according to first numerical value is aobvious
After showing the subtitle file, the method also includes:
The video flowing of the video is detected, determines whether the video is to cache the video played;
If the video is the video that the caching plays, playback label is set, and the playback label is used to indicate the ring
Border noise meets the playback progress of the video when threshold value.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
If the video is not the video that caching plays, starts recording operation, record the currently playing content of the video;
After the starting recording operation, the method also includes:
When the ambient noise is unsatisfactory for the threshold value, keeps after starting the recording operation preset period, stop
The recording operation, and save the content of recording;
When receiving when checking instruction of user's input, the content of the recording is played.
6. according to the method described in claim 5, it is characterized in that, before the starting recording operation, the method also includes:
Detect whether the currently playing content of the video is advertisement;
If the currently playing content of the video is advertisement, the recording operation is not started;
If the currently playing content of the video is not advertisement, start the recording operation.
7. the method according to claim 1, wherein described play the video according to preset noise control strategy,
Include:
Determine second display screen, the distance between the second display screen and user, which are less than, currently shows that the first of the video shows
The distance between display screen and the user, alternatively, the size of the second display screen is greater than the size of first display screen;
The video is switched to the second display screen to show.
8. the method according to claim 1, wherein described play the video according to preset noise control strategy,
Include:
The broadcasting pictures of the video are expanded M times by the point centered on the center of the first display screen for currently showing the video
It is shown, M > 1.
9. a kind of video playback apparatus characterized by comprising
Acquisition unit, for acquiring ambient noise when video playing, the ambient noise be the audio pronunciation of the video with
Outer sound;
Whether detection unit, the ambient noise for detecting the acquisition unit acquisition meet preset threshold value, the threshold
Value includes intensity threshold and time threshold, if the intensity of the ambient noise is more than or equal to the intensity threshold, and described
Ambient noise is sustained for longer than or is equal to the time threshold, then the ambient noise meets the threshold value;
Broadcast unit, if detecting that the ambient noise meets the threshold value for the detection unit, according to preset anti-
Strategy of making an uproar plays the video, to highlight the image or text of the video;
The broadcast unit includes obtaining module, determining module and display module,
The acquisition module, for obtaining the subtitle file of the video;
The determining module, for determining the first distance between user and the first display screen;According to the first distance and in advance
If parameter corresponding with first display screen, calculate the first numerical value;First numerical value, which is greater than, currently shows the video
The first display screen show preset benchmark font size when the subtitle file;
The display module, for showing the subtitle file according to the size of first numerical value.
10. video playback apparatus according to claim 9, which is characterized in that
The acquisition module, specifically for the subtitle file built-in in the acquisition video, or from video server
The subtitle file is searched for, or the audio pronunciation of the video is converted to text to obtain the subtitle file.
11. video playback apparatus according to claim 9, which is characterized in that
The determining module, N times specifically for the determination benchmark font size is first numerical value, and N > 1, N are whole
Number.
12. according to the described in any item video playback apparatus of claim 9-11, which is characterized in that
The broadcast unit, after being also used to show the subtitle file according to the size of first numerical value, to the video
Video flowing detected, determine the video whether be caching play video;
Playback label, the playback is arranged if being also used to the video is the video that the caching plays in the broadcast unit
Label is used to indicate the playback progress that the ambient noise meets the video when threshold value.
13. video playback apparatus according to claim 12, which is characterized in that
The broadcast unit starts recording operation, records the view if being also used to the video not is the video of caching broadcasting
Frequently currently playing content;
The broadcast unit is also used to when the ambient noise is unsatisfactory for the threshold value, keeps the starting recording operation pre-
If period after, stop the recording operation, and save the content of recording;
The broadcast unit is also used to play the content of the recording when receiving when checking instruction of user's input.
14. video playback apparatus according to claim 13, which is characterized in that
The broadcast unit, before being also used to start the recording operation, detect the currently playing content of the video whether be
Advertisement does not start the recording operation, if the video is currently playing if the currently playing content of the video is advertisement
Content is not advertisement, then starts the recording operation.
15. video playback apparatus according to claim 9, which is characterized in that
The broadcast unit is specifically used for determining second display screen, the video is switched to the second display screen and is shown
Show, the distance between the second display screen and user be less than currently show the video the first display screen and the user it
Between distance, alternatively, the size of the second display screen be greater than first display screen size.
16. video playback apparatus according to claim 9, which is characterized in that
The broadcast unit will be described specifically for the point centered on the center for currently showing the first display screen of the video
The broadcasting pictures of video expand M times and are shown, M > 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610072373.9A CN105657497B (en) | 2016-02-01 | 2016-02-01 | A kind of video broadcasting method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610072373.9A CN105657497B (en) | 2016-02-01 | 2016-02-01 | A kind of video broadcasting method and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105657497A CN105657497A (en) | 2016-06-08 |
CN105657497B true CN105657497B (en) | 2019-08-13 |
Family
ID=56489144
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610072373.9A Active CN105657497B (en) | 2016-02-01 | 2016-02-01 | A kind of video broadcasting method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105657497B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109756788B (en) * | 2017-11-03 | 2022-08-23 | 腾讯科技(深圳)有限公司 | Video subtitle automatic adjustment method and device, terminal and readable storage medium |
CN108307238A (en) * | 2018-01-23 | 2018-07-20 | 北京中企智达知识产权代理有限公司 | A kind of video playing control method, system and equipment |
CN109120799A (en) * | 2018-10-11 | 2019-01-01 | 广东小天才科技有限公司 | A kind of autonomous way of recording and intelligent terminal |
CN110312034B (en) * | 2019-06-19 | 2021-02-02 | Oppo广东移动通信有限公司 | Transparent display screen control method and related equipment |
CN112631491A (en) * | 2020-12-31 | 2021-04-09 | 咪咕文化科技有限公司 | Screen character adjusting method and device, network equipment and storage medium |
CN114120211B (en) * | 2022-01-29 | 2022-07-08 | 荣耀终端有限公司 | Message pushing method and device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103391469A (en) * | 2012-05-09 | 2013-11-13 | Lg电子株式会社 | Mobile terminal and controlling method thereof |
CN103873919A (en) * | 2012-12-17 | 2014-06-18 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN103942021A (en) * | 2014-03-24 | 2014-07-23 | 华为技术有限公司 | Method for presenting content, method for pushing content presenting modes and intelligent terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9483110B2 (en) * | 2011-11-07 | 2016-11-01 | International Business Machines Corporation | Adaptive media file rewind |
US9274673B2 (en) * | 2013-12-31 | 2016-03-01 | Google Inc. | Methods, systems, and media for rewinding media content based on detected audio events |
-
2016
- 2016-02-01 CN CN201610072373.9A patent/CN105657497B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103391469A (en) * | 2012-05-09 | 2013-11-13 | Lg电子株式会社 | Mobile terminal and controlling method thereof |
CN103873919A (en) * | 2012-12-17 | 2014-06-18 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN103942021A (en) * | 2014-03-24 | 2014-07-23 | 华为技术有限公司 | Method for presenting content, method for pushing content presenting modes and intelligent terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105657497A (en) | 2016-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105657497B (en) | A kind of video broadcasting method and equipment | |
US9967618B2 (en) | Capturing a user reaction to media content based on a trigger signal and using the user reaction to determine an interest level associated with a segment of the media content | |
WO2020187086A1 (en) | Video editing method and apparatus, device, and storage medium | |
US9418665B2 (en) | Method for controlling device and device control system | |
CN110868626B (en) | Method and device for preloading content data | |
CN108009303B (en) | Search method and device based on voice recognition, electronic equipment and storage medium | |
US10019058B2 (en) | Information processing device and information processing method | |
CN105228050B (en) | The method of adjustment and device of earphone sound quality in terminal | |
CN108012169A (en) | A kind of interactive voice throws screen method, apparatus and server | |
CN107959849B (en) | Live video quality assessment method, storage medium and terminal | |
CN109756767B (en) | Preview data playing method, device and storage medium | |
CN107801120B (en) | A kind of method, device and mobile terminal of determining speaker placement position | |
CN107948729B (en) | Rich media processing method and device, storage medium and electronic equipment | |
CN107205116A (en) | Image-selecting method and Related product | |
CN106921865A (en) | Method for processing video frequency and device | |
CN103581762A (en) | Method, device and terminal equipment for playing network videos | |
US20150379098A1 (en) | Method and apparatus for managing data | |
CN107635083A (en) | The tinkle of bells method to set up, mobile terminal and readable storage medium storing program for executing | |
EP3654194A1 (en) | Information processing device, information processing method, and program | |
US9310957B2 (en) | Method and device for switching current information providing mode | |
CN109005423A (en) | A kind of video broadcasting method and device | |
CN108882043A (en) | A kind of control method for playing back and mobile terminal | |
CN108230312A (en) | A kind of image analysis method, equipment and computer readable storage medium | |
CN106133718A (en) | Including audio frequency apparatus with for showing the system of the mobile device of the information about audio frequency apparatus | |
US20120308194A1 (en) | Display control apparatus, recording/reproduction system, and recording medium |
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 |