CN106507187A - A kind of video broadcasting method and terminal - Google Patents
A kind of video broadcasting method and terminal Download PDFInfo
- Publication number
- CN106507187A CN106507187A CN201610843820.6A CN201610843820A CN106507187A CN 106507187 A CN106507187 A CN 106507187A CN 201610843820 A CN201610843820 A CN 201610843820A CN 106507187 A CN106507187 A CN 106507187A
- Authority
- CN
- China
- Prior art keywords
- video
- sound effect
- effect parameters
- terminal
- video file
- 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.)
- Withdrawn
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/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/439—Processing of audio elementary streams
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8106—Monomedia components thereof involving special audio data, e.g. different tracks for different languages
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8166—Monomedia components thereof involving executable data, e.g. software
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention discloses a kind of video broadcasting method and terminal, wherein method include:Whether video flowing is included in the data flow of monitoring terminal;If the data flow includes video flowing, judge the corresponding video file of the video flowing whether in broadcast state;When the video file is in broadcast state, the video file is played using preset video sound effect parameters.Using the embodiment of the present invention, automatically selecting and switching for terminal sound effect parameters is can achieve, so as to ensure that audio-video document is obtained in that preferably audio when playing.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of video broadcasting method and terminal.
Background technology
With terminal continuous popularization and the communication technology growing, user is to the multimedia work(such as Voice & Video
The usage frequency more and more higher of energy, the audio of high-quality become one of target that terminal is pursued emphatically.For different types of
Played file, the sound effect parameters that is focused on are often different.For example, for the audio of audio frequency, user more focuses on sound field and sound
Plumpness;And the audio for video, then more emphasis surround and shakes user.
At present, Ge great audios manufacturer is respectively provided with audio frequency sound effect parameters and video for Voice & Video in sound effect algorithms
Sound effect parameters are meeting audio demand of the user to different played files.However, in actual audio-video document playing process,
Terminal can not be actively that audio-video document selects preferably sound effect parameters, but be broadcast based on the audio frequency sound effect parameters of acquiescence
Put.When needing video sound effect parameters played file to be adopted to lift audio, need user to manually select and can just complete.Based on silent
The audio frequency sound effect parameters that recognizes carry out when the mode of file broadcasting causes playing video file that audio is poor, manually select sound effect parameters
Mode cause selection lack of wisdom and the high efficiency of sound effect parameters.
Content of the invention
The embodiment of the present invention provides a kind of video broadcasting method and terminal, can achieve terminal sound effect parameters automatically select and
Switching, so that ensure that audio-video document is obtained in that preferably audio when playing.
On the one hand, a kind of video broadcasting method is embodiments provided, and the method includes:
Whether video flowing is included in the data flow of monitoring terminal;
If the data flow includes video flowing, judge the corresponding video file of the video flowing whether in broadcasting shape
State;
When the video file is in broadcast state, the video file is played using preset video sound effect parameters.
On the other hand, a kind of terminal is embodiments provided, and the terminal includes:
Whether monitoring unit, for including video flowing in the data flow of monitoring terminal;
Judging unit, for when the monitoring unit monitors that the data flow includes video flowing, regarding described in judgement
Whether frequency flows corresponding video file in broadcast state;
Broadcast unit, for when the judging unit judges that the video file is in broadcast state, using preset
Video sound effect parameters play the video file.
The embodiment of the present invention can judge the data flow pair by whether including video flowing in the data flow of monitoring terminal
Whether the file that answers is video file, and joined with preferably audio when playing this document by contrasting the current sound effect parameters of terminal
Whether number is identical, and whether judges this document in broadcast state, determines that the holding current sound effect parameters are constant
Or the current sound effect parameters are switched to the preferably sound effect parameters, it is achieved that terminal sound effect parameters automatically select and
Switching, so that ensure that audio-video document is obtained in that preferably audio when playing.
Description of the drawings
In order to be illustrated more clearly that embodiment of the present invention technical scheme, embodiment will be described below needed for be used
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for this area general
For logical technical staff, on the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of schematic flow diagram of video broadcasting method that one embodiment of the invention is provided;
Fig. 2 is a kind of schematic flow diagram of video broadcasting method that another embodiment of the present invention is provided;
Fig. 3 is a kind of schematic block diagram of terminal that one embodiment of the invention is provided;
Fig. 4 is a kind of schematic block diagram of terminal that another embodiment of the present invention is provided;
Fig. 5 is a kind of schematic block diagram of terminal that one embodiment of the invention is provided.
Specific embodiment
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.It is based on this
Embodiment in bright, the every other enforcement obtained under the premise of creative work is not made by those of ordinary skill in the art
Example, belongs to the scope of protection of the invention.
It should be appreciated that when using in this specification and in the appended claims, term " including " indicates described special
Levy, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step,
The presence or interpolation of operation, element, component and/or its set.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, and otherwise " one " of singulative, " one " and " being somebody's turn to do " is intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is
Refer to the one or more any combinations in the associated item that lists and be possible to combine, and combine including these.
As in this specification and in the appended claims as use, term " if " can be solved according to context
Be interpreted as " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if
Detect [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to determining " or
" once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In implementing, the terminal described in the embodiment of the present invention including but not limited to such as has touch sensitive surface
Other of the mobile phone of (for example, touch-screen display and/or touch pad), laptop computer or tablet PC etc are just
Portable device.It is to be further understood that in certain embodiments, the equipment not portable communication device, but have and touch
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal for including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
The terminal supports various application programs, for example following in one or more:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be executed in terminal can be public using at least one of such as touch sensitive surface
Physical user-interface device.Can adjust among applications and/or in corresponding application programs and/or change and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal (for example, is touched
Sensing surface) the various application programs that can support with user interface directly perceived and transparent for a user.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow diagram of video broadcasting method that one embodiment of the invention is provided.Described
Each step that method includes can be executed by terminal, and the terminal can for example be mobile phone, panel computer, notebook computer, the palm
Upper computer, mobile internet device (Mobile Internet Device, MID) and wearable device etc..Specifically, such as Fig. 1
Shown video broadcasting method may include following steps:
Whether video flowing is included in S101, the data flow of monitoring terminal.
Terminal can determine the type belonging to the corresponding file of the data flow by the composition of backstage Monitoring data flow.Tool
Body ground, can determine when video flowing is monitored that this document is video file.
If the S102 data flows include video flowing, judge whether the corresponding video file of the video flowing is in
Broadcast state.
Alternatively, the corresponding file of the data flow can be audio file or video file, for example, can be to record, have
Sound novel, music, TV play, film and homemade video etc..User obtain the mode of this document may include to obtain from local and
Obtain from server.The application program for playing this document can be various playout softwares, for example, can be that talking book is read
Device, music player and video player etc..
Specifically, when terminal monitoring includes video flowing to the data flow, it may be determined that the corresponding text of the data flow
Part is video file, you can when determining broadcasting this document, preferably sound effect parameters are video sound effect parameters.Therefore, when terminal is current
Sound effect parameters be video sound effect parameters when, the sound effect parameters that can keep current are constant;When the current sound effect parameters of terminal are sound
During frequency sound effect parameters, if desired playing video file, then can switch to video sound effect parameters by current sound effect parameters.
Specifically, when terminal monitoring does not include video flowing in the data flow, but during including audio stream, it may be determined that described
The corresponding file of data flow is audio file, you can when determining broadcasting this document, preferably sound effect parameters are audio frequency sound effect parameters.
Therefore, when the current sound effect parameters of terminal are audio frequency sound effect parameters, the sound effect parameters that can keep current are constant;When terminal current
Sound effect parameters be video sound effect parameters when, if desired play audio file, then current sound effect parameters can be switched to audio frequency
Sound effect parameters.
Alternatively, before automatically selecting and switching sound effect parameters, the current sound effect parameters of terminal be can determine whether and plays institute
When stating the corresponding file of data flow, whether preferably sound effect parameters are identical, if identical, the sound effect parameters that can keep current are constant;If
Difference, then can further determine whether the switching for needing to carry out sound effect parameters according to this document state in which.
Alternatively, this document state in which may include that broadcast state and non-broadcast state, non-broadcast state can be wrapped
Include halted state and closed mode.Further, broadcast state may include that normal play, fast forward and reverse, closed mode can be wrapped
Include this document and play and terminate closing caused by the caused closing of a file that closes and triggered based on user operation is instructed.
Still optionally further, if the corresponding file of the data flow is not at broadcast state, due to without audio-video document
Play and would not use sound effect parameters, the sound effect parameters that therefore can keep current are constant;If this document is in broadcast state, can
Sound effect parameters current for terminal are switched to the preferably sound effect parameters.It is wherein, described that to be not at broadcast state non-with described
Broadcast state implication is identical.
S103, when the video file is in broadcast state, play the video using preset video sound effect parameters
File.
Specifically, when the current sound effect parameters of terminal are audio frequency sound effect parameters, if terminal is monitored when S101 is executed
Video flowing, and when judging that when S102 is executed the video flowing corresponding video file is in broadcast state, then can perform
S103, adopts preset video sound effect parameters to play the video file to obtain preferably audio.
Alternatively, the preset video sound effect parameters may be configured as constant according to actual conditions, may be alternatively provided as variable.
Specifically, for constant, the preset video sound effect parameters represent that the preset video sound effect parameters are applied to all of video
File;For variable, the preset video sound effect parameters represent that the preset video sound effect parameters can be with the video file
The attributes such as form different and change.Certainly, the preset video sound effect parameters also can be with other category of the video file
Property different and change, the embodiment of the present invention is not limited.
In embodiments of the present invention, terminal can judge the corresponding file of the data flow by the composition of Monitoring data flow
Affiliated type, type according to belonging to the file determine when playing this document preferably sound effect parameters, and by judging to work as
Whether front sound effect parameters are identical with the preferably sound effect parameters, and whether this document determines guarantor in broadcast state
Hold the current sound effect parameters constant or the current sound effect parameters are switched to the preferably sound effect parameters, to realize
Sound effect parameters are automatically selected and are switched, so as to be lifted at that sound effect parameters when audio-video document is played select intelligent with efficient
Property, it is ensured that audio-video document is obtained in that preferably audio when playing.
Further, Fig. 2 is referred to, and Fig. 2 is a kind of signal of video broadcasting method that another embodiment of the present invention is provided
Flow chart.Specifically, video broadcasting method as shown in Figure 2 may include following steps:
Whether video flowing is included in S201, the data flow of monitoring terminal.
Alternatively, terminal can be determined belonging to the corresponding file of the data flow by the composition of backstage Monitoring data flow
Type.Specifically, this document can be video file or audio file.
Alternatively, the type determined belonging to the corresponding file of the data flow, can be specially:If monitoring described
Data flow includes video flowing, it is determined that this document is video file;If monitor in the data flow, not including video flowing, but
During including audio stream, it is determined that this document is audio file.
Still optionally further, the type determined belonging to the corresponding file of the data flow, can also be specially:Detection
The audio/video decoder state in which of terminal, if it is in running order to detect Video Decoder, it is determined that this document be regarding
Frequency file;If detecting Video Decoder in off working state, but audio decoder being in running order, it is determined that this document
For audio file.
In implementing, terminal can also by the file name suffix of the corresponding file of Monitoring data flow whether with default text
Part suffix the mode such as matches determining the type belonging to this document, will not be described here.
When the current sound effect parameters of terminal are audio frequency sound effect parameters, if having monitored video flowing when S201 is executed,
Can pass through to execute S202 and S203, further determine that the corresponding video file state in which of the video flowing, to judge to be
The no switching for carrying out sound effect parameters.
If the S202 data flows include video flowing, according to preset reading frequency, read the video flowing when
Between stab.
The timestamp, typically one character string, uniquely identifies the time at certain a moment.Alternatively, sound can be adopted
Video file extracting tool extracts timestamp from audio-video document.The preset reading frequency, it may include read each
The timestamp of frame of video or the timestamp every one or more frame of video reading primary video frame, the embodiment of the present invention are not limited
Fixed.
In implementing, the broadcasting of video file may include the input of piece source file, encapsulation, decoding, output.Wherein, encapsulate
May include the information such as audio stream, video flowing, captions;Decoding process includes audio decoder, video decoding and corresponding time synchronized
Mechanism (will audio frequency and video be associated) etc.;Output procedure includes corresponding audio output and video frequency output etc..In sound
Frequently, in video decoding process, in order to keep audio frequency when playing, audio video synchronization, when generally by the way of timestamp to realize
Clock synchronization.Thus, terminal can pass through the timestamp information for obtaining the video flowing in the video file, timestamp as described in judgement
Whether change and increase with system time, determine the video file state in which.
Alternatively, the video file state in which may include broadcast state and non-broadcast state.Still optionally further,
Non- broadcast state may include halted state and closed mode.
Whether S203, the timestamp based on reading, determine the corresponding video file of the video flowing in broadcasting shape
State.
Alternatively, described based on the timestamp for reading, the video file is determined whether in broadcast state, can be with
Specially:Preset number threshold k and M, judge whether the timestamp of continuous K reading is identical;If read for continuous K time when
Between stab in exist and appoint the timestamp of twi-read different, then can determine that the video file is in broadcast state;If the continuous K
The timestamp of secondary reading is identical, then can determine that the video file placed in a suspend state;If continuous N time does not read the time
Stamp, then can determine that the video file is closed;Wherein, K, M are no less than 2 integer, and K is predeterminable with M for identical
Or different values.
Still optionally further, described based on the timestamp for reading, determine the video file whether in broadcasting shape
State, can also be specially:Whether preset number threshold value L, judge time for being identified of timestamp of continuous L reading according to described
The reading order of timestamp increases successively;If so, then can determine that the video file is in broadcast state;Otherwise can determine that described
Video file is not at broadcast state, that is, be in non-broadcast state;Wherein, L is no less than 2 integer.By setting number threshold
Value, can lift the accuracy for determining the video file state in which, it is to avoid the video file state because getting determines
Inaccurate and caused sound effect parameters selection is inaccurate, even results in the problem of continuous switching.
S204, when the video file is in broadcast state, play the video using preset video sound effect parameters
File.
In implementing, the sound effect parameters of acquiescence can be set to audio frequency sound effect parameters or video sound effect parameters by terminal.Mesh
Before, the sound effect parameters of terminal acquiescence are usually arranged as audio frequency sound effect parameters.
Alternatively, the sound effect parameters of terminal acquiescence can be also arranged to the usage frequency of different sound effect parameters according to user,
To reduce the switching power consumption of sound effect parameters.For example, within a period of time or in certain broadcasting time, when statistics is used
When the number of times of family broadcasting audio file is more, then audio frequency sound effect parameters can be set to the sound effect parameters of acquiescence;And work as user and broadcast
Put video file number of times more when, then can by video sound effect parameters be set to give tacit consent to sound effect parameters.Still optionally further, eventually
The time of the sound effect parameters of end renewal acquiescence can be periodic, or acyclic.For example, terminal can be according to pre-
If time interval, such as daily, per three days or weekly, update the sound effect parameters of acquiescence.Again for example, terminal also can be according to default
Broadcasting time, when such as often having played 20 times, 50 times or 100 files, updates the sound effect parameters of acquiescence, etc., the present invention is implemented
Example is not limited.
Specifically, when the current sound effect parameters of terminal are audio frequency sound effect parameters, if having monitored to regard when S201 is executed
Frequency flows, and determines that when S202 and S203 is executed the video file in broadcast state, then can perform S204, and broadcast notifies bottom
Layer parameter switches to video sound effect parameters, adopts preset video sound effect parameters to play the video file to obtain preferably sound
Effect.
S205, when the video file is not at broadcast state, the video sound effect parameters are switched to preset sound
Frequency sound effect parameters.
When the sound effect parameters of terminal acquiescence are audio frequency sound effect parameters, in order to ensure the time period in not playing video file
The current sound effect parameters of interior terminal are always the audio frequency sound effect parameters of acquiescence, if terminal is regarded according to timestamp information is detected
Frequency file is changed to halted state or closed mode from broadcast state, then can automatically by regarding for adopting when playing the video file
Frequency sound effect parameters switch back into the audio frequency sound effect parameters of acquiescence.
When terminal acquiescence sound effect parameters be video sound effect parameters when, the selection of sound effect parameters and switching and said process phase
Corresponding, will not be described here.
In embodiments of the present invention, by Monitoring data flow, terminal can include that video flowing determines that the data flow is corresponding
File is video file, and by contrasting the current sound effect parameters of terminal with preferably sound effect parameters whether phase during broadcasting this document
With, and this document state in which is further determined that according to the timestamp information of the video flowing, judge whether to sound
The switching of effect parameter, it is achieved that automatically selecting and switching for terminal sound effect parameters, improves the audio when audio-video document is played
The intelligent and high efficiency that parameter is selected, so that ensure that audio-video document is obtained in that preferably audio when playing.
Fig. 3 is referred to, Fig. 3 is a kind of schematic block diagram of terminal that one embodiment of the invention is provided.The terminal is for example
Can be mobile phone, panel computer, notebook computer, palm PC, MID and wearable device etc..Specifically, as shown in Figure 3
Terminal may include:Monitoring unit 301, judging unit 302 and broadcast unit 303.Wherein,
Whether the monitoring unit 301, for including video flowing in the data flow of monitoring terminal.
Alternatively, terminal can determine by the composition of 301 Monitoring data flow of the monitoring unit that the data flow is corresponding
File belonging to type.Specifically, can determine when video flowing is monitored that this document is video file.
The judging unit 302, for when the monitoring unit 301 monitors that the data flow includes video flowing,
Judge the corresponding video file of the video flowing whether in broadcast state.
The corresponding file of the data flow can be video file or audio file.Alternatively, when the monitoring unit 301
When monitoring that the data flow includes video flowing, it may be determined that this document is video file, and work as and monitor in the data flow
Do not include video flowing, but during including audio stream, it may be determined that this document is audio file.
In implementing, can also, prison whether in running order by the monitoring audio/video decoder of the monitoring unit 301
The file name suffix mode such as whether match with default video file suffix for surveying this document is corresponding to judge the data flow
File whether be video file, will not be described here.
When the current sound effect parameters of terminal are audio frequency sound effect parameters, if the monitoring unit 301 has monitored video flowing,
Then the corresponding video file state in which of the video flowing can be judged by the judging unit 302, select sound effect parameters.
Wherein, the video file state in which may include broadcast state and non-broadcast state.
The broadcast unit 303, for when the judging unit 302 judge the video file be in broadcast state when,
The video file is played using preset video sound effect parameters.
Specifically, when the monitoring unit 301 monitors that data flow includes video flowing, and the judging unit 302 is sentenced
When the corresponding video file of the video flowing that breaks is in broadcast state, the broadcast unit 303 can adopt preset video sound
Effect parameter plays the video file.
In embodiments of the present invention, can be judged by the composition of Monitoring data flow belonging to the corresponding file of the data flow
Type, type according to belonging to the file determines when playing this document preferably sound effect parameters, and current by judging
Whether sound effect parameters are identical with the preferably sound effect parameters, and whether this document is in broadcast state, selects audio to join
Number, to realize automatically selecting and switching for sound effect parameters, so that lift the intelligence that sound effect parameters when audio-video document is played are selected
Energy property and high efficiency, it is ensured that audio-video document is obtained in that preferably audio when playing.
Further, Fig. 4 is referred to, and Fig. 4 is a kind of schematic block diagram of terminal that another embodiment of the present invention is provided.Tool
Body ground, terminal as shown in Figure 4 may include:Monitoring unit 401, judging unit 402, broadcast unit 403 and switch unit 404.
Wherein,
Whether the monitoring unit 401, for including video flowing in the data flow of monitoring terminal.
Alternatively, terminal can determine by the composition of 401 Monitoring data flow of the monitoring unit that the data flow is corresponding
File belonging to type.Specifically, can determine when video flowing is monitored that this document is video file.
The judging unit 402, for when the monitoring unit 401 monitors that the data flow includes video flowing,
Judge the corresponding video file of the video flowing whether in broadcast state.
When the current sound effect parameters of terminal are audio frequency sound effect parameters, if the monitoring unit 401 has monitored video flowing,
Then the corresponding video file state in which of the video flowing can be judged by the judging unit 402, select sound effect parameters.
Wherein, the video file state in which may include broadcast state and non-broadcast state.
Alternatively, the judging unit 402 can pass through the timestamp information for obtaining the video flowing in the video file, such as
Judge whether the timestamp changes and increase with system time, determine the video file state in which.Specifically,
The judging unit 402 may include:
Reading unit 405, for according to preset reading frequency, reading the timestamp of the video flowing.
The timestamp, typically one character string, uniquely identifies the time at certain a moment.Alternatively, sound can be adopted
Video file extracting tool extracts timestamp from audio-video document.The preset reading frequency, it may include read each
The timestamp of frame of video or the timestamp every one or more frame of video reading primary video frame, the embodiment of the present invention are not limited
Fixed.
Whether determining unit 406, for the timestamp read based on the reading unit, determine the video file
It is in broadcast state.
Alternatively, the determining unit 406, can be specifically for:Judge whether the timestamp of continuous K reading is identical,
Wherein, K is no less than 2 integer, if exist appointing timestamp twice different, it is determined that the video file is in broadcast state,
Otherwise determine that the video file is in non-broadcast state.
Still optionally further, the determining unit 406, can with specifically for:Judge the timestamp institute of continuous L reading
Whether the time of mark increases successively according to the reading order of the timestamp, and wherein, L is no less than 2 integer, if so, then
The video file is determined in broadcast state, otherwise determine that the video file is in non-broadcast state.
The broadcast unit 403, for when the judging unit 402 judge the video file be in broadcast state when,
The video file is played using preset video sound effect parameters.
Specifically, when the monitoring unit 401 monitors that data flow includes video flowing, and the judging unit 402 is sentenced
When the corresponding video file of the video flowing that breaks is in broadcast state, the broadcast unit 403 can adopt preset video sound
Effect parameter plays the video file.
When the judging unit 402, the switch unit 404, for judging that the video file is not at broadcast state
When, the video sound effect parameters are switched to preset audio frequency sound effect parameters.
For example, when the sound effect parameters of terminal acquiescence are audio frequency sound effect parameters, in order to ensure not playing video text
In the time period of part, the current sound effect parameters of terminal are always the sound effect parameters of acquiescence, if user suspends, closes video file, or
Video file is played and is terminated, and the video sound effect parameters that playing video file is adopted then automatically can be cut by the switch unit 404
It is changed to preset audio frequency sound effect parameters.
Specifically, when the sound effect parameters of terminal acquiescence are audio frequency sound effect parameters, if the monitoring unit 401 monitors to regard
Frequency flows, and the judging unit 402 judges that the corresponding file of the video flowing is in broadcast state, then broadcast unit 403 can be adopted
The video file is played with preset video sound effect parameters.Further, in video file playing process, if described judge list
Unit 402 detects the video file according to timestamp information and changes to non-broadcast state, in order to ensure terminal from broadcast state
Current sound effect parameters are always the sound effect parameters of acquiescence, then can be by the switch unit 404 by the video sound effect parameters
Switch to audio frequency sound effect parameters.
In embodiments of the present invention, by Monitoring data flow, terminal can include that video flowing determines that the data flow is corresponding
File is video file, and by contrasting the current sound effect parameters of terminal with preferably sound effect parameters whether phase during broadcasting this document
With, and this document state in which is further determined that according to the timestamp information of the video flowing, judge whether to sound
The switching of effect parameter, it is achieved that automatically selecting and switching for terminal sound effect parameters, improves the audio when audio-video document is played
The intelligent and high efficiency that parameter is selected, so that ensure that audio-video document is obtained in that preferably audio when playing.
Fig. 5 is referred to, Fig. 5 is a kind of schematic block diagram of terminal that one embodiment of the invention is provided, above-mentioned for executing
Video broadcasting method.Specifically, terminal as shown in Figure 5 may include:One or more processors 501, one or more defeated
Enter equipment 502, one or more output equipments 503 and memory 504.The processor 501, input equipment 502, output equipment
503 and memory 504 connected by the bus 505.The memory 502 is used for store instruction, and the processor 501 is used for
Execute the instruction of the storage of the memory 502.
It should be appreciated that in embodiments of the present invention, the processor 501 can be CPU (Central
Processing Unit, CPU), or other general processors, digital signal processor (Digital Signal
Processor, DSP), special IC (Application Specific Integrated Circuit, ASIC), existing
Into programmable gate array (Field-Programmable Gate Array, FPGA) or other PLDs, discrete
Door or transistor logic and discrete hardware components etc..Alternatively, the general processor can be microprocessor, also may be used
Being any conventional processor.
The input equipment 502 can include Trackpad (as being used for the file play instruction of receiving user's input), fingerprint
Adopt sensor (for gathering the directional information of the finger print information and fingerprint of user) and microphone etc..The output equipment 503 can
To include display (LCD etc.) and loudspeaker etc..
The memory 504 can include read-only storage (Read-Only Memory, ROM) and random access memory
(Random Access Memory, RAM), and to 501 provide instruction and data of the processor.The one of the memory 504
Part can also include nonvolatile RAM (Non-Volatile Memory, NVM).For example, the memory
504 can be with the information of storage device type, various audio play parameter information etc..
In implementing, processor 501, input equipment 502 described in the embodiment of the present invention, output equipment 503 can
The implementation described in the embodiment of video broadcasting method provided in an embodiment of the present invention is executed, the present invention is also can perform real
The implementation of the terminal described by example is applied, be will not be described here.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Unit and algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware
With the interchangeability of software, composition and the step of each example is generally described in the above description according to function.This
A little functions are executed with hardware or software mode actually, the application-specific and design constraint depending on technical scheme.Specially
Industry technical staff can use different methods to realize described function to each specific application, but this realization is not
It is considered as beyond the scope of this invention.
Those skilled in the art can be understood that, for convenience of description and succinctly, the end of foregoing description
The specific work process of end, unit and terminal, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed method, terminal and terminal, can be with
Realize by another way.For example, terminal embodiment described above is only schematic, for example, the unit
Divide, only a kind of division of logic function can have other dividing mode, for example multiple units or component when actually realizing
Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or not execute.In addition, shown or beg for
By coupling each other or direct-coupling or communication connection can be INDIRECT COUPLING by some interfaces, terminal or unit
Or communication connection, or electricity, machinery or other forms connections.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit
The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize embodiment of the present invention scheme
Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, or two or more units are integrated in a unit.Above-mentioned integrated
Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit
When, can be stored in a computer read/write memory medium.Such understanding is based on, technical scheme is substantially
The part that in other words prior art is contributed, or all or part of the technical scheme can be in the form of software product
Embody, the computer software product is stored in a storage medium, use so that a computer including some instructions
Equipment (can be personal computer, server, or network equipment etc.) executes the complete of each embodiment methods described of the invention
Portion or part steps.And aforesaid storage medium includes:USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can be with
The medium of store program codes.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or replacement should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
The protection domain of requirement is defined.
Claims (10)
1. a kind of video broadcasting method, it is characterised in that include:
Whether video flowing is included in the data flow of monitoring terminal;
If the data flow includes video flowing, judge the corresponding video file of the video flowing whether in broadcast state;
When the video file is in broadcast state, the video file is played using preset video sound effect parameters.
2. method according to claim 1, it is characterised in that described whether judge the corresponding video file of the video flowing
Include in broadcast state:
According to preset reading frequency, the timestamp of the video flowing is read;
Based on the timestamp for reading, determine the video file whether in broadcast state.
3. method according to claim 2, it is characterised in that described based on the timestamp for reading, determine described in regard
Whether frequency file is in broadcast state, including:
Judge whether the timestamp of continuous K reading is identical;Wherein, the K is no less than 2 integer;
If exist appointing timestamp twice different, it is determined that the video file is in broadcast state.
4. method according to claim 2, it is characterised in that described based on the timestamp for reading, determine described in regard
Whether frequency file is in broadcast state, including:
Judge whether the time identified by the timestamp of continuous L reading increases successively according to the reading order of the timestamp;
Wherein, the L is no less than 2 integer;
If, it is determined that the video file is in broadcast state.
5. the method according to any one of claim 1-4, it is characterised in that described using preset video sound effect parameters
After playing the video file, methods described also includes:
When the video file is not at broadcast state, preset audio frequency audio is switched to join the video sound effect parameters
Number.
6. a kind of terminal, it is characterised in that include:
Whether monitoring unit, for including video flowing in the data flow of monitoring terminal;
Judging unit, for when the monitoring unit monitors that the data flow includes video flowing, judging the video flowing
Whether corresponding video file is in broadcast state;
Broadcast unit, for when the judging unit judges that the video file is in broadcast state, using preset video
Sound effect parameters play the video file.
7. terminal according to claim 6, it is characterised in that the judging unit includes:
Reading unit, for according to preset reading frequency, reading the timestamp of the video flowing;
Determining unit, for the timestamp read based on the reading unit, is determined whether the video file is in and is broadcast
Put state.
8. terminal according to claim 7, it is characterised in that the determining unit specifically for:
Judge whether the timestamp of continuous K reading is identical;Wherein, the K is no less than 2 integer;
If exist appointing timestamp twice different, it is determined that the video file is in broadcast state.
9. terminal as claimed in claim 7, it is characterised in that the determining unit specifically for:
Judge whether the time identified by the timestamp of continuous L reading increases successively according to the reading order of the timestamp;
Wherein, the L is no less than 2 integer;
If, it is determined that the video file is in broadcast state.
10. the terminal according to any one of claim 6-9, it is characterised in that the terminal also includes:
Switch unit, for when the judging unit judges that the video file is not at broadcast state, by the video sound
Effect parameter switching is preset audio frequency sound effect parameters.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610843820.6A CN106507187A (en) | 2016-09-22 | 2016-09-22 | A kind of video broadcasting method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610843820.6A CN106507187A (en) | 2016-09-22 | 2016-09-22 | A kind of video broadcasting method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106507187A true CN106507187A (en) | 2017-03-15 |
Family
ID=58290419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610843820.6A Withdrawn CN106507187A (en) | 2016-09-22 | 2016-09-22 | A kind of video broadcasting method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106507187A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108632657A (en) * | 2018-07-06 | 2018-10-09 | 深圳创维-Rgb电子有限公司 | A kind of caption presentation method, storage medium and smart television |
CN109287046A (en) * | 2018-09-30 | 2019-01-29 | 北京经纬恒润科技有限公司 | A kind of atmosphere lamp control method, device and system |
CN110933220A (en) * | 2018-09-20 | 2020-03-27 | 中兴通讯股份有限公司 | Sound effect processing method, system, terminal and computer readable storage medium |
CN113891136A (en) * | 2021-09-18 | 2022-01-04 | 深圳Tcl新技术有限公司 | Video playing method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1770705A1 (en) * | 2004-12-01 | 2007-04-04 | Matsushita Electric Industrial Co., Ltd. | Recording medium, reproduction device, program, reproduction method, and integrated circuit |
CN102883217A (en) * | 2012-09-26 | 2013-01-16 | 华为技术有限公司 | Method and device for controlling video playing |
CN103226961A (en) * | 2013-04-01 | 2013-07-31 | 北京小米科技有限责任公司 | Play method and device |
CN103366779A (en) * | 2012-04-10 | 2013-10-23 | 中兴通讯股份有限公司 | Method and device for automatic setting of sound-effect parameters |
CN105100831A (en) * | 2014-04-16 | 2015-11-25 | 北京酷云互动科技有限公司 | Television set playing mode adjustment method, television playing system and television set |
CN105898364A (en) * | 2016-05-26 | 2016-08-24 | 北京小米移动软件有限公司 | Video playing processing method, device, terminal and system |
-
2016
- 2016-09-22 CN CN201610843820.6A patent/CN106507187A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1770705A1 (en) * | 2004-12-01 | 2007-04-04 | Matsushita Electric Industrial Co., Ltd. | Recording medium, reproduction device, program, reproduction method, and integrated circuit |
CN103366779A (en) * | 2012-04-10 | 2013-10-23 | 中兴通讯股份有限公司 | Method and device for automatic setting of sound-effect parameters |
CN102883217A (en) * | 2012-09-26 | 2013-01-16 | 华为技术有限公司 | Method and device for controlling video playing |
CN103226961A (en) * | 2013-04-01 | 2013-07-31 | 北京小米科技有限责任公司 | Play method and device |
CN105100831A (en) * | 2014-04-16 | 2015-11-25 | 北京酷云互动科技有限公司 | Television set playing mode adjustment method, television playing system and television set |
CN105898364A (en) * | 2016-05-26 | 2016-08-24 | 北京小米移动软件有限公司 | Video playing processing method, device, terminal and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108632657A (en) * | 2018-07-06 | 2018-10-09 | 深圳创维-Rgb电子有限公司 | A kind of caption presentation method, storage medium and smart television |
CN108632657B (en) * | 2018-07-06 | 2020-12-01 | 深圳创维-Rgb电子有限公司 | Subtitle display method, storage medium and smart television |
CN110933220A (en) * | 2018-09-20 | 2020-03-27 | 中兴通讯股份有限公司 | Sound effect processing method, system, terminal and computer readable storage medium |
CN109287046A (en) * | 2018-09-30 | 2019-01-29 | 北京经纬恒润科技有限公司 | A kind of atmosphere lamp control method, device and system |
CN113891136A (en) * | 2021-09-18 | 2022-01-04 | 深圳Tcl新技术有限公司 | Video playing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2021201361B2 (en) | Device, method, and graphical user interface for providing audiovisual feedback | |
DK180955B1 (en) | Systems, methods, and user interfaces for headphone fit adjustment and audio output control | |
US9311043B2 (en) | Adaptive audio feedback system and method | |
CN106507187A (en) | A kind of video broadcasting method and terminal | |
CN106202358A (en) | A kind of method recommending application program and terminal | |
US20190342444A1 (en) | Automatic Wallpaper Setting Method, Terminal Device, and Graphical User Interface | |
CN107911544A (en) | The method for controlling volume and device of a kind of mobile terminal | |
CN106211292A (en) | The air navigation aid of a kind of mobile terminal and mobile terminal | |
US11656838B2 (en) | User interfaces for time period-based curated playlists | |
CN106469396A (en) | A kind of method of advertisement information and terminal | |
CN106407370A (en) | Song word display method and mobile terminal | |
CN105573585A (en) | Information display method and terminal | |
AU2017100472B4 (en) | Device, method, and graphical user interface for providing audiovisual feedback | |
CN106648326A (en) | Method for regulating screen-off time, and mobile terminal | |
CN106297836A (en) | A kind of audio frequency playing method and terminal | |
CN106406494A (en) | Method for scheduling processor and terminal | |
CN106200976A (en) | A kind of motion-activated method and terminal | |
CN106303003A (en) | The method of a kind of application recommendation and terminal | |
CN106254677A (en) | A kind of scene mode setting method and terminal | |
CN106488318A (en) | The method of video playback and electric terminal | |
US20120210277A1 (en) | Usage based screen management | |
CN106406716A (en) | Audio playing method and audio playing system in lock screen state | |
CN106792182A (en) | Video playback method, mobile terminal and audio output apparatus | |
CN106407792A (en) | Method for controlling mobile terminal and sound box | |
TW201732582A (en) | Method and system for switching output interfaces of a computer system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170315 |