CN101466010B - Method for playing video on mobile terminal and mobile terminal - Google Patents

Method for playing video on mobile terminal and mobile terminal Download PDF

Info

Publication number
CN101466010B
CN101466010B CN2009100005682A CN200910000568A CN101466010B CN 101466010 B CN101466010 B CN 101466010B CN 2009100005682 A CN2009100005682 A CN 2009100005682A CN 200910000568 A CN200910000568 A CN 200910000568A CN 101466010 B CN101466010 B CN 101466010B
Authority
CN
China
Prior art keywords
frequency
current
obtaining
volume change
video file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2009100005682A
Other languages
Chinese (zh)
Other versions
CN101466010A (en
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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN2009100005682A priority Critical patent/CN101466010B/en
Publication of CN101466010A publication Critical patent/CN101466010A/en
Application granted granted Critical
Publication of CN101466010B publication Critical patent/CN101466010B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a method of playing a video on a mobile terminal, and the mobile terminal. The method comprises: the frequency of the sound volume variation of the current music is acquired; a video file is played and the playing speed of the video file is controlled according to the acquired frequency of the sound volume variation. The technical scheme of the invention is that: as the video file is synchronously played when the music is played and the playing speed of the video file is controlled according to the frequency of the sound volume variation of the music, the playing speed of the video file can reflect the rhythm of the music and users can feel the music by the sense of hearing and vision in an omnibearing manner.

Description

The method of displaying video and portable terminal on a kind of portable terminal
Technical field
The present invention relates to communication technical field, be specifically related to the mobile terminal video play-back technology.
Background technology
Now, communication terminal such as mobile phone has become requisite means of communication in people's daily life gradually.Along with the continuous development of chip treatment technology, the data-handling capacity of mobile communication equipments such as mobile phone is also improving constantly, and conversation, note, online, music, screen broadcast or the like function can be provided.
Utilize when having mobile phone to play music now, show the music player interface on the mobile phone screen usually, the interface is comparatively stiff, and the user removes to experience the melody of music by ear.
Along with the raising of pursuing, the user more wishes and can remove the omnibearing dynamic melody that music is brought of experiencing by the vision and the sense of hearing when utilizing mobile phone to play music.Therefore, be necessary on mobile phone, to provide a kind of user of allowing to go the comprehensive playing function of experiencing music with the vision and the sense of hearing simultaneously.
Summary of the invention
The embodiment of the invention provides the method and the portable terminal of displaying video on a kind of portable terminal, the user is when playing delight in music, can select displaying video,, can allow the user go the omnibearing music of experiencing by the vision and the sense of hearing simultaneously by cooperatively interacting of music and video.
For achieving the above object, embodiment of the invention specific implementation by the following technical programs:
The embodiment of the invention provides the method for displaying video on a kind of portable terminal, comprising: obtain the frequency that current volume of music changes; Playing video file, and according to the broadcasting speed of the described video file of FREQUENCY CONTROL of the current described volume change of obtaining.
In addition, the embodiment of the invention also provides a kind of portable terminal, comprising: acquiring unit is used to obtain the frequency that current volume of music changes; Playing control unit is used for playing video file, and according to the broadcasting speed of the described video file of FREQUENCY CONTROL of the current described volume change of obtaining of described acquiring unit.
As can be seen, the technical scheme that the embodiment of the invention adopts can be brought following beneficial effect: portable terminal is the synchronous playing video file when playing back music, and the broadcasting speed of the described video file of FREQUENCY CONTROL that changes according to volume of music, the broadcasting speed of video file can reflect the rhythm of music, can allow the user go the omnibearing music of experiencing by the sense of hearing and vision simultaneously.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram of displaying video on a kind of portable terminal of providing of the embodiment of the invention one;
Fig. 2 is the method flow diagram of displaying video on a kind of portable terminal of providing of the embodiment of the invention two;
Fig. 3 is a kind of portable terminal schematic diagram that the embodiment of the invention three provides.
Embodiment
The embodiment of the invention provides the method and the portable terminal of displaying video on a kind of portable terminal, portable terminal is the synchronous playing video when playing back music, and the broadcasting speed of the FREQUENCY CONTROL video that changes according to volume of music, can allow the user go the omnibearing music of experiencing by the vision and the sense of hearing simultaneously.
Below be elaborated respectively by specific embodiment.
Embodiment one,
Referring to Fig. 1, be the method flow diagram of displaying video on a kind of portable terminal of providing of the embodiment of the invention one, specifically can comprise:
Step 110, obtain the frequency that current volume of music changes;
Can be the frequency that the current volume of music of obtaining of not timing changes, also can be periodically to obtain the frequency that current volume of music changes.
Step 120, playing video file, and according to the broadcasting speed of the described video file of FREQUENCY CONTROL of the current described volume change of obtaining.
Described video file can be an animation file, but is not limited to this, can also be other forms of video file.The video file of playing can be that the user selects, or player is selected at random.Can accelerate or slow down the broadcasting speed of video file according to the frequency of the current described volume change of obtaining, its quickening or to slow down the degree of broadcasting speed specifically relevant with the frequency size of the current described volume change of obtaining.
As can be seen, in the present embodiment, portable terminal is the synchronous playing video file when playing back music, and the broadcasting speed of the described video file of FREQUENCY CONTROL that changes according to volume of music, the broadcasting speed of video file can reflect the rhythm of music, can allow the user go the omnibearing music of experiencing by the sense of hearing and vision simultaneously.
Embodiment two,
Present embodiment is comprehensive embodiment, and present embodiment is that animation file is illustrated with the video file of playing, but is not limited to this.
Referring to Fig. 2, be the method flow diagram of displaying video on a kind of portable terminal of providing of the embodiment of the invention two, specifically can comprise:
Step 201, download and/or synthetic animation file;
If do not store animation file on the portable terminal, can download several animation files from network side, perhaps synthetic several animation files on terminal.The content that animation file represents can be arbitrarily, and preferably representing content is that the cartoon figure dances.
Be understandable that the portable terminal that present embodiment relates to can be a mobile phone, the personal digital assistant device, walkman or the like, and be not limited to this.
Animation can comprise personage's element and background element, and wherein, personage's element can comprise character, clothes, hair style etc.; Background element can comprise background patterns, backcolor etc.Can synthesize animation file according to personage's element and background element that the user selects.Can certainly download flash fragment, GIF (commutative image file, Graphic Interchange Format) picture etc. from network side earlier, then with several flash fragments and/or the synthetic animation file of GIF picture file.
The form of synthetic animation file can be the arbitrary format that the portable terminal support is play, flash form, the GIF picture format of the form of preferred animation file.The animation file of downloading and/or synthesizing can be stored on the portable terminal.
Step 202, obtain the frequency that current volume of music changes;
The frequency of volume change is used to characterize the speed of volume variation in a period of time, the relevant property with the rhythm of music in this time period of frequency that volume of music changes in certain time period.
The obtaining the mode of putting and can be of the frequency of volume change: in the time period of setting (for example, 100 milliseconds), the volume value of the current playing back music of sampling utilizes several volume values of sampling out can calculate the frequency of volume change in time period of this setting.The frequency that calculates can characterize the speed of volume change in this time period.
For example, setting the time period that is used to sample is 100 milliseconds, and 20 volume values of having sampled out in 100 milliseconds utilize 20 volume values of sampling out just can calculate the frequency of volume change in 100 milliseconds.
Further, sampling number can be as much as possible in the time period of setting, and sampling number is many more, and the sampled value of acquisition is also just many more, utilizes the frequency of the volume change that sampled value calculates also just accurate more.
Because music may be not quite similar in the frequency of each time period volume change, for making the frequency that gets access to volume change can characterize the speed of music volume change in current slot, can (for example obtain the cycle by setpoint frequency, 2 seconds), obtain the cycle every a frequency, obtain the frequency of a volume change.Since be the frequency of periodically obtaining current playing back music volume change, the speed of sign music volume change in current slot that the frequency of the current volume change of obtaining can be relatively accurate.
Further, can frequency be set specifically as required and obtain Cycle Length, tempo variation music faster for example, its frequency are obtained shorter relatively that the length in cycle can be provided with, the music that tempo variation is slower, its frequency are obtained longer relatively that the length in cycle can be provided with.
For example, the frequency cycle of obtaining of setting is 2 seconds, just just calculates by sampling every 2 seconds and obtains once the frequency that current volume of music changes.The speed of the sign music that the frequency of the current volume change that gets access to can comparatively be prepared volume change in current 2 seconds.
Step 203, playing video file, and according to the broadcasting speed of the described video file of FREQUENCY CONTROL of the described volume change of obtaining.
Can play corresponding animation file according to user's selection, perhaps the animation file that prestores on the picked at random portable terminal is play.If it is a plurality of that disposable animation file of calling in internal memory has, the broadcast order of each animation file can also be set.
Generally, the frame rate of animation file normal playback speed promptly is to play 30 frame pictures each second for being 30.According to the broadcasting speed of the described animation file of FREQUENCY CONTROL of volume change the time, the reference frequency of volume change can be set earlier, reference frequency can be provided with voluntarily by the user, perhaps is provided with automatically according to the average frequency that the normal rhythm volume of music that prestores changes by player.The normal playback speed of the corresponding animation file of reference frequency, promptly each seconds 30 frame.
Since be periodically to obtain the frequency that current volume of music changes, therefore more accurate with the FREQUENCY CONTROL animation file broadcasting speed of the current volume change of obtaining.After the frequency of obtaining volume change again, according to the FREQUENCY CONTROL animation file broadcasting speed of the current volume change that newly gets access to.If the frequency of the current volume change of obtaining is identical with the reference frequency of setting, then animation file is according to normal speed forward, promptly each seconds 30 frame; If the frequency of the current volume change of obtaining greater than the reference frequency of setting, is then accelerated the broadcasting speed of animation file; If the frequency of the current volume change of obtaining less than the reference frequency of setting, is then accelerated the broadcasting speed of animation file.
That is to say that the frame rate of the current broadcast of animation file is specifically determined by the ratio of the reference frequency of the frequency of the current volume change of obtaining and setting.The ratio of the frequency of the current volume change of obtaining and the reference frequency of setting is big more, and the frame rate of the current broadcast of animation file is also just big more, and the speed of the current broadcast of animation file is also just fast more; The ratio of the frequency of the current volume change of obtaining and the reference frequency of setting is more little, and the frame rate of the current broadcast of animation file is also just more little, and the speed of the current broadcast of animation file is also just slow more.
The frequency of the frame rate of the current broadcast of animation file, the current volume change of obtaining and reference frequency three's relation can specifically be determined and expression by functional relation.
Further, can also set the upper limit that animation file is play frame rate, and then guarantee can can't not watch because animation file plays too fast.
When the animation file of current broadcast plays, can select or select at random to play other animation files that prestore according to the user.
As can be seen, in the present embodiment, synchronous playing animation file when playing back music, and the broadcasting speed of the described animation file of FREQUENCY CONTROL that changes according to volume of music, the broadcasting speed of animation file can reflect the rhythm of music, can allow the user go the omnibearing music of experiencing by the sense of hearing and vision simultaneously.
Further, because the frequency that current volume of music changes is periodically to obtain, thereby the broadcasting speed of animation file can reflect the rhythm of current period music, better user experience more accurately; The user can be provided with reference frequency according to custom, and the broadcasting speed of animation file can be controlled flexibly.
Embodiment three,
Accordingly, the embodiment of the invention also provides a kind of portable terminal.Referring to Fig. 3, be a kind of portable terminal schematic diagram that the embodiment of the invention three provides, specifically can comprise: acquiring unit 310, playing control unit 320.
Wherein, acquiring unit 310 is used to obtain the frequency that current volume of music changes.
Described acquiring unit 310 can be the frequency that the current volume of music of obtaining of not timing changes, and also can be periodically to obtain the frequency that current volume of music changes.
Playing control unit 320 is used for playing video file, and according to the broadcasting speed of the described video file of FREQUENCY CONTROL of the described acquiring unit 310 current described volume change of obtaining.
The video file of playing can be that the user selects, or player is selected at random.Can accelerate or slow down the broadcasting speed of video file according to the frequency of the current described volume change of obtaining, its quickening or to slow down the degree of broadcasting speed specifically relevant with the frequency size of the current described volume change of obtaining.
Preferably, described video file is an animation file, but is not limited to this.
Described acquiring unit 310 specifically can be used for obtaining the cycle according to the frequency of setting, and periodically obtains the frequency that current volume of music changes.
Described playing control unit 320 can comprise: play subelement 321 and control sub unit 322.
Play subelement 321, be used for selecting or select at random to play the animation file that prestores according to the user.
Control sub unit 322 is used for the broadcasting speed according to the described animation file of FREQUENCY CONTROL of the described acquiring unit 310 current described volume change of obtaining.
Described control sub unit 322 specifically is used in the frequency of the described acquiring unit 310 current described volume change of obtaining during greater than the reference frequency set, accelerate the broadcasting speed of described animation file, during less than the reference frequency set, slow down the broadcasting speed of described animation file in the frequency of the described acquiring unit 310 current described volume change of obtaining; Or when the reference frequency that the frequency of the described acquiring unit 310 current described volume change of obtaining equals to set, control playing of described animation file according to normal output.
Be understandable that the described portable terminal of present embodiment can be mobile phone, personal digital assistant device, listen etc. at any time, and is not limited to this, the described function of each module of described portable terminal can be according to embodiment two described method specific implementations.
Need to prove, for aforesaid each method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, do not have the part that describes in detail among certain embodiment, can be referring to the associated description of other embodiment.
In sum, in the technical scheme that the embodiment of the invention provides, portable terminal is the synchronous playing video file when playing back music, and the broadcasting speed of the described video file of FREQUENCY CONTROL that changes according to volume of music, the broadcasting speed of video file can reflect the rhythm of music, can allow the user go the omnibearing music of experiencing by the sense of hearing and vision simultaneously.
Further, because the frequency that current volume of music changes is periodically to obtain, thereby the broadcasting speed of video file can reflect the rhythm of current period music, better user experience more accurately; The user can be provided with reference frequency according to custom, and the broadcasting speed of video file can be controlled flexibly; Can bring some video file downloading services for operator.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
More than the method and the portable terminal of displaying video on a kind of portable terminal that the embodiment of the invention provided is described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (7)

1. the method for displaying video on the portable terminal is characterized in that, comprising:
Obtain the frequency that current volume of music changes, comprising: in the time period of setting, the volume value of the current playing back music of sampling utilizes several volume values of sampling out to calculate the frequency of the interior volume change of time period of this setting;
Playing video file, and according to the broadcasting speed of the described video file of FREQUENCY CONTROL of the current described volume change of obtaining, specifically comprise: during greater than the reference frequency set, accelerate the broadcasting speed of described video file in the frequency of the current described volume change of obtaining; Or, during less than the reference frequency set, slow down the broadcasting speed of described video file in the frequency of the current described volume change of obtaining.
2. the method for displaying video is characterized in that on the portable terminal according to claim 1, and the described frequency of obtaining current volume of music variation is specially:
Obtain the cycle according to the frequency of setting, periodically obtain the frequency that current volume of music changes.
3. the method for displaying video is characterized in that on the portable terminal according to claim 1 and 2, also comprises downloading or the synthetic video file before playing video file.
4. the method for displaying video is characterized in that on the portable terminal according to claim 1 and 2, if described video file is an animation file,
Described playing video file, and according to the broadcasting speed of the described video file of FREQUENCY CONTROL of the current described volume change of obtaining, be specially:
Select or select at random to play the animation file that prestores according to the user;
During greater than the reference frequency set, accelerate the broadcasting speed of described animation file in the frequency of the current described volume change of obtaining; Or
During less than the reference frequency set, slow down the broadcasting speed of described animation file in the frequency of the current described volume change of obtaining.
5. a portable terminal is characterized in that, comprising:
Acquiring unit is used to obtain the frequency that current volume of music changes, and comprising: in the time period of setting, the volume value of the current playing back music of sampling utilizes several volume values of sampling out to calculate the frequency of the interior volume change of time period of this setting;
Playing control unit, be used for playing video file, and according to the broadcasting speed of the described video file of FREQUENCY CONTROL of the current described volume change of obtaining of described acquiring unit, specifically comprise: during greater than the reference frequency set, accelerate the broadcasting speed of described video file in the frequency of the current described volume change of obtaining; Or, during less than the reference frequency set, slow down the broadcasting speed of described video file in the frequency of the current described volume change of obtaining.
6. portable terminal according to claim 5 is characterized in that, described acquiring unit specifically is used for:
Obtain the cycle according to the frequency of setting, periodically obtain the frequency that current volume of music changes.
7. according to claim 5 or 6 described portable terminals, it is characterized in that if described video file is an animation file, described playing control unit comprises:
Play subelement, be used for selecting or select at random to play the animation file that prestores according to the user;
Control sub unit, be used for broadcasting speed according to the described animation file of FREQUENCY CONTROL of the current described volume change of obtaining of described acquiring unit, specifically comprise: in the frequency of the current described volume change of obtaining of described acquiring unit during greater than the reference frequency set, accelerate the broadcasting speed of described animation file, or during less than the reference frequency set, slow down the broadcasting speed of described animation file in the frequency of the current described volume change of obtaining of described acquiring unit.
CN2009100005682A 2009-01-15 2009-01-15 Method for playing video on mobile terminal and mobile terminal Active CN101466010B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100005682A CN101466010B (en) 2009-01-15 2009-01-15 Method for playing video on mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100005682A CN101466010B (en) 2009-01-15 2009-01-15 Method for playing video on mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN101466010A CN101466010A (en) 2009-06-24
CN101466010B true CN101466010B (en) 2010-10-27

Family

ID=40806330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100005682A Active CN101466010B (en) 2009-01-15 2009-01-15 Method for playing video on mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN101466010B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325218B (en) * 2011-08-10 2013-12-25 深圳市无线开锋科技有限公司 Method and unit for changing dynamic application display effect of mobile phone by way of voice control
CN104517306B (en) * 2013-09-27 2018-01-02 北大方正集团有限公司 animation playing method and device
CN104219570B (en) * 2014-09-17 2016-08-24 北京音之邦文化科技有限公司 Audio signal playing method and device
CN107241571B (en) * 2016-03-29 2019-11-22 杭州海康威视数字技术股份有限公司 A kind of encapsulation of multimedia file, playback method and device
CN109495767A (en) * 2018-11-29 2019-03-19 百度在线网络技术(北京)有限公司 Method and apparatus for output information
CN114286171B (en) * 2021-08-19 2023-04-07 腾讯科技(深圳)有限公司 Video processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN101466010A (en) 2009-06-24

Similar Documents

Publication Publication Date Title
CN101466010B (en) Method for playing video on mobile terminal and mobile terminal
CN101295504B (en) Entertainment audio only for text application
WO2022152064A1 (en) Video generation method and apparatus, electronic device, and storage medium
CN106095384B (en) A kind of effect adjusting method and user terminal
CN109068081A (en) Video generation method, device, electronic equipment and storage medium
CN104574453A (en) Software for expressing music with images
CN106777353B (en) Method and device for playing multimedia file
CN108919953A (en) A kind of music method of adjustment, device and storage medium
CN103456329B (en) A kind of multimedia method of broadcasting, device and mobile terminal
CN108600526A (en) Alarm clock control method and related product
CN103309670A (en) Implementation method and implementation device for skin of music player
JP4166438B2 (en) Music game equipment
CN109873905A (en) Audio frequency playing method, audio synthetic method, device and storage medium
CN112017622A (en) Audio data alignment method, device, equipment and storage medium
JP4182618B2 (en) Electroacoustic transducer and ear-mounted electronic device
KR20060054678A (en) Apparatus and method for implementing character video synchronized with sound
KR100597668B1 (en) mobile communication terminal capable of updating and reproducing multimedia contents, and method for thereof
CN112492338B (en) Online song house implementation method, electronic equipment and computer readable storage medium
JP2010160358A (en) Moving image control system and moving image control method
CN113821189A (en) Audio playing method and device, terminal equipment and storage medium
CN115203465A (en) Method, device and equipment for acquiring personalized sound effect parameters and storage medium
JP2013122561A (en) Information processing program, communication system, information processing device, and method for drawing lyric telop
KR101082260B1 (en) A character display method of mobile digital device
CN108874129A (en) intelligent toy control method, intelligent toy and storage medium
CN106446259A (en) Audio playing device and method thereof for automatically downloading music

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20171030

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: Huawei Device Co., Ltd.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.

CP01 Change in the name or title of a patent holder