CN105141992B - Mobile terminal video playback method and device - Google Patents
Mobile terminal video playback method and device Download PDFInfo
- Publication number
- CN105141992B CN105141992B CN201510430181.6A CN201510430181A CN105141992B CN 105141992 B CN105141992 B CN 105141992B CN 201510430181 A CN201510430181 A CN 201510430181A CN 105141992 B CN105141992 B CN 105141992B
- Authority
- CN
- China
- Prior art keywords
- video
- played
- play area
- area
- selection instruction
- 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.)
- Expired - Fee Related
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/414—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
- H04N21/41407—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
-
- 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/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
-
- 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
-
- 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
Abstract
The present invention provides mobile terminal video playback method and devices, are related to mobile terminal control field.Mobile terminal video playback method provided in an embodiment of the present invention, it passes through the position selection instruction for first getting each video to be played, wherein, each position selection instruction corresponds to a region, and then judge whether region corresponding to these position selection instructions meets preset status requirement, if met, it then can be according to the position selection instruction of video to be played, on corresponding region, each video to be played is played respectively, to ensure that multiple videos can while be shown on the screen, and mutual interference is not will cause.
Description
Technical field
The present invention relates to mobile terminal control fields, in particular to mobile terminal video playback method and device.
Background technique
There are many kinds of the modes of information transmitting, and the most main two kinds are sound and image.The transmitting of both information
Mode can be intuitive and information is effectively communicated to information reciever.
When information can not be transmitted directly, first information can be stored in reservoir in a manner of recording, storing,
And it plays out when needed.With the development of computer technology and mechanics of communication, more and more information are recorded in advance
System is got up, and is supplied to specified user and is watched, such as the recording of variety show, the recording of experimentation, operating method
Recording etc..These videos recorded have passed to specified user by modes of intelligence transmission such as downloadings.User pass through as PC,
The playback equipments such as mobile phone, movie theatre play out, so as to complete the acquisition of information.
When watching video, user carries out collaboration processing sometimes for by video, as shown respectively in two videos
Different production lines (production line A and production line B), the two production lines need coordinating operation, user watch video when
It waits, needs to cooperate the two videos and watch.But there are two types of the presentation modes of current mobile terminal: 1, use different broadcastings
Device plays the two videos respectively, that is, the first video player plays production line A, and the second video player plays production line
B switches the two video players later by way of switching repeatedly, so that corresponding video player plays out.2,
The two videos are played using the same player, at this point, can only play terminate a video and then it is secondary play another
Video;Either play another video again after being played to certain progress.Both modes can all make to a certain extent
Viewing content incurs loss, and leads to the imperfect of acquisition of information.
For another example, when carrying out music video broadcasting, in some cases, user is more desirable can to hear two different views
The (instrumental) ensemble of music in frequency, music instrumental ensemble the integrality and auditory perception degree that can promote music to a certain extent.But for passing
It unites on mobile terminal, for video playing APP, the same time is merely able to play a video/audio, is playing a view
After frequency, if again tapping on the other videos of broadcasting, system can stop before video playing, and play new video,
This, which has also resulted in music corresponding to different video, to play simultaneously, can not generate the audio of (instrumental) ensemble.
To sum up, in the related technology, when multiple videos play simultaneously, the integrality of video is insufficient.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide mobile terminal video playback method, it is aobvious to improve video
The integrality shown.
In a first aspect, the embodiment of the invention provides mobile terminal video playback methods, comprising:
Obtain the position selection instruction of each video to be played;
Judge whether region corresponding to each position selection instruction meets preset status requirement;
If so, on corresponding region, being played simultaneously respectively every according to the position selection instruction of each video to be played
A video to be played.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein point
Not playing each video to be played not simultaneously includes:
Export the vision signal and audio signal of each video to be played.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein
Before playing step further include:
Judge whether the broadcasting direction of video to be played is consistent with reference direction;
If it is not, the broadcasting direction of video to be played is then rotated, until consistent with reference direction.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein
Before step obtains the position selection instruction of each video to be played further include:
It obtains layout and establishes instruction;
It searches in the database, location layout mode corresponding with layout foundation instruction;
According to location layout mode, display position selects information on the screen.
With reference to first aspect, the embodiment of the invention provides the 4th kind of possible embodiments of first aspect, wherein sentences
Whether region corresponding to each position selection instruction of breaking meets preset status requirement further include:
Video amplifier multiple is obtained from the selection instruction of position;
Whether actual play area is judged with location layout mode, the area of ready-portioned play area is consistent,
Actual play area is calculated according to the former broadcasting area and video amplifier multiple of video to be played;
If being consistent, thens follow the steps respectively while playing each video to be played.
With reference to first aspect, the embodiment of the invention provides the 5th kind of possible embodiments of first aspect, wherein if
Screen is divided into multiple play area by location layout mode, and multiple play area are arranged according to square matrix formula, then judge reality
Play area whether in location layout mode, the area of ready-portioned play area has been consistent includes:
Video amplifier multiple is obtained from the selection instruction of position;
Judge whether video amplifier multiple is less than or equal to the evolution of play area total amount, if so, thening follow the steps simultaneously
Play corresponding video to be played.
With reference to first aspect, the embodiment of the invention provides the 6th kind of possible embodiments of first aspect, wherein defeated
The vision signal and audio signal of each video to be played include out:
If getting the instruction of the first special efficacy, when exporting the vision signal of video to be played, instructed according to the first special efficacy
Vision signal is adjusted;
If getting the instruction of the second special efficacy, when exporting the audio signal of video to be played, instructed according to the second special efficacy
Audio signal is adjusted.
With reference to first aspect, the embodiment of the invention provides the 7th kind of possible embodiments of first aspect, wherein sentences
Whether actual play area break with location layout mode, the area of ready-portioned play area is consistent further include:
If meeting the following conditions simultaneously, then follow the steps, judge video amplifier multiple square whether be less than or equal to broadcast
The total amount in region is put,
X+Y1≤Z, wherein X is video amplifier multiple, and Y1 is the row serial number of initial position, and Y1 >=0, Z are that play area is total
The extraction of square root value of amount;
X+Y2≤Z, wherein X is video amplifier multiple, and Y2 is the column serial number of initial position, and Y2 >=0, Z are that play area is total
The extraction of square root value of amount.
With reference to first aspect, the embodiment of the invention provides the 8th kind of possible embodiments of first aspect, wherein presses
According to location layout mode, selection information in display position includes: on the screen
According to location layout mode, in different positions, different prompt informations is shown respectively.
Second aspect, the embodiment of the invention also provides mobile terminal video playing devices, comprising:
Module is obtained, for obtaining the position selection instruction of each video to be played;
Judgment module, for judging whether region corresponding to each position selection instruction meets preset status requirement;
Playing module is used for the position selection instruction according to each video to be played if judgment module is judged as YES,
On corresponding region, each video to be played is played simultaneously respectively.
Mobile terminal video playback method provided in an embodiment of the present invention is made whether that overlapping is sentenced using to play area
Disconnected, with mobile terminal in the prior art when carrying out video playing, the same player is merely able to play a video
Content, multiple players cannot play out display simultaneously on the screen, needing so as to cause user while watching multiple views
When frequency, the broadcasting content of Switch Video is needed, the video for causing user to be seen is imperfect to be compared, by first getting
The position selection instruction of each video to be played, wherein each position selection instruction corresponds to a region, and then judges this
Whether region corresponding to the selection instruction of a little positions meets preset status requirement, can be according to view to be played if met
The position selection instruction of frequency plays each video to be played on corresponding region respectively, to ensure that multiple videos can
It shows on the screen simultaneously, and not will cause mutual interference.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows the basic flow chart of mobile terminal video playback method provided by the embodiment of the present invention;
Fig. 2 shows general regions on the screen of mobile terminal video playback method provided by the embodiment of the present invention to draw
Divide schematic diagram;
The first layout type that Fig. 3 A shows mobile terminal video playback method provided by the embodiment of the present invention shows
It is intended to;
Second of layout type that Fig. 3 B shows mobile terminal video playback method provided by the embodiment of the present invention shows
It is intended to;
Fig. 4 A shows the region of the first optimization of mobile terminal video playback method provided by the embodiment of the present invention
Divide schematic diagram;
Fig. 4 B shows the region of second of optimization of mobile terminal video playback method provided by the embodiment of the present invention
Divide schematic diagram;
Fig. 4 C shows the region of the third optimization of mobile terminal video playback method provided by the embodiment of the present invention
Divide schematic diagram;
It draws in the region with reference axis that Fig. 5 shows mobile terminal video playback method provided by the embodiment of the present invention
Divide schematic diagram;
First operation interface that Fig. 6 A shows mobile terminal video playback method provided by the embodiment of the present invention is shown
It is intended to;
Second operation interface that Fig. 6 B shows mobile terminal video playback method provided by the embodiment of the present invention is shown
It is intended to;
The third operation interface that Fig. 7 A shows mobile terminal video playback method provided by the embodiment of the present invention is shown
It is intended to;
The 4th operation interface that Fig. 7 B shows mobile terminal video playback method provided by the embodiment of the present invention is shown
It is intended to;
The 5th operation interface that Fig. 8 A shows mobile terminal video playback method provided by the embodiment of the present invention is shown
It is intended to;
The 6th operation interface that Fig. 8 B shows mobile terminal video playback method provided by the embodiment of the present invention is shown
It is intended to;
Fig. 9 shows the basic module connection figure of mobile terminal video playing device provided by the embodiment of the present invention.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
In the related technology, according to the demand of user, sometimes, user's expectation is on the same screen, while playing multiple views
Frequency picture.But the player on mobile terminal is merely able to play the same video in the same time, watches other views if necessary
If frequency, then needs to stop playing current video, the broadcasting of another video can be started.If being different player
Carry out video playing if, then due to system the problem of, on current screen, synchronization can only be by a player current
Video playing is carried out on screen, other have been started up, but to carry out the player of video playing on current screen, are then in
Halted state can not play video pictures and sound.
But in fact, user is to need to show that video pictures compare simultaneously sometimes, such as two production lines, or
Two monitored pictures of person can effectively compare two videos and draw only in the case where two videos are compared
Face.Otherwise, if can not show video pictures that needs play on current screen simultaneously, (some video can not be complete in other words
Played out on current screen), then it is difficult to effective opposite multiple videos and compares.
For another example, when song is rehearsed, in general, a personnel can only be responsible for the performance of a musical instrument, if it is desired to reach
It to the effect of (instrumental) ensemble, then has to be recorded to simultaneously in a video, but such mode needs personnel's set specified to one
Position.It is time-consuming and laborious, if personnel are not gathered to a specified position, but the video of each personnel is recorded respectively, then
When playing in the later period, the problem of due to player, it can not be completed at the same time broadcasting on mobile terminals, also can not just generate conjunction
The effect played.
In view of this, this application provides mobile terminal video playback methods, as shown in Figure 1, including the following steps:
S101 obtains the position selection instruction of each video to be played;
S102 judges whether region corresponding to each position selection instruction meets preset status requirement;If so, holding
Row step S103;
S103 on corresponding region, is played each simultaneously respectively according to the position selection instruction of each video to be played
Video to be played.
In step S101, video to be played is that user it is expected the video played on the display screen of mobile terminal.Certainly, it is
It can be realized Video Composition broadcasting, be necessarily required to select multiple videos to be played, and then accessed position selection instruction
It is also multiple, that is, each video to be played corresponds to a position selection instruction.
There are two types of the generation forms of position selection instruction, and one is users by touch screen, or passes through mobile cursor
Region one by one is irised out, each region (or multiple regions) generates a position selection instruction, that is, represents wait broadcast
Putting video will play out in the area video.Another form of position selection instruction is: system (on mobile terminal) is being shielded
The region of the multiple piecemeals of screen display is touched on curtain as shown in Fig. 2, system is divided good by this multiple regions, user by
Touch operation is carried out on these ready-portioned regions, and then generates corresponding electric signal, is with the selected region of informing system
Which.Both modes are compared, and the freedom degree of first way is stronger, but serious forgiveness is lower, and user is easy manual
When irising out region, follow-up process is caused mistake occur two region overlappings, or the region irised out is excessively scattered, and
Lead to the imperfect of broadcasting pictures.The second way, can to a certain extent constraint user operation, simplify system processing
Difficulty and calculation amount, but freedom degree is poor, for the video of certain Special Categories, the effect of display such as first way.
For first way, step S101, the position selection instruction for obtaining each video to be played includes:
Acquire the sliding touching instruction of user on the screen;
If sliding touching instruction forms a closed figures, the region which is irised out is selected as position
The corresponding region of instruction.
Step S102, needs to judge whether region corresponding to each position selection instruction meets preset status requirement,
It meets the requirements and can be understood as two aspects, one of them is, judges whether weigh between region corresponding to the selection instruction of position
It is folded.Description such as hereinbefore, if according to the generating mode of the first position selection instruction, corresponding to each position selection instruction
Region be it is irregular, then should first judge whether these regions are overlapped at this time, the video played is mutual to avoid occurring
The problem of interference.Specific judgment mode can be the edge function for first calculating region corresponding to each position selection instruction,
Judge whether these functions intersect later, that is, can determine whether these regions are overlapped.Life for second of position selection instruction
At mode, since system has pre-generated multiple regions as shown in Figure 2, the boundary in these regions is adjacent, but is being carried out
When regional choice, user may make a position selection instruction while correspond to multiple regions, at this point, in order to avoid occurring
Overlap problem first can carry out label to each region, later by comparing the mark of region corresponding to each position selection instruction
Number it may recognize that the phenomenon that whether overlapping having occurred between region corresponding to the selection instruction of position.It is specific as shown in table 1,
Table 1
Number | Video to be played | Position selection instruction | Region |
1 | Video 1 | Instruct A | No. 1 |
2 | Video 2 | Instruct B | No. 2, No. 3 |
3 | Video 3 | Instruct C | No. 3, No. 4 |
4 | Video 4 | Instruct D | No. 5 |
The region seen instruction B and instruct C that can be apparent from table 1 is that have overlapped part, at this time should
Stop current process, or re-execute the steps S101.
When step S102 is judged as NO, that is, there is no phase mutual respect between region corresponding to the selection instruction of position
When folded part, available table table 2 as shown in Table 2
Number | Video to be played | Position selection instruction | Region |
1 | Video 1 | Instruct A | No. 1 |
2 | Video 2 | Instruct B | No. 2 |
3 | Video 3 | Instruct C | No. 4 |
4 | Video 4 | Instruct D | No. 5 |
System can carry out the broadcasting of video according to as shown in the table in table 2 on corresponding position.Table 2 is corresponded to, is
System can play video 1 on No. 1 region, and video 2 is played on No. 2 regions, video 3 be played on No. 4 regions, No. 5 positions
It sets and plays video 4, so as to complete the broadcasting of video.When needing to illustrate, video playing be include two parts content,
A part is vision signal (image), and a part is audio signal, this two parts can be exported simultaneously with two parts.
When carrying out music class Video Composition, must occur that audio signal, vision signal can according to
The needs at family selectively play out.It should be noted that region corresponding to the selection instruction of position only defines video
The output position of signal, but there is no the output position for constraining audio signal, audio signal can according to need, by leaning near position
The sound equipment of areas adjacent corresponding to selection instruction carries out the output of audio signal.
Judge whether region corresponding to each position selection instruction meets preset status requirement, meeting the requirements can manage
Solution for two aspect, wherein second is that, judge whether the region of video actual play has exceeded the maximum magnitude of screen, that is,
Whether the actual play region of video covers the position other than screen.
Specifically, zoom factor can be carried in the selection instruction of position, be also possible to user by it is independent instruct to
System assigns zoom factor, and system is getting zoom factor, needs to calculate the actual play region of video later, and then check
Whether the actual play region has exceeded the range of screen.It can also be that user after video is set play position, and drags
It moves the play position to be adjusted, actual play region is finally made to have exceeded the boundary of screen, this equally will affect video
Normal play.
Further, in mobile terminal video playback method provided herein, before step S103, that is, step is played
Before further include following steps:
Judge whether the broadcasting direction of video to be played is consistent with reference direction;
If it is not, the broadcasting direction of video to be played is then rotated, until consistent with reference direction.
Video, if playing angle difference, is difficult to play enough paired observation effects when playing out, because
This, execute play step before, should the broadcasting direction to video be adjusted.In fact, playing direction is to receive recording
What direction was influenced, therefore, when carrying out video acquisition or video acquisition, preferably while getting the recording of video
Direction, the recording direction can be personnel's input of recorded video, be also possible to system automatic identification.It needs to illustrate
It is that when needing system automatic identification, can be through image capturing software and carry out the extraction of feature picture, Zhi Hougen
The broadcasting direction of the video is judged according to the upright direction of personage.It is of course also possible to be user after watching video, manually into
Row plays the definition in direction.
It, can be targetedly to broadcasting direction and standard side after judging whether broadcasting direction and reference direction are consistent
It is had rotated to inconsistent video pictures.Specifically, being rotated (alternatively to each frame image of video
It is rotated to direction is played with the inconsistent image frame of reference direction).
Further, before step S101, that is, it further includes as follows for obtaining before the position selection instruction of each video to be played
Step:
S11 obtains layout and establishes instruction;
S12 is searched in the database, location layout mode corresponding with layout foundation instruction;
S13, according to location layout mode, display position selects information on the screen.
In step S11, system needs to receive layout foundation instruction provided by user, and layout, which is established corresponding to instruction, is
The generation method of second of position selection instruction.Before executing step S11, location layout mode and layout can be pre-established
The incidence relation of instruction is established, it is one-to-one relationship that location layout mode and layout, which establish instruction,.And every kind of position cloth
Office's mode is different, specifically, containing two attribute in location layout mode, the first attribute is the position in region
(position of characteristic point), the second attribute are the sizes (after connecting characteristic point, the size in the region irised out) in region.Such as figure
Shown in 3A and Fig. 3 B, provide two kinds of location layout modes, can intuitively find out Fig. 3 A by entire screen divide in order to 2*2 this
Four regions, Fig. 3 B divide entire screen for this nine regions 3*3.Certainly, there are also other for the mode of specific region division
Type is only indicated using two kinds of characteristic modes herein.
As shown in table 3,
Table 3
Number | Layout establishes instruction | Location layout mode |
1 | Instruction 1 | Mode A |
2 | Instruction 2 | Mode B |
3 | Instruction 3 | Mode C |
4 | Instruction 4 | Mode D |
Layout is established instruction and is corresponded with location layout mode, is established and is instructed according to layout accessed by step S11
Location layout mode can directly be found, in turn, can according to location layout mode on the screen display position select information.
Position selection information as shown in Figure 3A can be to be shown in each area, and shown content is not phase in each region
With.
To assist user to carry out the selection in region.
Further, mobile terminal video playback method provided herein, further includes:
Video amplifier multiple is obtained from the selection instruction of position;
Whether actual play area is judged with location layout mode, the area of ready-portioned play area is consistent,
Actual play area is calculated according to the former broadcasting area and video amplifier multiple of video to be played;
If being consistent, thens follow the steps respectively while playing each video to be played.
It is, user, which can according to need to system, assigns the amplification that specified video carries out how many multiples.Wherein,
Whether actual play area is judged with location layout mode, and the area of ready-portioned play area is consistent, and refers to, judges
Whether actual play area is adapted with location layout mode, and can location layout mode kind provide the area of such area in other words
Domain plays out.As shown in Figure 4 A, which is divided into this nine regions 3*3, and is respectively toward to 9 regions and is marked
Number, respectively No. 1-9.When video amplifier multiple is 1, actual play area is that the former area that plays (is defaulted as a region
Area), at this point, any one region of the screen can carry the playing task of the video.When playing multiple is 2
It waits (actual play area=2*2=4), also just needs 2*2, the broadcasting of the video is completed in four adjacent regions jointly, such as
1,2,4,5 this four regions being capable of function completion video playing.When playing multiple is 4, then 4*4,16 regions are needed
Playing task is completed jointly, at this point, just illustrate actual play area and location layout mode kind, ready-portioned broadcast area
The area in domain is not consistent and (has exceeded maximum area), should stop process at this time.
When be judged as be consistent when, then can execute step S103.
Further, as shown in Figure 4 A, screen is divided into multiple play area, at this point, video amplifier multiple should
Less than or equal to the evolution of the total amount of play area, to guarantee that video can be played normally.As shown in Figure 4 A, video amplifier
Multiple square be equal to actual play area, it may be assumed that
If screen is divided into multiple play area by location layout mode, and multiple play area are arranged according to square matrix formula,
Then judge actual play area whether in location layout mode, the area of ready-portioned play area has been consistent includes:
Video amplifier multiple is obtained from the selection instruction of position;
Judge whether video amplifier multiple is less than or equal to the evolution of play area total amount, if so, thening follow the steps simultaneously
Play corresponding video to be played.
As shown in Figure 4 B, in Figure 4 A by amplified video, after 4 regions in the upper left corner play, become in Fig. 4 B,
No. 0 region, i.e., No. 0 region in figure 4b amplify after video playing.As shown in Figure 4 C, amplified video is being schemed
In 4A, after 4 regions in the lower right corner play, become in Fig. 4 C, No. 4 regions, i.e., after No. 4 regions in figure 4b amplify
Video playing.
Specifically, can be instructed according to the special efficacy got, when carrying out video playing to vision signal or audio
Signal performs corresponding processing, that is, step exports the vision signal of each video to be played and audio signal includes:
If getting the instruction of the first special efficacy, when exporting the vision signal of video to be played, instructed according to the first special efficacy
Vision signal is adjusted;
If getting the instruction of the second special efficacy, when exporting the audio signal of video to be played, instructed according to the second special efficacy
Audio signal is adjusted.
In actual use, the special efficacy of addition can be divided into two classes, first is that the special efficacy of image information, one kind is the spy of acoustic information
Effect, in general, the special efficacy of image information is defaulted as 0, indicates no special efficacy, indicates that black and white special efficacy is added for 1.
In audio special efficacy, volume Lifting Coefficients are defaulted as 1, indicate that volume does not change, and indicate that volume reduces for 0.5
Half indicates that volume is amplified twice for 2.
The special efficacy selection for exporting audio, is defaulted as 0, and expression is added without special efficacy, indicates that trill special efficacy is added for 1, indicates for 2
Echo special efficacy is added, indicates that the F.F. special efficacy not filtered is added for 3, indicates that audio frequency delay special efficacy is added for 4, indicates to be added for 5
F.F. special efficacy with filtering.
Further, step, judge actual play area whether in location layout mode, ready-portioned play area
Area be consistent further include:
If meeting the following conditions simultaneously, then follow the steps, judge video amplifier multiple square whether be less than or equal to broadcast
The total amount in region is put,
X+Y1≤Z, wherein X is video amplifier multiple, and Y1 is the row serial number of initial position, and Y1 >=0, Z are that play area is total
The extraction of square root value of amount;
X+Y2≤Z, wherein X is video amplifier multiple, and Y2 is the column serial number of initial position, and Y2 >=0, Z are that play area is total
The extraction of square root value of amount.
As shown in figure 5, initial position can be any one position (in Fig. 5, any of this 9 regions 0-8, depending on
After zooming, initial position is the upper left corner after amplification to frequency).It can normally be shown to guarantee video after zooming,
Therefore, the sequence number of initial position and video amplifier multiple should meet certain functional relation, to guarantee video in amplification
Afterwards, without departing from the boundary of screen.Wherein, row serial number is the abscissa serial number in Fig. 5, and column serial number is ordinate in Fig. 5
Serial number.When video amplifier multiple is 2 and row serial number 1, the column serial number 2 of initial position, then illustrate that initial position is
No. 7 positions, video amplifier multiple is 2, then shows that actual play area is 4 (4 regions is needed to play out), therefore, when
Initial position is the amplified upper left corner, then amplified video, is played in screen that can not be shown in fig. 5.
Specifically, step, according to location layout mode, selection information in display position includes: on the screen
According to location layout mode, in different positions, different prompt informations is shown respectively.
As shown in figure 5, can show different prompt informations respectively on this 8 regions 0-8, selected with guiding user
Different regions are as play area.
It should be noted that carrying actual play task must be continuous region after video amplifies, because
This, before playing out, system can increase by a step Rule of judgment.
It should be noted that being broadcast for the system for executing mobile terminal video playback method provided by the present invention
Region, zoom are put equal to the related parameter in region and position, is, such as figure reflected with actual coordinate and length
In 5, the top left co-ordinate in region 0 is (0,0), and the upper right angular coordinate in region 0 is (1,0), and described amplification refers to, with region 0
The upper left corner, i.e., coordinate be (0,0) point on the basis of point (be the point on the basis of the upper left corner of former play area for broadly
Zoom in or out) amplify.After amplifying, what is recorded in system is also boundary coordinate, or starting
Point and distance characterize actual play region with this.
In the following, with a specific example, to illustrate mobile terminal video playback method provided herein.
Under mobile terminal, the application scenarios of the technology are as follows:
Application program homepage is as shown in Figure 6A.Camera buttons between homepage midpoint is hit, can shoot drilling for oneself
It plays video and is published to community.It clicks in Fig. 6 B, falling 8 word buttons (button of being in step with) above camera button, so that it may and
The (instrumental) ensemble together of the user.Specific step is as follows:
1: interface shown in Fig. 7 A can be entered after clicking button of being in step with, shot according to prompt, system obtains user
The performance video of oneself.
2: it clicks and enters interface shown in Fig. 7 B in next step, merge frame selection, the frame that can choose has 2x2,
Tri- kinds of location layout modes of 3x3,4x4, video size have different options with the difference of frame.In this example, we
Selection frame is 2x2, video size 1x1.
3: clicking and enter the addition accompaniment page in next step, the addition accompaniment page is as shown in Figure 8 A, can select after clicking plus sige
It selects and thinks accompaniment to be added, the guitar that interested user's " bass string to get rusty " is recorded before us is selected in this example
Play video.
4: clicking and enter the special efficacy selection page in next step, as shown in Figure 8 B.For audio, echo, trill, change can choose
4 kinds of special efficacys such as speed, modified tone;For video, it can choose three kinds of special efficacys such as black and white special efficacy, colored enhancing special efficacy, fuzzy special efficacy.Through
It crosses after special efficacy setting and volume adjustment, clicks publication.
5: cell phone system backstage is special according to the selected frame size of being in step with of user, video size, video location, video and audio
The information such as effect generate the video merging configuration parameter for meeting format described above.And send the parameter to video merging letter
Number, each sub-video is merged according to the description of configuration parameter, the (instrumental) ensemble video of multiple users is ultimately produced, finally by it
It releases.It is shown in specific step is as follows:
5.1: the information pair such as frame size of being in step with, video size, video and audio special efficacy, volume for being manually selected using user
GlobalContext structural body (video merging information structure) carries out assignment, and the video merging for obtaining meeting call format is matched
Set parameter.
5.2: validity check is carried out to the video merging configuration parameter of acquisition, checks mainly include following three parts:
5.2.1: the amplification factor of video is necessarily less than the evolution equal to region sum;
5.2.2: the amplification factor of video is necessarily less than opening for region sum plus the row serial number of current video initial position
Side
5.2.3: the amplification factor of video is necessarily less than region sum plus the column serial number of current preceding video initial position
Evolution
5.3: after video merging parameter testing is errorless, starting to carry out video merging, the specific steps are as follows:
5.3.1: the pretreatment of sub-video.The size of reading sub-video, shooting direction (0 degree, 90 degree, 180 degree, 270 degree),
Etc. information.By sub-video be length by sampling or interpolation scaling and width is respectively the 1/sqrt (grid_ for exporting video
Number it), and according to shooting direction sub-video is rotated, preventing sub-video to be shown in output video has overturning, rotation
The mistakes such as 90.Finally, needing to carry out it in pixel domain black if the way video, which has been specified, is added to special video effect
The processing such as white, fuzzy or colored enhancing;
5.3.2: the merging of sub-video.Starting abscissa x_ when synthesizing is calculated according to the video_idx of each way video
Coor and starting ordinate y_coor.Its calculation method is as follows:
Video amplifier multiple is the evolution of grid number, for example grid number is 9, then amplification factor is 3.It is sub according to Fig.5,
The corresponding relationship of video serial number video_idx and sub-video coordinate.It can be by sub-video serial number video_idx divided by times magnification
Number obtains the abscissa in region, and video_idx takes the remainder amplification factor to obtain the ordinate in region.Due to each base region
The width and height in domain are the width for exporting video and height respectively divided by amplification factor.Therefore the starting abscissa of sub-video is region
Abscissa multiplied by the width of output video again divided by amplification factor, originate the ordinate sincerity that ordinate is region and export video
Height again divided by amplification factor.
Amplification factor is represented with expand_time, represents cross, the ordinate of sub-video, with x_coor y_coor with out_
W, out_h represent the width and height of output video, then x_coor above, the calculation method of y_coor are as follows
Expand_time=sqrt (grid_number);
X_coor=(out_w/expand_time) * video_idx%expand_time;
Y_coor=(out_h/expand_time) * video_idx/expand_time.
Then, its shared width in synthetic video and height are determined further according to the amplification factor of sub-video.Shared width
Degree is the width of fundamental region multiplied by amplification factor, and shared height is the height of fundamental region multiplied by amplification factor.These parameters
After determination, the pixel value of each way video is assigned to the corresponding position exported in video according to setting, it can realize video
Merge.Finally, the format that the video after merging re-compresses into output file formulation is exported.
The embodiment of the present application also provides mobile terminal video playing devices, as shown in Figure 9 include following device:
Module 901 is obtained, for obtaining the position selection instruction of each video to be played;
Judgment module 902 is wanted for judging whether region corresponding to each position selection instruction meets preset position
It asks;
Playing module 903, if judgment module 902 is judged as YES, for being selected according to the position of each video to be played
Instruction plays each video to be played on corresponding region simultaneously respectively.
The technical effect and preceding method embodiment phase of device provided by the embodiment of the present invention, realization principle and generation
Together, to briefly describe, Installation practice part does not refer to place, can refer to corresponding contents in preceding method embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (6)
1. mobile terminal video playback method characterized by comprising
Obtain the position selection instruction of each video to be played;
Judge whether region corresponding to each position selection instruction meets preset status requirement;
If so, on the corresponding region, being played simultaneously respectively every according to the position selection instruction of each video to be played
A video to be played;
Before the position selection instruction that step obtains each video to be played further include:
It obtains layout and establishes instruction;
It searches in the database, location layout mode corresponding with layout foundation instruction;
According to the location layout mode, display position selects information on the screen;
It is described to judge whether region corresponding to each position selection instruction meets preset status requirement and include:
Video amplifier multiple is obtained from the position selection instruction;
Whether actual play area is judged with the location layout mode, the area of ready-portioned play area is consistent,
The actual play area is calculated according to the former broadcasting area of the video to be played and the video amplifier multiple;
If being consistent, thens follow the steps respectively while playing each video to be played;
If the screen is divided into multiple play area by the location layout mode, and multiple play area are according to square matrix
Formula arrangement, then it is described judge the actual play area whether in the location layout mode, ready-portioned broadcast area
The area in domain, which is consistent, includes:
Video amplifier multiple is obtained from the position selection instruction;
Judge whether the video amplifier multiple is less than or equal to the evolution of the play area total amount, if so, thening follow the steps
The corresponding video to be played is played simultaneously;
It is described judge actual play area whether in the location layout mode, the area phase of ready-portioned play area
Symbol further include:
If meeting the following conditions simultaneously, then follow the steps, described to judge whether the video amplifier multiple is less than or equal to described
The evolution of play area total amount;
X+Y1≤Z, wherein X is video amplifier multiple, and Y1 is the row serial number of initial position, and Y1 >=0, Z are that the play area is total
The extraction of square root value of amount;
X+Y2≤Z, wherein X is video amplifier multiple, and Y2 is the column serial number of initial position, and Y2 >=0, Z are that the play area is total
The extraction of square root value of amount.
2. mobile terminal video playback method according to claim 1, which is characterized in that described to play simultaneously respectively each
The video to be played includes:
Export the vision signal and audio signal of each video to be played.
3. mobile terminal video playback method according to claim 1, which is characterized in that also wrapped before the broadcasting step
It includes:
Judge whether the broadcasting direction of the video to be played is consistent with reference direction;
If it is not, the broadcasting direction of the video to be played is then rotated, until consistent with the reference direction.
4. mobile terminal video playback method according to claim 2, which is characterized in that each view to be played of output
The vision signal and audio signal of frequency include:
If the instruction of the first special efficacy is got, when exporting the vision signal of the video to be played, according to first special efficacy
Instruction is adjusted the vision signal;
If the instruction of the second special efficacy is got, when exporting the audio signal of the video to be played, according to second special efficacy
Instruction is adjusted the audio signal.
5. mobile terminal video playback method according to claim 1, which is characterized in that described according to the location layout
Mode, on the screen display position selection information include:
According to the location layout mode, in different positions, different prompt informations is shown respectively.
6. mobile terminal video playing device characterized by comprising
Module is obtained, for obtaining the position selection instruction of each video to be played;
Judgment module, for judging whether region corresponding to each position selection instruction meets preset status requirement;
Playing module, if judgment module is judged as YES, for the position selection instruction according to each video to be played, corresponding
The region on, play each video to be played simultaneously respectively;
The acquisition module, is also used to:
It obtains layout and establishes instruction;
It searches in the database, location layout mode corresponding with layout foundation instruction;
According to the location layout mode, display position selects information on the screen;
The judgment module, is specifically used for:
Video amplifier multiple is obtained from the position selection instruction;
Whether actual play area is judged with the location layout mode, the area of ready-portioned play area is consistent,
The actual play area is calculated according to the former broadcasting area of the video to be played and the video amplifier multiple;
If being consistent, thens follow the steps respectively while playing each video to be played;
The judgment module, is also used to:
If the screen is divided into multiple play area by the location layout mode, and multiple play area are according to square matrix
Formula arrangement, then it is described judge the actual play area whether in the location layout mode, ready-portioned broadcast area
The area in domain, which is consistent, includes:
Video amplifier multiple is obtained from the position selection instruction;
Judge whether the video amplifier multiple is less than or equal to the evolution of the play area total amount, if so, thening follow the steps
The corresponding video to be played is played simultaneously;
The judgment module, is also used to:
If meeting the following conditions simultaneously, then follow the steps, described to judge whether the video amplifier multiple is less than or equal to described
The evolution of play area total amount;
X+Y1≤Z, wherein X is video amplifier multiple, and Y1 is the row serial number of initial position, and Y1 >=0, Z are that the play area is total
The extraction of square root value of amount;
X+Y2≤Z, wherein X is video amplifier multiple, and Y2 is the column serial number of initial position, and Y2 >=0, Z are that the play area is total
The extraction of square root value of amount.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510430181.6A CN105141992B (en) | 2015-07-21 | 2015-07-21 | Mobile terminal video playback method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510430181.6A CN105141992B (en) | 2015-07-21 | 2015-07-21 | Mobile terminal video playback method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105141992A CN105141992A (en) | 2015-12-09 |
CN105141992B true CN105141992B (en) | 2019-06-21 |
Family
ID=54727177
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510430181.6A Expired - Fee Related CN105141992B (en) | 2015-07-21 | 2015-07-21 | Mobile terminal video playback method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105141992B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105872652A (en) * | 2015-12-31 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Multichannel video stream playing method and device |
CN105828163A (en) * | 2016-04-19 | 2016-08-03 | 乐视控股(北京)有限公司 | Video preview method and device |
CN106851376B (en) * | 2017-03-01 | 2020-07-14 | 惠州Tcl移动通信有限公司 | Method, system and mobile terminal for playing multiple videos on same interface |
CN107426430A (en) * | 2017-07-27 | 2017-12-01 | 深圳市泰衡诺科技有限公司 | A kind of startup item for intelligent terminal starts method and starter |
CN111602404B (en) * | 2018-11-13 | 2023-02-17 | 西安诺瓦星云科技股份有限公司 | Program production method, device, system and computer readable medium |
CN110418158B (en) * | 2019-08-29 | 2021-11-16 | 网易(杭州)网络有限公司 | Live broadcast room service configuration method and device, electronic equipment and storage medium |
CN111246301B (en) * | 2020-01-15 | 2023-03-21 | 深圳市雅阅科技有限公司 | Video playing method and device, electronic equipment and computer readable storage medium |
CN111541868A (en) * | 2020-03-31 | 2020-08-14 | 北京辰森世纪科技股份有限公司 | Cooking state monitoring method, device and system |
CN113453050B (en) * | 2021-06-24 | 2023-03-21 | 深圳康佳电子科技有限公司 | Play mode adjusting method based on rotary screen, intelligent terminal and storage medium |
CN113709451A (en) * | 2021-08-25 | 2021-11-26 | 北京世纪互联宽带数据中心有限公司 | Video contrast playing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1878260A (en) * | 2006-07-14 | 2006-12-13 | 杭州国芯科技有限公司 | Multi-menu co-screen playing method |
EP2472519A1 (en) * | 2011-01-04 | 2012-07-04 | Samsung Electronics Co., Ltd. | Multi-video rendering for enhancing user interface usability and user experience |
CN102566957A (en) * | 2011-12-13 | 2012-07-11 | 安科智慧城市技术(中国)有限公司 | Screen division method and device of multimedia information issuing system |
CN103139599A (en) * | 2011-11-29 | 2013-06-05 | 人民网股份有限公司 | Network multi-image live broadcast system |
CN103680551A (en) * | 2012-09-21 | 2014-03-26 | 深圳市快播科技有限公司 | Player and method thereof for simultaneously playing multiple videos |
CN104427259A (en) * | 2013-09-03 | 2015-03-18 | 广州市千钧网络科技有限公司 | Method and device for playing video and audio special effects in real time |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101615121A (en) * | 2009-07-22 | 2009-12-30 | 福州星网视易信息系统有限公司 | The style editor of BS platform information delivery system |
-
2015
- 2015-07-21 CN CN201510430181.6A patent/CN105141992B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1878260A (en) * | 2006-07-14 | 2006-12-13 | 杭州国芯科技有限公司 | Multi-menu co-screen playing method |
EP2472519A1 (en) * | 2011-01-04 | 2012-07-04 | Samsung Electronics Co., Ltd. | Multi-video rendering for enhancing user interface usability and user experience |
CN103139599A (en) * | 2011-11-29 | 2013-06-05 | 人民网股份有限公司 | Network multi-image live broadcast system |
CN102566957A (en) * | 2011-12-13 | 2012-07-11 | 安科智慧城市技术(中国)有限公司 | Screen division method and device of multimedia information issuing system |
CN103680551A (en) * | 2012-09-21 | 2014-03-26 | 深圳市快播科技有限公司 | Player and method thereof for simultaneously playing multiple videos |
CN104427259A (en) * | 2013-09-03 | 2015-03-18 | 广州市千钧网络科技有限公司 | Method and device for playing video and audio special effects in real time |
Also Published As
Publication number | Publication date |
---|---|
CN105141992A (en) | 2015-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105141992B (en) | Mobile terminal video playback method and device | |
WO2015043485A1 (en) | Display method and display device | |
US20120200489A1 (en) | Information processing device, information processing method, information processing program, and information processing system | |
US8542199B2 (en) | Image processing apparatus, image processing method, and program | |
WO2014178219A1 (en) | Information processing device and information processing method | |
WO2017181594A1 (en) | Video display method and apparatus | |
CN104811780B (en) | Control method of electronic device and device | |
KR20090129628A (en) | Control device and controlling method thereof | |
WO2014169796A1 (en) | Method, device, and display device for switching video source | |
CN111866539A (en) | Live broadcast interface switching method and device, terminal and storage medium | |
CN108427589B (en) | Data processing method and electronic equipment | |
US20140033111A1 (en) | Method of displaying status bar | |
US20090140977A1 (en) | Common User Interface Structure | |
CN104053062A (en) | Electronic displays having paired canvases | |
CN110035318A (en) | Video broadcasting method, device and multimedia data playing method | |
US9330099B2 (en) | Multimedia apparatus and method for providing content | |
CN109803104A (en) | A kind of record screen method, device and mobile terminal | |
CN107396151A (en) | A kind of video playing control method and electronic equipment | |
WO2017181595A1 (en) | Method and device for video display | |
CN107257506A (en) | Many picture special efficacy loading methods and device | |
KR101772640B1 (en) | Method for settting function and Display apparatus applying the same | |
TWI435261B (en) | Electronic device and method for implementing icon board based operation interface thereof | |
CN112954484A (en) | Bullet screen information display method and device | |
WO2023169367A1 (en) | Audio playing method and electronic device | |
CN103597538B (en) | Display control unit, display control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190621 Termination date: 20200721 |