CN112135181B - Video preview method and device and electronic equipment - Google Patents

Video preview method and device and electronic equipment Download PDF

Info

Publication number
CN112135181B
CN112135181B CN202011001625.1A CN202011001625A CN112135181B CN 112135181 B CN112135181 B CN 112135181B CN 202011001625 A CN202011001625 A CN 202011001625A CN 112135181 B CN112135181 B CN 112135181B
Authority
CN
China
Prior art keywords
progress bar
area
playing
target
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011001625.1A
Other languages
Chinese (zh)
Other versions
CN112135181A (en
Inventor
唐珊珊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011001625.1A priority Critical patent/CN112135181B/en
Publication of CN112135181A publication Critical patent/CN112135181A/en
Priority to PCT/CN2021/118743 priority patent/WO2022063022A1/en
Application granted granted Critical
Publication of CN112135181B publication Critical patent/CN112135181B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • 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
    • 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/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows

Abstract

The application discloses a video previewing method and device and electronic equipment, belongs to the technical field of communication and aims to solve the problem that a video being played is interrupted when the video is previewed. The video preview method comprises the following steps: receiving a first touch input to a progress bar under the condition that a playing image of a video file is displayed in a first area according to a target playing progress; displaying a target picture in the video file in a second area according to the target position of the first touch input on the progress bar; and in the process of receiving the first touch input to displaying the target picture in the second area, the first area updates the playing image of the video file at the moment corresponding to the target playing progress. Because the playing image and the preview image of the video file are respectively displayed in different areas, the preview image can not influence the playing progress of the video file, and the video preview effect can be improved.

Description

Video preview method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a video preview method, a video preview device and electronic equipment.
Background
With the rapid development of electronic devices, multimedia functions are increasingly applied to the electronic devices. When a user views a video using an electronic device, it may be desirable to preview the unviewed video content ahead of time to determine whether the video needs to be viewed continuously.
In the prior art, when a user previews video content which is not played, the user needs to operate a progress mark on a playing progress bar to view the video content at different time intervals. In the above process, the inventors found that at least the following problems exist in the prior art: in the process of previewing the video by the user, the video content being played is interrupted.
Disclosure of Invention
The embodiment of the invention provides a video previewing method and device and electronic equipment, and aims to solve the problem that the video content being played is interrupted in the process of previewing a video by a user.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a video preview method, where the method includes:
receiving a first touch input to a progress bar under the condition that a playing image of a video file is displayed in a first area according to a target playing progress;
responding to the first touch input, and displaying a target picture in the video file in a second area according to a target position of the first touch input on the progress bar;
and in the process from receiving the first touch input to displaying the target picture in the second area, the first area updates the playing image of the video file by taking the playing time corresponding to the target playing progress as the starting time.
In a second aspect, an embodiment of the present invention further provides a video preview apparatus, including:
the first receiving module is used for receiving first touch input to the progress bar under the condition that a playing image of the video file is displayed in the first area according to the target playing progress;
the first display module is used for responding to the first touch input and displaying a target picture in the video file in a second area according to a target position of the first touch input on the progress bar;
and in the process from receiving the first touch input to displaying the target picture in the second area, the first area updates the playing image of the video file by taking the playing time corresponding to the target playing progress as the starting time.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the first area displays the playing image of the video file according to the target playing progress, receiving first touch input to a progress bar; responding to the first touch input, and displaying a target picture in the video file in a second area according to a target position of the first touch input on the progress bar; and in the process from receiving the first touch input to displaying the target picture in the second area, the first area updates the playing image of the video file by taking the playing time corresponding to the target playing progress as the starting time. The user can preview the video image based on the progress bar, and the playing image and the preview image of the video file are displayed in different areas respectively, so that the preview image cannot influence the playing progress of the video file, and the video preview effect can be improved. And the video playing progress in the first area cannot be interfered by the touch input of the user to the progress bar, and the video image in the first area cannot be interrupted due to the preview operation.
Drawings
Fig. 1 is a flowchart of a video preview method provided by an embodiment of the present invention;
fig. 2 to 4 are display interface diagrams of an electronic device according to an embodiment of the present invention;
fig. 5 is a block diagram of a video preview device provided in an embodiment of the present invention;
fig. 6 is a block diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The video preview method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a flowchart of a video preview method according to an embodiment of the present invention, as shown in fig. 1, including the following steps:
step 101, receiving a first touch input to a progress bar under the condition that a playing image of a video file is displayed in a first area according to a target playing progress.
The progress bar may be a progress bar for reflecting the playing progress of the video file, or may be a progress bar for reflecting the preview progress of the video file. The user may perform a touch input, such as a click operation or a press operation, on the progress bar to preview a playing image of the video file at a specific time.
For example, when the user presses the progress bar for the first time, the progress bar is displayed as the playing progress of the video file; when the user presses the progress bar for a long time again, the progress bar is switched and displayed to be the preview progress of the video image, and at the moment, the user can perform touch operation on the progress bar to preview the video image at any moment.
In addition, two progress bars can be displayed on the playing interface of the video file, such as the playing progress bar and the preview progress bar, the two progress bars are respectively used for reflecting the playing progress and the preview progress of the video file, and the progress of the two progress bars is not interfered with each other. The playing progress bar is used for indicating the playing progress of the video file in the first area, specifically, the playing progress of the video image in the first area can be indicated in real time by displaying a progress mark on the playing progress bar, and the playing progress bar can refer to the prior art. The preview progress bar may be a progress bar for previewing the content of the video file, and the time length corresponding to the preview progress bar is equal to the playing time length of the video file. The preview progress bar may also include an identifier, where each position on the preview progress bar corresponds to a different playing time of the video file.
In this step, the playing image of the video file is displayed in the first area, and the current playing progress is the target playing progress, for example, the playing progress of the video file is 40%, that is, 40% of the total playing duration of the video file has been played.
And 102, responding to the first touch input, and displaying a target picture in the video file in a second area according to the target position of the first touch input on the progress bar.
And in the process from receiving the first touch input to displaying the target picture in the second area, the first area updates the playing image of the video file by taking the playing time corresponding to the target playing progress as the starting time.
The second area and the first area can occupy different areas respectively, the second area and the first area can also comprise an overlapping area, and the two areas can independently display contents respectively and do not interfere with each other. The electronic equipment acquires a target position of the first touch input on the progress bar, determines an image picture of playing time according to the playing time of the target position corresponding to the playing time on the progress bar, and displays the image picture in the second area.
In the process of displaying the playing image of the video file in the first area, the event that the user inputs the first touch control of the progress bar and the second area displays the target picture does not affect the playing progress of the video file in the first area, that is, in the process that the user inputs the first touch control of the progress bar to the second area to display the target picture, the first area is still played based on the playing time corresponding to the original target playing progress. For ease of understanding, the following description is made by way of example.
As shown in fig. 2, the first display window 11 displays a playing image of a video file, and a playing interface of the video file includes a playing progress bar 13 and a preview progress bar 14. Wherein, the progress mark 131 for indicating the progress of the playing of the video image in the first display window 11 is included on the playing progress bar 13. The preview progress bar 14 includes a first mark 141 thereon. When the user operates the first identifier 141, the playing interface of the video file displays the second display window 12, and a video picture corresponding to the position of the first identifier 141 on the preview progress bar 14 is displayed in the second display window 12. In the process that the user operates the first identifier 141, the playing progress of the video file in the first display window 11 is not changed, the playing speed in the first display window 11 is continuously updated according to the original playing speed, and the user can preview the playing image of the video file at any time based on the preview progress bar 14 and the second display window 12.
In the case where the side of the electronic device includes a screen, the preview progress bar may be displayed on the screen of the side. Therefore, the occupation of the preview progress bar on the screen can be reduced, the utilization rate of the side screen is improved, and the operation of a user can be facilitated. For example, when the electronic device includes a curved screen extending to the side, an area of the preview progress bar may be disposed at a side area of the curved screen.
In the embodiment of the invention, the user can operate the progress bar to preview the playing image of the video file, and when the preview screen of the video file is displayed in the second area, the interference to the content displayed in the first area is avoided. And the video playing progress in the first area cannot be interfered by the touch input of the user to the progress bar, and the video image in the first area cannot be interrupted due to the preview operation.
Optionally, the progress bar further includes a target identifier; the method further comprises the following steps:
receiving a second input to the target identifier under the condition that the playing speed of the video file is a first speed;
responding to the second input, and playing the video file in the second area at a second speed by taking a target moment as a starting moment;
and the target moment is the playing moment of the video file corresponding to the moment when the second input is received, and the second speed is not equal to the first speed.
In this embodiment, the progress bar may include a target identifier, where the target identifier may specifically be an identifier used to adjust a preview playing speed of the preview image, and when the target identifier includes multiple identifiers, different identifiers may correspond to different playing speeds.
If the user needs to adjust the playing speed, the user may perform a second input to the target identifier, such as a sliding operation, a dragging operation from the target identifier to the second area, and the like. And the electronic equipment responds to the second input, previews the video file in the second area according to a second playing speed corresponding to the target identifier, wherein the second speed is not equal to the first speed, namely, previews the video file in the second area in an acceleration or deceleration mode.
In the process of video preview in the second area, the mark used for displaying the preview progress on the progress bar can move on the progress bar according to the preview progress so as to indicate the preview progress in real time, video image contents are respectively displayed in the first area and the second area, and the content displayed in the first area cannot be interfered by adjusting the preview speed in the second area.
For example, as shown in fig. 2, two marks are displayed at two ends of the progress bar 14, the left mark 142 is used for decelerating the preview, and the right mark 143 is used for accelerating the preview. And if the user drags the deceleration preview identifier 142 to the second display window 12, performing video preview on the second display window 12 according to the preset speed corresponding to the deceleration preview identifier 142. When the user operates the first identifier 141 or the second display window 12 again, the video file is stopped to be played in the second display window 12; when the user operates the region outside the second display window 12, the second display window 12 is closed.
Therefore, the user can preview the video file in an accelerating or decelerating manner according to the actual requirement and the preset playing speed, and the previewing efficiency and the previewing effect can be improved.
Optionally, after the target picture in the video file is displayed in the second area according to the target position of the first touch input on the progress bar, the method further includes:
receiving a third input at the second region;
and responding to the third input, and playing the video file in the first area by taking the time corresponding to the target picture as the starting time.
In this embodiment, when the user needs to jump the screen in the first area to the screen in the second area, the user may make a third input to the second area, for example, double-click the second area, perform a long-press operation on the second area, and the like. The electronic equipment acquires the time corresponding to the target picture and plays the video in the first area by taking the time as the starting time.
Therefore, the user can select to jump the video image in the first area according to actual requirements, and the operation convenience can be improved.
Optionally, the method further includes:
receiving a fourth input to the progress bar;
adjusting display parameters of the progress bar in response to the fourth input, the display parameters including at least one of a length of the progress bar and a display position of the progress bar.
In this embodiment, in order to avoid the user from touching the screen mistakenly while watching the video image, the user may operate the progress bar according to actual conditions to adjust the display parameters of the progress bar, for example, adjust the length, display position, display color of the progress bar, or hide the progress bar. The hidden progress bar can be completely hidden and not displayed or can be displayed as an identifier, and a user can trigger the electronic equipment to display the progress bar by operating the identifier.
For example, as shown in fig. 3, the user touches both ends of the progress bar 14 with two fingers and performs a bidirectional slide operation from both ends of the progress bar to the middle, and the progress bar is shortened. When the progress bar is shortened to a preset length, the progress bar may be displayed as a specific mark. In addition, the user can further press and drag the progress bar for a long time to adjust the display position of the progress bar. In this way, the length of the progress bar can be adjusted to a proper size based on the operation of the user, and the length of the progress bar can be adjusted to a position where the progress bar is not easily touched by mistake and does not interfere with a display screen, so that the touch by mistake can be reduced, and the display effect can be improved.
According to the method and the device, the user can be prevented from mistakenly touching the progress bar, so that the flexibility of the progress bar operation can be improved, and the use requirements of different users and different scenes can be met.
Optionally, the adjusting the display parameter of the progress bar includes:
shortening the progress bar, and displaying the shortened progress bar;
after the displaying the shortened progress bar, the method further includes:
acquiring a target area corresponding to the progress bar before shortening relative to the progress bar after shortening;
and inhibiting the response of the target area to the touch operation.
In this embodiment, in order to further avoid the user's mis-touch of the screen while viewing the video image, the length of the progress bar may be shortened. Wherein, the length of the progress bar before shortening is equal to the sum of the length of the progress bar after shortening and the shortening length, and the target area can be understood as the area where the shortening length is located. Due to the shortened progress bar, only the area displayed by the progress bar can respond to the touch operation, and the target area with the shortened length cannot respond to the touch operation, so that the error touch of a user on the video image interface can be prevented.
Optionally, the target picture includes a first image in the video file; after the target picture in the video file is displayed in the second area, the method further comprises the following steps:
receiving a fifth input in the second region;
in response to the fifth input, switching to display the first image as a second image in the second area;
wherein the second image is different from the first image.
In this embodiment, the first image may include one or more frames of images. When the multi-frame image is included in the first image, the second region may be displayed as a multi-frame picture as shown in fig. 4, and the image in the middle is displayed enlarged for the user to view. When the user operates the image in the second area, such as double-click or long-press operation, the video image in the first area may be switched and displayed as the image operated by the user in the second area, and the video image is played with the corresponding time of the image as the starting time.
When a different preview image needs to be viewed, the user may perform a fifth input, for example, a sliding operation or a clicking operation, in the second area, and the electronic device switches the image in the second area in response to the fifth input.
When the first image comprises a frame image, the second image can also be a frame image; when the first image includes a plurality of frame images, the second image may also include an adjacent plurality of frame images, and the user may operate on the first image to view other images located before and after the first image, that is, the second image. In addition, the number of images contained in the first image and the second image can be different, so that a user can conveniently view the number of one or more frames of images according to requirements.
For example, a first image including three frames of images is displayed in the second area, the user slides to the left in the second area, and the second image including three frames of images different from the first image is displayed in the second area according to the distance of the sliding.
In order to avoid a false touch, the user may further operate the second area to adjust the size of the preview window, and the number of images in the second area may be determined according to the size of the second area or a user setting, which is not limited herein.
Further, in order to reduce the occupied area of the second area, the second area may also be displayed as a specific identifier, for example, as a line, and when the user operates the identifier, the electronic device expands to display the second area.
In the present embodiment, the preview can be switched in the second area based on the user operation, and the preview effect can be improved.
It should be noted that, in the video preview method provided in the embodiment of the present application, the execution main body may be a video preview device, or a control module in the video preview device, which is used for executing the loading video preview method. In the embodiment of the present application, a video preview method executed by a video preview device is taken as an example to describe the video preview method provided in the embodiment of the present application.
Referring to fig. 5, fig. 5 is a block diagram of a video preview apparatus according to an embodiment of the present invention, and as shown in fig. 5, the video preview apparatus 500 includes:
a first receiving module 501, configured to receive a first touch input to a progress bar when a playing image of a video file is displayed in a first area according to a target playing progress;
a first display module 502, configured to respond to the first touch input, and display a target picture in the video file in a second area according to a target position of the first touch input on the progress bar;
and in the process from receiving the first touch input to displaying the target picture in the second area, the first area updates the playing image of the video file by taking the playing time corresponding to the target playing progress as the starting time.
Optionally, the progress bar further includes a target identifier; the method further comprises the following steps:
the second receiving module is used for receiving second input of the target identifier under the condition that the playing speed of the video file is the first speed;
the second display module is used for responding to the second input, and playing the video file in the second area according to a second speed by taking a target moment as a starting moment;
and the target moment is the playing moment of the video file corresponding to the moment when the second input is received, and the second speed is not equal to the first speed.
Optionally, the apparatus further comprises:
a third receiving module, configured to receive a third input in the second area;
and the third display module is used for responding to the third input and playing the video file in the first area by taking the moment corresponding to the target picture as the starting moment.
Optionally, the apparatus further comprises:
a fourth receiving module, configured to receive a fourth input to the progress bar;
an adjusting module, configured to adjust a display parameter of the progress bar in response to the fourth input, where the display parameter includes at least one of a length of the progress bar and a display position of the progress bar.
Optionally, the adjusting module is specifically configured to:
shortening the progress bar, and displaying the shortened progress bar;
the device further comprises:
the acquisition module is used for acquiring a target area corresponding to the progress bar before shortening and the progress bar after relatively shortening;
and the forbidding module is used for forbidding the response of the target area to the touch operation.
Optionally, the target picture includes a first image in the video file; the device further comprises:
a fifth receiving module for receiving a fifth input in the second area;
a switching module, configured to switch and display the first image as a second image in the second area in response to the fifth input;
wherein the second image is different from the first image.
The video preview apparatus 500 can implement the processes implemented by the electronic device in the foregoing method embodiments and achieve the same beneficial effects, and for avoiding repetition, the details are not described here again.
The video preview device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Network Attached Storage (NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The video preview device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The video preview device provided in the embodiment of the present application can implement each process implemented by the video preview device in the method embodiments of fig. 1 to fig. 4, and is not described here again to avoid repetition.
According to the embodiment of the invention, the user can preview the video image based on the preview progress bar without influencing the original playing progress of the video image, so that the video preview effect can be improved.
Optionally, an embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a program or an instruction stored in the memory and capable of running on the processor, where the program or the instruction, when executed by the processor, implements each process of the video preview method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, and processor 610.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, the processor 610 is configured to:
the control user input unit 607 receives a first touch input to the progress bar under the condition that the first region displays the playing image of the video file according to the target playing progress;
the control display unit 606 responds to the first touch input, and displays a target picture in the video file in a second area according to a target position of the first touch input on the progress bar;
and in the process from receiving the first touch input to displaying the target picture in the second area, the first area updates the playing image of the video file by taking the playing time corresponding to the target playing progress as the starting time.
Therefore, the user can preview the video image based on the progress bar, and the preview image can not influence the playing progress of the video file because the playing image and the preview image of the video file are respectively displayed in different areas, so that the video preview effect can be improved.
Optionally, the progress bar further includes a target identifier; the processor 610 is further configured to:
controlling the user input unit 607 to receive a second input to the target identifier in case that the playing speed of the video file is the first speed;
the control display unit 606 responds to the second input, plays the video file in the second area at a second speed by taking a target moment as a starting moment;
and the target moment is the playing moment of the video file corresponding to the moment when the second input is received, and the second speed is not equal to the first speed.
Optionally, the processor 610 is further configured to:
control the user input unit 607 to receive a third input in the second region;
and the control display unit 606 responds to the third input, and plays the video file in the first area by taking the time corresponding to the target picture as the starting time.
Optionally, the processor 610 is further configured to:
controlling the user input unit 607 to receive a fourth input to the progress bar;
adjusting display parameters of the progress bar in response to the fourth input, the display parameters including at least one of a length of the progress bar and a display position of the progress bar.
Optionally, the processor 610 performs the adjusting of the display parameter of the progress bar, including:
shortening the progress bar, and displaying the shortened progress bar;
the processor 610 is further configured to:
acquiring a target area corresponding to the progress bar before shortening relative to the progress bar after shortening;
and inhibiting the response of the target area to the touch operation.
Optionally, the target picture includes a first image in the video file; the processor 610 is further configured to:
control the user input unit 607 to receive a fifth input in the second region;
the control display unit 606 switches to display the first image as a second image in the second area in response to the fifth input;
wherein the second image is different from the first image.
It is to be understood that, in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or a video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072. A touch panel 6071, also referred to as a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 609 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 610 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the video preview method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above video preview method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A method for video preview, comprising:
receiving a first touch input to a progress bar under the condition that a playing image of a video file is displayed in a first area according to a target playing progress;
responding to the first touch input, and displaying a target picture in the video file in a second area according to a target position of the first touch input on the progress bar;
the target picture is an image picture corresponding to the playing time indicated by the target position, and in the process from receiving the first touch input to displaying the target picture in the second area, the first area updates the playing image of the video file by taking the playing time corresponding to the target playing progress as the starting time;
the progress bar also comprises a target identifier used for adjusting the playing speed of the video file in the second area; the method further comprises the following steps:
receiving a second input to the target identifier when the playing speed of the video file in the second area is a first speed;
responding to the second input, and playing the video file in the second area at a second speed by taking a target moment as a starting moment;
and the target moment is the playing moment of the video file corresponding to the moment when the second input is received, and the second speed is not equal to the first speed.
2. The method of claim 1, wherein after displaying a target screen in the video file in a second area according to a target position of the first touch input on the progress bar, the method further comprises:
receiving a third input at the second region;
and responding to the third input, and playing the video file in the first area by taking the time corresponding to the target picture as the starting time.
3. The method of claim 1, further comprising:
receiving a fourth input to the progress bar;
adjusting display parameters of the progress bar in response to the fourth input, the display parameters including at least one of a length of the progress bar and a display position of the progress bar.
4. The method of claim 3, wherein the adjusting the display parameters of the progress bar comprises:
shortening the progress bar, and displaying the shortened progress bar;
after the displaying the shortened progress bar, the method further includes:
acquiring a target area corresponding to the progress bar before shortening relative to the progress bar after shortening;
and inhibiting the response of the target area to the touch operation.
5. The method of claim 1, wherein the target picture comprises a first image in the video file; after the target picture in the video file is displayed in the second area, the method further comprises the following steps:
receiving a fifth input in the second region;
in response to the fifth input, switching to display the first image as a second image in the second area;
wherein the second image is different from the first image.
6. A video preview device, comprising:
the first receiving module is used for receiving first touch input to the progress bar under the condition that a playing image of the video file is displayed in the first area according to the target playing progress;
the first display module is used for responding to the first touch input and displaying a target picture in the video file in a second area according to a target position of the first touch input on the progress bar;
the target picture is an image picture corresponding to the playing time indicated by the target position, and in the process from receiving the first touch input to displaying the target picture in the second area, the first area updates the playing image of the video file by taking the playing time corresponding to the target playing progress as an initial time;
the progress bar also comprises a target identifier used for adjusting the playing speed of the video file in the second area; the device further comprises:
a second receiving module, configured to receive a second input to the target identifier when a playing speed of the video file in the second area is a first speed;
the second display module is used for responding to the second input, and playing the video file in the second area according to a second speed by taking a target moment as a starting moment;
and the target moment is the playing moment of the video file corresponding to the moment when the second input is received, and the second speed is not equal to the first speed.
7. The apparatus of claim 6, further comprising:
a third receiving module, configured to receive a third input in the second area;
and the third display module is used for responding to the third input and playing the video file in the first area by taking the moment corresponding to the target picture as the starting moment.
8. The apparatus of claim 6, further comprising:
a fourth receiving module, configured to receive a fourth input to the progress bar;
an adjusting module, configured to adjust a display parameter of the progress bar in response to the fourth input, where the display parameter includes at least one of a length of the progress bar and a display position of the progress bar.
9. The apparatus of claim 8, wherein the adjustment module is specifically configured to:
shortening the progress bar, and displaying the shortened progress bar;
the device further comprises:
the acquisition module is used for acquiring a target area corresponding to the progress bar before shortening and the progress bar after shortening;
and the forbidding module is used for forbidding the response of the target area to the touch operation.
10. The apparatus of claim 6, wherein the target picture comprises a first image in the video file; the device further comprises:
a fifth receiving module for receiving a fifth input in the second area;
a switching module, configured to switch and display the first image as a second image in the second area in response to the fifth input;
wherein the second image is different from the first image.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the video preview method of any of claims 1 to 5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the video preview method of any of claims 1 to 5.
CN202011001625.1A 2020-09-22 2020-09-22 Video preview method and device and electronic equipment Active CN112135181B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011001625.1A CN112135181B (en) 2020-09-22 2020-09-22 Video preview method and device and electronic equipment
PCT/CN2021/118743 WO2022063022A1 (en) 2020-09-22 2021-09-16 Video preview method and apparatus and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011001625.1A CN112135181B (en) 2020-09-22 2020-09-22 Video preview method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112135181A CN112135181A (en) 2020-12-25
CN112135181B true CN112135181B (en) 2022-06-03

Family

ID=73842149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011001625.1A Active CN112135181B (en) 2020-09-22 2020-09-22 Video preview method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN112135181B (en)
WO (1) WO2022063022A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112135181B (en) * 2020-09-22 2022-06-03 维沃移动通信有限公司 Video preview method and device and electronic equipment
CN113259743A (en) * 2020-12-28 2021-08-13 维沃移动通信有限公司 Video playing method and device and electronic equipment
CN115499702A (en) * 2021-06-18 2022-12-20 阿里巴巴新加坡控股有限公司 Preview image display method and device, electronic equipment and storage medium
CN115878844A (en) * 2021-09-27 2023-03-31 北京有竹居网络技术有限公司 Video-based information display method and device, electronic equipment and storage medium
CN114489455A (en) * 2021-12-31 2022-05-13 上海洛轲智能科技有限公司 Progress adjustment method and device for image display and electronic equipment
CN114900737B (en) * 2022-03-31 2023-05-16 荣耀终端有限公司 Video progress adjustment method, electronic device and computer readable storage medium
CN114827755A (en) * 2022-04-15 2022-07-29 咪咕文化科技有限公司 Video playing method, system, device and storage medium
CN114915850B (en) * 2022-04-22 2023-09-12 网易(杭州)网络有限公司 Video playing control method and device, electronic equipment and storage medium
CN117714766A (en) * 2022-09-09 2024-03-15 抖音视界有限公司 Video content preview interaction method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792272A (en) * 2016-11-28 2017-05-31 维沃移动通信有限公司 The generation method and mobile terminal of a kind of video thumbnails
CN107995536A (en) * 2017-11-28 2018-05-04 百度在线网络技术(北京)有限公司 A kind of method, apparatus, equipment and computer-readable storage medium for extracting video preview
CN109963168A (en) * 2017-12-25 2019-07-02 上海全土豆文化传播有限公司 Video previewing method and device

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103325396A (en) * 2012-03-23 2013-09-25 深圳市快播科技有限公司 Playblast method and system used for player
CN103092467B (en) * 2013-01-29 2016-08-03 华为终端有限公司 A kind of method and device of video preview
CN103546813A (en) * 2013-08-16 2014-01-29 Tcl集团股份有限公司 Android platform based video preview method and smart television
US9940007B2 (en) * 2016-02-24 2018-04-10 International Business Machines Corporation Shortening multimedia content
CN106028068A (en) * 2016-06-30 2016-10-12 乐视控股(北京)有限公司 Video progress content preview method and device, and mobile terminal
CN106231343A (en) * 2016-10-11 2016-12-14 青岛海信电器股份有限公司 Video playback processing method, device and TV
CN106454447A (en) * 2016-10-11 2017-02-22 青岛海信电器股份有限公司 Video playing and processing method and device, and television
CN110740290B (en) * 2018-07-20 2021-08-31 浙江宇视科技有限公司 Monitoring video previewing method and device
US10848832B2 (en) * 2018-09-11 2020-11-24 Opentv, Inc. Selection interface with synchronized suggestion elements
CN110971956A (en) * 2018-09-30 2020-04-07 广州优视网络科技有限公司 Video frame previewing method and device
US11379546B2 (en) * 2019-02-13 2022-07-05 The Toronto-Dominion Bank System and method for controlling visibility of elements of displayed electronic content
CN110677720B (en) * 2019-09-26 2021-09-03 腾讯科技(深圳)有限公司 Method, device and equipment for positioning video image frame and computer storage medium
CN111897480B (en) * 2020-06-05 2022-03-04 维沃移动通信有限公司 Playing progress adjusting method and device and electronic equipment
CN112135181B (en) * 2020-09-22 2022-06-03 维沃移动通信有限公司 Video preview method and device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792272A (en) * 2016-11-28 2017-05-31 维沃移动通信有限公司 The generation method and mobile terminal of a kind of video thumbnails
CN107995536A (en) * 2017-11-28 2018-05-04 百度在线网络技术(北京)有限公司 A kind of method, apparatus, equipment and computer-readable storage medium for extracting video preview
CN109963168A (en) * 2017-12-25 2019-07-02 上海全土豆文化传播有限公司 Video previewing method and device

Also Published As

Publication number Publication date
WO2022063022A1 (en) 2022-03-31
CN112135181A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN112135181B (en) Video preview method and device and electronic equipment
CN112099707A (en) Display method and device and electronic equipment
CN112835485A (en) Application interface processing method and device, electronic equipment and readable storage medium
CN112433693B (en) Split screen display method and device and electronic equipment
CN112929748B (en) Video processing method, video processing device, electronic equipment and medium
CN113179205B (en) Image sharing method and device and electronic equipment
CN112911147B (en) Display control method, display control device and electronic equipment
CN111857510B (en) Parameter adjusting method and device and electronic equipment
CN113655929A (en) Interface display adaptation processing method and device and electronic equipment
CN112148168A (en) Icon moving method and device and electronic equipment
CN113703634A (en) Interface display method and device
CN112698762A (en) Icon display method and device and electronic equipment
CN112286612A (en) Information display method and device and electronic equipment
CN112148167A (en) Control setting method and device and electronic equipment
CN111796746A (en) Volume adjusting method, volume adjusting device and electronic equipment
CN114222355B (en) Terminal power-saving display method and device and electronic equipment
CN112698771B (en) Display control method, device, electronic equipment and storage medium
CN115291778A (en) Display control method and device, electronic equipment and readable storage medium
CN113238694A (en) Interface comparison method and device and mobile terminal
CN113885748A (en) Object switching method and device, electronic equipment and readable storage medium
CN113784192A (en) Screen projection method, screen projection device and electronic equipment
CN114327173A (en) Information processing method and device and electronic equipment
CN113835578A (en) Display method and device and electronic equipment
CN113923392A (en) Video recording method, video recording device and electronic equipment
CN112764622A (en) Icon moving method and device and electronic equipment

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
GR01 Patent grant
GR01 Patent grant