CN116132725A - Video progress control method and device - Google Patents

Video progress control method and device Download PDF

Info

Publication number
CN116132725A
CN116132725A CN202310149789.6A CN202310149789A CN116132725A CN 116132725 A CN116132725 A CN 116132725A CN 202310149789 A CN202310149789 A CN 202310149789A CN 116132725 A CN116132725 A CN 116132725A
Authority
CN
China
Prior art keywords
progress
video
expansion
progress bar
determining
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
CN202310149789.6A
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.)
Spreadtrum Communications Tianjin Co Ltd
Original Assignee
Spreadtrum Communications Tianjin 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 Spreadtrum Communications Tianjin Co Ltd filed Critical Spreadtrum Communications Tianjin Co Ltd
Priority to CN202310149789.6A priority Critical patent/CN116132725A/en
Publication of CN116132725A publication Critical patent/CN116132725A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Abstract

The present application relates to the field of terminal devices, and in particular, to a video progress control method and apparatus. A video progress control method, the method comprising: responding to a longitudinal dragging instruction of a user to a progress adjusting point, and determining the longitudinal position of the progress adjusting point according to the longitudinal dragging instruction; generating an expansion progress bar according to the longitudinal position of the progress adjustment point; and receiving a progress adjusting instruction of a user in the expansion progress bar, and determining a first playing progress of the video in an adjusting interval corresponding to the expansion progress bar according to the progress adjusting instruction.

Description

Video progress control method and device
[ field of technology ]
The present application relates to the field of terminal devices, and in particular, to a video progress control method and apparatus.
[ background Art ]
When the terminal equipment executes the video playing task, the playing progress of the video can be adjusted by sliding the sliding block on the video progress bar so as to quickly jump to the video clip which the user wants to watch.
However, in some cases, due to the limitation of the length of the video progress bar and the video duration, too fine division cannot be made on the skip index value of the video progress bar, and the user can skip to the vicinity of the video clip to be watched only by dragging the slider, but cannot skip to a specific time node accurately, so that bad watching experience is brought to the user.
[ invention ]
In view of this, the embodiment of the invention provides a video progress control method and device. By generating an expansion progress bar on the basis of the original video progress bar, the video frames of the video are used as jumping units in the expansion progress bar, so that the jumping division values are finely distinguished, and the problem that the accurate control of the video progress cannot be realized in the prior art is solved.
In a first aspect, an embodiment of the present invention provides a video progress control method, where the method includes:
responding to a longitudinal dragging instruction of a user to a progress adjusting point, and determining the longitudinal position of the progress adjusting point according to the longitudinal dragging instruction;
generating an expansion progress bar according to the longitudinal position of the progress adjustment point;
and receiving a progress adjusting instruction of a user in the expansion progress bar, and determining a first playing progress of the video in an adjusting interval corresponding to the expansion progress bar according to the progress adjusting instruction.
Optionally, the progress adjustment point is any point in the video original progress bar.
Optionally, the responding to the longitudinal dragging instruction of the user to the progress adjustment point determines the longitudinal position of the progress adjustment point according to the longitudinal dragging instruction, and includes:
determining a longitudinal dragging range of the progress adjustment point according to a preset longitudinal position threshold and the position of a video original progress bar;
and determining the longitudinal position of the progress adjusting point in the longitudinal dragging range according to the longitudinal dragging instruction.
Optionally, the generating an expansion progress bar according to the longitudinal position of the progress adjustment point includes:
determining an adjustment interval of the expansion progress bar according to the length of the original video progress bar and the video duration;
determining the length of the expansion progress bar according to the adjustment interval of the expansion progress bar and the longitudinal position of the progress adjustment point;
determining the frame number of the video in the adjusting interval according to the adjusting interval of the expansion progress bar and the video frame rate;
and generating the expansion progress bar according to the length of the expansion progress bar and the frame number of the video in the adjustment interval.
Optionally, the determining the length of the expansion progress bar according to the adjustment interval of the expansion progress bar and the longitudinal position of the progress adjustment point includes:
determining the starting position and the ending position of an adjusting interval of the expansion progress bar in the video original progress bar;
establishing a function image among the starting position, the ending position and the longitudinal position of the progress adjusting point, wherein the longitudinal position of the progress adjusting point is the vertex of the function image;
and determining the length of the function image as the length of the expansion progress bar.
Optionally, the determining, according to the progress adjustment instruction, the first playing progress of the video in the adjustment interval corresponding to the expansion progress bar includes:
determining a frame to be played selected by a user in the adjustment interval according to a progress adjustment instruction of the user, wherein the progress adjustment instruction is a transverse dragging instruction of the user in the expansion progress bar;
and when the progress adjusting instruction of the user is not received any more, determining the playing progress corresponding to the frame to be played as the first playing progress.
Optionally, the determining, according to the schedule adjustment instruction of the user, the frame to be played selected by the user in the adjustment interval includes:
projecting the playing progress of the frame to be played into the video original progress bar;
and displaying the frames to be played through a video playing interface, and displaying the playing progress of the frames to be played.
In a second aspect, an embodiment of the present invention provides a video progress control device, including:
the first determining module is used for responding to a longitudinal dragging instruction of a user to the progress adjusting point and determining the longitudinal position of the progress adjusting point according to the longitudinal dragging instruction;
the generation module is used for generating an expansion progress bar according to the longitudinal position of the progress adjustment point;
and the second determining module is used for receiving a progress adjusting instruction of a user in the expansion progress bar and determining a first playing progress of the video in an adjusting interval corresponding to the expansion progress bar according to the progress adjusting instruction.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of the first aspects.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium includes a stored program, where when the program runs, the program controls a device in which the computer readable storage medium is located to execute the method of any one of the first aspects.
Through the scheme, the accurate division of the video jump indexing value is realized, and a user can realize the accurate control of the video playing progress.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a video playing interface according to an embodiment of the present invention;
FIG. 2 is a flowchart of a video progress control method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another video playing interface according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another video playing interface according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another video playing interface according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another video playing interface according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a video progress control device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
[ detailed description ] of the invention
For a better understanding of the technical solution of the present invention, the following detailed description of the embodiments of the present invention refers to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
With the development of terminal equipment technology, various functions of the terminal equipment are becoming perfect, and users can play videos by utilizing the terminal equipment at any time and any place so as to meet the video watching requirements of the users.
As shown in fig. 1, a video playing interface is provided in an embodiment of the present invention. The terminal equipment displays the video playing interface through the display screen to realize video playing, and receives an operation instruction of a user through the display screen to realize the playing adjustment of the video. Referring to fig. 1, a main body portion of the video playing interface performs video playing, that is, a video picture is displayed in real time through the main body portion of the video playing interface. In addition to the video picture, the video playing interface also displays related information such as video names, video time length, current playing progress, video original progress bar, playing/pause button and the like and operation keys so as to promote the watching experience of the user and assist the user to give an operation instruction.
When a terminal device plays a video, a progress bar is usually displayed at the bottom of a video playing interface, so that a user can check the real-time progress of video playing. When playing to the section which the user does not like to watch, the user can skip the currently playing video section by dragging the original progress bar of the video so as to realize the jump of the video, thereby rapidly positioning to the section which the user wants to watch for watching.
However, when the user jumps the video by dragging the progress bar, the video is often too coarse in graduation, that is, the jump graduation value of the video is too large, so that the user cannot jump to the section desired to be watched. That is, the user drags a small distance on the progress bar, and jumps longer time on the playing progress.
In one embodiment, the skip index value of a video is 30 seconds, i.e., the video can only skip on the basis of 30 seconds. If the user wants to watch the video from the time node of 1 minute and 10 seconds, he cannot jump to the time node of 1 minute and 10 seconds directly, but can jump to the time node of 1 minute, and watch the video from 1 minute and 10 seconds after waiting for 10 seconds.
According to the embodiment of the invention, the expansion progress bar is generated on the basis of the original video progress bar, and the video frames of the video are used as the jumping units in the expansion progress bar, so that the accurate distinction of jumping division values is realized, and a user is helped to realize the accurate control of the video progress.
As shown in fig. 2, a video progress control method according to an embodiment of the present invention is provided. Referring to fig. 2, the method comprises the specific steps of:
s201, responding to a longitudinal dragging instruction of a user to the progress adjustment point, and determining the longitudinal position of the progress adjustment point according to the longitudinal dragging instruction.
Specifically, when the video is played, the user can adjust the video playing progress by dragging the original progress bar of the video transversely. When the jump index value of the video playing progress is too large and can not be accurately jumped to the position of the section to be watched, the progress adjustment point in the original video progress bar can be dragged longitudinally, namely a longitudinal dragging instruction is issued to the terminal equipment, so that an extended progress bar with finer jump precision value can be generated later.
After receiving a longitudinal dragging instruction issued by a user through a display screen of the terminal equipment, the terminal equipment determines the longitudinal position to which the progress adjusting point is dragged finally after the progress adjusting point is dragged by the user.
The progress adjustment point can be any point in the original progress bar of the video. The drag instruction issued by the user can be upward drag on the progress adjusting point or downward drag on the progress adjusting point, and in general, in order to be convenient for use, the user generally drags the progress adjusting point upward to issue a vertical drag instruction.
The user can not drag the progress adjusting point up and down randomly without limit when the user gives a vertical dragging instruction, namely, the progress adjusting point is dragged vertically on the video playing interface. Therefore, a vertical dragging range needs to be set in the video playing interface, and the progress adjusting point can only be dragged in the vertical dragging range. And determining the longitudinal dragging range of the progress adjustment point according to the preset longitudinal position threshold and the position of the video original progress bar.
Specifically, the longitudinal dragging range is a range formed by a preset longitudinal position threshold and a horizontal straight line where the video original progress bar is located. And determining the longitudinal position of the progress adjustment point in the longitudinal dragging range according to the longitudinal dragging instruction. Generally, the vertical position threshold is generally a horizontal straight line where the video name information displayed at the upper left of the video playing interface is located, that is, the user cannot drag the progress adjustment point to the height of the video name or higher by the vertical drag command.
S202, generating an expansion progress bar according to the longitudinal position of the progress adjustment point.
Specifically, firstly, according to the length of the original progress bar of the video and the video duration, an adjusting interval adjusted by the expansion progress bar is determined, namely, the progress adjustment is carried out on the video in which period of time. And determining the length of the expansion progress bar and the frame number of the video in the adjustment interval based on the adjustment interval of the expansion progress bar according to the longitudinal position of the progress adjustment point and the frame rate of the video. And finally, generating an expansion progress bar according to the length of the expansion progress bar and the frame number of the video in the adjustment interval.
When an adjustment interval is determined according to the length of an original progress bar of the video and the video duration, starting positions and ending positions are symmetrically determined on the left side and the right side of the progress adjustment point respectively by taking the progress adjustment point on the original progress bar as a reference. And determining a play time interval formed by the starting position and the ending position in the video original progress bar as an adjustment interval.
When the adjustment section is determined by the section formed by the start position and the end position, the video duration included in the unit section length is determined by the length of the video original progress bar and the video duration. Under the condition that the video duration is the same, the shorter the length of the video original progress bar is, the longer the video time contained in the unit interval length is; in the case that the lengths of the video original progress bars are the same, the longer the video duration, the longer the video time contained in the unit interval length. The length of video in which the adjustment section can be adjusted varies even in the case where the distance between the start position and the end position is fixed every time the generation is performed. The length of the video original progress bar is determined by the terminal equipment through a horizontal screen mode for playing video or a vertical screen mode for playing video, the video original progress bar in the horizontal screen mode is longer, and the video original progress bar in the vertical screen mode is shorter.
In a specific embodiment, when the terminal device plays a video with a video duration of 2 hours in a vertical screen mode, the determined adjustment interval is 8 minutes; when the terminal equipment plays the video with the video duration of 45 minutes in the horizontal screen mode, the determined adjustment interval is 2 minutes.
After the adjustment interval is determined, the length of the expansion progress bar is determined according to the adjustment interval and the longitudinal position of the progress adjustment point.
Specifically, the positions corresponding to the start position and the end position of the adjustment interval on the video original progress bar and the longitudinal position of the progress adjustment point are determined. And establishing a function image of the three connecting points aiming at the starting position, the ending position and the progress adjusting point of the adjusting interval. And taking the progress adjusting point as the vertex of the function image, wherein the function image is axisymmetric about the vertical line where the progress adjusting point is located, namely, the transverse position of the progress adjusting point is the transverse position where the midpoints of the starting position and the ending position are located. And determining the length of the constructed function image as the length of the expansion progress bar. Wherein, the shape of the established function image can be elliptical or fan-shaped.
When the distance between the progress adjustment point and the starting position and the ending position is larger, namely, the user drags the progress adjustment point higher, the length of the generated expansion progress bar is longer.
After the length of the expansion progress bar is determined, dividing an adjusting interval of the expansion progress bar by the inherent frame rate of the video, and determining the frame number of the video in the adjusting interval. And according to the calculated frame number, the video is fused into the length of the expansion progress bar in an average way by taking the video frame as a unit, so that the expansion progress bar is generated.
The longer the length of the expansion progress bar is, the more distributed the video frames are in the expansion progress bar, and the more beneficial to the user to operate.
Fig. 3 is a schematic diagram of a video playing interface according to an embodiment of the present invention. And the user drags the progress adjustment point longitudinally to generate an expansion progress bar. Referring to fig. 3, a user selects a progress adjustment point on an original progress bar of a video and drags the progress adjustment point longitudinally. On an original video progress bar, the left side and the right side of a progress adjusting point respectively determine a starting position and an ending position, and an adjusting interval is formed between the starting position and the ending position. The function image is established to sequentially connect the start position, the progress adjustment point, and the end position, and the length of the generated function image is determined as the length of the expansion progress bar, that is, the length of the ellipse shown in fig. 3 is determined as the length of the expansion progress bar.
Fig. 4 is a schematic diagram of another video playing interface according to an embodiment of the present invention. The user drags the position of the progress adjustment point higher than in fig. 3, and the function image established between the progress adjustment point and the start position and the end position, i.e., the length of the extended progress bar, is longer. Under the condition that the inherent frame rate of the video is the same and the adjustment interval is the same, the video frames distributed in the expansion progress bar are more scattered due to the longer length of the expansion progress bar shown in fig. 4, so that the operation of a user is facilitated.
S203, receiving a progress adjusting instruction of a user in the expansion progress bar, and determining a first playing progress of the video in an adjusting interval corresponding to the expansion progress bar according to the progress adjusting instruction.
Specifically, the videos are distributed in the expansion progress bar by taking the video frames as units, the jump division value is finer compared with the original video progress, and a user can jump to the position of any video frame in the expansion progress bar to play so as to refine the video playing progress.
And the user realizes the jump of the video in the unit of video frames in the expansion progress bar by issuing a progress adjusting instruction. The progress adjusting instructions of the user in the expansion progress bar are the same as the adjusting instructions in the video original progress bar and are all transverse dragging instructions.
And determining the video frame currently selected by the user in the adjustment interval as a frame to be played according to the progress adjustment instruction of the user. And displaying the frames to be played through a video playing interface for the user to preview. When the terminal equipment no longer receives a progress adjusting instruction of the user, namely the user does not drag left and right in the expansion progress bar, and the finger is lifted and leaves the screen of the terminal equipment, the latest selected playing frame of the user is determined to be a first playing progress, and the playing of the follow-up video is continuously executed based on the first playing progress.
When a user drags in the expansion progress bar, the playing progress of the frame to be played, namely, the progress adjustment point is projected into the video original progress bar, and the playing progress of the frame to be played, namely, the time node of the frame to be played in the video duration is displayed through the video playing interface.
Fig. 5 is a schematic diagram of another video playing interface according to an embodiment of the present invention. And the user issues an adjusting instruction in the expansion progress bar, namely, controls the progress adjusting point to drag left and right in the expansion progress bar. And displaying the video frame corresponding to the progress adjustment point as a frame to be played, and simultaneously displaying the time node of the frame to be played. And projecting the progress adjustment point into an original video progress bar for a user to check the playing progress of the frame to be played in the video.
After a user issues a vertical dragging instruction and generates an expansion progress bar, the user can adjust the expansion progress bar within an adjustment interval corresponding to the expansion progress bar as much as possible, and cannot control the playing progress in the original video progress bar, namely, the user cannot drag a progress adjustment point to the outside of the adjustment interval.
Fig. 6 is a schematic diagram of another video playing interface according to an embodiment of the present invention. Referring to fig. 6, when the progress adjustment point is close to the start position or the end position of the video original progress bar, the complete extended progress bar may not be displayed. And constructing a function image between the perpendicular line of the boundary point of the original progress bar and the progress adjustment point, the function image constructed by the initial position, the progress adjustment point and the end position, and constructing the function image between the original progress bar and the progress adjustment point, the initial position or the end position so as to display the incomplete expansion progress bar.
According to the embodiment of the invention, the video original progress bar with rough jump index value division is expanded, so that the expanded progress bar with the video frame as the jump index value is obtained. The video playing progress in the adjusting interval can be accurately adjusted by expanding the progress bar.
In some embodiments, when the length of the video original progress bar is too short and the video duration is too long, the automatically generated adjustment interval will also be very long, and although the jump graduation value in the video original progress bar is thinned, it is still rough. The interval between every two video frames in the adjustment interval is very small, which is unfavorable for the operation of the user and may not accurately control the video progress.
To solve the above problem, the user may set the adjustment interval by himself, for example, fix the adjustment interval to one minute before and after the progress adjustment point. And the adjustment interval is not determined through the length of the video original progress bar and the video duration in a self-adaptive mode. Therefore, the number of video frames in the adjustment interval can be reduced, and the interval between every two frames of video frames can be increased when the video frames are fused into the expansion progress bar, so that the adjustment range of the adjustment interval can be controlled more accurately. Optionally, when the inherent frame rate of the video is low, the adjustment interval can be reduced by a method set by the user, so that the distribution of the video frames in the expansion progress bar is more compact.
The embodiment of the invention also provides a video progress control device corresponding to the video progress control method, and the video progress control device is applied to the terminal equipment. Referring to fig. 7, a schematic structural diagram of a video progress control device according to an embodiment of the present invention is provided. As shown in fig. 7, the apparatus may include: a first determination module 701, a generation module 702 and a second determination module 703.
A first determining module 701, responsive to a longitudinal dragging instruction of a user to a progress adjustment point, determining a longitudinal position of the progress adjustment point according to the longitudinal dragging instruction;
a generating module 702, configured to generate an expansion progress bar according to the longitudinal position of the progress adjustment point;
the second determining module 703 receives a progress adjustment instruction of the user in the expansion progress bar, and determines, according to the progress adjustment instruction, a first playing progress of the video in an adjustment interval corresponding to the expansion progress bar.
The video progress control device provided in the embodiment shown in fig. 7 may be used to implement the technical solution of the method embodiment shown in the present specification, and the implementation principle and technical effects may be further described with reference to the related description of the method embodiment.
Fig. 8 is a schematic structural view of an embodiment of the electronic device of the present specification. The electronic device may be implemented as a terminal device provided by the present invention. As shown in fig. 8, the electronic device may include at least one processor; and at least one memory communicatively coupled to the processing unit, wherein: the memory stores program instructions executable by the processing unit, and the processor invokes the program instructions to execute the video progress control method provided in this embodiment.
The electronic device may be a device capable of performing an intelligent dialogue with a user, and the specific form of the electronic device is not limited in the embodiments of the present disclosure. It is understood that the electronic device herein is the machine mentioned in the method embodiment.
Fig. 8 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present description. The electronic device shown in fig. 8 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments herein.
As shown in fig. 8, the electronic device is in the form of a general purpose computing device. Components of an electronic device may include, but are not limited to: one or more processors 810, a communication interface 820, a memory 830, a communication bus 840 that connects the different system components (including the memory 830, the communication interface 820, and the processor 810).
Communication bus 840 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include industry Standard architecture (Industry Standard Architecture; hereinafter ISA) bus, micro channel architecture (Micro Channel Architecture; hereinafter MAC) bus, enhanced ISA bus, video electronics standards Association (Video Electronics Standards Association; hereinafter VESA) local bus, and peripheral component interconnect (Peripheral Component Interconnection; hereinafter PCI) bus.
Electronic devices typically include a variety of computer system readable media. Such media can be any available media that can be accessed by the electronic device and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 830 may include computer system readable media in the form of volatile memory, such as random access memory (Random Access Memory; hereinafter: RAM) and/or cache memory. The electronic device may further include other removable/non-removable, volatile/nonvolatile computer system storage media. Memory 830 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the embodiments of the present description.
A program/utility having a set (at least one) of program modules may be stored in the memory 830, such program modules include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules typically carry out the functions and/or methods of the embodiments described herein.
The processor 810 executes various functional applications and data processing by running a program stored in the memory 830, for example, implementing a video progress control method provided in the embodiment shown in the present specification.
Embodiments of the present specification provide a non-transitory computer-readable storage medium storing computer instructions that cause a computer to execute the video progress control method provided by the embodiments of the present specification.
The non-transitory computer readable storage media described above may employ any combination of one or more computer readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory; EPROM) or flash Memory, an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for the present specification may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (Local Area Network; hereinafter: LAN) or a wide area network (Wide Area Network; hereinafter: WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present specification, the meaning of "plurality" means at least two, for example, two, three, etc., unless explicitly defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and additional implementations are included within the scope of the preferred embodiment of the present specification in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present specification.
Depending on the context, the word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to detection". Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
It should be noted that, the terminals in the embodiments of the present disclosure may include, but are not limited to, a personal Computer (Personal Computer; hereinafter referred to as a PC), a personal digital assistant (Personal Digital Assistant; hereinafter referred to as a PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a mobile phone, an MP3 player, an MP4 player, and the like.
In the embodiments provided in the present specification, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional unit in each embodiment of the present specification may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a Processor (Processor) to perform part of the steps of the methods described in the embodiments of the present specification.
The foregoing description of the preferred embodiments is provided for the purpose of illustration only, and is not intended to limit the scope of the disclosure, since any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the disclosure are intended to be included within the scope of the disclosure.

Claims (10)

1. A video progress control method, the method comprising:
responding to a longitudinal dragging instruction of a user to a progress adjusting point, and determining the longitudinal position of the progress adjusting point according to the longitudinal dragging instruction;
generating an expansion progress bar according to the longitudinal position of the progress adjustment point;
and receiving a progress adjusting instruction of a user in the expansion progress bar, and determining a first playing progress of the video in an adjusting interval corresponding to the expansion progress bar according to the progress adjusting instruction.
2. The method of claim 1, wherein the progress adjustment point is any point within a video raw progress bar.
3. The method of claim 1, wherein the determining the longitudinal position of the progress adjustment point according to the longitudinal drag instruction in response to a user longitudinal drag instruction of the progress adjustment point comprises:
determining a longitudinal dragging range of the progress adjustment point according to a preset longitudinal position threshold and the position of a video original progress bar;
and determining the longitudinal position of the progress adjusting point in the longitudinal dragging range according to the longitudinal dragging instruction.
4. The method of claim 1, wherein the generating an extended progress bar according to the longitudinal position of the progress adjustment point comprises:
determining an adjustment interval of the expansion progress bar according to the length of the original video progress bar and the video duration;
determining the length of the expansion progress bar according to the adjustment interval of the expansion progress bar and the longitudinal position of the progress adjustment point;
determining the frame number of the video in the adjusting interval according to the adjusting interval of the expansion progress bar and the video frame rate;
and generating the expansion progress bar according to the length of the expansion progress bar and the frame number of the video in the adjustment interval.
5. The method of claim 4, wherein the determining the length of the expansion progress bar according to the adjustment interval of the expansion progress bar and the longitudinal position of the progress adjustment point comprises:
determining the starting position and the ending position of an adjusting interval of the expansion progress bar in the video original progress bar;
establishing a function image among the starting position, the ending position and the longitudinal position of the progress adjusting point, wherein the longitudinal position of the progress adjusting point is the vertex of the function image;
and determining the length of the function image as the length of the expansion progress bar.
6. The method of claim 1, wherein the determining, according to the progress adjustment command, the first playing progress of the video in the adjustment interval corresponding to the extended progress bar includes:
determining a frame to be played selected by a user in the adjustment interval according to a progress adjustment instruction of the user, wherein the progress adjustment instruction is a transverse dragging instruction of the user in the expansion progress bar;
and when the progress adjusting instruction of the user is not received any more, determining the playing progress corresponding to the frame to be played as the first playing progress.
7. The method according to claim 6, wherein the determining, according to the user's progress adjustment command, the frame to be played selected by the user in the adjustment interval includes:
projecting the playing progress of the frame to be played into the video original progress bar;
and displaying the frames to be played through a video playing interface, and displaying the playing progress of the frames to be played.
8. A video progress control device, comprising:
the first determining module is used for responding to a longitudinal dragging instruction of a user to the progress adjusting point and determining the longitudinal position of the progress adjusting point according to the longitudinal dragging instruction;
the generation module is used for generating an expansion progress bar according to the longitudinal position of the progress adjustment point;
and the second determining module is used for receiving a progress adjusting instruction of a user in the expansion progress bar and determining a first playing progress of the video in an adjusting interval corresponding to the expansion progress bar according to the progress adjusting instruction.
9. An electronic device, comprising:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program, when run, controls a device in which the computer readable storage medium is located to perform the method of any one of claims 1 to 7.
CN202310149789.6A 2023-02-17 2023-02-17 Video progress control method and device Pending CN116132725A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310149789.6A CN116132725A (en) 2023-02-17 2023-02-17 Video progress control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310149789.6A CN116132725A (en) 2023-02-17 2023-02-17 Video progress control method and device

Publications (1)

Publication Number Publication Date
CN116132725A true CN116132725A (en) 2023-05-16

Family

ID=86311634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310149789.6A Pending CN116132725A (en) 2023-02-17 2023-02-17 Video progress control method and device

Country Status (1)

Country Link
CN (1) CN116132725A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009230468A (en) * 2008-03-24 2009-10-08 Seiko Epson Corp Reproduction device, method of controlling reproduction device and control program
US20140033111A1 (en) * 2012-07-24 2014-01-30 Humax Co., Ltd. Method of displaying status bar
CN103582865A (en) * 2011-05-31 2014-02-12 三星电子株式会社 Timeline-based content control method and apparatus using dynamic distortion of timeline bar, and method and apparatus for controlling video and audio clips using the same
CN103593123A (en) * 2012-08-13 2014-02-19 三星电子株式会社 Method of searching for playback location of multimedia application and electronic device thereof
US20140075315A1 (en) * 2011-10-27 2014-03-13 Sony Mobile Communications Ab Media reproduction control arrangement and method
CN104375763A (en) * 2013-08-15 2015-02-25 联想(北京)有限公司 Progress adjusting method and electronic equipment
CN105554579A (en) * 2015-11-05 2016-05-04 广州爱九游信息技术有限公司 Video frame selection auxiliary method and device and computing equipment capable of playing video
CN105872799A (en) * 2015-12-11 2016-08-17 乐视移动智能信息技术(北京)有限公司 Video playing processing method, player and terminal equipment
CN105898593A (en) * 2016-03-31 2016-08-24 乐视控股(北京)有限公司 Playing progress adjusting method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009230468A (en) * 2008-03-24 2009-10-08 Seiko Epson Corp Reproduction device, method of controlling reproduction device and control program
CN103582865A (en) * 2011-05-31 2014-02-12 三星电子株式会社 Timeline-based content control method and apparatus using dynamic distortion of timeline bar, and method and apparatus for controlling video and audio clips using the same
US20140075315A1 (en) * 2011-10-27 2014-03-13 Sony Mobile Communications Ab Media reproduction control arrangement and method
US20140033111A1 (en) * 2012-07-24 2014-01-30 Humax Co., Ltd. Method of displaying status bar
CN103593123A (en) * 2012-08-13 2014-02-19 三星电子株式会社 Method of searching for playback location of multimedia application and electronic device thereof
CN104375763A (en) * 2013-08-15 2015-02-25 联想(北京)有限公司 Progress adjusting method and electronic equipment
CN105554579A (en) * 2015-11-05 2016-05-04 广州爱九游信息技术有限公司 Video frame selection auxiliary method and device and computing equipment capable of playing video
CN105872799A (en) * 2015-12-11 2016-08-17 乐视移动智能信息技术(北京)有限公司 Video playing processing method, player and terminal equipment
CN105898593A (en) * 2016-03-31 2016-08-24 乐视控股(北京)有限公司 Playing progress adjusting method and device

Similar Documents

Publication Publication Date Title
US11924520B2 (en) Subtitle border-crossing processing method and apparatus, and electronic device
CN108109636B (en) Text-based voice playing method and device, computer equipment and storage medium
EP4192021A1 (en) Audio data processing method and apparatus, and device and storage medium
CN112445395A (en) Music fragment selection method, device, equipment and storage medium
US20150033181A1 (en) Information processing apparatus, information processing method, and program
CN112866809A (en) Video processing method and device, electronic equipment and readable storage medium
CN111078011A (en) Gesture control method and device, computer readable storage medium and electronic equipment
CN111818393A (en) Video progress adjusting method and device and electronic equipment
CN109302563B (en) Anti-shake processing method and device, storage medium and mobile terminal
US11181664B2 (en) Method and device for determining descriptive information of precipitation trend, and readable storage medium
CN111857482B (en) Interaction method, device, equipment and readable medium
CN116132725A (en) Video progress control method and device
CN111078081A (en) Control method of point-to-read mode and electronic equipment
CN113377365B (en) Code display method, apparatus, device, computer readable storage medium and product
CN115531875A (en) Virtual scene zooming method and device, storage medium and electronic equipment
CN111263084B (en) Video-based gesture jitter detection method, device, terminal and medium
CN113674731A (en) Speech synthesis processing method, apparatus and medium
CN110633117B (en) Data processing method, device, electronic equipment and readable medium
CN111259694B (en) Gesture moving direction identification method, device, terminal and medium based on video
CN114724528B (en) Display control method and device of display device, electronic device and storage medium
CN115499672B (en) Image display method, device, equipment and storage medium
CN111125465B (en) Information display quantity adjusting method and device, electronic equipment and readable medium
CN112492381B (en) Information display method and device and electronic equipment
CN115494953A (en) Audio adjusting method, device, equipment and computer readable storage medium
CN114154466A (en) Structure reconstruction method and device of structure diagram, electronic equipment and storage medium

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