CN108235084A - A kind of video broadcasting method and mobile terminal - Google Patents
A kind of video broadcasting method and mobile terminal Download PDFInfo
- Publication number
- CN108235084A CN108235084A CN201810134227.3A CN201810134227A CN108235084A CN 108235084 A CN108235084 A CN 108235084A CN 201810134227 A CN201810134227 A CN 201810134227A CN 108235084 A CN108235084 A CN 108235084A
- Authority
- CN
- China
- Prior art keywords
- video
- data stream
- mobile terminal
- output
- decoded
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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/4126—The peripheral being portable, e.g. PDAs or mobile phones
-
- 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/426—Internal components of the client ; Characteristics thereof
-
- 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/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4341—Demultiplexing of audio and video streams
-
- 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/44213—Monitoring of end-user related data
- H04N21/44218—Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV program
-
- 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/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Social Psychology (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Telephone Function (AREA)
Abstract
An embodiment of the present invention provides a kind of video broadcasting method and mobile terminal, the method includes:In video display process, parameter preset or user based on mobile terminal are to the browse state of video, it is determined whether close the output of the video data stream of video;If so, forbidding being decoded the video data stream of video, the voice data stream of video is decoded, and decoded voice data stream is exported to voice-frequency channel.Video playing scheme provided in an embodiment of the present invention can dynamically adjust the output or closing of video data stream in video display process, when closing video data stream output, only export voice data stream, can reduce the consumption of data traffic and electricity at this time.
Description
Technical field
The present invention relates to video display arts field, more particularly to a kind of video broadcasting method and mobile terminal.
Background technology
In today of mobile Internet rapid development, people increasingly like giving pleasure to by video acquisition on mobile terminals
The information such as happy, study.
People are when using mobile terminal to watch video at present, at the high device of the consumption such as image processor, loudspeaker resource
In working condition, cause video playing that can consume a large amount of resource, such as video is watched when mobile terminal is under low electricity condition
When, it will mobile terminal is caused to shut down, influences the use of user.
Therefore, the video broadcasting method of the prior art exists to the larger problem of the consumption of mobile terminal resource.
Invention content
The embodiment of the present invention provides a kind of video broadcasting method and mobile terminal, to solve video playing mistake in the prior art
The problem of larger to the consumption of resource in journey.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
A kind of method of video playing, including:In video display process, parameter preset based on the mobile terminal or
User is to the browse state of video, it is determined whether closes the output of the video data stream of the video;If so, forbid regarding to described
The video data stream of frequency is decoded, and the voice data stream of the video is decoded, and by decoded voice data stream
It exports to voice-frequency channel.
The embodiment of the present invention additionally provides a kind of mobile terminal, and the mobile terminal includes:Determining module, in video
In playing process, parameter preset or user based on the mobile terminal are to the browse state of video, it is determined whether described in closing
The output of the video data stream of video;First output module, for if so, forbidding solving the video data stream of the video
Code, is decoded the voice data stream of the video, and decoded voice data stream is exported to voice-frequency channel.
An embodiment of the present invention provides a kind of mobile terminals, including processor, memory and are stored on the memory
And the computer program that can be run on the processor, when the computer program is performed by the processor described in realization
The step of video broadcasting method.
An embodiment of the present invention provides a kind of computer readable storage medium, stored on the computer readable storage medium
Computer program, the step of video broadcasting method is realized when the computer program is executed by processor.
In embodiments of the present invention, by video display process, parameter preset or user couple based on mobile terminal
The browse state of video, it is determined whether close the output of the video data stream of video;If so, forbid the video data stream to video
It is decoded, the voice data stream of video is decoded and exports decoded voice data stream to voice-frequency channel, it can
The output or closing of video data stream are dynamically adjusted in video display process, when closing video data stream output, is only exported
Voice data stream can reduce the consumption of data traffic and electricity at this time.
Description of the drawings
Fig. 1 is a kind of step flow chart of video broadcasting method of the embodiment of the present invention one;
Fig. 2 is one of button state schematic diagram of the embodiment of the present invention;
Fig. 3 is the two of the button state schematic diagram of the embodiment of the present invention;
Fig. 4 is a kind of step flow chart of video broadcasting method of the embodiment of the present invention two;
Fig. 5 is a kind of structure diagram of mobile terminal of the embodiment of the present invention three;
Fig. 6 is a kind of structure diagram of mobile terminal of the embodiment of the present invention four;
Fig. 7 is a kind of hardware architecture diagram of mobile terminal of the embodiment of the present invention five.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without making creative work
Example, shall fall within the protection scope of the present invention.
Embodiment one
With reference to Fig. 1, a kind of step flow chart of video broadcasting method of the embodiment of the present invention one is shown.
Video broadcasting method provided in an embodiment of the present invention includes the following steps:
Step 101:In video display process, parameter preset or user based on mobile terminal are to the browsing shape of video
State, it is determined whether close the output of the video data stream of video.
During specific implementation, parameter preset can be that user hand moves the output for closing video data stream.Specifically, exist
Button is provided in video playing interface, user carries out button touch control operation so as to set the output of video data stream or closing
Output.As shown in Figure 2 and Figure 3, when button is Fig. 2 states, it is determined that the video data stream output of video is closed, when button is
During Fig. 3 states, it is determined that open the video data stream output of video.
It should be noted that parameter preset other than for that can control whether that video data stream is needed to export manually, moves
Dynamic terminal can also determine the need for closing according to other parameter presets the output of video data stream.Wherein, parameter preset can
When thinking that the battery capacity of mobile terminal is less than preset value, it is determined that close the output of the video data stream of video.In addition to being based on
Except the output of the video data stream of parameter preset control video, browse state of the user to video is also based on, such as:When
When detecting user in preset time period not in the preset range at video playing interface, it is determined that close the video counts of video
According to the output of stream, the embodiment of the present invention is not specifically limited parameter preset.
Step 102:If so, forbidding being decoded the video data stream of video, the voice data stream of video is solved
Code simultaneously exports decoded voice data stream to voice-frequency channel.
When determining that user clicks button for Fig. 2 states, then the voice data stream of video is decoded, and exported extremely
Voice-frequency channel, the at this time broadcasting of video only have sound, therefore can reduce disappearing for the resources such as electricity, flow for no video pictures
Consumption.
In embodiments of the present invention, by video display process, parameter preset or user couple based on mobile terminal
The browse state of video, it is determined whether close the output of the video data stream of video;If so, forbid the video data stream to video
It is decoded, the voice data stream of video is decoded and exports decoded voice data stream to voice-frequency channel, it can
It realizes in video display process, user can freely control the output to video data stream, be exported when closing video data stream
When, voice data stream is only exported, the consumption of resource can be reduced at this time, promotes the usage experience of user.
Embodiment two
With reference to Fig. 4, a kind of step flow chart of video broadcasting method of the embodiment of the present invention two is shown.
Video broadcasting method provided in an embodiment of the present invention includes the following steps:
Step 201:In video display process, parameter preset or user based on mobile terminal are to the browsing shape of video
State, it is determined whether close the output of the video data stream of video.
When broadcasting video be mobile terminal local video file when, resolver parse the video into video data stream and
Voice data stream.
When the video of broadcasting is Internet video, then mobile terminal plays the video counts of video from server download in advance
According to stream and voice data stream.
For pressing the browse state of parameter preset based on mobile terminal or user to video, it is determined whether close video
The mode of the output of video data stream can include but is not limited to following several ways:
The first is:Front camera is called, detects and whether recognizes facial image in preset time period;If it is not, then
Determine the output of the video data stream of closing video.
When in preset time period it is unidentified to facial image when, then show that user does not watch video, close video at this time
The output of video data stream can reduce the consumption of battery capacity.It should be noted that preset time period could be provided as 10s,
20s, 60s etc., the embodiment of the present invention is not particularly limited preset time period.
It is for second:Detect the remaining capacity of mobile terminal;If remaining capacity is less than default electricity, it is determined that closes video
Video data stream output.
By comparing the size of remaining capacity and default electricity to determine whether needing the video data stream of closing video
Output, output of this kind of mode user without the video data stream of control video manually, and the function is realized automatically.When remaining electricity
When amount is less than default electricity, then show that current battery charge is relatively low, electricity can be reduced by closing the output of the video data stream of video
The consumption of amount so that the usage time of battery lengthens, and promotes the usage experience of user.
It should be noted that those skilled in the art can select default electricity, default electricity could be provided as
20%th, 30%, 40% etc., the embodiment of the present invention is to being not specifically limited the setting for presetting electricity.
A kind of preferred mode is, when judging that remaining capacity is less than default electricity, can export prompt message, prompts to use
Whether family closes the output of video data stream, when user's selection continues to output, then video normal play.This kind is according to user's
Selection determines video playing mode, can enhance the fluency of video playing.
The third is:Detect the remaining data flow value in the communication set meal of mobile terminal;If data flow magnitude is less than pre-
If data flow magnitude, it is determined that close the output of the video data stream of video.
It should be noted that those skilled in the art can be configured preset data flow value according to actual conditions,
Wherein preset data flow value can be 500M, 600M, 700M etc., and the embodiment of the present invention is not made preset data flow value specifically
Limitation.
4th kind is:Button is provided in video playing interface, user carries out touch control operation to button, such as Fig. 2, Fig. 3
It is shown, when button is Fig. 2 states, it is determined that close the video data stream output of video, when button is Fig. 3 states, then really
Surely the video data stream output of video is opened.
Step 202:If so, forbidding being decoded the video data stream of video, the voice data stream of video is solved
Code simultaneously exports decoded voice data stream to voice-frequency channel.
When the video data stream output for determining closing video, the audio decoder of mobile terminal only carries out voice data stream
Decoding, and by after the encapsulation of decoded voice data stream, export to voice-frequency channel.
The video playing mode of the step does not play image only to play sound.Under this kind of broadcast mode, video playing
Interface can know the progress of video playing in running background, user while other affairs are handled.
Step 203:If it is determined that the output of the video data stream of video is opened, to the voice data stream and video data of video
Stream is decoded.
It when being decoded to voice data stream, can be decoded by audio decoder, to the video data stream of video
It is decoded when being decoded by Video Decoder, specific decoding process reference the relevant technologies, in the embodiment of the present invention
This is not particularly limited.
Step 204:Decoded video data stream is exported to video frequency channel, and decoded voice data stream is exported
To voice-frequency channel
When the output for the video data stream for opening video, while voice data stream and video data stream are decoded, it will
Decoded video data stream is exported to video frequency channel, decoded voice data stream is exported to voice-frequency channel, realization was both broadcast
It puts image and plays sound again.
In embodiments of the present invention, by the way that in video display process, user can be manually or based on shifting
Other parameter presets of dynamic terminal or user are to the browse state of video, it is determined whether close the defeated of the video data stream of video
Go out;If so, forbid being decoded the video data stream of video, the voice data stream of video is decoded and will be decoded
Voice data stream is exported to voice-frequency channel, can be realized in video display process, and user can freely control and video is regarded
The output of frequency data stream when the video data stream output for closing video, only exports voice data stream, can reduce to movement at this time
The consumption of the resources such as terminal battery electricity quantity, data traffic, while user can get video while other affairs are completed
Sound, promote the usage experience of user.
Embodiment three
With reference to Fig. 5, a kind of structure diagram of mobile terminal of the embodiment of the present invention three is shown.
Mobile terminal provided in an embodiment of the present invention includes:Determining module 301, in video display process, being based on
The parameter preset of the mobile terminal or user are to the browse state of video, it is determined whether close the video data stream of the video
Output;First output module 302, for if so, forbidding being decoded the video data stream of the video, to the video
Voice data stream be decoded, and decoded voice data stream is exported to voice-frequency channel.
In embodiments of the present invention, by the parameter preset based on mobile terminal in video display process or user to regarding
The browse state of frequency, it is determined whether close the output of the video data stream of video;If so, forbid flowing into the video data of video
Row decoding, is decoded the voice data stream of video and exports decoded voice data stream to voice-frequency channel, Neng Goushi
In present video display process, user can freely control the output to video data stream, when closing video data stream output,
Voice data stream is only exported, the consumption of resource can be reduced at this time, promotes the usage experience of user.
Example IV
With reference to Fig. 6, a kind of structure diagram of mobile terminal of the embodiment of the present invention four is shown.
Mobile terminal provided in an embodiment of the present invention includes:Determining module 401, in video display process, being based on
The parameter preset of the mobile terminal or user are to the browse state of video, it is determined whether close the video data stream of the video
Output;First output module 402, for if so, forbidding being decoded the video data stream of video, to the sound of the video
Frequency data stream is decoded, and decoded voice data stream is exported to voice-frequency channel.
Preferably, the mobile terminal further includes:Decoder module 403, in the determining module 401 in video playing
In the process, parameter preset or user based on the mobile terminal are to the browse state of video, it is determined whether close the video
Video data stream output after, however, it is determined that the output of the video data stream of the video is opened, to the audio of the video
Data flow and video data stream are decoded;Second output module 404, for exporting decoded video data stream to video
Access, and decoded voice data stream is exported to voice-frequency channel.
Preferably, the determining module 401 includes:Submodule 4011 is called, for calling front camera, is detected pre-
If whether recognize facial image in the period;First determination sub-module 4012, for if not, it is determined that close the video
Video data stream output.
Preferably, the determining module 401 includes:First detection sub-module 4013, for detecting the mobile terminal
Remaining capacity;Second determination sub-module 4014, if being less than default electricity for the remaining capacity, it is determined that close the video
Video data stream output.
Preferably, the determining module 401 includes:Second detection sub-module 4015, for detecting the mobile terminal
The remaining data flow value to communicate in set meal;Third determination sub-module 4016, if being less than present count for the data flow magnitude
According to flow value, it is determined that close the output of the video data stream of the video.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in the embodiment of the method for Fig. 1 and Fig. 4
Each process, repeated to avoid, which is not described herein again.
In embodiments of the present invention, by the way that in video display process, user can be manually or based on shifting
Other parameter presets of dynamic terminal or user are to the browse state of video, it is determined whether close the defeated of the video data stream of video
Go out;If so, forbid being decoded the video data stream of video, the voice data stream of video is decoded and will be decoded
Voice data stream is exported to voice-frequency channel, can be realized in video display process, and user can freely control and video is regarded
The output of frequency data stream when the video data stream output for closing video, only exports voice data stream, can reduce to movement at this time
The consumption of the resources such as terminal battery electricity quantity, data traffic, while user can get video while other affairs are completed
Sound, promote the usage experience of user.
Embodiment five
With reference to the hardware architecture diagram of Fig. 7, to realize the present invention a kind of mobile terminal of each embodiment.
The mobile terminal 500 includes but not limited to:It is radio frequency unit 501, network module 502, audio output unit 503, defeated
Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor
The components such as 510 and power supply 511.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 7 is not formed
Restriction to mobile terminal, mobile terminal can include than illustrate more or fewer components either combine certain components or
Different component arrangements.In embodiments of the present invention, mobile terminal include but not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 510, in video display process, parameter preset or user based on the mobile terminal to be to video
Browse state, it is determined whether close the output of the video data stream of the video;If so, forbid the video counts to the video
It is decoded according to stream, the voice data stream of the video is decoded, and decoded voice data stream is exported to audio
Access.
In embodiments of the present invention, by video display process, parameter preset or user couple based on mobile terminal
The browse state of video, it is determined whether close the output of the video data stream of video;If so, forbid the video data stream to video
It is decoded, the voice data stream of video is decoded and exports decoded voice data stream to voice-frequency channel, it can
The output or closing of video data stream are dynamically adjusted in video display process, when closing video data stream output, is only exported
Voice data stream can reduce the consumption of data traffic and electricity at this time.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receive and send messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, handled to processor 510;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 501 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by radio communication system and network and other set
Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 502 and has accessed, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
It is that audio output unit 503 can receive radio frequency unit 501 or network module 502 or in memory 509
The audio data of storage is converted into audio signal and exports as sound.Moreover, audio output unit 503 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 500 performs is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 503 includes loud speaker, buzzer and receiver etc..
Input unit 504 is used to receive audio or video signal.Input unit 504 can include graphics processor
(Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode
Or the static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out
Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited
Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike
Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The form output of mobile communication base station can be sent to via radio frequency unit 501 by being converted in the case of telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear
Display panel 5061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared ray sensor etc. are spent, details are not described herein.
Display unit 506 is used to show by information input by user or be supplied to the information of user.Display unit 506 can wrap
Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Display panel 5061 is configured in forms such as (Organic Light-Emitting Diode, OLED).
User input unit 507 can be used for receiving the number inputted or character information and generation and the use of mobile terminal
The key signals input that family is set and function control is related.Specifically, user input unit 507 include touch panel 5071 and
Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects such as finger, stylus or attachment on touch panel 5071 or in touch panel 5071
Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area
It manages the order that device 510 is sent and is performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments
5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it
On or near touch operation after, send to processor 510 with determine touch event type, be followed by subsequent processing device 510 according to touch
The type for touching event provides corresponding visual output on display panel 5061.Although in the figure 7, touch panel 5071 and display
Panel 5061 is the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some embodiments
In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place does not limit.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) can include
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
One or more elements that the input received is transferred in mobile terminal 500 can be used in 500 He of mobile terminal
Data are transmitted between external device (ED).
Memory 509 can be used for storage software program and various data.Memory 509 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 509 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part is stored in storage by running or performing the software program being stored in memory 509 and/or module and call
Data in device 509 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place
Reason device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511
Can be logically contiguous by power-supply management system and processor 510, so as to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, and including processor 510, memory 509 is stored in
On memory 509 and the computer program that can be run on the processor 510, the computer program are performed by processor 510
Each process of the above-mentioned video broadcasting method embodiments of Shi Shixian, and identical technique effect can be reached, it is repeated to avoid, here
It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, realizes each process of upper video broadcasting method embodiment when which is executed by processor, and can reach
To identical technique effect, repeated to avoid, which is not described herein again.Wherein, the computer readable storage medium, it is such as read-only
Memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those elements, and
And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device institute
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services
Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art
Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much
Form is belonged within the protection of the present invention.
Claims (11)
1. a kind of video broadcasting method, applied to mobile terminal, which is characterized in that the method includes:
In video display process, parameter preset or user based on the mobile terminal to the browse state of video, determine be
The output of the no video data stream for closing the video;
If so, forbidding being decoded the video data stream of the video, the voice data stream of the video is decoded, and
Decoded voice data stream is exported to voice-frequency channel.
2. according to the method described in claim 1, it is characterized in that, described in video display process, according to the movement
The parameter preset of terminal or user are to the browse state of video, it is determined whether close the output of the video data stream of the video
After step, the method further includes:
If it is determined that the output of the video data stream of the video is opened, it is equal to the voice data stream and video data stream of the video
It is decoded;
Decoded video data stream is exported to video frequency channel, and decoded voice data stream is exported to voice-frequency channel.
3. according to the method described in claim 1, it is characterized in that, described in video display process, based on user to video
Browse state, it is determined whether the step of output for closing the video data stream of the video, includes:
Front camera is called, detects and whether recognizes facial image in preset time period;
If not, it is determined that close the output of the video data stream of the video.
4. according to the method described in claim 1, it is characterized in that, described in video display process, based on it is described it is mobile eventually
The parameter preset at end, it is determined whether the step of output for closing the video data stream of the video includes:
Detect the remaining capacity of the mobile terminal;
If the remaining capacity is less than default electricity, it is determined that closes the output of the video data stream of the video.
5. according to the method described in claim 1, it is characterized in that, described in video display process, based on it is described it is mobile eventually
The parameter preset at end, it is determined whether the step of output for closing the video data stream of the video includes:
Detect the remaining data flow value in the communication set meal of the mobile terminal;
If the data flow magnitude is less than preset data flow value, it is determined that closes the output of the video data stream of the video.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Determining module, in video display process, parameter preset or user based on the mobile terminal to be to the clear of video
Look at state, it is determined whether close the output of the video data stream of the video;
First output module, for if so, forbidding being decoded the video data stream of the video, to the audio of the video
Data flow is decoded, and decoded voice data stream is exported to voice-frequency channel.
7. mobile terminal according to claim 6, which is characterized in that the mobile terminal further includes:
Decoder module, in the determining module in video display process, parameter preset based on the mobile terminal or
User is to the browse state of video, it is determined whether closes after the output of the video data stream of the video, however, it is determined that opens institute
The output of the video data stream of video is stated, the voice data stream and video data stream to the video are decoded;
Second output module, for exporting decoded video data stream to video frequency channel, and by decoded audio data
Stream is exported to voice-frequency channel.
8. mobile terminal according to claim 6, which is characterized in that the determining module includes:
Submodule is called, for calling front camera, detects and whether recognizes facial image in preset time period;
First determination sub-module, for if not, it is determined that close the output of the video data stream of the video.
9. mobile terminal according to claim 6, which is characterized in that the determining module includes:
First detection sub-module, for detecting the remaining capacity of the mobile terminal;
Second determination sub-module, if being less than default electricity for the remaining capacity, it is determined that close the video counts of the video
According to the output of stream.
10. mobile terminal according to claim 6, which is characterized in that the determining module includes:
Second detection sub-module, for detecting the remaining data flow value in the communication set meal of the mobile terminal;
Third determination sub-module, if being less than preset data flow value for the data flow magnitude, it is determined that close the video
Video data stream output.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is performed by the processor
Any one of described in video broadcasting method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810134227.3A CN108235084B (en) | 2018-02-09 | 2018-02-09 | Video playing method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810134227.3A CN108235084B (en) | 2018-02-09 | 2018-02-09 | Video playing method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108235084A true CN108235084A (en) | 2018-06-29 |
CN108235084B CN108235084B (en) | 2021-01-08 |
Family
ID=62661401
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810134227.3A Active CN108235084B (en) | 2018-02-09 | 2018-02-09 | Video playing method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108235084B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111078183A (en) * | 2019-12-16 | 2020-04-28 | 北京明略软件***有限公司 | Audio and video information control method and device, intelligent equipment and computer readable storage medium |
CN111510785A (en) * | 2020-04-16 | 2020-08-07 | Oppo广东移动通信有限公司 | Video playing control method, device, terminal and computer readable storage medium |
CN114363704A (en) * | 2022-01-12 | 2022-04-15 | 北京百度网讯科技有限公司 | Video playing method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004312597A (en) * | 2003-04-10 | 2004-11-04 | Matsushita Electric Ind Co Ltd | Mobile digital broadcast receiving terminal |
US20060098946A1 (en) * | 2004-11-09 | 2006-05-11 | Samsung Electronics Co., Ltd. | Video and audio data recording and/or reproducing apparatus having lock setting function and control method thereof |
CN103873917A (en) * | 2012-12-13 | 2014-06-18 | 联想(北京)有限公司 | Multimedia playing processing method and system |
CN105979355A (en) * | 2015-12-10 | 2016-09-28 | 乐视网信息技术(北京)股份有限公司 | Method and device for playing video |
CN106998495A (en) * | 2016-01-22 | 2017-08-01 | 百度在线网络技术(北京)有限公司 | A kind of video broadcasting method and device |
CN107147928A (en) * | 2017-05-23 | 2017-09-08 | 努比亚技术有限公司 | Play method, terminal and the computer-readable recording medium of video |
-
2018
- 2018-02-09 CN CN201810134227.3A patent/CN108235084B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004312597A (en) * | 2003-04-10 | 2004-11-04 | Matsushita Electric Ind Co Ltd | Mobile digital broadcast receiving terminal |
US20060098946A1 (en) * | 2004-11-09 | 2006-05-11 | Samsung Electronics Co., Ltd. | Video and audio data recording and/or reproducing apparatus having lock setting function and control method thereof |
CN103873917A (en) * | 2012-12-13 | 2014-06-18 | 联想(北京)有限公司 | Multimedia playing processing method and system |
CN105979355A (en) * | 2015-12-10 | 2016-09-28 | 乐视网信息技术(北京)股份有限公司 | Method and device for playing video |
CN106998495A (en) * | 2016-01-22 | 2017-08-01 | 百度在线网络技术(北京)有限公司 | A kind of video broadcasting method and device |
CN107147928A (en) * | 2017-05-23 | 2017-09-08 | 努比亚技术有限公司 | Play method, terminal and the computer-readable recording medium of video |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111078183A (en) * | 2019-12-16 | 2020-04-28 | 北京明略软件***有限公司 | Audio and video information control method and device, intelligent equipment and computer readable storage medium |
CN111510785A (en) * | 2020-04-16 | 2020-08-07 | Oppo广东移动通信有限公司 | Video playing control method, device, terminal and computer readable storage medium |
CN114363704A (en) * | 2022-01-12 | 2022-04-15 | 北京百度网讯科技有限公司 | Video playing method, device, equipment and storage medium |
CN114363704B (en) * | 2022-01-12 | 2024-03-19 | 北京百度网讯科技有限公司 | Video playing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108235084B (en) | 2021-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108255378A (en) | A kind of display control method and mobile terminal | |
CN108762640A (en) | A kind of display methods and terminal of barrage information | |
CN109271121A (en) | A kind of application display method and mobile terminal | |
CN108182019A (en) | A kind of suspension control display processing method and mobile terminal | |
CN107608514A (en) | Information processing method and mobile terminal | |
CN108491123A (en) | A kind of adjusting application program image target method and mobile terminal | |
CN108108007A (en) | A kind of processing method and mobile terminal for reducing power consumption | |
CN108494030A (en) | A kind of wireless charging method, terminal and transmitting end equipment | |
CN108762869A (en) | A kind of information processing method and mobile terminal | |
CN110058836A (en) | A kind of output method and terminal device of audio signal | |
CN107678829A (en) | A kind of application control method and mobile terminal | |
CN107832601A (en) | A kind of application control method and mobile terminal | |
CN107748640A (en) | One kind puts out screen display methods and mobile terminal | |
CN108881617A (en) | A kind of display changeover method and mobile terminal | |
CN108196815A (en) | A kind of adjusting method and mobile terminal of sound of conversing | |
CN110138963A (en) | A kind of message treatment method and mobile terminal | |
CN108174017A (en) | A kind of bluetooth open method and mobile terminal | |
CN108235084A (en) | A kind of video broadcasting method and mobile terminal | |
CN108196757A (en) | The setting method and mobile terminal of a kind of icon | |
CN109949809A (en) | A kind of sound control method and terminal device | |
CN108650392A (en) | A kind of call recording method and mobile terminal | |
CN108259808A (en) | A kind of video frame compression method and mobile terminal | |
CN108307048A (en) | A kind of message output method and device and mobile terminal | |
CN108540951A (en) | A kind of recharge method and mobile terminal | |
CN108196699A (en) | A kind of method and apparatus of page layout switch |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |