CN105005444A - Display method and terminal of video playing time axis - Google Patents

Display method and terminal of video playing time axis Download PDF

Info

Publication number
CN105005444A
CN105005444A CN201510385848.5A CN201510385848A CN105005444A CN 105005444 A CN105005444 A CN 105005444A CN 201510385848 A CN201510385848 A CN 201510385848A CN 105005444 A CN105005444 A CN 105005444A
Authority
CN
China
Prior art keywords
time shaft
video file
terminal
target video
video playback
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
CN201510385848.5A
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510385848.5A priority Critical patent/CN105005444A/en
Publication of CN105005444A publication Critical patent/CN105005444A/en
Pending legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention provides a display method and terminal of a video playing time axis. The method comprises the following steps: receiving a time axis regulation instruction, and setting a value of a time axis regulation coefficient as k; obtaining a total duration t of a target video file, and determining a regulated time axis length [delta] t (which is equal to t/k) according to the total duration t of the target video file and the time axis regulation coefficient k; when a video playing instruction is received, drawing and playing a first video playing time axis according to the regulated time axis length [delta] t; and according to the first video playing time axis, playing a target video file. Through the embodiment of the invention, the duration corresponding to the video playing time axis can be set.

Description

A kind of display packing of video playback time shaft and terminal
Technical field
The present invention relates to multimedia technology field, be specifically related to a kind of display packing and terminal of video playback time shaft.
Background technology
Along with progressively popularizing of the mobile terminal such as smart mobile phone, panel computer, people are also more and more higher by the frequency of mobile terminal viewing video.In the process of viewing video, people inevitably need the progress adjusting video playback, such as, if user feels that certain section of uninteresting meeting of video utilizes fast-forward functionality to be skipped by this section of video, or, at some time, user thinks that the content of just having seen is more excellent or do not see due to an other reasons section video, then user can utilize Backward Function again or again to watch this section of video.
Current mobile terminal generally adopts the playing progress rate of the mode display video of progress bar, user adjusts the progress of video playback in the mode dragging progress bar by touch control.But, due to total duration that duration that progress bar is corresponding is all generally whole video file, user's dragging more by a small margin all probably causes video fast forward or the large section of rollback one, many times user just can only make playing progress rate reach the requirement of oneself by dragging progress bar back and forth, can bring a lot of inconvenience when concrete operations to user.
Summary of the invention
Embodiments provide a kind of display packing and terminal of video playback time shaft, the duration that video playback time shaft is corresponding can be set.
Embodiments provide a kind of display packing of video playback time shaft, it is characterized in that, comprising:
Time of reception axial adjustment instruction, is set to k by the value of time shaft regulation coefficient;
Obtain total duration t of target video file, and according to total duration t of described target video file and described time shaft regulation coefficient k, determine the time shaft length Δ t after adjusting, Δ t=t/k;
When receiving video playback instruction, according to the time shaft length Δ t after described adjustment, drawing and showing the first video playback time shaft;
Described target video file is play according to described first video playback time shaft.
The embodiment of the present invention additionally provides a kind of terminal, comprising:
Receiving element, for time of reception axial adjustment instruction;
Setting unit, during for receiving described time shaft adjustment instruction at described receiving element, is set to k by the value of time shaft regulation coefficient;
Acquiring unit, for obtaining total duration t of target video file;
Determining unit, for according to total duration t of described target video file and described time shaft regulation coefficient k, determines the time shaft length Δ t after adjusting, Δ t=t/k;
Described receiving element, also for receiver, video play instruction;
First adjustment unit, for when described receiving element receives described video playback instruction, according to the time shaft length Δ t after described adjustment, draws and shows the first video playback time shaft;
Broadcast unit, for playing described target video file according to described first video playback time shaft.
Can time of reception axial adjustment instruction by the embodiment of the present invention, the value of time shaft regulation coefficient is set to k, obtains total duration t of target video file, and according to total duration t of this target video file and this time shaft regulation coefficient k, determine the time shaft length Δ t after adjusting, Δ t=t/k; When receiving video playback instruction, according to the time shaft length Δ t after this adjustment, drawing and showing the first video playback time shaft, and playing this target video file according to this first video playback time shaft, the duration that video playback time shaft is corresponding can be set.
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 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 first embodiment schematic flow sheet of the display packing of a kind of video playback time shaft that the embodiment of the present invention provides;
Fig. 2 is the second embodiment schematic flow sheet of the display packing of a kind of video playback time shaft that the embodiment of the present invention provides;
Fig. 3 is the 3rd embodiment schematic flow sheet of the display packing of a kind of video playback time shaft that the embodiment of the present invention provides;
Fig. 4 is the first example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides;
Fig. 5 is the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides;
Fig. 6 is the 3rd example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides;
Fig. 7 is the 4th example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Terminal in the embodiment of the present invention can comprise possess multi-media player function smart mobile phone (as Android phone, iOS mobile phone, Windows Phone mobile phone etc.), panel computer, MP3, MP4, MP5, palm PC, mobile internet device (MID, Mobile Internet Devices) or Wearable etc., above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned terminal.
Refer to Fig. 1, the first embodiment schematic flow sheet of the display packing of a kind of video playback time shaft provided for the embodiment of the present invention.The display packing of the video playback time shaft described in the present embodiment, comprises the following steps:
S101, terminal time of reception axial adjustment instruction, be set to k by the value of time shaft regulation coefficient.
In the embodiment that some are feasible, above-mentioned time shaft adjustment instruction can be the operation such as click, touch that user is inputted by terminal touch panel, also can be the acoustic control phonetic order etc. of user's input, the concrete manifestation form embodiment of the present invention for time shaft adjustment instruction does not limit.
Concrete, above-mentioned time shaft adjustment instruction carries parameter k, and terminal obtains the parameter k that it carries, and the value of time shaft regulation coefficient is set to k after receiving the time shaft adjustment instruction of user's input.
In the embodiment that some are feasible, terminal is provided with the application program for playing video, time shaft adjustment entrance is provided with in the function choosing-item of Video Applications, as menu option or slider bar etc. for regulation time axle, after user opens Video Applications, terminal receives the time shaft adjustment instruction of user by the input of above-mentioned time shaft adjustment entrance, and the value of time shaft regulation coefficient is set to the parameter k carried in time shaft adjustment instruction.
It should be noted that, above-mentioned time shaft regulation coefficient k be not less than 1 real number.
S102, terminal obtain total duration t of target video file, and according to total duration t of described target video file and described time shaft regulation coefficient k, determine the time shaft length Δ t after adjusting, Δ t=t/k.
Wherein, above-mentioned target video file can be the video file that terminal local stores, also can be the video file that terminal obtains from Yun Wuqi (as network hard disc etc.), target video file layout can be AVI, MP4,3GP, MKV, FLV, RMVB, MPG, WMV etc., is not construed as limiting for the source of target video file and the form embodiment of the present invention.
Concrete, the duration that the time shaft of Video Applications is corresponding can freely be arranged, and comprises and extends or shorten duration corresponding to Video Applications time shaft.Terminal can resolve the attribute information of target video file, and then obtains total duration t of target video file, and according to total duration t of target video file and time shaft regulation coefficient k, calculates the time shaft length Δ t after adjustment, Δ t=t/k.
S103, when receiving video playback instruction, terminal, according to the time shaft length Δ t after described adjustment, is drawn and shows the first video playback time shaft.
Concrete, user by click, touch or the mode such as Voice command to the video playback instruction of terminal input for above-mentioned target video file, when receiving the video playback instruction of user's input, time shaft starting point is set to Preset Time point T by terminal, time shaft terminal is set to T+ Δ t, and according to time shaft starting point T and time shaft terminal T+ Δ t, draw the first video playback time shaft, and show above-mentioned first video playback time shaft on a terminal screen.
S104, terminal play described target video file according to described first video playback time shaft.
Be understandable that, above-mentioned Preset Time point T can be 0 (i.e. the beginning of target video file), and also can be the playing progress rate of terminal record when target video file to exit broadcasting last time, the embodiment of the present invention does not limit.
Concrete, terminal plays target video file according to the above-mentioned first video playback time shaft shown on a terminal screen from Preset Time point T.
In the embodiment that some are feasible, play in the process of target video file in terminal according to above-mentioned first video playback time shaft, when receiving the playing progress rate regulating command of user's input, terminal obtains the operation information that playing progress rate regulating command is carried, operation information comprises object time point, and then the progress that target video file is play on the first video playback time shaft is adjusted to point of above-mentioned object time by terminal, realizes the adjustment to target video file playing progress rate.
Wherein, above-mentioned playing progress rate regulating command comprises: one or more during click, touch, slip, voice, gesture and eyeball roll.
For example, total duration t=1h of target video file, time shaft regulation coefficient k=4, Preset Time point T=0, the time shaft length Δ t=t/k=1h/4=15min after adjustment is determined according to total duration t and time shaft regulation coefficient k terminal, when receiving the video playback instruction of user's input, time shaft starting point is set to Preset Time point T=0 by terminal, time shaft terminal is set to T+ Δ t=15min, and according to time shaft starting point T and time shaft terminal T+ Δ t, draw the first video playback time shaft, and show above-mentioned first video playback time shaft on a terminal screen, namely the time range that the first video playback time shaft is corresponding is 00:00:00 ~ 00:15:00, and then terminal plays target video file according to above-mentioned very first time axle.
In the embodiment that some are feasible, when target video file is played to 00:15:00, because target video file does not finish, terminal with T+ Δ t=15min for time shaft starting point, T+2* Δ t=30min is time shaft terminal, upgrade above-mentioned first video playback time shaft, namely the time range that the first video playback time shaft is corresponding is updated to 00:15:01 ~ 00:30:00, and then terminal continues to play target video file according to the first video playback time shaft after renewal, according to above-mentioned rule, last first video playback time shaft is updated to 00:45:01 ~ 00:60:00, when playing progress rate arrives the terminal 00:60:00 of the first video playback time shaft after upgrading, target video file just in time finishes.
Can time of reception axial adjustment instruction by the embodiment of the present invention, the value of time shaft regulation coefficient is set to k, obtains total duration t of target video file, and according to total duration t of this target video file and this time shaft regulation coefficient k, determine the time shaft length Δ t after adjusting, Δ t=t/k; When receiving video playback instruction, according to the time shaft length Δ t after this adjustment, draw and show the first video playback time shaft, and play this target video file according to this first video playback time shaft, the duration that video playback time shaft is corresponding can be set, improve the accuracy that video playback progress regulates.
Refer to Fig. 2, the second embodiment schematic flow sheet of the display packing of a kind of video playback time shaft provided for the embodiment of the present invention.The display packing of the video playback time shaft described in the present embodiment, comprises the following steps:
S201, terminal time of reception axial adjustment instruction, be set to k by the value of time shaft regulation coefficient.
In the embodiment that some are feasible, above-mentioned time shaft adjustment instruction can be the operation such as click, touch that user is inputted by terminal touch panel, also can be the acoustic control phonetic order etc. of user's input, the concrete manifestation form embodiment of the present invention for time shaft adjustment instruction does not limit.
Concrete, above-mentioned time shaft adjustment instruction carries parameter k, and terminal obtains the parameter k that it carries, and the value of time shaft regulation coefficient is set to k after receiving the time shaft adjustment instruction of user's input.
In the embodiment that some are feasible, terminal is provided with the application program for playing video, time shaft adjustment entrance is provided with in the function choosing-item of Video Applications, as menu option or slider bar etc. for regulation time axle, after user opens Video Applications, terminal receives the time shaft adjustment instruction of user by the input of above-mentioned time shaft adjustment entrance, and the value of time shaft regulation coefficient is set to the parameter k carried in time shaft adjustment instruction.
It should be noted that, above-mentioned time shaft regulation coefficient k be not less than 1 real number.
S202, terminal obtain total duration t of target video file, and according to total duration t of described target video file and described time shaft regulation coefficient k, determine the time shaft length Δ t after adjusting, Δ t=t/k.
Wherein, above-mentioned target video file can be the video file that terminal local stores, also can be the video file that terminal obtains from Yun Wuqi (as network hard disc etc.), target video file layout can be AVI, MP4,3GP, MKV, FLV, RMVB, MPG, WMV etc., is not construed as limiting for the source of target video file and the form embodiment of the present invention.
Concrete, the duration that the time shaft of Video Applications is corresponding can freely be arranged, and comprises and extends or shorten duration corresponding to Video Applications time shaft.Terminal can resolve the attribute information of target video file, and then obtains total duration t of target video file, and according to total duration t of target video file and time shaft regulation coefficient k, calculates the time shaft length Δ t after adjustment, Δ t=t/k.
S203, when receiving video playback instruction, time shaft starting point is set to Preset Time point T by terminal, and time shaft terminal is set to T+ Δ t, and according to described time shaft starting point T and described time shaft terminal T+ Δ t, draws and show the first video playback time shaft.
Concrete, user by click, touch or the mode such as Voice command to the video playback instruction of terminal input for above-mentioned target video file.
Be understandable that, above-mentioned Preset Time point T can be 0 (i.e. the beginning of target video file), and also can be the playing progress rate of terminal record when target video file to exit broadcasting last time, the embodiment of the present invention does not limit.
S204, terminal play described target video file according to described first video playback time shaft.
Concrete, terminal plays target video file according to the above-mentioned first video playback time shaft shown on a terminal screen from Preset Time point T.
S205, when the progress that described target video file is play is T+ Δ t, terminal is with T+ Δ t for time shaft starting point, and T+2* Δ t is time shaft terminal, upgrades described first video playback time shaft.
Concrete, whether terminal judges T+2* Δ t is greater than total duration t of target video file, if T+2* Δ t is greater than total duration t of target video file, then terminal is with T+ Δ t for time shaft starting point, and t is time shaft terminal, upgrades the first video playback time shaft; If T+2* Δ t is less than or equal to total duration t of target video file, then terminal is with T+ Δ t for time shaft starting point, and T+2* Δ t is time shaft terminal, upgrades the first video playback time shaft.
S206, terminal continue to play described target video file according to the described first video playback time shaft after renewal.
In the embodiment that some are feasible, when target video file is T+2* Δ t according to the progress that the first video playback time shaft after renewal is play, whether terminal judges target video file finishes, if target video file does not finish, then terminal with T+2* Δ t for time shaft starting point, T+3* Δ t is time shaft terminal, upgrades the first video playback time shaft; If target video file finishes, then terminal stops renewal first video playback time shaft.
In the embodiment that some are feasible, play in the process of target video file in terminal according to above-mentioned first video playback time shaft, when receiving the playing progress rate regulating command of user's input, terminal obtains the operation information that playing progress rate regulating command is carried, operation information comprises object time point, and then the progress that target video file is play on the first video playback time shaft is adjusted to point of above-mentioned object time by terminal, realizes the adjustment to target video file playing progress rate.
Wherein, above-mentioned playing progress rate regulating command comprises: one or more during click, touch, slip, voice, gesture and eyeball roll.
For example, total duration t=50min of target video file, time shaft regulation coefficient k=4, Preset Time point T=1min, the time shaft length Δ t=t/k=50min/4=12.5min after adjustment is determined according to total duration t and time shaft regulation coefficient k terminal, for ease of explanation, in the embodiment of the present invention, Δ t rounds downwards, i.e. Δ t=12min, when receiving the video playback instruction of user's input, time shaft starting point is set to Preset Time point T=1min by terminal, time shaft terminal is set to T+ Δ t=13min, and according to time shaft starting point T and time shaft terminal T+ Δ t, draw the first video playback time shaft, and show above-mentioned first video playback time shaft on a terminal screen, namely the time range that the first video playback time shaft is corresponding is 00:01:00 ~ 00:13:00, and then terminal plays target video file according to above-mentioned very first time axle.
Further, when target video file is played to 00:13:00, because T+2* Δ t=25min is less than total duration t of target video file, terminal with T+ Δ t=13min for time shaft starting point, T+2* Δ t=25min is time shaft terminal, upgrade above-mentioned first video playback time shaft, namely the time range that the first video playback time shaft is corresponding is updated to 00:13:01 ~ 00:25:00, and then terminal continues to play target video file according to the first video playback time shaft after renewal, when target video file is T+2* Δ t=25min according to the progress that the first video playback time shaft after renewal is play, because now target video file does not finish, terminal with T+2* Δ t=25min for time shaft starting point, T+3* Δ t=37min is time shaft terminal, upgrade the first video playback time shaft, namely the time range that the first video playback time shaft is corresponding is updated to 00:25:01 ~ 00:37:00, according to above-mentioned rule, after the first video playback time shaft is updated to 00:37:01 ~ 00:49:00, because T+5* Δ t=61min is greater than total duration t of target video file, now terminal with T+4* Δ t=49min for time shaft starting point, t=50min is time shaft terminal, upgrading the first video playback time shaft is 00:49:01 ~ 00:50:00, and then terminal continues to play target video file according to above-mentioned very first time axle, and stop when the progress that target video file is play is 50min upgrading above-mentioned first video playback time shaft.
Can time of reception axial adjustment instruction by the embodiment of the present invention, the value of time shaft regulation coefficient is set to k, obtains total duration t of target video file, and according to total duration t of this target video file and this time shaft regulation coefficient k, determine the time shaft length Δ t after adjusting, Δ t=t/k; When receiving video playback instruction, time shaft starting point is set to Preset Time point T, time shaft terminal is set to T+ Δ t, and according to this time shaft starting point T and this time shaft terminal T+ Δ t, draw and show the first video playback time shaft, playing this target video file according to this first video playback time shaft; When the progress that this target video file is play is T+ Δ t, with T+ Δ t for time shaft starting point, T+2* Δ t is time shaft terminal, upgrade this first video playback time shaft, and continue to play this target video file according to this first video playback time shaft after upgrading, the duration that video playback time shaft is corresponding can be set, improve the accuracy that video playback progress regulates.
Refer to Fig. 3, the 3rd embodiment schematic flow sheet of the display packing of a kind of video playback time shaft provided for the embodiment of the present invention.The display packing of the video playback time shaft described in the present embodiment, comprises the following steps:
S301, terminal time of reception axial adjustment instruction, be set to k by the value of time shaft regulation coefficient.
In the embodiment that some are feasible, above-mentioned time shaft adjustment instruction can be the operation such as click, touch that user is inputted by terminal touch panel, also can be the acoustic control phonetic order etc. of user's input, the concrete manifestation form embodiment of the present invention for time shaft adjustment instruction does not limit.
Concrete, above-mentioned time shaft adjustment instruction carries parameter k, and terminal obtains the parameter k that it carries, and the value of time shaft regulation coefficient is set to k after receiving the time shaft adjustment instruction of user's input.
In the embodiment that some are feasible, terminal is provided with the application program for playing video, time shaft adjustment entrance is provided with in the function choosing-item of Video Applications, as menu option or slider bar etc. for regulation time axle, after user opens Video Applications, terminal receives the time shaft adjustment instruction of user by the input of above-mentioned time shaft adjustment entrance, and the value of time shaft regulation coefficient is set to the parameter k carried in time shaft adjustment instruction.
It should be noted that, above-mentioned time shaft regulation coefficient k be not less than 1 real number.
S302, terminal obtain total duration t of target video file, and according to total duration t of described target video file and described time shaft regulation coefficient k, determine the time shaft length Δ t after adjusting, Δ t=t/k.
Wherein, above-mentioned target video file can be the video file that terminal local stores, also can be the video file that terminal obtains from Yun Wuqi (as network hard disc etc.), target video file layout can be AVI, MP4,3GP, MKV, FLV, RMVB, MPG, WMV etc., is not construed as limiting for the source of target video file and the form embodiment of the present invention.
Concrete, the duration that the time shaft of Video Applications is corresponding can freely be arranged, and comprises and extends or shorten duration corresponding to Video Applications time shaft.Terminal can resolve the attribute information of target video file, and then obtains total duration t of target video file, and according to total duration t of target video file and time shaft regulation coefficient k, calculates the time shaft length Δ t after adjustment, Δ t=t/k.
S303, when receiving video playback instruction, terminal, according to the time shaft length Δ t after described adjustment, is drawn and shows the first video playback time shaft.
Concrete, user by click, touch or the mode such as Voice command to the video playback instruction of terminal input for above-mentioned target video file, when receiving the video playback instruction of user's input, time shaft starting point is set to Preset Time point T by terminal, time shaft terminal is set to T+ Δ t, and according to time shaft starting point T and time shaft terminal T+ Δ t, draw the first video playback time shaft, and show above-mentioned first video playback time shaft on a terminal screen.
S304, terminal play described target video file according to described first video playback time shaft.
Be understandable that, above-mentioned Preset Time point T can be 0 (i.e. the beginning of target video file), and also can be the playing progress rate of terminal record when target video file to exit broadcasting last time, the embodiment of the present invention does not limit.
Concrete, terminal plays target video file according to the above-mentioned first video playback time shaft shown on a terminal screen from Preset Time point T.
S305, the instruction of terminal time of reception axial adjustment coefficient modifying, described time shaft regulation coefficient modify instruction comprises parameter k ', and the value of described time shaft regulation coefficient is set to described parameter k '.
Concrete, terminal is play in the process of target video file according to the first video playback time shaft, can receive the time shaft regulation coefficient modify instruction of user's input, modify to the value of time shaft regulation coefficient.
S306, terminal, according to total duration t of described target video file and described time shaft regulation coefficient k ', determine the time shaft length Δ t ' after adjusting, Δ t '=t/k '.
S307, terminal read the playing progress rate t of described target video file 0, and according to the playing progress rate t of described target video file 0time shaft length Δ t ' with after described adjustment, draws and shows the second video playback time shaft.
Concrete, time shaft starting point is set to the playing progress rate t of target video file by terminal 0, time shaft terminal is set to t 0+ Δ t ', and then according to time shaft starting point t 0with time shaft terminal t 0+ Δ t ', draws and shows the second video playback time shaft.
S308, terminal continue to play described target video file according to described second video playback time shaft.
Concrete, terminal according to the above-mentioned second video playback time shaft shown on a terminal screen from playing progress rate t 0continue to play target video file.
S309, when receiving playing progress rate regulating command, the progress that terminal regulates described target video file to play.
Concrete, terminal obtains the operation information that playing progress rate regulating command is carried, aforesaid operations packets of information is containing object time point, and then the progress that target video file is play according to above-mentioned first video playback time shaft or above-mentioned second video playback time shaft is adjusted to object time point by terminal.
Wherein, above-mentioned playing progress rate regulating command comprises: one or more during click, touch, slip, voice, gesture and eyeball roll.
For example, total duration t=60min of target video file, time shaft regulation coefficient k=4, Preset Time point T=0min, the time shaft length Δ t=t/k=60min/4=15min after adjustment is determined according to total duration t and time shaft regulation coefficient k terminal, when receiving the video playback instruction of user's input, time shaft starting point is set to Preset Time point T=0min by terminal, time shaft terminal is set to T+ Δ t=15min, and according to time shaft starting point T and time shaft terminal T+ Δ t, draw the first video playback time shaft, and show above-mentioned first video playback time shaft on a terminal screen, namely the time range that the first video playback time shaft is corresponding is 00:00:00 ~ 00:15:00, and then terminal plays target video file according to above-mentioned very first time axle.
Further, suppose that in the progress of target video file broadcasting be t 0during=5min, terminal receives the time shaft regulation coefficient modify instruction of user's input, and the parameter k ' (for k '=8) that the instruction of acquisition time axial adjustment coefficient modifying comprises, and then the value of time shaft regulation coefficient is set to parameter k '=8, the time shaft length Δ t '=t/k '=60min/8=7.5min after adjustment is determined according to total duration t and time shaft regulation coefficient k ' terminal, for ease of explanation, in the embodiment of the present invention, Δ t and Δ t ' rounds all downwards, i.e. Δ t '=7min, time shaft starting point is set to the playing progress rate t of target video file by terminal 0=5min, time shaft terminal is set to t 0+ Δ t '=12min, and then according to time shaft starting point t 0with time shaft terminal t 0+ Δ t ', draws and shows the second video playback time shaft, and the time range that namely the second video playback time shaft is corresponding is updated to 00:05:01 ~ 00:12:00, and continues to play target video file according to above-mentioned second time shaft.
Further, when the progress that target video file is play is 00:12:00, terminal is with t 0+ Δ t '=12min is time shaft starting point, t 0+ 2* Δ t '=19min is time shaft terminal, upgrading above-mentioned second video playback time shaft is 00:12:01 ~ 00:19:00, and then terminal continues to play target video file according to above-mentioned second time shaft after renewal, according to above-mentioned rule, the second last video playback time shaft is updated to 00:54:01 ~ 00:60:00, when playing progress rate arrives the terminal 00:60:00 of the second video playback time shaft after upgrading, target video file finishes, and terminal stops upgrading above-mentioned second video playback time shaft.
Can time of reception axial adjustment instruction by the embodiment of the present invention, the value of time shaft regulation coefficient is set to k, obtains total duration t of target video file, and according to total duration t of this target video file and this time shaft regulation coefficient k, determine the time shaft length Δ t after adjusting, Δ t=t/k; When receiving video playback instruction, according to the time shaft length Δ t after adjustment, drawing and showing the first video playback time shaft, and playing this target video file according to this first video playback time shaft; The instruction of time of reception axial adjustment coefficient modifying, this time shaft regulation coefficient modify instruction comprises parameter k ', the value of this time shaft regulation coefficient is set to parameter k ', and according to total duration t of this target video file and this time shaft regulation coefficient k ', determine the time shaft length Δ t ' after adjusting, Δ t '=t/k ', reads the playing progress rate t of this target video file 0, according to the playing progress rate t of this target video file 0with the time shaft length Δ t ' after this adjustment, draw and show the second video playback time shaft, and then continue to play this target video file according to this second video playback time shaft, when receiving playing progress rate regulating command, regulate the progress that this target video file is play, the duration that video playback time shaft is corresponding can be set, improve the accuracy that video playback progress regulates.
Referring to Fig. 4, is the first example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising: receiving element 401, setting unit 402, acquiring unit 403, determining unit 404, first adjustment unit 405 and broadcast unit 406, wherein:
Receiving element 401, for time of reception axial adjustment instruction;
Setting unit 402, during for receiving described time shaft adjustment instruction at described receiving element, is set to k by the value of time shaft regulation coefficient.
In the embodiment that some are feasible, above-mentioned time shaft adjustment instruction can be the operation such as click, touch that user is inputted by terminal touch panel, also can be the acoustic control phonetic order etc. of user's input, the concrete manifestation form embodiment of the present invention for time shaft adjustment instruction does not limit.
Concrete, above-mentioned time shaft adjustment instruction carries parameter k, and after receiving element 401 receives the time shaft adjustment instruction of user's input, setting unit 402 obtains its parameter k carried, and the value of time shaft regulation coefficient is set to k.
In the embodiment that some are feasible, terminal is provided with the application program for playing video, time shaft adjustment entrance is provided with in the function choosing-item of Video Applications, as menu option or slider bar etc. for regulation time axle, after user opens Video Applications, receiving element 401 receives the time shaft adjustment instruction of user by the input of above-mentioned time shaft adjustment entrance, by setting unit 402, the value of time shaft regulation coefficient is set to time shaft and adjusts the parameter k carried in instruction.
It should be noted that, above-mentioned time shaft regulation coefficient k be not less than 1 real number.
Acquiring unit 403, for obtaining total duration t of target video file;
Determining unit 404, for according to total duration t of described target video file and described time shaft regulation coefficient k, determines the time shaft length Δ t after adjusting, Δ t=t/k.
Wherein, above-mentioned target video file can be the video file that terminal local stores, also can be the video file that terminal obtains from Yun Wuqi (as network hard disc etc.), target video file layout can be AVI, MP4,3GP, MKV, FLV, RMVB, MPG, WMV etc., is not construed as limiting for the source of target video file and the form embodiment of the present invention.
Concrete, the duration that the time shaft of Video Applications is corresponding can freely be arranged, and comprises and extends or shorten duration corresponding to Video Applications time shaft.Acquiring unit 403 can resolve the attribute information of target video file, and then obtain total duration t of target video file, by determining unit 404 according to total duration t of target video file and time shaft regulation coefficient k, calculate the time shaft length Δ t after adjustment, Δ t=t/k.
Described receiving element 401, also for receiver, video play instruction;
First adjustment unit 405, for when described receiving element receives described video playback instruction, according to the time shaft length Δ t after described adjustment, draws and shows the first video playback time shaft.
Concrete, user by click, touch or the mode such as Voice command to the video playback instruction of terminal input for above-mentioned target video file, when receiving element 401 receives the video playback instruction of user's input, time shaft starting point is set to Preset Time point T by the first adjustment unit 405, time shaft terminal is set to T+ Δ t, and according to time shaft starting point T and time shaft terminal T+ Δ t, draw the first video playback time shaft, and show above-mentioned first video playback time shaft on a terminal screen.
Broadcast unit 406, for playing described target video file according to described first video playback time shaft.
Be understandable that, above-mentioned Preset Time point T can be 0 (i.e. the beginning of target video file), and also can be the playing progress rate of terminal record when target video file to exit broadcasting last time, the embodiment of the present invention does not limit.
Concrete, broadcast unit 406 plays target video file according to the above-mentioned first video playback time shaft shown on a terminal screen from Preset Time point T.
In the embodiment that some are feasible, play in the process of target video file at broadcast unit 406 according to above-mentioned first video playback time shaft, when receiving the playing progress rate regulating command of user's input, terminal obtains the operation information that playing progress rate regulating command is carried, operation information comprises object time point, and then the progress that target video file is play on the first video playback time shaft is adjusted to point of above-mentioned object time by terminal, realizes the adjustment to target video file playing progress rate.
Wherein, above-mentioned playing progress rate regulating command comprises: one or more during click, touch, slip, voice, gesture and eyeball roll.
For example, total duration t=1h of target video file, time shaft regulation coefficient k=4, Preset Time point T=0, determining unit 404 determines the time shaft length Δ t=t/k=1h/4=15min after adjustment according to total duration t and time shaft regulation coefficient k terminal, when receiving element 401 receives the video playback instruction of user's input, time shaft starting point is set to Preset Time point T=0 by the first adjustment unit 405, time shaft terminal is set to T+ Δ t=15min, and according to time shaft starting point T and time shaft terminal T+ Δ t, draw the first video playback time shaft, and show above-mentioned first video playback time shaft on a terminal screen, namely the time range that the first video playback time shaft is corresponding is 00:00:00 ~ 00:15:00, and then broadcast unit 406 plays target video file according to above-mentioned very first time axle.
In the embodiment that some are feasible, when target video file is played to 00:15:00, because target video file does not finish, first adjustment unit 405 with T+ Δ t=15min for time shaft starting point, T+2* Δ t=30min is time shaft terminal, upgrade above-mentioned first video playback time shaft, namely the time range that the first video playback time shaft is corresponding is updated to 00:15:01 ~ 00:30:00, and then broadcast unit 406 continues to play target video file according to the first video playback time shaft after renewal, according to above-mentioned rule, last first video playback time shaft is updated to 00:45:01 ~ 00:60:00, when playing progress rate arrives the terminal 00:60:00 of the first video playback time shaft after upgrading, target video file just in time finishes.
Can time of reception axial adjustment instruction by the embodiment of the present invention, the value of time shaft regulation coefficient is set to k, obtains total duration t of target video file, and according to total duration t of this target video file and this time shaft regulation coefficient k, determine the time shaft length Δ t after adjusting, Δ t=t/k; When receiving video playback instruction, according to the time shaft length Δ t after this adjustment, draw and show the first video playback time shaft, and play this target video file according to this first video playback time shaft, the duration that video playback time shaft is corresponding can be set, improve the accuracy that video playback progress regulates.
Referring to Fig. 5, is the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising: receiving element 501, setting unit 502, acquiring unit 503, determining unit 504, first adjustment unit 505, broadcast unit 506 and the second adjustment unit 507, wherein:
Receiving element 501, for time of reception axial adjustment instruction;
Setting unit 502, during for receiving described time shaft adjustment instruction at described receiving element, is set to k by the value of time shaft regulation coefficient.
In the embodiment that some are feasible, above-mentioned time shaft adjustment instruction can be the operation such as click, touch that user is inputted by terminal touch panel, also can be the acoustic control phonetic order etc. of user's input, the concrete manifestation form embodiment of the present invention for time shaft adjustment instruction does not limit.
Concrete, above-mentioned time shaft adjustment instruction carries parameter k, and after receiving element 501 receives the time shaft adjustment instruction of user's input, setting unit 502 obtains its parameter k carried, and the value of time shaft regulation coefficient is set to k.
In the embodiment that some are feasible, terminal is provided with the application program for playing video, time shaft adjustment entrance is provided with in the function choosing-item of Video Applications, as menu option or slider bar etc. for regulation time axle, after user opens Video Applications, receiving element 501 receives the time shaft adjustment instruction of user by the input of above-mentioned time shaft adjustment entrance, by setting unit 502, the value of time shaft regulation coefficient is set to time shaft and adjusts the parameter k carried in instruction.
It should be noted that, above-mentioned time shaft regulation coefficient k be not less than 1 real number.
Acquiring unit 503, for obtaining total duration t of target video file;
Determining unit 504, for according to total duration t of described target video file and described time shaft regulation coefficient k, determines the time shaft length Δ t after adjusting, Δ t=t/k.
Wherein, above-mentioned target video file can be the video file that terminal local stores, also can be the video file that terminal obtains from Yun Wuqi (as network hard disc etc.), target video file layout can be AVI, MP4,3GP, MKV, FLV, RMVB, MPG, WMV etc., is not construed as limiting for the source of target video file and the form embodiment of the present invention.
Concrete, the duration that the time shaft of Video Applications is corresponding can freely be arranged, and comprises and extends or shorten duration corresponding to Video Applications time shaft.Acquiring unit 503 can resolve the attribute information of target video file, and then obtain total duration t of target video file, by determining unit 504 according to total duration t of target video file and time shaft regulation coefficient k, calculate the time shaft length Δ t after adjustment, Δ t=t/k.
Described receiving element 501, also for receiver, video play instruction;
First adjustment unit 505, for when described receiving element receives described video playback instruction, time shaft starting point is set to Preset Time point T, time shaft terminal is set to T+ Δ t, and according to described time shaft starting point T and described time shaft terminal T+ Δ t, draw and show the first video playback time shaft.
Concrete, user by click, touch or the mode such as Voice command to the video playback instruction of terminal input for above-mentioned target video file.
Be understandable that, above-mentioned Preset Time point T can be 0 (i.e. the beginning of target video file), and also can be the playing progress rate of terminal record when target video file to exit broadcasting last time, the embodiment of the present invention does not limit.
Broadcast unit 506, for playing described target video file according to described first video playback time shaft.
Concrete, broadcast unit 506 plays target video file according to the above-mentioned first video playback time shaft shown on a terminal screen from Preset Time point T.
Second adjustment unit 507, for when the progress that described target video file is play is T+ Δ t, with T+ Δ t for time shaft starting point, T+2* Δ t is time shaft terminal, upgrades described first video playback time shaft.
Concrete, second adjustment unit 507 judges whether T+2* Δ t is greater than total duration t of target video file, if T+2* Δ t is greater than total duration t of target video file, then the second adjustment unit 507 with T+ Δ t for time shaft starting point, t is time shaft terminal, upgrades the first video playback time shaft; If T+2* Δ t is less than or equal to total duration t of target video file, then the second adjustment unit 507 is with T+ Δ t for time shaft starting point, and T+2* Δ t is time shaft terminal, upgrades the first video playback time shaft.
Described broadcast unit 506, also for continuing to play described target video file according to the described first video playback time shaft after renewal.
In the embodiment that some are feasible, when target video file is T+2* Δ t according to the progress that the first video playback time shaft after renewal is play, second adjustment unit 507 judges whether target video file finishes, if target video file does not finish, then the second adjustment unit 507 with T+2* Δ t for time shaft starting point, T+3* Δ t is time shaft terminal, upgrades the first video playback time shaft; If target video file finishes, then the second adjustment unit 507 stops renewal first video playback time shaft.
In the embodiment that some are feasible, play in the process of target video file at broadcast unit 506 according to above-mentioned first video playback time shaft, when receiving the playing progress rate regulating command of user's input, terminal obtains the operation information that playing progress rate regulating command is carried, operation information comprises object time point, and then the progress that target video file is play on the first video playback time shaft is adjusted to point of above-mentioned object time by terminal, realizes the adjustment to target video file playing progress rate.
Wherein, above-mentioned playing progress rate regulating command comprises: one or more during click, touch, slip, voice, gesture and eyeball roll.
For example, total duration t=50min of target video file, time shaft regulation coefficient k=4, Preset Time point T=1min, determining unit 504 determines the time shaft length Δ t=t/k=50min/4=12.5min after adjustment according to total duration t and time shaft regulation coefficient k terminal, for ease of explanation, in the embodiment of the present invention, Δ t rounds downwards, i.e. Δ t=12min, when receiving element 501 receives the video playback instruction of user's input, time shaft starting point is set to Preset Time point T=1min by the first adjustment unit 505, time shaft terminal is set to T+ Δ t=13min, and according to time shaft starting point T and time shaft terminal T+ Δ t, draw the first video playback time shaft, and show above-mentioned first video playback time shaft on a terminal screen, namely the time range that the first video playback time shaft is corresponding is 00:01:00 ~ 00:13:00, and then broadcast unit 506 plays target video file according to above-mentioned very first time axle.
Further, when target video file is played to 00:13:00, because T+2* Δ t=25min is less than total duration t of target video file, second adjustment unit 507 with T+ Δ t=13min for time shaft starting point, T+2* Δ t=25min is time shaft terminal, upgrade above-mentioned first video playback time shaft, namely the time range that the first video playback time shaft is corresponding is updated to 00:13:01 ~ 00:25:00, and then broadcast unit 506 continues to play target video file according to the first video playback time shaft after renewal, when target video file is T+2* Δ t=25min according to the progress that the first video playback time shaft after renewal is play, because now target video file does not finish, second adjustment unit 507 with T+2* Δ t=25min for time shaft starting point, T+3* Δ t=37min is time shaft terminal, upgrade the first video playback time shaft, namely the time range that the first video playback time shaft is corresponding is updated to 00:25:01 ~ 00:37:00, according to above-mentioned rule, after the first video playback time shaft is updated to 00:37:01 ~ 00:49:00, because T+5* Δ t=61min is greater than total duration t of target video file, now the second adjustment unit 507 with T+4* Δ t=49min for time shaft starting point, t=50min is time shaft terminal, upgrading the first video playback time shaft is 00:49:01 ~ 00:50:00, and then broadcast unit 506 continues to play target video file according to above-mentioned very first time axle, when the progress that target video file is play is 50min, the second adjustment unit 507 stops upgrading above-mentioned first video playback time shaft.
Can time of reception axial adjustment instruction by the embodiment of the present invention, the value of time shaft regulation coefficient is set to k, obtains total duration t of target video file, and according to total duration t of this target video file and this time shaft regulation coefficient k, determine the time shaft length Δ t after adjusting, Δ t=t/k; When receiving video playback instruction, time shaft starting point is set to Preset Time point T, time shaft terminal is set to T+ Δ t, and according to this time shaft starting point T and this time shaft terminal T+ Δ t, draw and show the first video playback time shaft, playing this target video file according to this first video playback time shaft; When the progress that this target video file is play is T+ Δ t, with T+ Δ t for time shaft starting point, T+2* Δ t is time shaft terminal, upgrade this first video playback time shaft, and continue to play this target video file according to this first video playback time shaft after upgrading, the duration that video playback time shaft is corresponding can be set, improve the accuracy that video playback progress regulates.
Referring to Fig. 6, is the 3rd example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising: receiving element 601, setting unit 602, acquiring unit 603, determining unit 604, first adjustment unit 605, broadcast unit 606 and control module 607, wherein:
Receiving element 601, for time of reception axial adjustment instruction;
Setting unit 602, during for receiving described time shaft adjustment instruction at described receiving element, is set to k by the value of time shaft regulation coefficient.
In the embodiment that some are feasible, above-mentioned time shaft adjustment instruction can be the operation such as click, touch that user is inputted by terminal touch panel, also can be the acoustic control phonetic order etc. of user's input, the concrete manifestation form embodiment of the present invention for time shaft adjustment instruction does not limit.
Concrete, above-mentioned time shaft adjustment instruction carries parameter k, and after receiving element 601 receives the time shaft adjustment instruction of user's input, setting unit 602 obtains its parameter k carried, and the value of time shaft regulation coefficient is set to k.
In the embodiment that some are feasible, terminal is provided with the application program for playing video, time shaft adjustment entrance is provided with in the function choosing-item of Video Applications, as menu option or slider bar etc. for regulation time axle, after user opens Video Applications, receiving element 601 receives the time shaft adjustment instruction of user by the input of above-mentioned time shaft adjustment entrance, by setting unit 602, the value of time shaft regulation coefficient is set to time shaft and adjusts the parameter k carried in instruction.
It should be noted that, above-mentioned time shaft regulation coefficient k be not less than 1 real number.
Acquiring unit 603, for obtaining total duration t of target video file;
Determining unit 604, for according to total duration t of described target video file and described time shaft regulation coefficient k, determines the time shaft length Δ t after adjusting, Δ t=t/k.
Wherein, above-mentioned target video file can be the video file that terminal local stores, also can be the video file that terminal obtains from Yun Wuqi (as network hard disc etc.), target video file layout can be AVI, MP4,3GP, MKV, FLV, RMVB, MPG, WMV etc., is not construed as limiting for the source of target video file and the form embodiment of the present invention.
Concrete, the duration that the time shaft of Video Applications is corresponding can freely be arranged, and comprises and extends or shorten duration corresponding to Video Applications time shaft.Acquiring unit 603 can resolve the attribute information of target video file, and then obtain total duration t of target video file, by determining unit 604 according to total duration t of target video file and time shaft regulation coefficient k, calculate the time shaft length Δ t after adjustment, Δ t=t/k.
Described receiving element 601, also for receiver, video play instruction;
First adjustment unit 605, for when described receiving element receives described video playback instruction, according to the time shaft length Δ t after described adjustment, draws and shows the first video playback time shaft.
Concrete, user by click, touch or the mode such as Voice command to the video playback instruction of terminal input for above-mentioned target video file, when receiving element 601 receives the video playback instruction of user's input, time shaft starting point is set to Preset Time point T by the first adjustment unit 605, time shaft terminal is set to T+ Δ t, and according to time shaft starting point T and time shaft terminal T+ Δ t, draw the first video playback time shaft, and show above-mentioned first video playback time shaft on a terminal screen.
Broadcast unit 606, for playing described target video file according to described first video playback time shaft.
Be understandable that, above-mentioned Preset Time point T can be 0 (i.e. the beginning of target video file), and also can be the playing progress rate of terminal record when target video file to exit broadcasting last time, the embodiment of the present invention does not limit.
Concrete, broadcast unit 606 plays target video file according to the above-mentioned first video playback time shaft shown on a terminal screen from Preset Time point T.
Described receiving element 601, also for the instruction of time of reception axial adjustment coefficient modifying, described time shaft regulation coefficient modify instruction comprises parameter k ';
Described setting unit 602, time also for receiving described time shaft regulation coefficient modify instruction at described receiving element, is set to described parameter k ' by the value of described time shaft regulation coefficient.
Concrete, broadcast unit 606 is play in the process of target video file according to the first video playback time shaft, and receiving element 601 can receive the time shaft regulation coefficient modify instruction of user's input, is modified by the value of setting unit 602 pairs of time shaft regulation coefficient.
Described determining unit 604, also for according to total duration t of described target video file and described time shaft regulation coefficient k ', determines the time shaft length Δ t ' after adjusting, Δ t '=t/k ';
Described acquiring unit 603, also for reading the playing progress rate t of described target video file 0;
Described first adjustment unit 605, also for the playing progress rate t according to described target video file 0time shaft length Δ t ' with after described adjustment, draws and shows the second video playback time shaft.
Concrete, time shaft starting point is set to the playing progress rate t of target video file by the first adjustment unit 605 0, time shaft terminal is set to t 0+ Δ t ', and then according to time shaft starting point t 0with time shaft terminal t 0+ Δ t ', draws and shows the second video playback time shaft.
Described broadcast unit 606, also for continuing to play described target video file according to described second video playback time shaft.
Concrete, broadcast unit 606 according to the above-mentioned second video playback time shaft shown on a terminal screen from playing progress rate t 0continue to play target video file.
Described receiving element 601, also for receiving playing progress rate regulating command;
Control module 607, for when described receiving element receives described playing progress rate regulating command, regulates the progress that described target video file is play.
Concrete, control module 607 obtains the operation information that playing progress rate regulating command is carried, the progress that target video file is play according to above-mentioned first video playback time shaft or above-mentioned second video playback time shaft containing object time point, and then is adjusted to object time point by aforesaid operations packets of information.
Wherein, above-mentioned playing progress rate regulating command comprises: one or more during click, touch, slip, voice, gesture and eyeball roll.
For example, total duration t=60min of target video file, time shaft regulation coefficient k=4, Preset Time point T=0min, determining unit 604 determines the time shaft length Δ t=t/k=60min/4=15min after adjustment according to total duration t and time shaft regulation coefficient k terminal, when receiving element 601 receives the video playback instruction of user's input, time shaft starting point is set to Preset Time point T=0min by the first adjustment unit 605, time shaft terminal is set to T+ Δ t=15min, and according to time shaft starting point T and time shaft terminal T+ Δ t, draw the first video playback time shaft, and show above-mentioned first video playback time shaft on a terminal screen, namely the time range that the first video playback time shaft is corresponding is 00:00:00 ~ 00:15:00, and then broadcast unit 606 plays target video file according to above-mentioned very first time axle.
Further, suppose that in the progress of target video file broadcasting be t 0during=5min, receiving element 601 receives the time shaft regulation coefficient modify instruction of user's input, the parameter k ' (for k '=8) that the instruction of setting unit 602 acquisition time axial adjustment coefficient modifying comprises, and the value of time shaft regulation coefficient is set to parameter k '=8, determining unit 604 determines the time shaft length Δ t '=t/k '=60min/8=7.5min after adjustment according to total duration t and time shaft regulation coefficient k ' terminal, for ease of explanation, in the embodiment of the present invention, Δ t and Δ t ' rounds all downwards, i.e. Δ t '=7min, time shaft starting point is set to the playing progress rate t of target video file by the first adjustment unit 605 0=5min, time shaft terminal is set to t 0+ Δ t '=12min, and then according to time shaft starting point t 0with time shaft terminal t 0+ Δ t ', draws and shows the second video playback time shaft, and the time range that namely the second video playback time shaft is corresponding is updated to 00:05:01 ~ 00:12:00, is continued to play target video file according to above-mentioned second time shaft by broadcast unit 606.
Further, when the progress that target video file is play is 00:12:00, the first adjustment unit 605 is with t 0+ Δ t '=12min is time shaft starting point, t 0+ 2* Δ t '=19min is time shaft terminal, upgrading above-mentioned second video playback time shaft is 00:12:01 ~ 00:19:00, and then broadcast unit 606 continues to play target video file according to above-mentioned second time shaft after renewal, according to above-mentioned rule, the second last video playback time shaft is updated to 00:54:01 ~ 00:60:00, when playing progress rate arrives the terminal 00:60:00 of the second video playback time shaft after upgrading, target video file finishes, and the first adjustment unit 605 stops upgrading above-mentioned second video playback time shaft.
Can time of reception axial adjustment instruction by the embodiment of the present invention, the value of time shaft regulation coefficient is set to k, obtains total duration t of target video file, and according to total duration t of this target video file and this time shaft regulation coefficient k, determine the time shaft length Δ t after adjusting, Δ t=t/k; When receiving video playback instruction, according to the time shaft length Δ t after adjustment, drawing and showing the first video playback time shaft, and playing this target video file according to this first video playback time shaft; The instruction of time of reception axial adjustment coefficient modifying, this time shaft regulation coefficient modify instruction comprises parameter k ', the value of this time shaft regulation coefficient is set to parameter k ', and according to total duration t of this target video file and this time shaft regulation coefficient k ', determine the time shaft length Δ t ' after adjusting, Δ t '=t/k ', reads the playing progress rate t of this target video file 0, according to the playing progress rate t of this target video file 0with the time shaft length Δ t ' after this adjustment, draw and show the second video playback time shaft, and then continue to play this target video file according to this second video playback time shaft, when receiving playing progress rate regulating command, regulate the progress that this target video file is play, the duration that video playback time shaft is corresponding can be set, improve the accuracy that video playback progress regulates.
Referring to Fig. 7, is the 4th example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising: at least one input equipment 701; At least one output device 702; At least one processor 703, such as CPU; With storer 704, above-mentioned input equipment 701, output device 702, processor 703 are connected by bus 705 with storer 704.
Wherein, above-mentioned input equipment 701 specifically can be the contact panel of terminal, comprise touch-screen and touch screen, for detecting the operational order of input, aforesaid operations instruction specifically can comprise: time shaft adjustment instruction, video playback instruction, time shaft regulation coefficient modify instruction and playing progress rate regulating command.
Above-mentioned output device 702 specifically can be the display screen of terminal, for exporting, the content information of display-object video file.
Above-mentioned storer 704 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), such as magnetic disk memory.Above-mentioned storer 704 is for storing batch processing code, and above-mentioned input equipment 701, output device 702 and processor 703, for calling the program code stored in storer 704, perform and operate as follows:
Above-mentioned input equipment 701, for time of reception axial adjustment instruction, is set to k by the value of time shaft regulation coefficient;
Above-mentioned processor 703, for obtaining total duration t of target video file, and according to total duration t of described target video file and described time shaft regulation coefficient k, determines the time shaft length Δ t after adjusting, Δ t=t/k;
Above-mentioned output device 702, for when input equipment 701 receives video playback instruction, according to the time shaft length Δ t after described adjustment, draws and shows the first video playback time shaft;
Above-mentioned processor 703, also for playing described target video file according to described first video playback time shaft.
In the embodiment that some are feasible, above-mentioned output device 702 specifically for:
When input equipment 701 receives video playback instruction, time shaft starting point is set to Preset Time point T, time shaft terminal is set to T+ Δ t;
According to described time shaft starting point T and described time shaft terminal T+ Δ t, draw and show the first video playback time shaft.
In the embodiment that some are feasible, above-mentioned output device 702, also for when the progress that described target video file is play is T+ Δ t, with T+ Δ t for time shaft starting point, T+2* Δ t is time shaft terminal, upgrades described first video playback time shaft;
Above-mentioned processor 703, also for continuing to play described target video file according to the described first video playback time shaft after renewal.
In the embodiment that some are feasible, above-mentioned processor 703, also for when the progress that described target video file is play is T+2* Δ t, judge whether described target video file finishes, and when described target video file does not finish, with T+2* Δ t for time shaft starting point, T+3* Δ t is time shaft terminal, upgrades described first video playback time shaft; And, when described target video file finishes, stop upgrading described first video playback time shaft.
In the embodiment that some are feasible, above-mentioned input equipment 701, also for the instruction of time of reception axial adjustment coefficient modifying, described time shaft regulation coefficient modify instruction comprises parameter k ', and the value of described time shaft regulation coefficient is set to described parameter k ';
Above-mentioned processor 703, also for according to total duration t of described target video file and described time shaft regulation coefficient k ', determines the time shaft length Δ t ' after adjusting, Δ t '=t/k ';
Above-mentioned output device 702, also for reading the playing progress rate t of described target video file 0, and according to the playing progress rate t of described target video file 0time shaft length Δ t ' with after described adjustment, draws and shows the second video playback time shaft;
Above-mentioned processor 703, also for continuing to play described target video file according to described second video playback time shaft.
In the embodiment that some are feasible, above-mentioned processor 703, also for when input equipment 701 receives playing progress rate regulating command, regulates the progress that described target video file is play.
In the embodiment that some are feasible, described playing progress rate regulating command comprises: one or more during click, touch, slip, voice, gesture and eyeball roll.
In specific implementation, input equipment 701 described in the embodiment of the present invention, output device 702 and processor 703 can perform the first embodiment of the display packing of a kind of video playback time shaft that the embodiment of the present invention provides, the second embodiment and the implementation described in the 3rd embodiment, also can perform the implementation of the first embodiment of a kind of terminal that the embodiment of the present invention provides, the second embodiment and the terminal described in the 3rd embodiment, not repeat them here.
Unit in all embodiments of the present invention, universal integrated circuit can be passed through, such as CPU (CentralProcessing Unit, central processing unit), or realized by ASIC (Application Specific IntegratedCircuit, special IC).
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention device can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random access memory (Random Access Memory is called for short RAM) etc.
Above the display packing of a kind of video playback time shaft that the embodiment of the present invention provides and terminal are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a display packing for video playback time shaft, is characterized in that, comprising:
Time of reception axial adjustment instruction, is set to k by the value of time shaft regulation coefficient;
Obtain total duration t of target video file, and according to total duration t of described target video file and described time shaft regulation coefficient k, determine the time shaft length Δ t after adjusting, Δ t=t/k;
When receiving video playback instruction, according to the time shaft length Δ t after described adjustment, drawing and showing the first video playback time shaft;
Described target video file is play according to described first video playback time shaft.
2. method according to claim 1, is characterized in that, described according to the time shaft length Δ t after described adjustment, draws and shows the first video playback time shaft, comprising:
Time shaft starting point is set to Preset Time point T, time shaft terminal is set to T+ Δ t;
According to described time shaft starting point T and described time shaft terminal T+ Δ t, draw and show the first video playback time shaft.
3. method according to claim 2, is characterized in that, described play described target video file according to described first video playback time shaft after, also comprise:
When the progress that described target video file is play is T+ Δ t, with T+ Δ t for time shaft starting point, T+2* Δ t is time shaft terminal, upgrades described first video playback time shaft;
Continue to play described target video file according to the described first video playback time shaft after upgrading.
4. method according to claim 3, is characterized in that, described with T+ Δ t for time shaft starting point, T+2* Δ t is time shaft terminal, upgrades described first video playback time shaft, comprising:
Judge whether T+2* Δ t is greater than total duration t of described target video file;
If described T+2* Δ t is greater than total duration t of described target video file, then with T+ Δ t for time shaft starting point, t is time shaft terminal, upgrades described first video playback time shaft;
If described T+2* Δ t is less than or equal to total duration t of described target video file, then with T+ Δ t for time shaft starting point, T+2* Δ t is time shaft terminal, upgrades described first video playback time shaft.
5. method according to claim 1, is characterized in that, described play described target video file according to described first video playback time shaft after, also comprise:
The instruction of time of reception axial adjustment coefficient modifying, described time shaft regulation coefficient modify instruction comprises parameter k ', and the value of described time shaft regulation coefficient is set to described parameter k ';
According to total duration t and the described time shaft regulation coefficient k ' of described target video file, determine the time shaft length Δ t ' after adjusting, Δ t '=t/k ';
Read the playing progress rate t of described target video file 0, and according to the playing progress rate t of described target video file 0time shaft length Δ t ' with after described adjustment, draws and shows the second video playback time shaft;
Continue to play described target video file according to described second video playback time shaft.
6. a terminal, is characterized in that, comprising:
Receiving element, for time of reception axial adjustment instruction;
Setting unit, during for receiving described time shaft adjustment instruction at described receiving element, is set to k by the value of time shaft regulation coefficient;
Acquiring unit, for obtaining total duration t of target video file;
Determining unit, for according to total duration t of described target video file and described time shaft regulation coefficient k, determines the time shaft length Δ t after adjusting, Δ t=t/k;
Described receiving element, also for receiver, video play instruction;
First adjustment unit, for when described receiving element receives described video playback instruction, according to the time shaft length Δ t after described adjustment, draws and shows the first video playback time shaft;
Broadcast unit, for playing described target video file according to described first video playback time shaft.
7. terminal according to claim 6, is characterized in that, described first adjustment unit specifically for:
When described receiving element receives described video playback instruction, time shaft starting point is set to Preset Time point T, time shaft terminal is set to T+ Δ t;
According to described time shaft starting point T and described time shaft terminal T+ Δ t, draw and show the first video playback time shaft.
8. terminal according to claim 7, is characterized in that, also comprises:
Second adjustment unit, for when the progress that described target video file is play is T+ Δ t, with T+ Δ t for time shaft starting point, T+2* Δ t is time shaft terminal, upgrade described first video playback time shaft, and trigger described broadcast unit according to the described target video file of described first video playback time shaft continuation broadcasting after renewal.
9. terminal according to claim 8, is characterized in that, described second adjustment unit comprises:
First judging unit, for judging whether T+2* Δ t is greater than total duration t of described target video file;
First updating block, during for judging that described T+2* Δ t is greater than total duration t of described target video file at described first judging unit, with T+ Δ t for time shaft starting point, t is time shaft terminal, upgrades described first video playback time shaft;
Described first updating block, time also for judging that described T+2* Δ t is less than or equal to total duration t of described target video file at described first judging unit, with T+ Δ t for time shaft starting point, T+2* Δ t is time shaft terminal, upgrades described first video playback time shaft.
10. terminal according to claim 6, is characterized in that,
Described receiving element, also for the instruction of time of reception axial adjustment coefficient modifying, described time shaft regulation coefficient modify instruction comprises parameter k ';
Described setting unit, time also for receiving described time shaft regulation coefficient modify instruction at described receiving element, is set to described parameter k ' by the value of described time shaft regulation coefficient;
Described determining unit, also for according to total duration t of described target video file and described time shaft regulation coefficient k ', determines the time shaft length Δ t ' after adjusting, Δ t '=t/k ';
Described acquiring unit, also for reading the playing progress rate t of described target video file 0;
Described first adjustment unit, also for the playing progress rate t according to described target video file 0time shaft length Δ t ' with after described adjustment, draws and shows the second video playback time shaft;
Described broadcast unit, also for continuing to play described target video file according to described second video playback time shaft.
CN201510385848.5A 2015-06-30 2015-06-30 Display method and terminal of video playing time axis Pending CN105005444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510385848.5A CN105005444A (en) 2015-06-30 2015-06-30 Display method and terminal of video playing time axis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510385848.5A CN105005444A (en) 2015-06-30 2015-06-30 Display method and terminal of video playing time axis

Publications (1)

Publication Number Publication Date
CN105005444A true CN105005444A (en) 2015-10-28

Family

ID=54378128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510385848.5A Pending CN105005444A (en) 2015-06-30 2015-06-30 Display method and terminal of video playing time axis

Country Status (1)

Country Link
CN (1) CN105005444A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126072A (en) * 2016-05-31 2016-11-16 深圳市贝美互动科技有限公司 The operational approach of Time Navigation bar and operating system
WO2017166480A1 (en) * 2016-03-31 2017-10-05 乐视控股(北京)有限公司 Playing progress adjusting method and device
CN110225310A (en) * 2019-06-24 2019-09-10 浙江大华技术股份有限公司 Computer readable storage medium, the display methods of video and device
WO2020233143A1 (en) * 2019-05-21 2020-11-26 北京字节跳动网络技术有限公司 Playing progress display method and apparatus, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727949A (en) * 2009-10-31 2010-06-09 华为技术有限公司 Device, method and system for positioning playing video
CN103021439A (en) * 2011-09-27 2013-04-03 腾讯科技(深圳)有限公司 Method and device for accurately positioning file playback progress
CN103888823A (en) * 2014-03-19 2014-06-25 深圳市九洲电器有限公司 Multimedia playing method and player
EP2763429A1 (en) * 2013-01-30 2014-08-06 Wistron Corporation Preview and playback method of video streams and system thereof
CN104575549A (en) * 2013-10-18 2015-04-29 上海斐讯数据通信技术有限公司 Method and device for positioning playing image

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727949A (en) * 2009-10-31 2010-06-09 华为技术有限公司 Device, method and system for positioning playing video
CN103021439A (en) * 2011-09-27 2013-04-03 腾讯科技(深圳)有限公司 Method and device for accurately positioning file playback progress
EP2763429A1 (en) * 2013-01-30 2014-08-06 Wistron Corporation Preview and playback method of video streams and system thereof
CN104575549A (en) * 2013-10-18 2015-04-29 上海斐讯数据通信技术有限公司 Method and device for positioning playing image
CN103888823A (en) * 2014-03-19 2014-06-25 深圳市九洲电器有限公司 Multimedia playing method and player

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017166480A1 (en) * 2016-03-31 2017-10-05 乐视控股(北京)有限公司 Playing progress adjusting method and device
CN106126072A (en) * 2016-05-31 2016-11-16 深圳市贝美互动科技有限公司 The operational approach of Time Navigation bar and operating system
WO2020233143A1 (en) * 2019-05-21 2020-11-26 北京字节跳动网络技术有限公司 Playing progress display method and apparatus, electronic device and storage medium
CN110225310A (en) * 2019-06-24 2019-09-10 浙江大华技术股份有限公司 Computer readable storage medium, the display methods of video and device

Similar Documents

Publication Publication Date Title
EP2942779B1 (en) Multi-level progress bars, progress control method and apparatus
CN106687922B (en) Parametric inertia and API
US9836271B2 (en) Delivery of synchronised soundtracks for electronic media content
JP7273163B2 (en) Image display method and apparatus
CN105005444A (en) Display method and terminal of video playing time axis
EP3543859B1 (en) Automatically selecting and distributing recordings of applications executing on computer devices over networked environments
CN107608601B (en) Video playback method, mobile terminal and computer readable storage medium
US10817169B2 (en) Time-correlated ink
US10976913B2 (en) Enabling undo on scrubber/seekbar UI widgets
CN114879929A (en) Multimedia file playing method and device
US9606713B1 (en) Utilizing dynamic granularity for application controls
CN112988021B (en) Display method, display device, electronic equipment and computer-readable storage medium
EP3707914B1 (en) Enhanced playback bar
US20170164055A1 (en) Electronic device and content providing method thereof
CN115002551A (en) Video playing method and device, electronic equipment and medium
CN115278333A (en) Method, device, medium and program product for playing video
KR102684274B1 (en) Method for providing configuration information log and apparatus thereof
US20150296259A1 (en) Electronic apparatus and content playing method thereof
CN112399259A (en) Progress bar control method of player
EP4395336A2 (en) Automatically and programmatically generating scene change markers
US20190034893A1 (en) Unified Content Representation
CN116909666B (en) Interface display method and device, electronic equipment and storage medium
US11032586B2 (en) Techniques for dynamic digital advertising
US11856245B1 (en) Smart automatic skip mode
CN107852529B (en) Method and apparatus for controlling media playback using a single control

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151028