CN105159636A - Display carrier control method and apparatus - Google Patents

Display carrier control method and apparatus Download PDF

Info

Publication number
CN105159636A
CN105159636A CN201510428220.9A CN201510428220A CN105159636A CN 105159636 A CN105159636 A CN 105159636A CN 201510428220 A CN201510428220 A CN 201510428220A CN 105159636 A CN105159636 A CN 105159636A
Authority
CN
China
Prior art keywords
size
display carrier
file
wide
length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510428220.9A
Other languages
Chinese (zh)
Inventor
苏淼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TVM Beijing Technology Co Ltd
Original Assignee
TVM Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TVM Beijing Technology Co Ltd filed Critical TVM Beijing Technology Co Ltd
Priority to CN201510428220.9A priority Critical patent/CN105159636A/en
Publication of CN105159636A publication Critical patent/CN105159636A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a display carrier control method and apparatus, and belongs to the field of communications. The method comprises: when playing a file, obtaining the size of the file and the size of a display carrier; judging whether the size of the display carrier is matched with the size of the file; if so, loading the file to the display carrier for playing; and if not, adjusting the size of the display carrier to be matched with the size of the file, and loading the file to the adjusted display carrier for playing. The apparatus comprises an obtaining module, a judgment module and a control module. According to the display carrier control method and apparatus, the problem of mismatching between the size of the file and the size of the display carrier is solved, the situation that the file cannot be played or the file is played incompletely is avoided, and normal playing of the file is realized.

Description

Control the method and apparatus of display carrier
Technical field
The present invention relates to the communications field, particularly a kind of method and apparatus controlling display carrier.
Background technology
Ventuz (Wei Tusi) is real-time picture material creation, an editor and broadcasts control software design.It is absorbed in the making of high-end audio-visual content, comprises professional displaying, video wall is installed, live scene shows and interaction, multiple point touching application and the field such as studio and broadcast.Ventuz designability is strong, easy to use, can be applicable to video wall, projection mapping, radio and television at wire wrapping, and can realize interactivity with nearly all interactive device and use.
In Ventuz system, the play control of acquiescence is used to carry out played file, files loading is play on fixing display carrier, but can there is the document size of broadcasting and the unmatched problem of display carrier dimensions, causes file to play or file is play incomplete situation and occurred.
Summary of the invention
In view of this, the invention provides a kind of method and apparatus controlling to show carrier, to realize the normal play of file.Described technical scheme is as follows:
First aspect, the invention provides a kind of method controlling to show carrier, described method comprises:
When played file, obtain the size of described file and the size of display carrier;
Judge whether the size of described display carrier mates with the size of described file;
If coupling, then play on described files loading to described display carrier;
If do not mated, then adjust the size of described display carrier to mating with the size of described file, then play on the display carrier after described files loading to adjustment.
Wherein, describedly judge whether the size of described display carrier mates with the size of described file, comprising:
Judge whether the size of described file falls in the range of size of described display carrier;
If so, then determine that the size of described display carrier is mated with the size of described file;
Otherwise, determine that the size of described display carrier is not mated with the size of described file.
Wherein, the size of described adjustment described display carrier, to mating with the size of described file, comprising:
By the adjusted size of described display carrier to the size that can comprise described file.
Wherein, the described size that the adjusted size of described display carrier extremely can be comprised described file, comprising:
If the length of described display carrier is less than the length of described file, then the length of described display carrier is adjusted to the length being more than or equal to described file;
If the wide of described display carrier is less than the wide of described file, then wide being adjusted to of described display carrier is more than or equal to the wide of described file;
If the length of described display carrier and the wide length that is less than described file respectively and wide, then the length of described display carrier is adjusted to the length being more than or equal to described file, and wide being adjusted to of described display carrier is more than or equal to the wide of described file.
Second aspect, present invention also offers a kind of device controlling to show carrier, described device comprises:
Acquisition module, for when played file, obtains the size of described file and the size of display carrier;
Judge module, whether the size for the size with described file that judge described display carrier mates;
Control module, if for coupling, then plays on described files loading to described display carrier; If do not mated, then adjust the size of described display carrier to mating with the size of described file, then play on the display carrier after described files loading to adjustment.
Wherein, described judge module comprises:
Judging unit, for judging whether the size of described file falls in the range of size of described display carrier; If so, then determine that the size of described display carrier is mated with the size of described file; Otherwise, determine that the size of described display carrier is not mated with the size of described file.
Wherein, described control module comprises:
Adjustment unit, for extremely comprising the size of described file by the adjusted size of described display carrier.
Wherein, described adjustment unit is used for:
If the length of described display carrier is less than the length of described file, then the length of described display carrier is adjusted to the length being more than or equal to described file;
If the wide of described display carrier is less than the wide of described file, then wide being adjusted to of described display carrier is more than or equal to the wide of described file;
If the length of described display carrier and the wide length that is less than described file respectively and wide, then the length of described display carrier is adjusted to the length being more than or equal to described file, and wide being adjusted to of described display carrier is more than or equal to the wide of described file.
The beneficial effect that technical scheme provided by the invention is brought is: when played file, obtains the size of described file and the size of display carrier; Judge whether the size of described display carrier mates with the size of described file; If coupling, then play on described files loading to described display carrier; If do not mated, then adjust the size of described display carrier to mating with the size of described file, play on the display carrier after described files loading to adjustment again, solve document size and the unmatched problem of display carrier dimensions, avoid file cannot play or file play incomplete situation occur, achieve the normal play of file.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of the control display carrier that one embodiment of the invention provides;
Fig. 2 is the method flow diagram of the control display carrier that another embodiment of the present invention provides;
Fig. 3 is the structure drawing of device of the control display carrier that another embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
See Fig. 1, one embodiment of the invention provides a kind of method controlling to show carrier, comprising:
101: when played file, obtain the size of this file and the size of display carrier;
In the present embodiment, the type of described file does not limit, and includes but not limited to: video file, picture etc.Described display carrier refers to and carries out for load document the carrier play.Wherein, the shape showing carrier does not limit, as being square or rectangular etc.
Wherein, the size of file comprises the length of file and wide etc.The size of display carrier comprises the length of display carrier and wide etc.
102: judge whether the size of this display carrier mates with the size of this file, if coupling, then perform 103; If do not mated, then perform 104;
103: this file is loaded on this display carrier and plays;
104: this file to mating with the size of this file, then is loaded on the display carrier after adjustment and plays by the size adjusting this display carrier.
In the present embodiment, optionally, judge whether the size of this display carrier mates with the size of this file, comprising:
Judge whether the size of this file falls in the range of size of this display carrier;
If so, then determine that the size of this display carrier is mated with the size of this file;
Otherwise, determine that the size of this display carrier is not mated with the size of this file.
In the present embodiment, optionally, the size adjusting this display carrier, to mating with the size of this file, comprising:
By the adjusted size of this display carrier to the size that can comprise this file.
Further, by the adjusted size of this display carrier to the size that can comprise this file, comprising:
If the length of this display carrier is less than the length of this file, then the length of this display carrier is adjusted to the length being more than or equal to this file;
If the wide of this display carrier is less than the wide of this file, then wide being adjusted to of this display carrier is more than or equal to the wide of this file;
If the length of this display carrier and the wide length that is less than this file respectively and wide, then the length of this display carrier is adjusted to the length being more than or equal to this file, and wide being adjusted to of this display carrier is more than or equal to the wide of this file.
The said method that the present embodiment provides, when played file, obtains the size of described file and the size of display carrier; Judge whether the size of described display carrier mates with the size of described file; If coupling, then play on described files loading to described display carrier; If do not mated, then adjust the size of described display carrier to mating with the size of described file, play on the display carrier after described files loading to adjustment again, solve document size and the unmatched problem of display carrier dimensions, avoid file cannot play or file play incomplete situation occur, achieve the normal play of file.
See Fig. 2, another embodiment of the present invention provides a kind of method controlling to show carrier, and the method comprises:
201: when played file, obtain the size of this file and the size of display carrier;
202: judge whether the size of this file falls in the range of size of this display carrier, if so, then performs 203; Otherwise, perform 204;
Wherein, when the size of file falls in the range of size of display carrier, file can normal load on this display carrier, thus this file can normal play, can not cause file part content due to be positioned at display carrier range of size outside and cannot show.When the size of file falls into outside the range of size of display carrier, the long length than display carrier as file is also long, then now files loading is showing after on carrier, and partial document can be caused normally to show, cause playing unsuccessfully, user cannot normally watch.
203: determine that the size of this display carrier is mated with the size of this file, be loaded on by this file on this display carrier and play, flow process terminates;
204: determine that the size of this display carrier is not mated with the size of this file, then the adjusted size of this display carrier extremely can be comprised the size of this file;
Wherein, the adjusted size of this display carrier to the size that can comprise this file, can comprise the following steps by this:
If the length of this display carrier is less than the length of this file, then the length of this display carrier is adjusted to the length being more than or equal to this file;
If the wide of this display carrier is less than the wide of this file, then wide being adjusted to of this display carrier is more than or equal to the wide of this file;
If the length of this display carrier and the wide length that is less than this file respectively and wide, then the length of this display carrier is adjusted to the length being more than or equal to this file, and wide being adjusted to of this display carrier is more than or equal to the wide of this file.
When file and display carrier are rectangle, the length when display carrier is only had to be more than or equal to the length of file, and display carrier be wider than when equaling file wide, file ability normal play, therefore, need by the adjusted size of display carrier for meeting above-mentioned requirements, to ensure the normal play of file.
205: be loaded on by this file on the display carrier after adjustment and play, flow process terminates.
The said method that the present embodiment provides, when played file, obtains the size of described file and the size of display carrier; Judge whether the size of described display carrier mates with the size of described file; If coupling, then play on described files loading to described display carrier; If do not mated, then adjust the size of described display carrier to mating with the size of described file, play on the display carrier after described files loading to adjustment again, solve document size and the unmatched problem of display carrier dimensions, avoid file cannot play or file play incomplete situation occur, achieve the normal play of file.
See Fig. 3, another embodiment of the present invention provides a kind of device controlling to show carrier, and this device comprises:
Acquisition module 301, for when played file, obtains the size of this file and the size of display carrier;
Judge module 302, whether the size for the size with this file that judge this display carrier mates;
Control module 303, if for coupling, be then loaded on this file on this display carrier and play; If do not mated, then this file to mating with the size of this file, then is loaded on the display carrier after adjustment and plays by the size adjusting this display carrier.
In the present embodiment, optionally, this judge module comprises:
Judging unit, for judging whether the size of this file falls in the range of size of this display carrier; If so, then determine that the size of this display carrier is mated with the size of this file; Otherwise, determine that the size of this display carrier is not mated with the size of this file.
In the present embodiment, optionally, this control module comprises:
Adjustment unit, for extremely comprising the size of this file by the adjusted size of this display carrier.
In the present embodiment, optionally, this adjustment unit is used for:
If the length of this display carrier is less than the length of this file, then the length of this display carrier is adjusted to the length being more than or equal to this file;
If the wide of this display carrier is less than the wide of this file, then wide being adjusted to of this display carrier is more than or equal to the wide of this file;
If the length of this display carrier and the wide length that is less than this file respectively and wide, then the length of this display carrier is adjusted to the length being more than or equal to this file, and wide being adjusted to of this display carrier is more than or equal to the wide of this file.
The said apparatus that the present embodiment provides can perform the method provided in above-mentioned either method embodiment, and detailed process is shown in the description in embodiment of the method, does not repeat herein.
The said apparatus that the present embodiment provides, when played file, obtains the size of described file and the size of display carrier; Judge whether the size of described display carrier mates with the size of described file; If coupling, then play on described files loading to described display carrier; If do not mated, then adjust the size of described display carrier to mating with the size of described file, play on the display carrier after described files loading to adjustment again, solve document size and the unmatched problem of display carrier dimensions, avoid file cannot play or file play incomplete situation occur, achieve the normal play of file.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. control the method showing carrier, it is characterized in that, described method comprises:
When played file, obtain the size of described file and the size of display carrier;
Judge whether the size of described display carrier mates with the size of described file;
If coupling, then play on described files loading to described display carrier;
If do not mated, then adjust the size of described display carrier to mating with the size of described file, then play on the display carrier after described files loading to adjustment.
2. method according to claim 1, is characterized in that, describedly judges whether the size of described display carrier mates with the size of described file, comprising:
Judge whether the size of described file falls in the range of size of described display carrier;
If so, then determine that the size of described display carrier is mated with the size of described file;
Otherwise, determine that the size of described display carrier is not mated with the size of described file.
3. method according to claim 1, is characterized in that, the size of described adjustment described display carrier, to mating with the size of described file, comprising:
By the adjusted size of described display carrier to the size that can comprise described file.
4. method according to claim 3, is characterized in that, the described size that the adjusted size of described display carrier extremely can be comprised described file, comprising:
If the length of described display carrier is less than the length of described file, then the length of described display carrier is adjusted to the length being more than or equal to described file;
If the wide of described display carrier is less than the wide of described file, then wide being adjusted to of described display carrier is more than or equal to the wide of described file;
If the length of described display carrier and the wide length that is less than described file respectively and wide, then the length of described display carrier is adjusted to the length being more than or equal to described file, and wide being adjusted to of described display carrier is more than or equal to the wide of described file.
5. control the device showing carrier, it is characterized in that, described device comprises:
Acquisition module, for when played file, obtains the size of described file and the size of display carrier;
Judge module, whether the size for the size with described file that judge described display carrier mates;
Control module, if for coupling, then plays on described files loading to described display carrier; If do not mated, then adjust the size of described display carrier to mating with the size of described file, then play on the display carrier after described files loading to adjustment.
6. device according to claim 5, is characterized in that, described judge module comprises:
Judging unit, for judging whether the size of described file falls in the range of size of described display carrier; If so, then determine that the size of described display carrier is mated with the size of described file; Otherwise, determine that the size of described display carrier is not mated with the size of described file.
7. device according to claim 5, is characterized in that, described control module comprises:
Adjustment unit, for extremely comprising the size of described file by the adjusted size of described display carrier.
8. device according to claim 7, is characterized in that, described adjustment unit is used for:
If the length of described display carrier is less than the length of described file, then the length of described display carrier is adjusted to the length being more than or equal to described file;
If the wide of described display carrier is less than the wide of described file, then wide being adjusted to of described display carrier is more than or equal to the wide of described file;
If the length of described display carrier and the wide length that is less than described file respectively and wide, then the length of described display carrier is adjusted to the length being more than or equal to described file, and wide being adjusted to of described display carrier is more than or equal to the wide of described file.
CN201510428220.9A 2015-07-20 2015-07-20 Display carrier control method and apparatus Pending CN105159636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510428220.9A CN105159636A (en) 2015-07-20 2015-07-20 Display carrier control method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510428220.9A CN105159636A (en) 2015-07-20 2015-07-20 Display carrier control method and apparatus

Publications (1)

Publication Number Publication Date
CN105159636A true CN105159636A (en) 2015-12-16

Family

ID=54800506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510428220.9A Pending CN105159636A (en) 2015-07-20 2015-07-20 Display carrier control method and apparatus

Country Status (1)

Country Link
CN (1) CN105159636A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1471794A (en) * 2000-10-24 2004-01-28 汤姆森许可公司 Method of sizing an embedded media player page
US20060284892A1 (en) * 2003-05-14 2006-12-21 Sheridan Timothy M Persistent portal
CN1910899A (en) * 2003-12-23 2007-02-07 桑迪士克股份有限公司 Digital media player with resolution adjustment capabilities
US7554571B1 (en) * 2005-03-18 2009-06-30 Avaya Inc. Dynamic layout of participants in a multi-party video conference
CN103607629A (en) * 2013-11-22 2014-02-26 乐视网信息技术(北京)股份有限公司 Multimedia file playing method and electronic terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1471794A (en) * 2000-10-24 2004-01-28 汤姆森许可公司 Method of sizing an embedded media player page
US20060284892A1 (en) * 2003-05-14 2006-12-21 Sheridan Timothy M Persistent portal
CN1910899A (en) * 2003-12-23 2007-02-07 桑迪士克股份有限公司 Digital media player with resolution adjustment capabilities
US7554571B1 (en) * 2005-03-18 2009-06-30 Avaya Inc. Dynamic layout of participants in a multi-party video conference
CN103607629A (en) * 2013-11-22 2014-02-26 乐视网信息技术(北京)股份有限公司 Multimedia file playing method and electronic terminal

Similar Documents

Publication Publication Date Title
US11402987B2 (en) Circular video player controls
CN106134172B (en) Display system, display methods and display device
US8175298B2 (en) Audio output system control method and audio output system
US8561123B2 (en) Smooth still image capture
US7145947B2 (en) Video data processing apparatus and method, data distributing apparatus and method, data receiving apparatus and method, storage medium, and computer program
US20150229992A1 (en) Media Content Shifting
WO2017080175A1 (en) Multi-camera used video player, playing system and playing method
CN110913278B (en) Video playing method, display terminal and storage medium
US20120307145A1 (en) Simultaneously presenting an enhanced and primary stream associated with a digital television broadcast
CN108965643B (en) Method for realizing ultra-high definition display not lower than 12K by utilizing multiple 4K televisions
CN108882038A (en) A kind of multi-channel video playback method based on Android
Jack et al. Dictionary of video and television technology
US9185321B1 (en) Apparatus, system and method for processing video data, audio data and ancillary data
CN105159636A (en) Display carrier control method and apparatus
JP2012514944A (en) Transition between two high-definition video sources
CN106254934A (en) The acquisition methods of a kind of front cover picture and device
CN106303629A (en) A kind of methods, devices and systems uploading box program
CN110602558A (en) High-performance DVB program sharing method for terminal
CN105187953A (en) Method and device for playing files
CN105163203A (en) Method and device for playing video file
US20140029917A1 (en) Recording device
CN105070032A (en) Multifunctional set-top box
CN105163202A (en) Method and device for switching files
CN105072509A (en) Method and device for switching files
CN105163205A (en) Method and device for playing video file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151216