WO2022063022A1 - 视频预览方法、装置及电子设备 - Google Patents

视频预览方法、装置及电子设备 Download PDF

Info

Publication number
WO2022063022A1
WO2022063022A1 PCT/CN2021/118743 CN2021118743W WO2022063022A1 WO 2022063022 A1 WO2022063022 A1 WO 2022063022A1 CN 2021118743 W CN2021118743 W CN 2021118743W WO 2022063022 A1 WO2022063022 A1 WO 2022063022A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
progress bar
area
image
input
Prior art date
Application number
PCT/CN2021/118743
Other languages
English (en)
French (fr)
Inventor
唐珊珊
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022063022A1 publication Critical patent/WO2022063022A1/zh

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

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to a video preview method, device and electronic device.
  • the prior art when the user previews the unplayed video content, the user needs to operate the progress indicator on the playing progress bar to watch the video content in different time periods.
  • the prior art has at least the following problem: in the process of previewing the video by the user, the content of the video being played is interrupted.
  • Embodiments of the present invention provide a video preview method, device, and electronic device, so as to solve the problem that the video content being played is interrupted during the process of previewing the video by the user.
  • an embodiment of the present invention provides a video preview method, which includes:
  • the target picture is an image picture corresponding to the playback time indicated by the target position, and in the process of receiving the first touch input to displaying the target picture in the second area, the first The region updates the playing image of the video file with the playing time corresponding to the target playing progress as the starting time.
  • an embodiment of the present invention further provides a video preview device, including:
  • a first receiving module configured to receive a first touch input on the progress bar when the first area displays the playback image of the video file according to the target playback progress
  • a first display module configured to display the target image in the video file in the second area according to the target position of the first touch input on the progress bar in response to the first touch input;
  • the target picture is an image picture corresponding to the playback time indicated by the target position, and in the process of receiving the first touch input to displaying the target picture in the second area, the first The region updates the playing image of the video file with the playing time corresponding to the target playing progress as the starting time.
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
  • a first touch input to the progress bar is received; in response to the first touch input, according to the first touch input
  • the target position on the progress bar is touched by touch input, and the target screen in the video file is displayed in the second area; wherein, the target screen is the image screen corresponding to the playback time indicated by the target position.
  • the first area updates the playback image of the video file with the playback time corresponding to the target playback progress as the starting time. .
  • the user can preview the video image based on the progress bar.
  • the preview image will not affect the playback progress of the video file, which can improve the video preview effect. Moreover, the user's touch input on the progress bar will not interfere with the video playback progress in the first area, and the video image in the first area will not be interrupted due to the preview operation.
  • FIG. 1 is a flowchart of a video preview method provided by an embodiment of the present invention.
  • 2 to 4 are display interface diagrams of an electronic device provided by an embodiment of the present invention.
  • FIG. 5 is a structural diagram of a video preview device provided by an embodiment of the present invention.
  • FIG. 6 is a structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 1 is a flowchart of a video preview method provided by an embodiment of the present invention, as shown in FIG. 1, including the following steps:
  • Step 101 Receive a first touch input on the progress bar when the first area displays the playback image of the video file according to the target playback progress.
  • a progress bar is displayed on the playing interface of the video file, and the progress bar may be a progress bar used to reflect the playback progress of the video file, or may be a progress bar used to reflect the preview progress of the video file.
  • the user can perform touch input on the progress bar, such as click operation, pressing operation, to preview the playing image of the video file at a specific moment.
  • the progress bar when the user presses the progress bar for the first time, the progress bar is displayed as the playback progress of the video file; when the user presses the progress bar for the first time, the progress bar is switched to display the preview progress of the video image. Users can touch the progress bar to preview the video image at any moment.
  • two progress bars can also be displayed on the playback interface of the video file.
  • the playback progress bar and the preview progress bar can be displayed simultaneously.
  • the two progress bars are used to reflect the playback progress and the preview progress of the video file respectively.
  • the progress of the bars does not interfere with each other.
  • the playback progress bar is used to indicate the playback progress of the video file in the first area.
  • a progress indicator can be displayed on the playback progress bar to indicate the playback progress of the video image in the first area in real time.
  • the preview progress bar may be a progress bar used to preview the content of the video file, and the duration corresponding to the preview progress bar is equal to the playing duration of the video file.
  • the preview progress bar may also include a logo, and each position of the logo on the preview progress bar corresponds to different playback moments of the video file.
  • the playback image of the video file is displayed in the first area, and the current playback progress is the target playback progress.
  • Step 102 In response to the first touch input, display the target image in the video file in the second area according to the target position of the first touch input on the progress bar.
  • the target picture is an image picture corresponding to the playback time indicated by the target position, and in the process of receiving the first touch input to displaying the target picture in the second area, the first The region updates the playing image of the video file with the playing time corresponding to the target playing progress as the starting time.
  • the second area and the first area may occupy different areas respectively, and the second area and the first area may also include overlapping areas, and the two areas may display content independently without interfering with each other.
  • the electronic device acquires the target position of the first touch input on the progress bar, determines the image frame at the play moment according to the play time corresponding to the target position on the progress bar, and displays the image frame in the second area.
  • the user's first touch input on the progress bar and the event of displaying the target image in the second area will not affect the playback progress of the video file in the first area, nor That is to say, during the process that the user performs the first touch input on the progress bar to display the target image in the second area, the first area is still played based on the playback time corresponding to the original target playback progress.
  • examples are given below.
  • the first display window 11 displays the playback image of the video file
  • the playback interface of the video file includes a playback progress bar 13 and a preview progress bar 14 .
  • the playback progress bar 13 includes a progress indicator 131 for indicating the playback progress of the video image in the first display window 11 .
  • the preview progress bar 14 includes a first logo 141 .
  • the playback progress of the video file in the first display window 11 will not be changed, and the first display window 11 is continuously updated according to the original playback speed, and the user can
  • the preview progress bar 14 and the second display window 12 preview the playback image of the video file at any time.
  • a preview progress bar may be displayed on the side screen.
  • the screen occupation of the preview progress bar can be reduced, the utilization rate of the side screen can be improved, and the user's operation can be facilitated.
  • the area of the preview progress bar can be set in the side area of the curved screen.
  • the user can operate the progress bar to preview the playback image of the video file, and when the preview screen for displaying the video file is displayed in the second area, the content displayed in the first area will not be affected. interference. Moreover, the user's touch input on the progress bar will not interfere with the video playback progress in the first area, and the video image in the first area will not be interrupted due to the preview operation.
  • the progress bar also includes a target identifier; the method further includes:
  • the video file is played at the second speed with the target time as the starting time
  • the target time is the playback time of the video file corresponding to the time when the second input is received, and the second speed is not equal to the first speed.
  • the progress bar may include a target identifier
  • the target identifier may specifically be an identifier used to adjust the preview playback speed of the preview image.
  • the target identifier includes multiple identifiers, different identifiers may correspond to different playback speed.
  • the playback speed of the video file in the second area is the first speed
  • the user can perform a second input on the target identifier, such as a sliding operation, dragging from the target identifier to the second area operation, etc.
  • the electronic device previews the video file in the second area according to the second playback speed corresponding to the target identifier, and the second speed is not equal to the first speed, that is, the video file in the second area is previewed. Make an acceleration or deceleration preview.
  • the sign on the progress bar for displaying the preview progress can be moved on the progress bar according to the preview progress to indicate the preview progress in real time, and the video images are displayed in the first area and the second area respectively content, the adjustment of the preview speed in the second area will not interfere with the content displayed in the first area.
  • the left sign 142 is used for decelerating preview
  • the right sign 143 is used for accelerating preview.
  • the user drags the deceleration preview indicator 142 to the second display window 12 , and the video preview is performed in the second display window 12 according to the preset speed corresponding to the deceleration preview indicator 142 .
  • the video file stops playing in the second display window 12; when the user operates the area outside the second display window 12, the second display Window 12 closes.
  • the user can perform acceleration or deceleration preview of the video file according to the preset playback speed according to actual needs, which can improve the preview efficiency and the preview effect.
  • the method further includes:
  • the video file is played with the time corresponding to the target picture as the starting time.
  • the user when the user needs to jump from the screen in the first area to the screen in the second area, the user can perform a third input on the second area, for example, double-click the second area, and perform a long input in the second area. Press Action, etc. Then, the electronic device acquires the time corresponding to the target image, and plays the video in the first area with this time as the starting time.
  • the user can choose to jump the video images in the first area according to actual needs, which can improve the convenience of operation.
  • the method further includes:
  • a display parameter of the progress bar is adjusted, where the display parameter includes at least one of a length of the progress bar and a display position of the progress bar.
  • the user in order to prevent the user from accidentally touching the screen when watching the video image, the user can operate the progress bar according to the actual situation to adjust the display parameters of the progress bar, for example, adjust the length of the progress bar, display position, display color, or hide the progress bar.
  • the hidden progress bar can be completely hidden from display or displayed as a logo, and the user can operate the logo to trigger the electronic device to display the progress bar.
  • the user touches both ends of the progress bar 14 with two fingers, and performs a bidirectional sliding operation from both ends of the progress bar to the middle, and the progress bar is shortened.
  • the progress bar is shortened to a preset length
  • the progress bar can be displayed as a specific mark.
  • the user can further press and drag the progress bar to adjust the display position of the progress bar.
  • the length of the progress bar can be adjusted to an appropriate size based on the user's operation, and adjusted to a position that is not easily touched by mistake and does not interfere with the display screen, thereby reducing false touches and improving the display effect.
  • This embodiment can prevent the user from accidentally touching the progress bar, thereby improving the flexibility of the operation of the progress bar, and meeting the usage requirements of different users and different scenarios.
  • the adjusting the display parameters of the progress bar includes:
  • the method further includes:
  • the target area is disabled from responding to touch operations.
  • the length of the progress bar in order to further prevent the user from accidentally touching the screen when viewing the video image, can be shortened.
  • the length of the progress bar before shortening is equal to the sum of the length of the shortened progress bar and the shortened length, and the above target area can be understood as the area where the shortened 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 where the shortened length is located cannot respond to the touch operation, thereby preventing the user from accidentally touching the video image interface.
  • the target picture includes the first image in the video file; after the target picture in the video file is displayed in the second area, the method further includes:
  • the second image is different from the first image.
  • the first image may include one or more frames of images.
  • the second area may be displayed as multiple frames of images as shown in FIG. 4 , and the images in the middle are enlarged and displayed, which is convenient for the user to view.
  • the video image in the first area can be switched and displayed as the image operated by the user in the second area, and the corresponding moment of the image is taken as At the starting moment, the video image is played.
  • the user can perform a fifth input in the second area, for example, a sliding operation or a click operation, and the electronic device switches the images in the second area in response to the fifth input.
  • a fifth input in the second area for example, a sliding operation or a click operation
  • the second image may also include one frame of image; when the first image includes multiple frames of images, the second image may also include adjacent multiple frames of images. Operate to view other images that are located before and after the first image, the second image.
  • the number of images contained in the first image and the second image may be different, so that it is convenient for the user to view the number of images of one or more frames as required.
  • a first image is displayed in the second area, the first image includes three frames of images, the user swipes left in the second area, and according to the sliding distance, a second image is displayed in the second area, including images different from the first image three frames of images.
  • the user can also operate the second area to adjust the size of the preview window.
  • the number of images in the second area can be determined according to the size of the second area or user settings, which is not limited here.
  • the second area can also be displayed as a specific mark, for example, displayed as a line.
  • the electronic device expands and displays the second area.
  • a plurality of video screens can be switched and previewed in the second area based on the user's operation, and the preview effect can be improved.
  • the execution body may be a video preview device, or a control module in the video preview device for executing the method for loading a video preview.
  • the video preview method provided by the embodiments of the present application is described by taking the method for loading a video preview performed by a video preview device as an example.
  • FIG. 5 is a structural diagram of a video preview apparatus provided by an embodiment of the present invention. As shown in FIG. 5, the video preview apparatus 500 includes:
  • the first receiving module 501 is configured to receive a first touch input on the progress bar when the first area displays the playback image of the video file according to the target playback progress;
  • a first display module 502 configured to display the target image in the video file in the second area according to the target position of the first touch input on the progress bar in response to the first touch input;
  • the target picture is an image picture corresponding to the playback time indicated by the target position, and in the process of receiving the first touch input to displaying the target picture in the second area, the first The region updates the playing image of the video file with the playing time corresponding to the target playing progress as the starting time.
  • the progress bar also includes a target identifier; the method further includes:
  • a second receiving module configured to receive a second input of the target identifier when the playback speed of the video file is the first speed
  • a second display module configured to, in response to the second input, play the video file at the second speed in the second area, with the target time as the starting time;
  • the target time is the playback time of the video file corresponding to the time when the second input is received, and the second speed is not equal to the first speed.
  • the device further includes:
  • a third receiving module configured to receive a third input in the second area
  • the third display module is configured to, in response to the third input, play the video file in the first area with the time corresponding to the target image as the starting time.
  • the device further includes:
  • a fourth receiving module for receiving a fourth input to the progress bar
  • An adjustment 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.
  • the adjustment module is specifically used for:
  • the device also includes:
  • an acquisition module configured to acquire the target area corresponding to the progress bar after the shortened progress bar relative to the shortened progress bar
  • the disabling module is used for disabling the response of the target area to the touch operation.
  • the target picture includes the first image in the video file; the device further includes:
  • a fifth receiving module for receiving a fifth input in the second area
  • a switching module configured to switch the display of the first image to a second image in the second area in response to the fifth input
  • the second image is different from the first image.
  • the video preview apparatus 500 can implement each process implemented by the electronic device in the above method embodiments and achieve the same beneficial effects, and to avoid repetition, details are not described here.
  • the video preview device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • the non-mobile electronic device may be a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine a self-service machine
  • the video preview device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the video preview apparatus provided by the embodiments of the present application can implement each process implemented by the video preview apparatus in the method embodiments of FIG. 1 to FIG. 4 , and to avoid repetition, details are not repeated here.
  • the user can preview the video image based on the preview progress bar without affecting the original playback progress of the video image, which can improve the video preview effect.
  • an embodiment of the present application further provides an electronic device, including a processor, a memory, a program or an instruction stored in the memory and executable on the processor, and the program or instruction is executed by the processor to implement the above.
  • an electronic device including a processor, a memory, a program or an instruction stored in the memory and executable on the processor, and the program or instruction is executed by the processor to implement the above.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • 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: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610, etc. part.
  • the electronic device 600 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 6 does not constitute a limitation to the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the processor 610 is used for:
  • the target picture is an image picture corresponding to the playback time indicated by the target position, and in the process of receiving the first touch input to displaying the target picture in the second area, the first The region updates the playing image of the video file with 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. Since the playback image and the preview image of the video file are displayed in different areas, the preview image will not affect the playback progress of the video file, which can improve the video preview effect.
  • the progress bar also includes a target identifier; the processor 610 is also used for:
  • control display unit 606 plays the video file at the second speed in the second area with the target time as the starting time;
  • the target time is the playback time of the video file corresponding to the time when the second input is received, and the second speed is not equal to the first speed.
  • processor 610 is further configured to:
  • control display unit 606 plays the video file in the first area with the time corresponding to the target image as the starting time.
  • processor 610 is further configured to:
  • a display parameter of the progress bar is adjusted, where the display parameter includes at least one of a length of the progress bar and a display position of the progress bar.
  • the processor 610 performs the adjusting of the display parameters of the progress bar, including:
  • Processor 610 is also used to:
  • the target area is disabled from responding to touch operations.
  • the target picture includes the first image in the video file; the processor 610 is further configured to:
  • the second image is different from the first image.
  • the input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 606 may include a display panel 6061, which 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 .
  • the touch panel 6071 is also called a touch screen.
  • the touch panel 6071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 6072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
  • Memory 609 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface and application programs, and the like, and the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 610.
  • Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the foregoing video preview method embodiment can be achieved, and can achieve the same In order to avoid repetition, the technical effect will not be repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An 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 used to run a program or an instruction to implement the above video preview method embodiments.
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run a program or an instruction to implement the above video preview method embodiments.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Social Psychology (AREA)
  • General Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Studio Devices (AREA)

Abstract

一种视频预览方法、装置及电子设备,属于通信技术领域,以解决在预览视频时,正在播放的视频被中断的问题。其中,视频预览方法包括:在第一区域按照目标播放进度显示视频文件的播放图像的情况下,接收对进度条的第一触控输入;根据第一触控输入在进度条上的目标位置,在第二区域显示视频文件中的目标画面;其中,目标画面为目标位置所指示的播放时刻对应的图像画面,在接收第一触控输入至在第二区域显示目标画面的过程中,第一区域以目标播放进度对应的时刻更新视频文件的播放图像。

Description

视频预览方法、装置及电子设备
相关申请的交叉引用
本申请主张在2020年9月22日在中国提交的中国专利申请号No.202011001625.1的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种视频预览方法、装置及电子设备。
背景技术
随着电子设备的快速发展,多媒体功能在电子设备上的应用越来越丰富。当用户使用电子设备观看视频时,可能会需要提前预览未观看的视频内容,从而确定是否需要继续观看该视频。
现有技术中,当用户预览未播放的视频内容时,用户需要对播放进度条上的进度标识进行操作,以观看不同时段的视频内容。在上述过程中,发明人发现现有技术中至少存在如下问题:在用户预览视频的过程中,会导致正在播放的视频内容被中断。
发明内容
本发明实施例提供一种视频预览方法、装置及电子设备,以解决在用户预览视频的过程中,正在播放的视频内容被中断的问题。
为了解决上述技术问题,本发明是这样实现的:
第一方面,本发明实施例提供了一种视频预览方法,该方法包括:
在第一区域按照目标播放进度显示视频文件的播放图像的情况下,接收对进度条的第一触控输入;
响应于所述第一触控输入,根据所述第一触控输入在所述进度条上的目标位置,在第二区域显示所述视频文件中的目标画面;
其中,所述目标画面为所述目标位置所指示的播放时刻对应的图像画面,在接收所述第一触控输入至在所述第二区域显示所述目标画面的过程中,所述第一区域以所述目标播放进度对应的播放时刻为起始时刻更新所述视频文件的播放图像。
第二方面,本发明实施例还提供一种视频预览装置,包括:
第一接收模块,用于在第一区域按照目标播放进度显示视频文件的播放图像的情况下,接收对进度条的第一触控输入;
第一显示模块,用于响应于所述第一触控输入,根据所述第一触控输入在所述进度条上的目标位置,在第二区域显示所述视频文件中的目标画面;
其中,所述目标画面为所述目标位置所指示的播放时刻对应的图像画面,在接收所述第一触控输入至在所述第二区域显示所述目标画面的过程中,所述第一区域以所述目标播放进度对应的播放时刻为起始时刻更新所述视频文件的播放图像。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
本申请实施例中,在第一区域按照目标播放进度显示视频文件的播放图像的情况下,接收对进度条的第一触控输入;响应于所述第一触控输入,根据所述第一触控输入在所述进度条上的目标位置,在第二区域显示所述视频文件中的目标画面;其中,所述目标画面为所述目标位置所指示的播放时刻对应的图像画面,在接收所述第一触控输入至在所述第二区域显示所述目标 画面的过程中,所述第一区域以所述目标播放进度对应的播放时刻为起始时刻更新所述视频文件的播放图像。用户可以基于进度条对视频图像进行预览,由于视频文件的播放图像和预览图像分别在不同的区域显示,预览图像不会对视频文件的播放进度造成影响,能够提高视频预览效果。且用户对进度条的触控输入不会干扰第一区域中的视频播放进度,第一区域内的视频图像不会因为预览操作而被中断。
附图说明
图1是本发明实施例提供的视频预览方法的流程图;
图2至图4是本发明实施例提供的电子设备的显示界面图;
图5是本发明实施例提供的视频预览装置的结构图;
图6是本发明实施例提供的电子设备的结构图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的视频预览方法进行详细地说明。
参见图1,图1是本发明实施例提供的视频预览方法的流程图,如图1所示,包括以下步骤:
步骤101、在第一区域按照目标播放进度显示视频文件的播放图像的情 况下,接收对进度条的第一触控输入。
其中,视频文件的播放界面中显示有进度条,该进度条可以是用于反映视频文件的播放进度的进度条,还可以是用于反映视频文件的预览进度的进度条。用户可以在进度条上进行触控输入,如,点击操作、按压操作,以对视频文件在特定时刻的播放图像进行预览。
例如,当用户对进度条进行第一次长按时,则进度条显示为视频文件的播放进度;当用户对进度条再次进行长按时,则进度条切换显示为视频图像的预览进度,此时,用户可以在进度条上进行触控操作以预览任一时刻的视频图像。
另外,还可以在视频文件的播放界面显示两个进度条,如同时显示播放进度条和所述预览进度条,两个进度条分别用于反映视频文件的播放进度和预览进度,且两个进度条的进度互不干扰。其中,播放进度条用于指示第一区域中的视频文件的播放进度,具体可以通过在播放进度条上显示进度标识,以实时指示视频图像在第一区域中的播放进度,播放进度条可以参见现有技术。预览进度条可以是用于对视频文件的内容进行预览的进度条,预览进度条对应的时长与视频文件的播放时长相等。预览进度条上也可以包括标识,该标识在预览进度条上的每个位置对应视频文件的不同播放时刻。
在此步骤中,第一区域中显示视频文件的播放图像,且当前的播放进度为目标播放进度,如视频文件播放进度为40%,即视频文件的全部播放时长的40%已播放。
步骤102、响应于所述第一触控输入,根据所述第一触控输入在所述进度条上的目标位置,在第二区域显示所述视频文件中的目标画面。
其中,所述目标画面为所述目标位置所指示的播放时刻对应的图像画面,在接收所述第一触控输入至在所述第二区域显示所述目标画面的过程中,所述第一区域以所述目标播放进度对应的播放时刻为起始时刻更新所述视频文件的播放图像。
第二区域和第一区域可以分别占据不同的区域,第二区域和第一区域还 可以包括叠加区域,两个区域可以分别独立显示内容,互不干扰。电子设备获取第一触控输入在进度条上的目标位置,根据目位置对应在进度条上的播放时刻,确定该播放时刻的图像画面,并在第二区域中显示该图像画面。
在第一区域显示视频文件的播放图像的过程中,用户对进度条的第一触控输入以及第二区域显示目标画面的事件都不会对第一区域的视频文件的播放进度造成影响,也就是说,在用户对进度条进行第一触控输入至第二区域显示目标画面的过程中,第一区域仍然基于原来的目标播放进度对应的播放时刻播放。为了便于理解,以下进行举例说明。
如图2所示,第一显示窗口11显示视频文件的播放图像,视频文件的播放界面中包括播放进度条13和预览进度条14。其中,播放进度条13上包括用于指示第一显示窗口11中的视频图像的播放进度的进度标识131。预览进度条14上包括第一标识141。当用户对第一标识141进行操作时,视频文件的播放界面显示第二显示窗口12,第二显示窗口12中显示第一标识141在预览进度条14上的位置对应的视频画面。在用户对第一标识141进行操作的过程中,不会对第一显示窗口11中的视频文件的播放进度造成改变,第一显示窗口11中按照原有的播放速度持续更新,且用户可以基于预览进度条14和第二显示窗口12预览任意时刻的视频文件的播放图像。
在电子设备的侧边包括屏幕的情况下,可以将预览进度条显示在侧边的屏幕。这样,能够减少预览进度条对屏幕的占用,提高侧边屏幕的利用率,且能够便于用户的操作。例如,当电子设备包括向侧边延展的曲面屏时,可以将预览进度条的区域设置在曲面屏的侧边区域。
本发明实施例中,用户可以对进度条进行操作,以对视频文件的播放图像进行预览,且在第二区域中显示显示视频文件的预览画面时,不会对第一区域中显示的内容造成干扰。且用户对进度条的触控输入不会干扰第一区域中的视频播放进度,第一区域内的视频图像不会因为预览操作而被中断。
可选的,所述进度条上还包括目标标识;所述方法还包括:
在所述视频文件的播放速度为第一速度的情况下,接收对所述目标标识 的第二输入;
响应于所述第二输入,在所述第二区域中,以目标时刻为起始时刻,按照第二速度播放所述视频文件;
其中,所述目标时刻为接收到所述第二输入的时刻对应的所述视频文件的播放时刻,所述第二速度与所述第一速度不相等。
在该实施方式中,进度条上可以包括目标标识,目标标识具体可以是用于对预览图像的预览播放速度进行调节的标识,当目标标识包括多个标识时,不同的标识可以对应不同的播放速度。
在第二区域中的视频文件的播放速度为第一速度的情况下,若用户需要调节播放速度,用户可以对目标标识进行第二输入,如,滑动操作、从目标标识至第二区域的拖动操作等。电子设备响应第二输入,根据目标标识对应的第二播放速度在第二区域中对视频文件进行预览,且第二速度与第一速度不相等,也就是说,对第二区域中的视频文件进行加速或减速预览。
在第二区域进行视频预览的过程中,进度条上用于显示预览进度的标识可以根据预览进度在进度条上移动,以实时指示预览的进度,第一区域和第二区域中分别显示视频图像内容,第二区域中的预览速度的调节不会对第一区域中显示的内容造成干扰。
例如,如图2所示,在进度条14两端分别显示两个标识,左侧标识142用于减速预览,右侧标识143用于加速预览。用户将减速预览标识142拖动至第二显示窗口12,则第二显示窗口12中根据减速预览标识142对应的预设速度进行视频预览。当用户再次对第一标识141或第二显示窗口12进行操作的情况下,第二显示窗口12内停止播放视频文件;当用户对第二显示窗口12之外的区域进行操作时,第二显示窗口12关闭。
这样,用户可以根据实际需求对视频文件按照预设的播放速度进行加速或者减速预览,能够提高预览效率和预览效果。
可选的,所述根据所述第一触控输入在所述进度条上的目标位置,在第二区域显示所述视频文件中的目标画面之后,所述方法还包括:
接收在所述第二区域的第三输入;
响应于所述第三输入,在所述第一区域中,以所述目标画面对应的时刻为起始时刻,播放所述视频文件。
在该实施方式中,当用户需要将第一区域中的画面跳转至第二区域中的画面,用户可以对第二区域进行第三输入,例如,双击第二区域、在第二区域进行长按操作等。则电子设备获取目标画面对应的时刻,并以此时刻为起始时刻在第一区域播放视频。
这样,用户可以根据实际需求选择将第一区域中的视频图像进行跳转,能够提高操作便捷性。
可选的,所述方法还包括:
接收对所述进度条的第四输入;
响应于所述第四输入,调整所述进度条的显示参数,所述显示参数包括所述进度条的长度、所述进度条的显示位置中的至少一项。
在该实施方式中,为了避免用户在观看视频图像时对屏幕的误触,用户可以根据实际情况对进度条进行操作,以对进度条的显示参数进行调整,例如,调整进度条的长度、显示位置、显示颜色,或者将进度条隐藏。其中,隐藏后的进度条可以完全隐藏不显示或者显示为一个标识,用户对该标识进行操作可以触发电子设备显示进度条。
例如,如图3所示,用户使用双指触摸进度条14的两端,并从进度条两端向中间进行双向滑动操作,进度条缩短。当进度条缩短至预设长度时,可以将进度条显示为特定的标识。另外,用户可以进一步长按并拖动进度条,以调整进度条的显示位置。这样,能够基于用户的操作将进度条的长度调整至合适的大小,以及调整至不容易被误触以及不干扰显示画面的位置,能够减少误触以及提高显示效果。
本实施方式,能够防止用户对进度条的误触,从而能够提高对进度条操作的灵活性,能够迎合不同用户以及不同场景下的使用需求。
可选的,所述调整所述进度条的显示参数,包括:
将所述进度条缩短,并显示缩短后的所述进度条;
所述显示缩短后的所述进度条之后,所述方法还包括:
获取缩短前的所述进度条相对缩短后的所述进度条所对应的目标区域;
禁止所述目标区域对触摸操作的响应。
在该实施方式中,为了进一步避免用户在观看视频图像时对屏幕的误触,可以将进度条的长度缩短。其中,缩短前的进度条的长度等于缩短后的进度条的长度与缩短长度之和,上述目标区域可以理解为缩短长度所在的区域。由于缩短后的进度条,只有进度条显示的区域能够响应触摸操作,而缩短长度所在的目标区域不能响应触摸操作,从而能够防止用户对视频图像界面的误触摸。
可选的,所述目标画面包括所述视频文件中的第一图像;所述在第二区域显示所述视频文件中的目标画面之后,所述方法还包括:
接收在所述第二区域中的第五输入;
响应于所述第五输入,在所述第二区域中将所述第一图像切换显示为第二图像;
其中,所述第二图像与所述第一图像不同。
在该实施方式中,第一图像中可以包括一帧或者多帧图像。当第一图像中包括多帧图像时,第二区域可以显示为如图4中所示的多帧画面,且中间的图像放大显示,便于用户观看。当用户对第二区域中的图像进行操作,如双击或者长按操作时,可以将第一区域中的视频图像切换显示为用户在第二区域中所操作的图像,并以该图像对应时刻为起始时刻,播放视频图像。
当需要查看不同的预览图像时,用户可以在第二区域中进行第五输入,例如,滑动操作或者点击操作,电子设备响应第五输入,切换第二区域中的图像。
当第一图像包括一帧图像时,第二图像中也可以是一帧图像;当第一图像包括多帧图像时,第二图像也可以包括相邻的多帧图像,用户可以对第一图像进行操作以查看位于第一图像前后的其他图像,即第二图像。另外,第 一图像和第二图像所包含的图像数量可以不同,这样,便于用户根据需求查看一帧或者多帧图像的数量。
例如,第二区域中显示第一图像,第一图像包括三帧图像,用户在第二区域中向左滑动,根据滑动的距离,在第二区域中显示第二图像,包括与第一图像不同的三帧图像。
为了避免误触,用户还可以对第二区域进行操作,以调节预览窗口的大小,第二区域中的图像数量可以根据第二区域的大小确定或者用户设置确定,此处不作限定。
进一步地,为了减少第二区域的占用区域,还可以将第二区域显示为特定标识,如,显示为一条线,当用户对该标识进行操作时,电子设备展开显示第二区域。
本实施方式,能够基于用户的操作在第二区域中对多个视频画面进行切换预览,能够提高预览效果。
需要说明的是,本申请实施例提供的视频预览方法,执行主体可以为视频预览装置,或者该视频预览装置中的用于执行加载视频预览方法的控制模块。本申请实施例中以视频预览装置执行加载视频预览方法为例,说明本申请实施例提供的视频预览方法。
参见图5,图5是本发明实施例提供的视频预览装置的结构图,如图5所示,视频预览装置500包括:
第一接收模块501,用于在第一区域按照目标播放进度显示视频文件的播放图像的情况下,接收对进度条的第一触控输入;
第一显示模块502,用于响应于所述第一触控输入,根据所述第一触控输入在所述进度条上的目标位置,在第二区域显示所述视频文件中的目标画面;
其中,所述目标画面为所述目标位置所指示的播放时刻对应的图像画面,在接收所述第一触控输入至在所述第二区域显示所述目标画面的过程中,所述第一区域以所述目标播放进度对应的播放时刻为起始时刻更新所述视频文 件的播放图像。
可选的,所述进度条上还包括目标标识;所述方法还包括:
第二接收模块,用于在所述视频文件的播放速度为第一速度的情况下,接收对所述目标标识的第二输入;
第二显示模块,用于响应于所述第二输入,在所述第二区域中,以目标时刻为起始时刻,按照第二速度播放所述视频文件;
其中,所述目标时刻为接收到所述第二输入的时刻对应的所述视频文件的播放时刻,所述第二速度与所述第一速度不相等。
可选的,所述装置还包括:
第三接收模块,用于接收在所述第二区域的第三输入;
第三显示模块,用于响应于所述第三输入,在所述第一区域中,以所述目标画面对应的时刻为起始时刻,播放所述视频文件。
可选的,所述装置还包括:
第四接收模块,用于接收对所述进度条的第四输入;
调整模块,用于响应于所述第四输入,调整所述进度条的显示参数,所述显示参数包括所述进度条的长度、所述进度条的显示位置中的至少一项。
可选的,所述调整模块具体用于:
将所述进度条缩短,并显示缩短后的所述进度条;
所述装置还包括:
获取模块,用于获取缩短前的所述进度条相对缩短后的所述进度条所对应的目标区域;
禁止模块,用于禁止所述目标区域对触摸操作的响应。
可选的,所述目标画面包括所述视频文件中的第一图像;所述装置还包括:
第五接收模块,用于接收在所述第二区域中的第五输入;
切换模块,用于响应于所述第五输入,在所述第二区域中将所述第一图像切换显示为第二图像;
其中,所述第二图像与所述第一图像不同。
视频预览装置500能够实现上述方法实施例中电子设备实现的各个过程以及达到相同的有益效果,为避免重复,这里不再赘述。
本申请实施例中的视频预览装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的视频预览装置可以为具有操作***的装置。该操作***可以为安卓(Android)操作***,可以为ios操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。
本申请实施例提供的视频预览装置能够实现图1至图4的方法实施例中视频预览装置实现的各个过程,为避免重复,这里不再赘述。
本发明实施例,用户可以基于预览进度条对视频图像进行预览,而不会对视频图像原来的播放进度造成影响,能够提高视频预览效果。
可选的,本申请实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的程序或指令,该程序或指令被处理器执行时实现上述视频预览方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图6为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、 接口单元608、存储器609、以及处理器610等部件。
本领域技术人员可以理解,电子设备600还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理***与处理器610逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器610,用于:
控制用户输入单元607在第一区域按照目标播放进度显示视频文件的播放图像的情况下,接收对进度条的第一触控输入;
控制显示单元606响应于所述第一触控输入,根据所述第一触控输入在所述进度条上的目标位置,在第二区域显示所述视频文件中的目标画面;
其中,所述目标画面为所述目标位置所指示的播放时刻对应的图像画面,在接收所述第一触控输入至在所述第二区域显示所述目标画面的过程中,所述第一区域以所述目标播放进度对应的播放时刻为起始时刻更新所述视频文件的播放图像。
这样,用户可以基于进度条对视频图像进行预览,由于视频文件的播放图像和预览图像分别在不同的区域显示,预览图像不会对视频文件的播放进度造成影响,能够提高视频预览效果。
可选的,所述进度条上还包括目标标识;处理器610还用于:
控制用户输入单元607在所述视频文件的播放速度为第一速度的情况下,接收对所述目标标识的第二输入;
控制显示单元606响应于所述第二输入,在所述第二区域中,以目标时刻为起始时刻,按照第二速度播放所述视频文件;
其中,所述目标时刻为接收到所述第二输入的时刻对应的所述视频文件的播放时刻,所述第二速度与所述第一速度不相等。
可选的,处理器610还用于:
控制用户输入单元607接收在所述第二区域的第三输入;
控制显示单元606响应于所述第三输入,在所述第一区域中,以所述目标画面对应的时刻为起始时刻,播放所述视频文件。
可选的,处理器610还用于:
控制用户输入单元607接收对所述进度条的第四输入;
响应于所述第四输入,调整所述进度条的显示参数,所述显示参数包括所述进度条的长度、所述进度条的显示位置中的至少一项。
可选的,处理器610执行所述调整所述进度条的显示参数,包括:
将所述进度条缩短,并显示缩短后的所述进度条;
处理器610还用于:
获取缩短前的所述进度条相对缩短后的所述进度条所对应的目标区域;
禁止所述目标区域对触摸操作的响应。
可选的,所述目标画面包括所述视频文件中的第一图像;处理器610还用于:
控制用户输入单元607接收在所述第二区域中的第五输入;
控制显示单元606响应于所述第五输入,在所述第二区域中将所述第一图像切换显示为第二图像;
其中,所述第二图像与所述第一图像不同。
应理解的是,本申请实施例中,输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元606可包括显示面板6061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板6061。用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器609可用于存储软件程序以及各种数据,包括但不限于应用程序和操作***。处理器610可集 成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述视频预览方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述视频预览方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为***级芯片、***芯片、芯片***或片上***芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述 实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (14)

  1. 一种视频预览方法,包括:
    在第一区域按照目标播放进度显示视频文件的播放图像的情况下,接收对进度条的第一触控输入;
    响应于所述第一触控输入,根据所述第一触控输入在所述进度条上的目标位置,在第二区域显示所述视频文件中的目标画面;
    其中,所述目标画面为所述目标位置所指示的播放时刻对应的图像画面,在接收所述第一触控输入至在所述第二区域显示所述目标画面的过程中,所述第一区域以所述目标播放进度对应的播放时刻为起始时刻更新所述视频文件的播放图像。
  2. 根据权利要求1所述的方法,其中,所述进度条上还包括目标标识;所述方法还包括:
    在所述视频文件的播放速度为第一速度的情况下,接收对所述目标标识的第二输入;
    响应于所述第二输入,在所述第二区域中,以目标时刻为起始时刻,按照第二速度播放所述视频文件;
    其中,所述目标时刻为接收到所述第二输入的时刻对应的所述视频文件的播放时刻,所述第二速度与所述第一速度不相等。
  3. 根据权利要求1所述的方法,其中,所述根据所述第一触控输入在所述进度条上的目标位置,在第二区域显示所述视频文件中的目标画面之后,所述方法还包括:
    接收在所述第二区域的第三输入;
    响应于所述第三输入,在所述第一区域中,以所述目标画面对应的时刻为起始时刻,播放所述视频文件。
  4. 根据权利要求1所述的方法,还包括:
    接收对所述进度条的第四输入;
    响应于所述第四输入,调整所述进度条的显示参数,所述显示参数包括所述进度条的长度、所述进度条的显示位置中的至少一项。
  5. 根据权利要求4所述的方法,其中,所述调整所述进度条的显示参数,包括:
    将所述进度条缩短,并显示缩短后的所述进度条;
    所述显示缩短后的所述进度条之后,所述方法还包括:
    获取缩短前的所述进度条相对缩短后的所述进度条所对应的目标区域;
    禁止所述目标区域对触摸操作的响应。
  6. 根据权利要求1所述的方法,其中,所述目标画面包括所述视频文件中的第一图像;所述在第二区域显示所述视频文件中的目标画面之后,所述方法还包括:
    接收在所述第二区域中的第五输入;
    响应于所述第五输入,在所述第二区域中将所述第一图像切换显示为第二图像;
    其中,所述第二图像与所述第一图像不同。
  7. 一种视频预览装置,包括:
    第一接收模块,用于在第一区域按照目标播放进度显示视频文件的播放图像的情况下,接收对进度条的第一触控输入;
    第一显示模块,用于响应于所述第一触控输入,根据所述第一触控输入在所述进度条上的目标位置,在第二区域显示所述视频文件中的目标画面;
    其中,所述目标画面为所述目标位置所指示的播放时刻对应的图像画面,在接收所述第一触控输入至在所述第二区域显示所述目标画面的过程中,所述第一区域以所述目标播放进度对应的播放时刻为起始时刻更新所述视频文件的播放图像。
  8. 根据权利要求7所述的装置,其中,所述进度条上还包括目标标识;所述方法还包括:
    第二接收模块,用于在所述视频文件的播放速度为第一速度的情况下, 接收对所述目标标识的第二输入;
    第二显示模块,用于响应于所述第二输入,在所述第二区域中,以目标时刻为起始时刻,按照第二速度播放所述视频文件;
    其中,所述目标时刻为接收到所述第二输入的时刻对应的所述视频文件的播放时刻,所述第二速度与所述第一速度不相等。
  9. 根据权利要求7所述的装置,还包括:
    第三接收模块,用于接收在所述第二区域的第三输入;
    第三显示模块,用于响应于所述第三输入,在所述第一区域中,以所述目标画面对应的时刻为起始时刻,播放所述视频文件。
  10. 根据权利要求7所述的装置,还包括:
    第四接收模块,用于接收对所述进度条的第四输入;
    调整模块,用于响应于所述第四输入,调整所述进度条的显示参数,所述显示参数包括所述进度条的长度、所述进度条的显示位置中的至少一项。
  11. 根据权利要求10所述的装置,其中,所述调整模块具体用于:
    将所述进度条缩短,并显示缩短后的所述进度条;
    所述装置还包括:
    获取模块,用于获取缩短前的所述进度条相对缩短后的所述进度条所对应的目标区域;
    禁止模块,用于禁止所述目标区域对触摸操作的响应。
  12. 根据权利要求7所述的装置,其中,所述目标画面包括所述视频文件中的第一图像;所述装置还包括:
    第五接收模块,用于接收在所述第二区域中的第五输入;
    切换模块,用于响应于所述第五输入,在所述第二区域中将所述第一图像切换显示为第二图像;
    其中,所述第二图像与所述第一图像不同。
  13. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现 如权利要求1至6任一项所述的视频预览方法的步骤。
  14. 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至6任一项所述的视频预览方法的步骤。
PCT/CN2021/118743 2020-09-22 2021-09-16 视频预览方法、装置及电子设备 WO2022063022A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011001625.1A CN112135181B (zh) 2020-09-22 2020-09-22 视频预览方法、装置及电子设备
CN202011001625.1 2020-09-22

Publications (1)

Publication Number Publication Date
WO2022063022A1 true WO2022063022A1 (zh) 2022-03-31

Family

ID=73842149

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/118743 WO2022063022A1 (zh) 2020-09-22 2021-09-16 视频预览方法、装置及电子设备

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915850A (zh) * 2022-04-22 2022-08-16 网易(杭州)网络有限公司 一种视频播放控制方法、装置、电子设备及存储介质

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112135181B (zh) * 2020-09-22 2022-06-03 维沃移动通信有限公司 视频预览方法、装置及电子设备
CN113259743A (zh) * 2020-12-28 2021-08-13 维沃移动通信有限公司 视频播放方法、装置及电子设备
CN115499702B (zh) * 2021-06-18 2024-05-14 阿里巴巴创新公司 预览图像的展示方法、装置、电子设备和存储介质
CN115878844A (zh) * 2021-09-27 2023-03-31 北京有竹居网络技术有限公司 基于视频的信息展示方法及装置、电子设备和存储介质
CN114489455A (zh) * 2021-12-31 2022-05-13 上海洛轲智能科技有限公司 图像展示的进度调整方法、装置以及电子设备
CN116546284A (zh) * 2022-03-31 2023-08-04 荣耀终端有限公司 视频进度调整方法及电子设备
CN114827755A (zh) * 2022-04-15 2022-07-29 咪咕文化科技有限公司 视频播放方法、***、设备及存储介质
CN117714766A (zh) * 2022-09-09 2024-03-15 抖音视界有限公司 视频内容预览交互方法、装置、电子设备及存储介质
CN117641057A (zh) * 2023-12-06 2024-03-01 北京达佳互联信息技术有限公司 视频播放方法、装置、终端及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092467A (zh) * 2013-01-29 2013-05-08 华为终端有限公司 一种视频预览的方法及装置
CN103325396A (zh) * 2012-03-23 2013-09-25 深圳市快播科技有限公司 一种用于播放器的播放预览方法和***
CN103546813A (zh) * 2013-08-16 2014-01-29 Tcl集团股份有限公司 基于Android平台的视频预览方法及智能电视
CN106454447A (zh) * 2016-10-11 2017-02-22 青岛海信电器股份有限公司 视频播放处理方法、装置及电视
US20170242571A1 (en) * 2016-02-24 2017-08-24 International Business Machines Corporation Shortening multimedia content
CN110677720A (zh) * 2019-09-26 2020-01-10 腾讯科技(深圳)有限公司 视频图像帧的定位方法、装置和设备及计算机存储介质
CN112135181A (zh) * 2020-09-22 2020-12-25 维沃移动通信有限公司 视频预览方法、装置及电子设备

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106028068A (zh) * 2016-06-30 2016-10-12 乐视控股(北京)有限公司 视频进度内容预览方法、装置及移动终端
CN106231343A (zh) * 2016-10-11 2016-12-14 青岛海信电器股份有限公司 视频播放处理方法、装置及电视
CN106792272A (zh) * 2016-11-28 2017-05-31 维沃移动通信有限公司 一种视频缩略图的生成方法及移动终端
CN107995536B (zh) * 2017-11-28 2020-01-21 百度在线网络技术(北京)有限公司 一种提取视频预览的方法、装置、设备和计算机存储介质
CN109963168A (zh) * 2017-12-25 2019-07-02 上海全土豆文化传播有限公司 视频预览方法及装置
CN110740290B (zh) * 2018-07-20 2021-08-31 浙江宇视科技有限公司 监控录像预览方法及装置
US10848832B2 (en) * 2018-09-11 2020-11-24 Opentv, Inc. Selection interface with synchronized suggestion elements
CN110971956A (zh) * 2018-09-30 2020-04-07 广州优视网络科技有限公司 视频帧预览方法和装置
US11379546B2 (en) * 2019-02-13 2022-07-05 The Toronto-Dominion Bank System and method for controlling visibility of elements of displayed electronic content
CN111897480B (zh) * 2020-06-05 2022-03-04 维沃移动通信有限公司 播放进度调节方法、装置及电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103325396A (zh) * 2012-03-23 2013-09-25 深圳市快播科技有限公司 一种用于播放器的播放预览方法和***
CN103092467A (zh) * 2013-01-29 2013-05-08 华为终端有限公司 一种视频预览的方法及装置
CN103546813A (zh) * 2013-08-16 2014-01-29 Tcl集团股份有限公司 基于Android平台的视频预览方法及智能电视
US20170242571A1 (en) * 2016-02-24 2017-08-24 International Business Machines Corporation Shortening multimedia content
CN106454447A (zh) * 2016-10-11 2017-02-22 青岛海信电器股份有限公司 视频播放处理方法、装置及电视
CN110677720A (zh) * 2019-09-26 2020-01-10 腾讯科技(深圳)有限公司 视频图像帧的定位方法、装置和设备及计算机存储介质
CN112135181A (zh) * 2020-09-22 2020-12-25 维沃移动通信有限公司 视频预览方法、装置及电子设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915850A (zh) * 2022-04-22 2022-08-16 网易(杭州)网络有限公司 一种视频播放控制方法、装置、电子设备及存储介质
CN114915850B (zh) * 2022-04-22 2023-09-12 网易(杭州)网络有限公司 一种视频播放控制方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN112135181B (zh) 2022-06-03
CN112135181A (zh) 2020-12-25

Similar Documents

Publication Publication Date Title
WO2022063022A1 (zh) 视频预览方法、装置及电子设备
WO2022068773A1 (zh) 桌面元素调整方法、装置和电子设备
WO2022012657A1 (zh) 图像编辑方法、装置和电子设备
WO2022048633A1 (zh) 显示方法、装置和电子设备
JP2023529868A (ja) 共有方法、装置及び電子機器
WO2022057881A1 (zh) 操作方法及装置
WO2022161432A1 (zh) 显示控制方法、装置、电子设备及介质
WO2022166820A1 (zh) 应用界面处理方法、装置、电子设备及可读存储介质
WO2023005920A1 (zh) 分屏方法、装置及电子设备
WO2023078286A1 (zh) 一种视频显示方法、装置、电子设备和可读存储介质
WO2022135409A1 (zh) 显示处理方法、显示处理装置和可穿戴设备
WO2022194003A1 (zh) 截屏方法、装置、电子设备以及可读存储介质
WO2020181956A1 (zh) 应用标识的显示方法及终端设备
WO2022228378A1 (zh) 可穿戴式设备的交互方法、装置、电子设备及可读存储介质
WO2022135290A1 (zh) 截屏方法、装置及电子设备
WO2023030115A1 (zh) 界面显示方法和装置
CN112269505B (zh) 音视频控制方法、装置及电子设备
WO2022199454A1 (zh) 显示方法和电子设备
WO2023025060A1 (zh) 界面显示的适配处理方法、装置和电子设备
WO2023046101A1 (zh) 图标显示方法、装置及电子设备
WO2023025121A1 (zh) 显示方法、装置、电子设备及可读存储介质
WO2023030114A1 (zh) 界面显示方法和装置
WO2022253182A1 (zh) 通信方法、装置、电子设备以及可读存储介质
WO2022253181A1 (zh) 图标整理方法、装置和电子设备
WO2022143660A1 (zh) 图标显示方法、装置及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21871393

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21871393

Country of ref document: EP

Kind code of ref document: A1