CN117896583A - Video playing method, electronic equipment and storage medium - Google Patents
Video playing method, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN117896583A CN117896583A CN202311725840.XA CN202311725840A CN117896583A CN 117896583 A CN117896583 A CN 117896583A CN 202311725840 A CN202311725840 A CN 202311725840A CN 117896583 A CN117896583 A CN 117896583A
- Authority
- CN
- China
- Prior art keywords
- time axis
- time
- video
- playing
- axis control
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000006073 displacement reaction Methods 0.000 claims abstract description 13
- 230000008859 change Effects 0.000 claims description 17
- 230000001131 transforming effect Effects 0.000 claims description 2
- 230000003993 interaction Effects 0.000 abstract description 7
- 235000019580 granularity Nutrition 0.000 abstract description 6
- 238000004590 computer program Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 11
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000012544 monitoring process Methods 0.000 description 3
- 102220485816 Desmoplakin_S32A_mutation Human genes 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000002441 reversible effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 102100038199 Desmoplakin Human genes 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000001125 extrusion Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Landscapes
- Television Signal Processing For Recording (AREA)
Abstract
The application provides a video playing method, electronic equipment and a storage medium. The method comprises the following steps: displaying a plurality of time axis controls in a video playing interface of the target video, wherein the plurality of time axis controls respectively support adjustment of the playing progress of the target video according to different time units; responding to the adjustment operation for any time axis control, and updating the positioning moment of the target video according to the operation displacement of the adjustment operation; and playing the target video in the video playing interface according to the updated positioning time, and synchronously updating the playing progress of the plurality of time axis controls according to the respective time units of the plurality of time axis controls. According to the method and the device, the time axis controls of a plurality of different time units are displayed in the video playing interface, progress control of various time granularities is simultaneously provided, when video is played in the mobile terminal device, accurate positioning at a specific moment can be rapidly achieved, operation time required by a user is effectively shortened, and man-machine interaction efficiency is improved.
Description
Technical Field
The present disclosure relates to the field of video monitoring technologies, and in particular, to a video playing method, an electronic device, and a storage medium.
Background
The playback function of video recording is one of the most commonly used functions of video monitoring users, and users often need to quickly switch and position to corresponding moments in video recording when playing back video.
At present, when a user uses a video playback function through a video monitoring mobile client, the user usually needs to click and drag a single progress bar for multiple times when playing the video due to a smaller operable interface of the mobile terminal device, so that the user can accurately position the specific moment in the video. In still other implementations, the user may select a date or time via an upper level menu or control.
According to the technical schemes, the operation steps of a user are complicated, the time cost is high, even the situation that the processing is delayed due to overlong time consumption of inquiring video is likely to occur, and the man-machine interaction efficiency is low. Therefore, a video playing method suitable for a mobile terminal device is needed, which can quickly realize accurate positioning at a specific moment when playing video, shorten the operation time required by a user, and improve the man-machine interaction efficiency.
Disclosure of Invention
In order to achieve the above objective, the present application provides a video playing method, an electronic device, and a storage medium, which are suitable for a video playing method of a mobile terminal device, and can quickly achieve accurate positioning at a specific moment when playing a video, shorten operation time required by a user, and promote man-machine interaction efficiency.
In a first aspect, the present application provides a video playing method, including:
s1, displaying a plurality of time axis controls in a video playing interface of a target video, wherein the time axis controls respectively support to adjust the playing progress of the target video according to different time units;
s2, responding to the adjustment operation of any time axis control, and updating the positioning moment of the target video according to the operation displacement of the adjustment operation;
and S3, playing the target video in the video playing interface according to the updated positioning time, and synchronously updating the playing progress of the plurality of time axis controls according to the respective time units of the plurality of time axis controls according to the operation displacement.
In one possible implementation manner, the step S1 includes:
and under the condition that the video playing interface is a vertical screen interface, displaying the picture of the target video on the upper half screen of the vertical screen interface, and sequentially displaying a plurality of time axis controls below the picture of the target video, wherein the plurality of time axis controls are sequentially and longitudinally arranged from top to bottom.
According to the technical scheme, the longitudinal space in the display picture of the mobile terminal is fully utilized to provide time axis controls of various time units, a more humanized and more easily-used video playing interface is designed, and the video playback function and the multi-granularity playing progress control are combined, so that a user can quickly and accurately position required playing time.
In one possible implementation, the plurality of timeline controls includes: at least two of the first time axis control, the second time axis control and the third time axis control;
the first time axis control supports the adjustment of the playing progress of the target video by taking a day as a time unit; the second time axis control supports adjusting the playing progress of the target video in an hour unit; the third time axis control supports adjusting the playing progress of the target video in a time unit of minutes.
In one possible implementation manner, the step S2 includes:
and responding to the adjustment operation, transforming to obtain the adjustment time length of the target video according to the operation displacement of the adjustment operation, and updating the positioning time of the target video according to the adjustment time length.
In one possible implementation manner, the step S3 includes:
s31, starting from the updated positioning time, playing the target video;
S32A, in the case that the adjustment operation is for the first timeline control: determining the play date after the first time axis control is adjusted according to the number of days corresponding to the adjustment time length; according to the number of hours corresponding to the adjustment duration, determining the play hours after adjustment of the second time axis control; according to the minutes corresponding to the adjustment time length, determining the play minutes after adjustment of the third time axis control;
synchronously displaying the change of the playing progress of the first time axis control to the adjusted playing day, the change of the second time axis control to the adjusted playing hour and the change of the playing progress of the third time axis control to the adjusted playing minute.
In one possible implementation manner, the step S3 further includes:
S32B, in the case that the adjustment operation is for the second timeline control: according to the number of hours corresponding to the adjustment duration, determining the play hours after adjustment of the second time axis control; according to the minutes corresponding to the adjustment time length, determining the play minutes after adjustment of the third time axis control; synchronously displaying the change of the second time axis control to the adjusted playing hour and the change of the playing progress of the third time axis control to the adjusted playing minute;
S32C, in the case that the adjustment operation is for the third timeline control: according to the minutes corresponding to the adjustment time length, determining the play minutes after adjustment of the third time axis control; and displaying the playing progress change of the third time axis control to the adjusted playing minutes.
Through the process, no matter which time axis control is adjusted by a user, the rest time axis controls can ensure synchronous change of the playing progress, so that the next fine adjustment or coarse adjustment can be responded quickly and waited. Based on the method, the consistency of the time corresponding to the current playing progress of each time axis control can be effectively ensured, the searched time can be rapidly positioned by combining various time adjustment granularities, the time unit or the switching time span is not required to be changed through more complicated operation, and the time waste caused by the need of continuously dragging a single time axis is completely avoided.
In a possible implementation manner, the video playing interface further comprises a positioning moment identifier, wherein the positioning moment identifier is used as an alignment reference of a plurality of time axis controls, and simultaneously points to the current playing day in the first time axis control, the current playing hour in the second time axis control and the current playing minute in the third time axis control.
In one possible implementation manner, the video playing interface further includes a time axis editing item, and the method further includes:
responding to the user operation for the time axis editing item, adding a new time axis control, deleting any existing time axis control or modifying the attribute of any existing time axis control;
the adding a new timeline control includes: responding to the trigger operation of the newly added button in the time axis editing item, and displaying a time unit editing item of the newly added time axis control; acquiring a user-defined time unit input in the time unit editing item, and generating a new time axis control according to the user-defined time unit; according to the size sorting between the self-defined time units and the time units of other time axis controls, displaying the new time axis controls in the longitudinal positions corresponding to the sorting;
the attributes of the existing timeline control include: the time unit of the time axis control, the position of the time axis control in the video playing interface and the display size of the time axis control in the video playing interface.
Through the process, the time axis control adding, subtracting and customizing editing functions are provided, the time units, the quantity and the layout of the time axis control can be flexibly configured according to the requirements of users, and the requirements of the users can be better met according to different types of videos and different video playing requirements, so that the use experience of the users is further improved.
In one possible implementation manner, the video playing interface further comprises a positioning time collection button; the method further comprises the steps of:
responding to the triggering operation of the positioning time collection button, and marking the positioning time of the currently played target video as collected; and responding to the triggering operation of any one of the electronic devices on any one of the collected positioning moments, and displaying the picture of the target video at the positioning moment in the video playing interface of the current electronic device.
Through the process, the collection of the historical playing time can be realized in any mobile terminal equipment, so that a user can conveniently and quickly position the historical time of the same video among different playing equipment (electronic equipment) and migrate the video collection result, and the use experience of the user is further improved.
In a second aspect, there is provided an electronic device comprising a memory and a processor, the memory storing at least one program, the at least one program being executable by the processor to implement the video playback method as provided in the first aspect.
In a third aspect, there is provided a computer-readable storage medium having stored therein at least one program that is executed by a processor to implement the video playback method as provided in the first aspect.
The technical scheme provided by the application at least comprises the following technical effects:
according to the method, a plurality of time axis controls are displayed in a video playing interface of the target video, and the time axis controls respectively support adjustment of the playing progress of the target video according to different time units; responding to the adjustment operation for any time axis control, and updating the positioning moment of the target video according to the operation displacement of the adjustment operation; and playing the target video in the video playing interface according to the updated positioning time, and synchronously updating the playing progress of the plurality of time axis controls according to the respective time units of the plurality of time axis controls. According to the method and the device, the time axes of a plurality of different time units are displayed in the video playing interface, progress control of various time granularities is simultaneously provided, when video is played in the mobile terminal device, accurate positioning at a specific moment can be rapidly achieved, operation time required by a user is effectively shortened, and human-computer interaction efficiency is improved.
Drawings
Fig. 1 is a schematic flow chart of a video playing method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a video playing interface according to an embodiment of the present application;
fig. 3 is a schematic diagram of a positioning time identifier in a video playing interface according to an embodiment of the present application;
fig. 4 is a schematic diagram of a video playing method according to an embodiment of the present application;
fig. 5 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
To further illustrate the embodiments, the present application provides the accompanying drawings. The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate embodiments and together with the description, serve to explain the principles of the embodiments. With reference to these matters, one of ordinary skill in the art would understand other possible embodiments and the advantages of the present application. The components in the figures are not drawn to scale and like reference numerals are generally used to designate like components. The term "at least one" in this application means one or more, the term "plurality" in this application means two or more, for example, a plurality of time axes means two or more time axes.
The present application will now be further described with reference to the drawings and detailed description.
The embodiment of the application provides a video playing method which can be applied to any electronic equipment.
Illustratively, the electronic device supports a video playback function. Optionally, a video playing application program (or called a video player) is installed in the electronic device, and the video playing application program supports multiple video encoding and decoding protocols, can acquire online video streams in real time to play online videos, and can play locally stored videos.
Fig. 1 is a schematic flow chart of a video playing method provided in the present application, referring to fig. 1, the method includes the following steps S1 to S3, which are executed by an electronic device.
S1, displaying a plurality of time axis controls in a video playing interface of a target video.
In the embodiment of the application, the plurality of time axis controls respectively support adjustment of the playing progress of the target video according to different time units.
In this embodiment of the present application, the target video may be an online video or a local video, which is not limited in this application. Illustratively, the target video is a surveillance video, which may span multiple hours, days, or weeks in duration.
In the embodiment of the application, the maximum time unit in the time units corresponding to the plurality of time axis controls is determined according to the duration of the target video. For example, in the case where the target video spans multiple weeks, four time axis controls are displayed in the video playback interface in units of time of week, day, hour, and minute, respectively, with the largest time unit being the week; under the condition that the target video spans multiple days, three time axis controls taking days, hours and minutes as time units are displayed in a video playing interface, and the largest time unit is a day; and under the condition that the duration of the target video is less than one day, two time axis controls taking hours and minutes as time units respectively are displayed in the video playing interface, and the maximum time unit is the hour.
In the following description process of the embodiments of the present application, a description will be given by taking a case that a target video spans multiple days as an example, and in a case that the target video spans multiple days, three time axis controls in units of days, hours, and minutes are displayed in a video playing interface.
In one possible implementation, the plurality of timeline controls includes. At least two of the first time axis control, the second time axis control and the third time axis control.
The first time axis control supports adjusting the playing progress of the target video by taking a day as a time unit; the user can quickly switch the date by adjusting the first time axis control, for example, the user can play back the video record 3 days ago by sliding the first time axis control. The second time axis control supports adjusting the playing progress of the target video by taking an hour as a time unit; the user can quickly switch the currently played hour in the current date by adjusting the second time axis control, for example, the video recording before 1 hour can be played back by sliding the second time axis control. The third time axis control supports the adjustment of the playing progress of the target video by taking minutes as a time unit; the user can quickly switch the currently played minutes in the current hour by adjusting the third time axis control, for example, the video recording before 5 minutes can be played back by sliding the third time axis control.
Of course, other time units may be used according to the requirement of the video play adjustment accuracy, for example, milliseconds, weeks, months, years, etc., and the present application is not limited to the above example.
In one possible implementation manner, the method provided by the application can be applied to a vertical screen interface of the mobile terminal equipment. And under the condition that the video playing interface is a vertical screen interface, displaying the picture of the target video on the upper half screen of the vertical screen interface, and sequentially displaying a plurality of time axis controls below the picture of the target video, wherein the plurality of time axis controls are sequentially and longitudinally arranged from top to bottom. Illustratively, the plurality of timeline controls are arranged longitudinally in a time unit from top to bottom, e.g., with the first timeline control, the second timeline control, and the third timeline control arranged sequentially from top to bottom.
Optionally, more functional buttons, such as a video pause key, a fast forward key, a fast reverse key, a double-speed adjustment key, a screenshot key, a mute key, a screen direction rotation key, etc., are also displayed in the video playing interface, which is not limited in this application.
In order to facilitate understanding of the layout of the video playing interface, the embodiment of the application provides a schematic diagram of the video playing interface. Referring to fig. 2, in the video playing interface of the vertical screen, the upper half screen is used for displaying video pictures; below the video screen, a first timeline control 10 (in days) a second timeline control 20 (in hours) and a third timeline control 30 (in minutes) are arranged in this order. Optionally, below the timeline control 30, there is also displayed a base video play button (video pause key, fast forward key, fast reverse key, double speed adjust key).
According to the technical scheme, the longitudinal space in the display picture of the mobile terminal is fully utilized to provide time axis controls of various time units, a more humanized and more easily-used video playing interface is designed, and a video playback function and multi-granularity playing progress control are combined, so that a user can quickly and accurately position required playing time.
S2, responding to adjustment operation for any time axis control, and updating the positioning time of the target video according to the operation displacement of the adjustment operation.
In one possible implementation manner, in response to the adjustment operation, the adjustment duration of the target video may be obtained by transformation according to the operation displacement of the adjustment operation, and the positioning time of the target video is updated according to the adjustment duration.
Wherein the adjusting operation includes: the present application is not limited to the sliding operation, the clicking operation, and the dragging operation. Optionally, the adjustment operation may be a touch screen operation, or may be performed through an IO device such as a mouse or a keyboard, according to the instruction
The operation displacement refers to a sliding distance of the adjustment operation of the user in the corresponding time axis control, or refers to a relative distance between a clicking position of the adjustment operation of the user in the corresponding time axis control and a current playing position.
Illustratively, a conversion relation between the operation displacement and the adjustment time length is stored in advance, and the conversion relation can be calibrated in advance according to the screen size and the pixel resolution of the mobile terminal device.
And S3, playing the target video in the video playing interface according to the updated positioning moment, and synchronously updating the playing progress of the plurality of time axis controls according to the respective time units of the plurality of time axis controls according to the operation displacement.
In one possible implementation, step S3 includes step S31 and step S32.
S31, starting to play the target video from the updated positioning time.
Specifically, according to the updated positioning time, a picture of the target video at the positioning time is displayed in a corresponding area (see fig. 2) of the video playing interface, and the target video is continuously played from the positioning time.
S32A, in the case where the adjustment operation is for the first timeline control: determining the play date after the first time axis control is adjusted according to the number of days corresponding to the adjustment time length; according to the number of hours corresponding to the adjustment duration, determining the play hours after the adjustment of the second time axis control; according to the minutes corresponding to the adjustment time length, determining the play minutes after the adjustment of the third time axis control;
synchronously displaying the change of the playing progress of the first time axis control to the adjusted playing day, the change of the second time axis control to the adjusted playing hour and the change of the playing progress of the third time axis control to the adjusted playing minute.
S32B, in the case where the adjustment operation is for the second time axis control: according to the number of hours corresponding to the adjustment duration, determining the play hours after the adjustment of the second time axis control; according to the minutes corresponding to the adjustment time length, determining the play minutes after the adjustment of the third time axis control; synchronously displaying the change of the second time axis control to the adjusted playing hour and the change of the playing progress of the third time axis control to the adjusted playing minute;
S32C, in the case where the adjustment operation is for the third time axis control: according to the minutes corresponding to the adjustment time length, determining the play minutes after the adjustment of the third time axis control; and displaying the playing progress change of the third time axis control to the adjusted playing minutes.
Through the process, no matter which time axis control is adjusted by a user, the rest time axis controls can ensure synchronous change of the playing progress, so that the next fine adjustment or coarse adjustment can be responded quickly and waited. Based on the method, the consistency of the time corresponding to the current playing progress of each time axis control can be effectively ensured, the searched time can be rapidly positioned by combining various time adjustment granularities, the time unit or the switching time span is not required to be changed through more complicated operation, and the time waste caused by the need of continuously dragging a single time axis is completely avoided.
Further, the arrangement of the plurality of time axis controls in the longitudinal space can ensure the normal display of the video picture. The vertical space characteristics of the mobile phone screen are fully utilized, and extrusion or preemption to other video functions is not caused.
In one possible implementation manner, the video playing interface further comprises a positioning moment identifier, wherein the positioning moment identifier is used as an alignment reference of the plurality of time axis controls and points to the current playing day in the first time axis control, the current playing hour in the second time axis control and the current playing minute in the third time axis control.
Illustratively, the positioning moment identification is presented as a straight line segment longitudinally through the plurality of timeline controls. Alternatively, the color of the positioning time mark may be yellow, red or any pattern that plays a role. Optionally, the positioning time mark passes through the geometric centers of the time axis controls, and can be used as an alignment reference of the time axis controls to indicate the current playing time.
For ease of understanding, the embodiment of the present application provides a schematic diagram of a positioning time identifier in a video playing interface, referring to fig. 3, a straight line segment 40 longitudinally passing through a plurality of time axis controls in fig. 3 is the positioning time identifier.
In the video playing interface provided by the embodiment of the application, not only are time axis controls of a plurality of time spans (days, hours and minutes) presented based on the user interaction interface, but also the time axis controls are aligned through positioning time marks, and the playing time of the current video is synchronously presented in a multi-granularity mode.
In one possible implementation, the video playing interface further includes a timeline editing item. The video playing method provided by the embodiment of the application further comprises the following steps: in response to a user operation for a timeline editing item, a new timeline control is added, any existing timeline control is deleted, and/or properties of any existing timeline control are modified.
The attributes of the existing time axis control include: the time unit of the time axis control, the position of the time axis control in the video playing interface and the display size of the time axis control in the video playing interface.
Specifically, adding a new timeline control includes: responding to the trigger operation of the newly added button in the time axis editing item, and displaying the time unit editing item of the newly added time axis control; acquiring a user-defined time unit input in a time unit editing item, and generating a new time axis control according to the user-defined time unit; and displaying the new time axis control in the vertical position corresponding to the sorting according to the sorting of the self-defined time units and the time units of other time axis controls.
Illustratively, take the example of a first timeline control (in days) and a second timeline control (in hours) that are currently available: if the custom time unit of the added new time axis control is 'minutes', displaying the new time axis control below the second time axis control according to the sequence of 'days', 'hours', 'minutes'; if the custom time unit of the added new time axis control is 'week', displaying the new time axis control above the first time axis control according to the sequencing of 'week', 'day', 'hour', and the first time axis control and the second time axis control move downwards in sequence.
Through the process, the time axis control adding, subtracting and customizing editing functions are provided, the time units, the quantity and the layout of the time axis control can be flexibly configured according to the requirements of users, and the requirements of the users can be better met according to different types of videos and different video playing requirements, so that the use experience of the users is further improved.
In one possible implementation, the video playing interface further includes a positioning time collection button. The video playing method provided by the embodiment of the application further comprises the following steps: responding to the triggering operation of the positioning time collection button, and marking the positioning time of the currently played target video as collected; and responding to the triggering operation of any one of the electronic devices on any one of the collected positioning moments, and displaying the picture of the target video at the positioning moment in the video playing interface of the current electronic device.
Through the process, the collection of the historical playing time can be realized in any mobile terminal equipment, so that a user can conveniently and quickly position the historical time of the same video among different playing equipment (electronic equipment) and migrate the video collection result, and the use experience of the user is further improved.
In order to facilitate understanding of the core concept of the video playing method provided by the present application, the present application provides a schematic diagram of the video playing method, referring to fig. 4, after video playing starts, no matter any one of the first time axis control ("day" time axis), the second time axis control ("time axis), and the third time axis control (" minute "time axis) is adjusted, the playing progress of the three time axis controls is synchronously adjusted, and it is ensured that the middle positioning time mark always points to the current playing progress of the three time axis controls at the same time.
According to the method and the device, the time axis controls of a plurality of different time units are displayed in the video playing interface, progress control of various time granularities is simultaneously provided, when video is played in the mobile terminal device, accurate positioning at a specific moment can be rapidly achieved, operation time required by a user is effectively shortened, and man-machine interaction efficiency is improved.
In addition, the vertical free space of the vertical screen of the mobile equipment is fully utilized, a plurality of time axis controls with different granularities are intuitively presented for a user by means of a user interface, and the user can conveniently and quickly perform rough adjustment and fine adjustment according to requirements so as to accurately position a required time point; even if the user does not have a specific moment requirement, the slow-looking requirement of the user can be met rapidly through any time axis control.
The embodiment of the application also provides electronic equipment which can be used for executing the video playing method. Fig. 5 is a schematic hardware structure of an electronic device provided in an embodiment of the present application, as shown in fig. 5, where the electronic device includes a processor 501, a memory 502, a bus 503, and a computer program stored in the memory 502 and capable of running on the processor 501, where the processor 501 includes one or more processing cores, the memory 502 is connected to the processor 501 through the bus 503, and the memory 502 is used to store program instructions, and when the processor executes the computer program, the processor implements all or part of the steps in the foregoing method embodiments provided in the present application.
Further, as an executable scheme, the electronic device may be a computer unit, and the computer unit may be an electronic device such as a smart phone, a tablet computer, a palm computer, and the like. The computer unit may include, but is not limited to, a processor, a memory. It will be appreciated by those skilled in the art that the constituent structures of the computer unit described above are merely examples of the computer unit and are not limiting, and may include more or fewer components than those described above, or may combine certain components, or different components. For example, the computer unit may further include an input/output device, a network access device, a bus, etc., which is not limited in this embodiment of the present application.
Further, as an implementation, the processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like that is a control center of the computer unit, connecting various parts of the entire computer unit using various interfaces and lines.
The memory may be used to store the computer program and/or modules, and the processor may implement the various functions of the computer unit by running or executing the computer program and/or modules stored in the memory, and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store data created according to the use of the cellular phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
The present application also provides a computer readable storage medium storing a computer program, which when executed by a processor, implements the steps of the video playing method according to the embodiments of the present application.
The modules/units integrated with the computer unit may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each method embodiment described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a software distribution medium, and so forth. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the legislation and the patent practice in the jurisdiction.
While this application has been particularly shown and described with references to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the application as defined by the appended claims.
Claims (10)
1. A video playing method, the method comprising:
s1, displaying a plurality of time axis controls in a video playing interface of a target video, wherein the time axis controls respectively support to adjust the playing progress of the target video according to different time units;
s2, responding to the adjustment operation of any time axis control, and updating the positioning moment of the target video according to the operation displacement of the adjustment operation;
and S3, playing the target video in the video playing interface according to the updated positioning time, and synchronously updating the playing progress of the plurality of time axis controls according to the respective time units of the plurality of time axis controls according to the operation displacement.
2. The video playing method according to claim 1, wherein the step S1 includes:
and under the condition that the video playing interface is a vertical screen interface, displaying the picture of the target video on the upper half screen of the vertical screen interface, and sequentially displaying a plurality of time axis controls below the picture of the target video, wherein the plurality of time axis controls are sequentially and longitudinally arranged from top to bottom.
3. The video playing method according to claim 1 or 2, wherein the plurality of time axis controls include: at least two of the first time axis control, the second time axis control and the third time axis control;
the first time axis control supports the adjustment of the playing progress of the target video by taking a day as a time unit; the second time axis control supports adjusting the playing progress of the target video in an hour unit; the third time axis control supports adjusting the playing progress of the target video in a time unit of minutes.
4. The video playing method according to claim 3, wherein the step S2 includes:
and responding to the adjustment operation, transforming to obtain the adjustment time length of the target video according to the operation displacement of the adjustment operation, and updating the positioning time of the target video according to the adjustment time length.
5. The video playing method according to claim 4, wherein the step S3 includes:
s31, starting to play the target video from the updated positioning time;
s32, in the case that the adjustment operation is for the first timeline control: determining the play date after the first time axis control is adjusted according to the number of days corresponding to the adjustment time length; according to the number of hours corresponding to the adjustment duration, determining the play hours after adjustment of the second time axis control; according to the minutes corresponding to the adjustment time length, determining the play minutes after adjustment of the third time axis control;
synchronously displaying the change of the playing progress of the first time axis control to the adjusted playing day, the change of the second time axis control to the adjusted playing hour and the change of the playing progress of the third time axis control to the adjusted playing minute.
6. The video playing method according to claim 3, wherein the video playing interface further comprises a positioning moment identifier, the positioning moment identifier is used as an alignment reference of a plurality of time axis controls, and points to the current playing day in the first time axis control, the current playing hour in the second time axis control and the current playing minute in the third time axis control.
7. The video playback method as recited in claim 3, further comprising a timeline editing item in the video playback interface, the method further comprising:
responding to the user operation for the time axis editing item, adding a new time axis control, deleting any existing time axis control or modifying the attribute of any existing time axis control;
the adding a new timeline control includes: responding to the trigger operation of the newly added button in the time axis editing item, and displaying a time unit editing item of the newly added time axis control; acquiring a user-defined time unit input in the time unit editing item, and generating a new time axis control according to the user-defined time unit; according to the size sorting between the self-defined time units and the time units of other time axis controls, displaying the new time axis controls in the longitudinal positions corresponding to the sorting;
the attributes of the existing timeline control include: the time unit of the time axis control, the position of the time axis control in the video playing interface and the display size of the time axis control in the video playing interface.
8. The video playing method according to claim 3, wherein the video playing interface further comprises a positioning time collection button; the method further comprises the steps of:
responding to the triggering operation of the positioning time collection button, and marking the positioning time of the currently played target video as collected;
and responding to the triggering operation of any one of the electronic devices on any one of the collected positioning moments, and displaying the picture of the target video at the positioning moment in the video playing interface of the current electronic device.
9. An electronic device comprising a memory and a processor, the memory storing at least one program, the at least one program being executable by the processor to implement the video playback method of any one of claims 1 to 8.
10. A computer-readable storage medium, wherein at least one program is stored in the storage medium, the at least one program being executed by a processor to implement the video playback method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311725840.XA CN117896583A (en) | 2023-12-14 | 2023-12-14 | Video playing method, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311725840.XA CN117896583A (en) | 2023-12-14 | 2023-12-14 | Video playing method, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117896583A true CN117896583A (en) | 2024-04-16 |
Family
ID=90649758
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311725840.XA Pending CN117896583A (en) | 2023-12-14 | 2023-12-14 | Video playing method, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117896583A (en) |
-
2023
- 2023-12-14 CN CN202311725840.XA patent/CN117896583A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101542587B (en) | Display device and image display method | |
KR970078654A (en) | Image editing technology using icons directly obtained from encoded image data | |
US7903903B1 (en) | Integrated live video production system | |
US20120079422A1 (en) | Input/Output Device, Input/Output Method and Program Therefor | |
CN112887794B (en) | Video editing method and device | |
CN105549847B (en) | A kind of image display method and user terminal at playback of songs interface | |
CN111475675A (en) | Video processing system | |
CN102968810A (en) | Image editing apparatus and image editing method | |
CN112004031B (en) | Video generation method, device and equipment | |
CN112565858A (en) | Program editing method and device and program publishing method and device | |
CN114173175A (en) | Media resource playing method, device, equipment and storage medium | |
CN117896583A (en) | Video playing method, electronic equipment and storage medium | |
WO2023131043A1 (en) | Information processing method and apparatus, and electronic device | |
CN113852757B (en) | Video processing method, device, equipment and storage medium | |
JP5759253B2 (en) | Image reproducing apparatus, control method therefor, and program | |
JP2008123320A (en) | Recording/reproducing device and program therefor | |
CN111782309B (en) | Method and device for displaying information and computer readable storage medium | |
US10152215B2 (en) | Setting adjustment range of graphical user interface | |
CN110519446A (en) | Mobile terminal screen switching method, device and mobile terminal | |
JP2002014854A (en) | Method for preparing thumb nail icon and device for displaying the same | |
EP4343522A1 (en) | Live-streaming interface display method and apparatus, and device, storage medium and program product | |
CN116233557A (en) | Video progress control method and device and computer storage medium | |
JP3732776B2 (en) | Electronic measuring device | |
JPH10108154A (en) | Conference system, communication terminal used therefor, image display method and storage medium | |
WO2003084214A1 (en) | Method and apparatus for processing signals |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |