WO2022028561A1 - 一种视频投屏方法、装置、电子设备和存储介质 - Google Patents

一种视频投屏方法、装置、电子设备和存储介质 Download PDF

Info

Publication number
WO2022028561A1
WO2022028561A1 PCT/CN2021/111098 CN2021111098W WO2022028561A1 WO 2022028561 A1 WO2022028561 A1 WO 2022028561A1 CN 2021111098 W CN2021111098 W CN 2021111098W WO 2022028561 A1 WO2022028561 A1 WO 2022028561A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
screen
screen projection
instruction
projection
Prior art date
Application number
PCT/CN2021/111098
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 北京字节跳动网络技术有限公司
Priority to US18/019,425 priority Critical patent/US20230291971A1/en
Publication of WO2022028561A1 publication Critical patent/WO2022028561A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • 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/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/16Details of telephonic subscriber devices including more than one display unit

Definitions

  • the present disclosure relates to the technical field of video processing, and in particular, to a video projection method, device, electronic device and storage medium.
  • the terminal device can also project the video played by the terminal device to another device for playback. For example, a terminal device projects a video to a TV for playback.
  • the embodiments of the present disclosure provide a video screen projection method, apparatus, electronic device and storage medium, which improve the screen projection efficiency and thus improve the user experience.
  • An embodiment of the present disclosure provides a video projection method, which is applied to a first device, including:
  • the first device projects the first video to the second device according to the screen projection start instruction
  • the first device acquires the playback progress of the first video on the second device
  • the first device determines, according to the playback progress of the first video on the second device, that the projection of the first video is completed, and then projects the second video to the second device.
  • Embodiments of the present disclosure also provide a video screen projection device, including:
  • the receiving module is used to receive the screen projection opening command
  • a response module used for projecting the first video to the second device according to the projecting start instruction
  • an acquisition module for acquiring the playback progress of the first video on the second device
  • the screen projection module is configured to, according to the playback progress of the first video on the second device, project the second video to the second device when it is determined that the projection of the first video is completed.
  • Embodiments of the present disclosure also provide an electronic device, the electronic device comprising:
  • processors one or more processors
  • a storage device for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned video projection method.
  • Embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the above-mentioned video projection method.
  • the first device projects the currently playing first video to the screen according to the user's screen projection start instruction.
  • the second device and after the first video is projected to the second device, the first device determines, according to the playback progress of the first video on the second device, that when the projection of the first video is completed, the first device can automatically transfer the second video to the screen. Project the screen to the second device, so that when the previous video projection is completed, the next video is automatically continued to be projected, and the user does not need to perform a screen projection operation when the previous video projection is completed. That is to say, the first device can continuously project multiple videos to the second device, and users do not need to perform frequent screen projection operations in the middle. By automatically projecting the next video when the previous video is completed, improving the Screen projection efficiency, thereby improving user experience.
  • FIG. 1 is a flowchart of a video screen projection method in an embodiment of the disclosure
  • FIG. 2 is a schematic diagram of an application scenario in an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a user interface in an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of another application scenario in an embodiment of the present disclosure.
  • FIG. 5 is a flowchart of a video screen projection method in an embodiment of the present disclosure
  • FIG. 6 is a flowchart of another video projection method in an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of another user interface in an embodiment of the disclosure.
  • FIG. 8 is a flowchart of another video projection method in an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of another user interface in an embodiment of the disclosure.
  • FIG. 10 is a flowchart of another video projection method in an embodiment of the disclosure.
  • FIG. 11 is a flowchart of another video projection method in an embodiment of the disclosure.
  • FIG. 12 is a schematic structural diagram of a video screen projection device according to an embodiment of the disclosure.
  • FIG. 13 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
  • the term “including” and variations thereof are open-ended inclusions, ie, "including but not limited to”.
  • the term “based on” is “based at least in part on.”
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
  • FIG. 1 is a flowchart of a video screen projection method in an embodiment of the present disclosure. This embodiment can be applied to the case of performing video screen projection in a client.
  • the method can be executed by a video screen projection device, and the device can use software and/or hardware implementation, when the device is implemented in software, the device can be configured in electronic equipment, such as a mobile terminal, specifically including a mobile phone, computer or tablet computer, etc.; when the device is implemented in hardware , the device may be the above-mentioned electronic device.
  • the following description is made by taking the device as the first device as an example.
  • the method can be applied to the first device, and the method includes the following steps:
  • the first device 21 may be configured with a video screen projection device. Specifically, the first device 21 can project the video played on the first device 21 to the second device 22 for playing through the video screen projection device.
  • the first device 21 may specifically be a mobile phone, and the second device 22 may specifically be a TV.
  • the first device 21 is not limited to being a mobile phone.
  • the first device can also be a terminal device other than a mobile phone.
  • the second device 22 is not limited to being a TV. Can be other devices with video playback capabilities.
  • the first device 21 may be referred to as a screen-casting device.
  • the second device 22 may be referred to as a screen projected device, for example, a mobile phone may be referred to as a screen projected device, and a television may be referred to as a screen projected device.
  • a user interface of the first device 21 is shown, and the user interface may be a user interface provided by a video application program installed in the first device 21 .
  • the video application program may be an application program for playing videos. It can be understood that, this is only a schematic illustration, and does not limit the content displayed on the user interface or the layout of the displayed content in the user interface.
  • thumbnails of multiple videos may be displayed on the user interface. For example, 30 represents any one of multiple thumbnails.
  • the player in the video application of the first device 21 may be recorded as the first player.
  • the first device 21 can play the video corresponding to the thumbnail 30 in the first player 31 in the user interface.
  • the first player 31 may be a video player.
  • the video currently played by the first player 31 may be recorded as the first video.
  • the user's operation on the thumbnail 30 is not limited to operations such as clicking, long pressing, and double-clicking, and may also be other operations.
  • the user's operation on the user interface may also trigger a screen-casting start instruction, so that the first device 21 can receive the screen-cast start instruction triggered by the user.
  • the user interface of the first device 21 also displays a screen casting button 32 .
  • the surrounding of the screen casting button 32 may prompt "Try to cast the screen to the TV to watch it". If the user wishes to project the first video to the TV, he or she may operate the projection button 32 to trigger the projection start instruction.
  • the position of the screen projection button 32 in the user interface is not limited here.
  • the screen casting button 32 may be displayed in the upper right corner of the first player 31, and the screen casting button 32 may also be displayed in other positions of the user interface.
  • the position of the screen projection button 32 in the user interface may be fixed or non-fixed. When the position of the screen projection button 32 in the user interface is not fixed, the user can drag the screen projection button 32 to a certain position on the user interface.
  • the user can enable the screen-casting function of the first device 21 or the video application program by operating the screen-casting button 32 .
  • the screencasting button 32 the user can trigger a screencasting start instruction, and when the first device 21 receives the screencasting start instruction, the first device 21 can start the first screen according to the screencasting start instruction
  • the screen projection function of the device 21 the user's operations on the screen projection button 32 are not limited to operations such as clicking, long pressing, and double-clicking, but may also be other operations.
  • the target device may be the second device, and unless otherwise specified, the target device and the second device both refer to the screen-casting device.
  • the first device 21 may display a screencasting guide page. Since the first device needs to consume a certain amount of data to project the video, the screen projection guide page may prompt the user to connect the first device 21 to a surrounding wireless fidelity (Wireless-Fidelity, Wi-Fi) hotspot.
  • the screen projection guide page can display the names of Wi-Fi hotspots around the first device 21, and the first device 21 can connect to the Wi-Fi hotspot according to the user's click operation on the name of a Wi-Fi hotspot.
  • the first device 21 may search for screen-castable devices around, such as screen-castable TVs.
  • the screen-casting guide page may prompt "Searching for a screen-casting device".
  • the screen-casting guide page may prompt "Please check the network connection”.
  • the screencasting guide page may prompt "Please keep the mobile phone and the TV under the coverage of the same Wi-Fi hotspot”.
  • connection method between the first device 21 and the screen-casting device is not limited to Wi-Fi, and may also be other wireless connection methods, such as Bluetooth. In other embodiments, the connection manner may also be a wired connection manner.
  • the screen-casting device After the first device 21 establishes a connection with the screen-casting device, the screen-casting device may be called a screen-casting device, that is, the second device 22 described above.
  • the screen-casting guide page may display the identification of the screen-casting device.
  • the present embodiment does not limit the arrangement order of the identifiers of the multiple screen-casting devices in the screen-casting guide page.
  • the identifier of the screen-projectable device arranged in the first place may be the identifier of the screen-projectable device connected to the first device 21 most recently.
  • the first device 21 can automatically reconnect with the screen-casting device that was connected last time.
  • the first device 21 may establish a connection with the screen-castable device selected by the user according to a user's selection operation on the identification of a screen-castable device among the identifications of the plurality of screen-castable devices.
  • the first device 21 may send a first screen projection command to the second device, where the first screen projection command includes video information of the first video, and the first screen projection command is used to control the second device 22 according to the first video. video information, play the first video.
  • the first device 21 may send a first screen projection instruction to the second device 22, where the first screen projection instruction includes video information of the first video.
  • the video information of the first video includes at least one of the following: video data of the first video and a video address of the first video.
  • the second device 22 may directly play the first video according to the video information of the first video. For example, the second device 22 may screen and display the first video.
  • the first screen projection instruction is used to control the second player in the second device 22 to be turned on.
  • the second device 22 can start the player in the second device 22 according to the first screen projection instruction, and the player in the second device 22 can be recorded as the first screen projection instruction.
  • the second device 22 can control the second player in the second device 22 to play the first video according to the video information of the first video.
  • the second player may record or cache video information of the video played by the second device 22 . For example, the video data of the first video or the video address of the first video.
  • the user can search for the video information of the first video in the second player, so that the second player can directly play the first video, so that the user does not need to use the first device again 21 performs a screen projection operation on the video played by the second device 22 again, which further improves the screen projection efficiency.
  • the first device 21 may also send the screen projection instruction to the second device 22 at least once.
  • the first device 21 may also send the second screen projection instruction, the third screen projection instruction, and the like to the second device 22 .
  • the second screen projection instruction is used to control the second player in the second device to be turned on.
  • the third screen projection instruction can also be used to control the second player in the second device 22 to be turned on.
  • the second screen projection command can not only be used to control the second device 22 to project other videos different from the first video, but also control the second player of the second device 22 to be turned on, thereby The second device 22 is made to control the second player to play the second video and so on.
  • the first device 21 projects the currently playing first video in the first player 31 to the second device 22 for playback, and there are several implementations as follows:
  • the first device 21 sends the video data of the first video currently being played in the first player 31 to the second device 22 through a wireless transmission channel between the first device 21 and the second device 22 , the video data can be each frame of image data and each frame of audio data in the video.
  • the second device 22 plays the first video after receiving the video data of the first video.
  • the first device 21 and the second device 22 can play the first video synchronously, that is, the playback progress of the first video on the first device 21 and the playback progress of the first video on the second device 22 Playback progress is synchronized.
  • the first device 21 may obtain the video address of the first video currently playing in the first player 31 from the server 23 corresponding to the video application, and the video address may be Uniform Resource Location. Character (Uniform Resource Locator, URL).
  • the first device 21 sends the video address of the first video to the second device 22 .
  • the second device 22 plays the first video.
  • the first video is stored in the server 24, and the second device 22 can obtain video data of the first video from the server 24 according to the video address of the first video.
  • the server 23 and the server 24 may be the same server or different servers.
  • the first device 21 can pause to play the first video, thereby reducing the power consumption of the first video; In the second case, the first device 21 may not pause to play the first video.
  • the video information of the first video may further include screen projection parameters of the first video.
  • the screen projection parameters include at least one of the following: playback progress, resolution, and playback volume.
  • the video information of the first video sent by the first device 21 to the second device 22 includes the playback progress of the first video in the first device 21 .
  • the first device 21 can send the playback progress of the first video to 30% to the second device 22, so that the second device 22 can Device 22 may continue to play the first video from playing to 30% of the play progress.
  • the second device 22 may also play the first video according to screen projection parameters such as the resolution and playback volume of the first video.
  • the playing progress of the first video on the target device may be the playing progress of the first video on the second device.
  • the first device 21 after the first device 21 projects the currently playing first video in the first player 31 to the second device 22 for playback, the first device 21 can monitor the playback progress of the first video in real time, and the first video A device 21 may also monitor the playback progress of the first video in non-real time.
  • the first device 21 when the first device 21 sends the video data of the first video to the second device 22, the first device 21 and the second device 22 play the first video synchronously, and the first device 21 and the second device 22 play the first video synchronously.
  • the playback progress is synchronized with the playback progress of the first video on the second device, and the first device 21 can monitor the playback progress of the first video on the first device 21 in real time.
  • the first device 21 sends the video address of the first video to the second device 22, and the second device 22 can obtain the video address of the first video from the server 24 according to the video address of the first video Corresponding video data, and play. Since the first device 21 and the second device 22 may obtain different information such as the source of the video data of the first video, the playback progress of the first video on the first device 21 does not affect the playback progress of the first video on the second device 22 . Therefore, after the second device 22 plays the first video, the first device 21 may pause to play the first video. At this time, the first device 21 can monitor the playback progress of the first video on the second device 22 in real time.
  • the second device 22 may send the playback progress of the first video on the second device 22 to the first device 21 in real time, or the second device 22 may send the first video on the second device 22 when it is about to finish playing the first video.
  • the playback progress of the video is sent to the first device 21 so that the first device 21 sends the second screen projection instruction to the second device 22 to project the second video to the second device 22 .
  • the first device 21 when the first device 21 determines, according to the playback progress of the first video on the second device, that the projection of the first video on the second device 22 is completed, the first device 21 can automatically project the second video to the screen. On the second device 22, the screen projection video played on the second device 22 can also be made continuous without further manual projection operation by the user.
  • the first device 21 determines, according to the playback progress of the first video on the second device, that when the projection of the first video is completed, sends a second projection instruction to the second device 22, the second projection instruction.
  • the video information of the second video is included, and the second screen projection instruction is used to control the second device 22 to play the second video according to the video information of the second video.
  • the first device 21 determines that the projection of the first video on the second device 22 is completed, the first device 21 sends a second projection instruction to the second device 22, where the second projection instruction includes the Video information, the video information of the second video includes video data or video address of the second video.
  • the second device 22 can play the second video synchronously with the first device 21 according to the video data of the second video; the second device 22 can also obtain the second video from the server 24 according to the video address of the second video the video data, play the second video.
  • the second device 22 may directly play the second video according to the video information of the second video.
  • the second device 22 may screen and display the second video.
  • the second screen projection instruction is used to control the second player in the second device to be turned on.
  • the second device 22 can start the player in the second device 22 according to the second screen projection instruction, and the player in the second device 22 can be recorded as the first Second player.
  • the second device 22 may control the second player in the second device 22 to play the second video according to the video information of the second video.
  • the second player may record or cache the video information of the video played by the second device 22. For example, the video data of the second video or the video address of the second video.
  • the user can search for the video information of the second video in the second player, so that the second player can directly play the second video, so that the user does not need to use the first device again 21 performs a screen projection operation on the video played by the second device 22 again, which further improves the screen projection efficiency.
  • the first device 21 may obtain video information of the second video, and determine, according to the playback progress of the first video on the second device, when the screen projection of the first video is completed, according to the video of the second video. information, and send the second screen projection instruction to the second device 22 .
  • the first device 21 may acquire video information of the second video in advance.
  • the first device 21 determines that the projection of the first video on the second device 22 is completed, it sends a second projection instruction to the second device 22 according to the pre-acquired video information of the second video.
  • the first device 21 obtains the video information of the second video, which may include the following implementations:
  • the first device 21 obtains video information of the second video from a video information list, and the video information list includes video information of one or more videos.
  • the videos in the video information list may be The video that needs to be played after the first video, such as the second video.
  • the video information list may be pre-stored in the first device 21 or the video application program.
  • the video information of the second video may be video information of any video in the video information list.
  • the video information of the second video is the first video information in the video information list
  • the video information of the video in the video information list may be stored in the first device 21 or the first device 21 before the first device 21 plays the first video.
  • the video information of the video in the video information list may also be stored when the first device 21 plays the first video or after playing the first video.
  • the first video may also be a video in the video information list.
  • the first device 21 obtains video information of the second video from the server.
  • the first device 21 may send an acquisition request to the server 23 to acquire video information of one or more videos.
  • the video information of the second video may be any one of the video information of the one or more videos, or may be the video information of the video at the preset position in the playlist.
  • the preset position may be the one ranked in the playlist. The position after the first video.
  • the first device 21 may acquire video information of the second video when the playback progress of the first video is greater than or equal to a preset progress.
  • the first device 21 may acquire video information of the second video before the first video is played.
  • the first device 21 may acquire the video information of the second video when the playing progress of the first video reaches 70%-90%.
  • the first device 21 may also acquire video information of the second video when the first video is played.
  • the first device 21 may acquire video information of the second video when the playback progress of the first video reaches 100%.
  • the first device 21 determines a method for completing the screen projection of the first video on the second device 22 according to the playback progress of the first video on the second device 22, which may include the following implementations:
  • the completion of the first video projection may specifically be that the first video is played on the second device 22 is completed, for example, the playback progress of the first video on the second device 22 reaches 100%.
  • the completion of screen projection of the first video may also mean that the playback of the first video on the first device 21 is completed.
  • the screencast video (for example, the first video) played on the second device 22 includes a title part, a plot part and an end part played in sequence, and the preset progress may be that the screencast video is played and the plot part is completed.
  • the playback progress of the first video on the second device reaches a preset progress, which may be the completion of the playback progress of the first video after the plot part (main content) of the first video is played on the second device 22 .
  • the first video is an episode of a TV series that includes an introductory part, a plot part, and an ending part.
  • the information on the proportion of each part in each episode of the TV series in the title part, the plot part and the ending part may specifically be the ratio of the duration of each part in each episode of the TV series to the total duration of each episode of the TV series.
  • the total length of this episode of the TV series is, for example, 40 minutes, with the opening part accounting for 2 minutes, the plot part accounting for 36 minutes, and the ending part accounting for 2 minutes.
  • the completion of the screen projection of this episode of the TV series may specifically be that the plot part of the TV series of this episode is played on the second device 22 and is completed. That is, if you take 40 minutes as 100% progress, then when the intro is finished, the episode is 5% progress. The episode was at 95% when the plot portion was finished. When the end credits are finished, the progress of the episode is 100%. As such, the preset progress can be 95% or 100%.
  • the TV series corresponding to the first video can be sourced from the server 23, and the server 23 can count the proportions of each part of each episode of the TV series in the opening, plot, and ending parts of the TV series.
  • the server 23 may send to the first device 21 the proportion information, time stamp information, etc. of each part of the title part, plot part and ending part of each episode of the TV series occupied in each episode of the TV series.
  • the first device 21 determines that the playback progress of the first video reaches 95% of the preset progress, and the first device 21 determines that the title part and the plot part of the first video are in the first video
  • the first device 21 can determine that the main content of the first video, that is, the plot part, has been played on the second device 22, and at this time, it can be determined that the projection of the first video is completed. Then, the first device 21 can project the second video to the second device 22 for playing according to the video information of the second video. This makes it possible to automatically skip the end credits when the video is projected.
  • the first device 21 projects the currently playing first video to the second device according to the user's projection start instruction, and after the first video is projected to the second device, Monitor the playback progress of the first video.
  • the first device can automatically project the second video to the second device, so that the projection of the previous video is completed. After that, you can continue to project the next video, and the user does not need to perform the projection operation after the previous video projection is completed. That is to say, multiple videos can be continuously projected and played on the second device, and users do not need to perform frequent screen projection operations in the middle.
  • the second device can Automatic and continuous screen projection improves the screen projection efficiency, thereby improving the user experience.
  • FIG. 5 is a schematic diagram of the video screen projection method provided in this embodiment. The method includes the following steps:
  • the video enters a screen projection state.
  • the screen-casting function is enabled, and the first device 21 or the video application program installed on the first device 21 enters the screen-casting state.
  • the first device 21 when the video of the first device 21 is projected to the second device 22 for playback, the first device 21 enters the screen projection state.
  • the screen projection state may be saved in the first device 21 .
  • the first device 21 or the video application program can memorize the screen projection state, and the screen projection state can be the first device 21 or the video application program The screen is currently being cast.
  • the life cycle of the survival of the video application can specifically be the running period of the video application, and the running period can be included in the running period of the front end, and can also be included in the running period of the background.
  • S502 Determine whether the video information list is empty, if so, execute S503; otherwise, execute S504.
  • a video information list may be pre-stored in the first device 21 or a video application, and the video information list may include video information of one or more videos.
  • the first device 21 or the video application enters the screen-casting state, the first device 21 can detect whether the video information list is empty.
  • the first device 21 may acquire the video information of one or more videos from the server 23, and store the video information of the one or more videos to the video information list.
  • the first device 21 may send an acquisition request to the server 23 according to the video information of the first video, so as to acquire the second video related to the first video.
  • Video information for the video may store the video information of the second video in the video information list, and similarly, the first device 21 may also obtain video information of more videos from the server 23 and store them in the video information list.
  • the first device 21 When the first device 21 detects that the video information list is not empty, the first device 21 waits for the completion of the first video projection.
  • the new video may be the second video, and the new video information may be video information of the second video.
  • the first device 21 determines that the first video projection is completed, it acquires new video information from the video information list. After the first device projects the second video to the second device, the process may return to S501. By repeatedly executing S501-S505, uninterrupted video projection can be realized.
  • the first device 21 determines whether the video information list is empty, and if the video information list is empty, acquires the video information of one or more videos, and converts the one or more videos
  • the video information is stored in the video information list, so that the video information of the video information is continuously available in the video information list, so that the first device can continuously screen the videos in the video information list to the second device.
  • the first device 21 acquires video information of the second video from the video information list.
  • the first device 21 obtains the video information of the second video in advance from the video information list, which can ensure that when the projection of the first video is completed, the second video is immediately projected to the second video. device 22, so that the second device plays the second video in time.
  • FIG. 6 is a flowchart of another video projection method in an embodiment of the present disclosure. This embodiment further specifically describes the video screen projection method on the basis of the above-mentioned embodiment. Correspondingly, as shown in FIG. 6 , the method of this embodiment is applied to the first device 21 as described above, and specifically includes:
  • the screen projection device may be the first device 21 .
  • the video application in the first device 21 has a screen projection function
  • the video application may also be referred to as a screen projection application.
  • the first device 21 sends the video address of the first video currently being played in the first player 31 to the second device 22, and the second device 22 can retrieve the video address from the server 24 according to the video address of the first video. Acquire video data of the first video, and play the first video.
  • the playback progress of the first video played in the first player 31 of the first device 21 does not affect the playback progress of the second player of the second device 22, that is, the second device 22 plays the first video.
  • the video is not limited to playing the first video in the first device 21 .
  • the first device 21 can control the first player 31 to enter a pause state, so that the first player 31 pauses to play the first video.
  • the first video is played by the second device 22, so that the network traffic of the first device 21 can be saved, the power consumption of the first device 21 can be reduced, and the like.
  • the first device 21 after the first device 21 projects the first video currently playing in the first player 31 to the second device 22, the first device 21 can also control the first player 31 to continue playing The first video, that is, the first device 21 and the second device 22 can play the first video synchronously.
  • the first device 21 enters a screen projection control page, and the screen projection control page may specifically be a user interface as shown in FIG. 7 .
  • the first player 31 pauses playing, and a pause sign 33 is displayed on the first player 31 .
  • the first device 21 may receive the playback progress of the first video from the second device 22 in real time, and the first device 21 may update the playback progress of the first video in real time on the screen projection control page.
  • the progress bar 34 represents the playing progress of the first video. It can be understood that the playing progress of the first video may also be displayed on the second device 22 . That is to say, the playing progress of the first video can be updated on the first device 21 and the second device 22 synchronously.
  • the user can control the fast forward or fast rewind of the first video on the second device 22 by dragging the progress bar 34 , so as to adjust the playback progress of the first video on the second device 22 .
  • the user can also control the fast forward of the first video on the second device 22 by long pressing the fast forward key 35 , and control the fast reverse of the first video on the second device 22 by long pressing the fast reverse key 36 .
  • a corresponding progress control instruction may be triggered.
  • the first device 21 sends the progress control instruction to the second device 22 .
  • the second device 22 receives the progress control instruction, it controls the playback progress of the first video according to the progress control instruction.
  • icons used to control the playback progress in the screen projection control page are not limited to the progress bar 34, the fast forward key 35 and the fast reverse key 36 as shown in FIG. 7, but may also include other icons.
  • the user can control the playback progress of the first video through the controller of the second device 22 .
  • the controller may specifically be a remote control.
  • the user can control the playback progress of the first video on the TV through the remote control.
  • the user can also control the playback volume of the first video on the screen projection control page. As shown in FIG. 7 , when the user operates the volume control icon 37 , a volume control instruction can be triggered.
  • the first device 21 sends the volume control instruction to the second device 22, so that the second device 22 can adjust the playback volume of the first video.
  • the user can also control the playback volume of the first video through the controller of the second device 22 .
  • the icons used to control the playback volume in the screen projection control page are not limited to the volume control icon 37 shown in FIG. 7 , but may also include other icons.
  • the screen projection control page may display "+” and "—”.
  • the playback volume adjustment instruction can be triggered.
  • the first device 21 receives the playback volume adjustment instruction, it adjusts the playback volume of the first video in the second device 22 according to the playback volume adjustment instruction.
  • “+” is used to increase the playback volume
  • "-" is used to decrease the playback volume.
  • the user can also trigger a playback volume adjustment instruction to adjust the playback volume of the first video in the second device 22 by pressing the volume adjustment button of the mobile phone.
  • the user can also control the pause of the first video through the controller of the second device 22 .
  • the second device 22 is a television
  • the controller of the second device 22 is a remote control
  • the remote control includes a pause button
  • a video pause control instruction can be triggered when the user presses the pause button. Then, the remote controller sends the video pause control instruction to the second device 22, and the second device 22 controls the first video pause according to the video pause control instruction.
  • the user can also adjust the definition of the first video on the second device 22 through the resolution control icon 38 on the screen projection control page.
  • a resolution selection pop-up window may pop up in the screen projection control page.
  • the resolution selection pop-up window may include multiple resolution modes, and the user may select one of the resolutions. model.
  • a resolution configuration instruction can be triggered, the first device 21 sends the resolution configuration instruction to the second device 22, and the second device 22 can follow the instructions of the resolution configuration instruction
  • the resolution of the first video displayed on the second device 22 is configured, so that the definition of the first video on the second device 22 can be adjusted.
  • the video application also has the function of changing the screen-casting device. For example, when the user needs to replace the second device 22 with another device, the user can click the device replacement icon 39, and the first device 21 can enter the device search page.
  • the screen projection guide page includes the identifiers of a plurality of screen projection devices. The user may select other screen-casting devices other than the second device 22 as the new second device. After the user clicks to close the device search page, the first device 21 can return to the screen projection control page shown in FIG. 7 .
  • FIG. 7 is only a schematic illustration, and the present embodiment does not limit the shape, position, etc. of each icon.
  • the first device 21 may acquire video information of the second video.
  • the video information of the second video may be a video address (eg, URL) of the second video, or may be video data of the second video.
  • the first device 21 sends the video address of the second video to the second device 22 .
  • the second device 22 may acquire video data of the second video from the server 24 according to the video address of the second video, and play the second video.
  • the video information of the second video further includes at least one of a playback progress of the second video, a resolution of the second video, and a playback volume of the second video.
  • the server 23 may count the proportions of each part of the title part, the plot part and the ending part of each episode of the TV series in each episode of the TV series.
  • the server 23 may send to the first device 21 the proportion information, time stamp information, etc. of each part of the title part, plot part and ending part of each episode of the TV series occupied in each episode of the TV series.
  • the first device may determine that the projection of the first video is completed.
  • the first device 21 sends video information of the second video to the second device 22, where the video information of the second video includes not only the video address of the second video, but also the playback progress of the second video.
  • the playback progress of the second video may be the initial playback progress of the second video.
  • the initial playback progress may be the corresponding playback progress when the screencast video is played and the title part is completed.
  • the initial playback progress of the second video may be the proportion of the title portion of the second video in the second video.
  • the starting playback progress of the second video may be 5%. That is, the second device 22 can start playing the second video from the 5% playing progress of the second video. In this way, when the second device 22 starts playing from 5% of the second video, the title part of the second video can be skipped, so that the user does not need to watch the repeated parts of each episode of the TV series multiple times, which improves user experience.
  • the video information of the second video sent by the first device 21 to the second device 22 may further include the resolution of the second video, so that the second device 22 can adjust the second video on the second device 22 according to the resolution of the second video.
  • the resolution of the video may be further include the resolution of the second video, so that the second device 22 can adjust the second video on the second device 22 according to the resolution of the second video. The resolution of the video.
  • the method further includes: the first device 21 receives a screencasting stop instruction, and according to the screencasting stop instruction , to control the first player in the screen-casting application of the screen-casting device to enter the playback state.
  • the user can also control the first device 21 or the video application to exit the screen-casting state.
  • a screen-casting stop instruction can be triggered. That is to say, the screen projection button 32 may be a screen projection control switch.
  • the screen projection button 32 may be a screen projection control switch.
  • the user clicks the screen projection button 32 once to control the first device 21 or the video application to enter the screen projection state.
  • the screen-casting state the user can click the screen-casting button 32 once to control the first device 21 or the video application to exit the screen-casting state.
  • the first device 21 can control the first device 21 or the video application to enter the screen-casting state.
  • the video played on the first device 21 can be projected onto the second device 22 for playback.
  • the first device 21 controls the first device 21 Enter the screen projection state.
  • the first device 21 sends the video information of the first video to the second device 22.
  • the video information of the first video may include the video address of the first video and the playback progress of the first video (for example, the above 40%), so the second The device 22 may acquire the video data of the first video according to the video address of the first video, and continue to play the first video from 40% according to the playback progress of the first video. In this way, the user does not need to re-watch the already watched repeated part from 0% of the first video on the second device 22, but directly starts watching the unwatched part, thereby saving user time and improving user experience.
  • the user can trigger the screencasting stop instruction. For example, when the user clicks the screencasting button 32 again, a screencasting stop instruction can be triggered.
  • the first device 21 receives the screencasting stop instruction, the first device 21 can control the first screencasting stop instruction.
  • the first player in a device 21 enters a playing state.
  • the screencast video played on the second device 22 can be restored to the first device 21 to continue playing.
  • the playback progress of the first video on the second device 22 is 50%
  • the user turns off the screen projection function, and the first device 21 continues to play the above-mentioned first video from 50%. a video.
  • the first device 21 continues to play the screencasting video on the second device at the corresponding playback progress when the screencasting from the second device 22 ends.
  • the user does not need to re-watch the repeated part that has been played on the second device from 40% of the first video on the first device 21, but directly starts watching from the unwatched part, for example, from 50% of the first video Start watching from anywhere, thereby saving user time and improving user experience.
  • the method can realize that the first device 21 and the second device 22 play the first video in succession, thereby ensuring that the first video can be played continuously and uninterruptedly, improving the user's experience of watching the video and improving the user's satisfaction.
  • the user can also click the back button on the remote control of the second device 22 to control the second device 22 to exit the screen projection state, and the first video played on the second device 22 can be restored to the first device 21 The video continues to be played, which ensures that the first video can be played continuously and uninterruptedly, and improves the user's experience of watching the video.
  • the first device 21 monitors the playback progress of the previous video played on the second device in real time through the first device 21, and the playback progress of the current video reaches the second device starts to play the previous video.
  • the playback progress corresponding to the ending part of the video is completed, it is determined that the projection of the previous video on the second device is completed.
  • the first device 21 sends the video information of the next video to the second device, so that the second device starts to play the next video, so that the second device can skip the ending part of the previous video, the user does not need to watch the ending part repeatedly, saving energy. User time, improve user experience.
  • the first device 21 sends the video information such as the playback progress and the video address of the next video to the second device 22, and the second device 22 does not need to start the next video.
  • the next video starts to be played at the starting point (eg, the playback progress is 0%), but can be played from the playback progress (eg, 5%) of the next video, so that the second device 22 can skip the title part of the next video.
  • the user does not need to repeatedly watch repeated parts of multiple videos, which saves the user's time and improves the user experience.
  • the first device 21 when the first device 21 is in a non-screen projection state, the first device 21 sends the video information such as the playback progress and video address of the current video currently playing on the first device 21 to the second device 22, so that the second device 22 The current video can be played directly from the playback progress of the current video according to the playback progress and the video address of the current video. The user does not need to start watching the current video on the second device 22 from the beginning.
  • the first device 21 is in the screen-casting state
  • the first device 21 sends the screen-casting instruction of the next video sent by the first device 21 to the second device when the current video is not fully played, and the second device 22 sends the screen-casting instruction of the next video to the second device when the current video is not fully played.
  • the second device 22 When the current video is present, the next video starts to be played, so the second device 22 does not need to play the ending part of the current video.
  • the second device 22 by sending the initial playback progress of the next video to the second device 22 by the first device 21, the second device 22 does not need to play the content before the initial playback progress of the next video, such as the title part, thereby saving user time, and further Users can watch more videos, which further improves the user experience.
  • the method further includes: when the first device 21 determines that the screen projection of the first video is completed, the first player of the screen projection application of the first device 21 is closed, and the first device 21 restarts the first player .
  • the first device 21 projects the currently playing first video in the first player 31 to the second device 22 for playback.
  • the first player 31 may be automatically closed.
  • the first device 21 can detect whether the first player 31 is closed, if the first player 31 is closed, restart the first player 31 and enable The first player 31 is in a paused state.
  • the first device 21 restarts the first player. This ensures that the first device 21 can normally project the subsequent video to the second device 22, reduces interruptions during the projection process, further reduces the number of times the user performs manual projection operations again, and further improves the user's ability to use the first device to display the screen.
  • the convenience of video projection to a second device improves user experience.
  • the method may further include the following steps as shown in FIG. 8 :
  • the user interface shown in FIG. 7 may also include a preset icon.
  • a display instruction of the screen projection control icon may be triggered.
  • the first device 21 receives the display instruction of the screen projection control icon, it may A screen projection control icon is displayed on the user interface, and the screen projection control icon may specifically be the screen projection control icon 94 shown in FIG. 9 , and the user can perform screen projection control through the screen projection control icon.
  • the first device 21 receives a display instruction of the screen projection control icon.
  • the display conditions of the screen projection control icons 94 may include preset conditions.
  • the preset condition may be that the screen-casting application of the first device 21 transitions from a front-end running state to a background-running state. In this way, when the first device 21 detects that the screen-casting application transitions from the front-end running state to the background-running state, the display condition is satisfied, and the first device 21 receives the screen-casting control icon display instruction.
  • the user interface shown in Figure 7 is the user interface provided by the video application.
  • the user may control the video application to enter the background running mode.
  • the return button 40 as shown in FIG. 7 to make the screencasting application on the first device 21 from the front
  • the running state transitions to the background running state.
  • the first device 21 can return to the desktop interface, which can include icons of multiple applications, and the user can trigger the first device 21 to start other applications by clicking on the icons of other applications, so that the user can use other applications. .
  • the user can trigger a background running instruction by operating the back button 40 .
  • the first device 21 receives the background running instruction, it can control the video application to run in the background.
  • the first device 21 displays a screen-casting control icon on the desktop interface of the first device 21 after detecting that the video application program transitions from the front-end running state to the background-running state, and the screen-casting control icon is used to perform Screencasting control.
  • the user can switch the video projected to the second device through the screen projection control icon.
  • the user can control the image through the screen projection to switch the video projected to the second device as the target video, and the target video can be the video selected by the user.
  • the user can also control the playback progress, playback volume, resolution, etc. of the screencast video played on the second device 22 through the screencasting control icon.
  • 91-93 respectively represent icons of application programs, and 94 represents screen projection control icons.
  • the screen projection control icon 94 may include multiple sub-icons, and different sub-icons may implement different control functions.
  • the sub-icon 95 and the sub-icon 96 can be used to control the playing progress of the screen-casting video, and the so-called screen-casting video refers to the video screen-casting and playing on the second device.
  • a playback progress control instruction can be triggered, the first device 21 sends the playback progress control instruction to the second device 22, and the second device 22 controls the playback progress control instruction according to the playback progress control instruction.
  • Sub-icon 97 and sub-icon 98 can be used to switch the screencast video.
  • a video switching instruction can be triggered, the first device 21 sends the video switching instruction to the second device 22, and the video switching instruction includes the video information of the target video in the video information list, for example
  • the video information of the target video may be the video information of the next video, the video information of the previous video, or the video information of other videos.
  • the second device 22 plays the target video according to the video information of the target video.
  • Sub-icon 99 can be used to adjust the resolution of the projected video.
  • a resolution configuration instruction may be triggered, and the first device 21 sends the resolution configuration instruction to the second device 22, so that the second device 22 can The resolution configuration instruction controls the resolution of the screencast video played on the second device.
  • the sub-icon 100 can be used to control the playback volume of the screencast video.
  • a playback volume control instruction can be triggered, and the first device 21 sends the playback volume control instruction to the second device 22, so that the second device 22 can control the second device 22 according to the playback volume control instruction The playback volume of the screencast video played on the device 22.
  • the sub-icon 95 is used to control the fast-forward of the screencast video played on the second device 22 .
  • the sub-icon 96 is used to control the screencast video played on the second device 22 to rewind.
  • the sub-icon 97 is used to switch the video projected to the second device to the next video of the video.
  • the sub-icon 98 is used to switch the video projected to the second device to the previous video of the video.
  • the sub-icon 100 may be rotated, and when the sub-icon 100 is rotated counterclockwise, the playback volume of the screencast video played on the second device 22 is controlled to increase. When the sub-icon 100 is rotated clockwise, the playback volume of the screencast video played on the second device 22 is controlled to decrease.
  • a playback progress control instruction can be triggered, and the first device 21 sends the playback progress control instruction to the second device 22, so that the second device 22 can The control instruction controls the playback progress of the screencast video played on the second device 22 .
  • a video switching instruction can be triggered, the first device 21 sends the video switching instruction to the second device 22, and the video switching instruction includes the video information of the next video in the video information list or the video information of the previous video, so that the second device 22 plays the next video or the previous video according to the video information of the next video or the video information of the previous video.
  • the screen projection control icon 94 shown in FIG. 9 is only a schematic illustration.
  • the method of screencasting control through the screencasting control icon 94 is not limited to the method described above.
  • some sub-icons of the screen projection control icon 94 shown in FIG. 9 may be multiplexed. For example, when the user clicks the sub-icon 95, the screencast video can be controlled to fast-forward on the second device. When the user double-clicks the sub-icon 95, the volume of the projected video can be controlled to increase.
  • a playback progress control instruction can be triggered, and the first device 21 sends the playback progress control instruction to the second device 22, so that the second device 22 controls the playback progress control instruction according to the playback progress control instruction.
  • the playback volume control instruction can be triggered, and the first device 21 sends the playback volume control instruction to the second device 22, so that the second device 22 controls the second device according to the playback volume control instruction The playback volume of the screencast video played on 22.
  • the screen-casting control icon 94 may be displayed globally.
  • the first device 21 can display the user interface of the other application program, and display the screen projection control icon 94 on the user interface of the other application program in a transparent, semi-transparent and floating manner , so that users can control the video projection screen while controlling other applications.
  • the user can also control the video application program to adjust from background running to front-end running by operating the screen projection control icon 94 .
  • the user interface of the first device 21 may return to the user interface shown in FIG. 7 .
  • This embodiment does not limit the specific operation manner of the user on the screen projection control icon 94 .
  • the first device 21 only needs to be able to distinguish between the user's operation on the sub-icons in the screen projection control icon 94 and the operation on the screen projection control icon 94 .
  • the display position of the screen projection control icon 94 on the first device 21 may be fixed or not fixed.
  • the user can drag the screen projection control icon 94 to change the display position of the screen projection control icon 94 .
  • the first device 21 runs a video application program in the background according to the user's background operation instruction, and displays a screen projection control icon on the user interface of the first device 21.
  • the screen projection control Icons are used for screen projection control. Even when the first device 21 adjusts the video application in the front-end running state to the background-running state, the user can still control the video projection of the video application through the projection control icon. In this way, the user can control the video screen projection while controlling other application programs, which further improves the convenience of the user's video screen projection control.
  • the method may further include the following steps as shown in FIG. 10 :
  • the user can switch the video projected to the second device at any time.
  • the screencast video currently projected by the first device 21 to the second device 22 is the second video as described above.
  • the user can play the video as shown in FIG. 7 .
  • the user's operation of clicking the thumbnails of other videos may trigger a video switching instruction
  • the user's operation of clicking the sub-icon 97 or the sub-icon 98 may trigger a video switching instruction.
  • the first device 21 After receiving the video switching instruction, the first device 21 sends a third screen projection instruction to the second device 22, where the third screen projection instruction includes the video information of the target video selected by the user, and the third screen projection instruction is used to control the
  • the second device 22 plays the target video according to the video information of the target video.
  • the video information of the target video includes video data of the target video or a video address of the target video.
  • the screen projection video currently played by the second device 22 is the second video.
  • the second device 22 After the second device 22 receives the third screen projection instruction, it stops playing the second video, and according to the target video sent by the first device 21 to play the target video, or the first device 21 acquires the video data of the target video according to the video address of the target video, and plays the target video.
  • the second device 22 may directly play the target video according to the video information of the target video.
  • the second device 22 may screen display the target video.
  • the third screen projection instruction is used to control the second player in the second device 22 to be turned on.
  • the second device 22 can start the player in the second device 22 according to the third screen projection instruction, and the player in the second device 22 can be recorded as the first Second player.
  • the second device 22 may control the second player in the second device 22 to play the target video according to the video information of the target video.
  • the first device 21 can send the video information of the video corresponding to the thumbnail 70 to the second device 22, thus, the second device 22 plays the video corresponding to the thumbnail 70 .
  • the first device 21 may send the video information of the next video of the second video to the second device 22, so that the second device 22 plays the next video of the second video.
  • the first device 21 may send the video information of the last video of the second video to the second device 22, so that the second device 22 plays the last video of the second video.
  • the next video of the second video or the previous video of the second video may be specifically determined according to the above video information list.
  • the ordering of the video information in the video information list may represent the corresponding video ordering.
  • the user can control the screen-casting function to be turned on or off by operating the screen-casting button 32 .
  • the first device 21 can default the switched video is also the video that needs to be projected to the second device 22 .
  • the second device video switching instruction detects whether the screen-casting application is in the screen-casting state.
  • the first device 21 projects the target video selected by the user to the second device 22 .
  • the first device 21 Since the user can control the screen-casting function to be turned on or off by operating the screen-casting button 32 at any time, when the first device 21 receives the video switching instruction triggered by the user, it can detect whether the video application is currently in the screen-casting state. If the video application is currently in the screen-casting state, the first device 21 can directly send the video information of the target video selected by the user to the second device 22 according to the video switching instruction, so that the second device 22 can send the video information of the target video to the second device 22 according to the video information of the target video. Play the target video. If the video application program is not currently in the screen-casting state, the first device 21 can normally play the target video selected by the user through the first player 31 .
  • the specific judgment process is shown in Figure 11. As shown in Figure 11, the process specifically includes the following steps:
  • S1102 Determine whether the video application program is currently in a screen-casting state, if yes, execute S1103, otherwise, execute S1104.
  • the new video may be the target video selected by the user.
  • the new video directly entering the screen projection state may specifically mean that the first device 21 directly projects the new video to the second device 22 for playback. After the first device 21 directly projects the new video to the second device 22 for playback, the process of updating the video information list and obtaining the video information of the next video from the video information list is similar to the above-mentioned Repeat.
  • the projection parameters of the target video are the same as those of the historical projection videos.
  • the second device may store screen-casting parameters of the historical screen-casting video, where the historical screen-casting video may be the first video or the second video as described above.
  • the screen projection parameters include at least one of the following: playback progress, resolution, and playback volume.
  • the second device 22 may play the target video according to the projection parameters of the historical projection videos.
  • the resolution of the target video is consistent with the resolution of the video projected to the second device before the switch; and/or the playback volume of the target video is the same as the video projected to the second device before the switch the playback volume is the same.
  • the second device 22 plays the target video according to the screen projection parameters used when playing the second video. For example, when the second device 22 plays the second video, the resolution is high-definition, and the playing volume is 6; when the second device 22 plays the target video, the resolution is high-definition, and the playing volume is 6.
  • the target video selected by the user may be any video in the video collection.
  • This video collection is a complete TV series.
  • the second device 22 may continuously play each video in the video collection. If the second device 22 has played the last video in the video collection, after the last video is played, the playback can be restarted from the first video in the video collection.
  • the user interface of the first device 21 may display multiple video icons of the video collection. At this point, the user can click any video icon in the video collection to switch the video projected to the screen.
  • the first device 21 is in landscape mode, because the first player 31 occupies a large area, the video icon of the video collection may not be displayed, and the user interface of the first device 21 may display the "selection" icon.
  • the user interface can display multiple video icons of the video collection, and the user can click any video icon to switch the video for screen projection.
  • the first device 21 detects whether the video application is in the projection state according to the video switching instruction; when the video application is in the projection state, the video information of the target video selected by the user is It is sent to the second device 22, so that the second device 22 plays the target video.
  • the first device 21 plays the target video through the first player 31 of the first device 21 and does not control the second device 22 to play the target video.
  • the first device 21 detects whether the video application program is in the screen projection state before projecting the video, and directly projects the screen when the video application is in the screen projection state.
  • the screen-casting is not performed, so as to prevent the user from turning off the screen-casting function of the screen-casting device, the first device 21 continues to perform the wrong operation caused by the video-casting, which ensures the video-casting quality. correctness. At the same time, it is also ensured that after the user performs a screen projection operation once, the screen projection operation can be continuously performed on the second device without repeatedly performing the screen projection operation.
  • the screen projection parameters of the target video selected by the user are consistent with the screen projection parameters of the screen projection video played on the second device before the switch, which reduces the number of times the user configures the screen projection parameters of the target video, and the user does not need to change the target video after the switch.
  • the second device can also play the target video according to the user's habit, which meets the user's needs. This further saves the user's time and improves the user experience.
  • FIG. 12 is a schematic structural diagram of a video screen projection device according to an embodiment of the disclosure.
  • the video screen projection device provided by the embodiment of the present disclosure may be configured in a client.
  • the video screen projection device 120 specifically includes:
  • the receiving module 121 is used for receiving a screen projection opening instruction
  • a response module 122 configured to project the first video to the second device according to the projection start instruction
  • an acquisition module 123 configured to acquire the playback progress of the first video on the second device
  • the screen projection module 124 is configured to, according to the playback progress of the first video on the second device, determine that the screen projection of the first video is completed, and then project the second video to the second device.
  • the screen projection module 124 is specifically configured to determine that the screen projection of the first video is completed when the playback progress of the first video on the second device reaches a preset progress.
  • the screencast video played on the second device includes a title part, a plot part and an ending part played in sequence;
  • the preset progress is the playback progress corresponding to the completion of the plot part when the screencast video is played.
  • the preset progress is the corresponding playback progress when the screencast video is played and the ending part is completed.
  • the response module 122 is specifically configured to: send a first screen projection instruction to the second device according to the screen projection start instruction, where the first screen projection instruction includes video information of the first video, so The first screen projection instruction is used to control the second device to play the first video according to the video information of the first video.
  • the video information of the first video includes the playback progress of the first video on the first device; the first screen projection instruction is specifically used to control the second device from the first device on the first device. At the playback progress of a video, the first video is played.
  • the receiving module 121 is further configured to receive a screen projection stop instruction
  • the obtaining module 123 is further configured to obtain the playback progress of the first video on the second device, and the screen projection stop instruction is used to control the first device from the playback progress of the first video on the second device. , and play the first video.
  • the screen projection module 124 is specifically configured to: according to the playback progress of the first video on the second device, when it is determined that the screen projection of the first video is completed, send a second screen projection instruction to the second device,
  • the second screen projection instruction includes video information of the second video
  • the second screen projection instruction is used to control the second device to play the second video according to the video information of the second video.
  • the screen projection module 124 is specifically configured to: obtain the video information of the second video, and determine, according to the playback progress of the first video on the second device, when the screen projection of the first video is completed, according to the second video. video information of the video, and send a second screen projection instruction to the second device.
  • the screen projection module 124 is specifically configured to: acquire the video information of the second video from the video information list; or,
  • the obtaining module 123 is specifically used for:
  • the playback progress of the first video on the second device is received from the second device.
  • the video screen projection device 120 further includes: a display module 125; the receiving module 121 is further configured to: receive a screen projection control icon display instruction; the display module 125 is configured to display the screen projection control icon display instruction according to the screen projection control icon display instruction A control icon, the screen projection control icon is used for screen projection control.
  • the receiving module 121 is specifically used for:
  • the display condition of the screen-casting control icon includes: the screen-casting application of the first device transitions from a front-end running state to a background-running state.
  • the screen projection control icon is specifically used to switch the video projected to the second device.
  • One or more of the playback progress, playback volume, and resolution of the screencast video played on the second device are controlled.
  • the receiving module 121 is further configured to: receive a video switching instruction; the responding module 122 is further configured to: project the target video selected by the user to the second device according to the video switching instruction.
  • the response module 122 is specifically used for:
  • the target video selected by the user is screen-cast to the second device.
  • the response module 122 is specifically configured to: send a third screen projection instruction to the second device, where the third screen projection instruction includes video information of the target video selected by the user, and the third screen projection instruction is used to: Controlling the second device to play the target video according to the video information of the target video.
  • the video information includes at least one of the following:
  • Video data and video address are Video data and video address.
  • the second device is configured to acquire video data corresponding to the video address according to the video address.
  • the video information further includes screen projection parameters
  • the screen projection parameters include at least one of the following:
  • the projection parameters of the target video are consistent with the projection parameters of historical projection videos.
  • the video screen projection device 120 further includes: a control module 126; the control module 126 is configured to control the screen projection application program after the first video screen is projected to the second device or the second video screen is projected to the second device The first player in is in a paused state.
  • the receiving module 121 is further configured to: receive a screen projection stop instruction; the response module 122 is further configured to: control the first player to enter a playing state according to the screen projection stop instruction.
  • control module 126 is further configured to restart the first player when the first video projection is completed and the first player of the projection application of the first device is closed.
  • the first screen projection instruction is further used to control the opening of the second player in the second device to play the first video
  • the second screen projection instruction is further used to control the second player in the second device to be turned on to play the second video
  • the third screen projection instruction is further used to control the second player in the second device to be turned on, so as to play the target video.
  • the video screen projection device provided by the embodiment of the present disclosure can perform the steps performed by the client in the video screen projection method provided by the method embodiment of the present disclosure, and the execution steps and beneficial effects are not repeated here.
  • FIG. 13 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. Referring specifically to FIG. 13 below, it shows a schematic structural diagram of an electronic device 500 suitable for implementing an embodiment of the present disclosure.
  • the electronic device 500 in the embodiment of the present disclosure may include, but is not limited to, such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), an in-vehicle terminal ( For example, mobile terminals such as car navigation terminals) and the like, and stationary terminals such as digital TVs, desktop computers, and the like.
  • the electronic device shown in FIG. 13 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
  • an electronic device 500 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 501 that may be loaded into random access according to a program stored in a read only memory (ROM) 502 or from a storage device 508 Various appropriate actions and processes are executed by the programs in the memory (RAM) 503 . In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored.
  • the processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504.
  • An input/output (I/O) interface 505 is also connected to bus 504 .
  • I/O interface 505 input devices 506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration
  • An output device 507 such as a computer
  • a storage device 508 including, for example, a magnetic tape, a hard disk, etc.
  • Communication means 509 may allow electronic device 500 to communicate wirelessly or by wire with other devices to exchange data. While FIG. 13 shows electronic device 500 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via the communication device 509, or from the storage device 508, or from the ROM 502.
  • the processing apparatus 501 When the computer program is executed by the processing apparatus 501, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
  • the client and server can use any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol) to communicate, and can communicate with digital data in any form or medium Communication (eg, a communication network) interconnects.
  • HTTP HyperText Transfer Protocol
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: receives an instruction to enable screen projection; Projecting the screen to the second device for playback; obtaining the playback progress of the first video on the second device; The second video is projected to the second device.
  • Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner. Among them, the name of the unit does not constitute a limitation of the unit itself under certain circumstances.
  • exemplary types of hardware logic components include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical Devices (CPLDs) and more.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs Systems on Chips
  • CPLDs Complex Programmable Logical Devices
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • the present disclosure provides a video projection method, applied to a first device, including:
  • the first device projects the first video to the second device according to the screen projection start instruction
  • the first device acquires the playback progress of the first video on the second device
  • the first device determines, according to the playback progress of the first video on the second device, that the projection of the first video is completed, and then projects the second video to the second device.
  • determining, by the first device, that the screen projection of the first video is completed according to the playback progress of the first video on the second device includes:
  • the screencast video played on the second device includes a title part, a plot part and an ending part played in sequence;
  • the preset progress is the playback progress corresponding to the completion of the plot part when the screencast video is played.
  • the preset progress is the corresponding playback progress when the screencast video is played and the ending part is completed.
  • the projecting the first video to the second device includes:
  • the first device sends a first screen projection command to the second device, the first screen projection command includes video information of the first video, and the first screen projection command is used to control the second device Play the first video according to the video information of the first video.
  • the video information of the first video includes the playback progress of the first video on the first device; the first screen projection instruction is specifically used to control the second device from At the playback progress of the first video on the first device, the first video is played.
  • the method further includes:
  • the first device receives a screen projection stop instruction
  • the first device obtains the playback progress of the first video on the second device, and the screen projection stop instruction is used to control the first device to play all the video from the playback progress of the first video on the second device. the first video.
  • the first device determines, according to the playback progress of the first video on the second device, that the projection of the second video to the screen is completed when the projection of the first video is completed.
  • Second equipment including:
  • the first device determines, according to the playback progress of the first video on the second device, that the projection of the first video is completed, the first device sends a second projection instruction to the second device, and the The second screen projection instruction includes video information of the second video, and the second screen projection instruction is used to control the second device to play the second video according to the video information of the second video.
  • the first device determines, according to the playback progress of the first video on the second device, that when the screen projection of the first video is completed, the first device sends the first video to the second device.
  • the second device sends a second screen projection command, including:
  • the first device determines that the projection of the first video is completed according to the playback progress of the first video on the second device, it sends a second projection to the second device according to the video information of the second video. screen command.
  • acquiring, by the first device, video information of the second video includes:
  • the first device obtains the video information of the second video from the video information list; or,
  • the first device acquires video information of the second video from a server.
  • acquiring, by the first device, the playback progress of the first video on the second device includes:
  • the first device receives the playback progress of the first video on the second device from the second device.
  • the method further includes:
  • the first device receives a screen projection control icon display instruction
  • the first device displays a screen-casting control icon according to the screen-casting control icon display instruction, and the screen-casting control icon is used for screen-casting control.
  • the receiving, by the first device, an instruction to display a screen-casting control icon includes:
  • the first device receives an instruction to display the screen projection control icon.
  • the display condition of the screen-casting control icon includes: the screen-casting application of the first device transitions from a front-end running state to a background-running state.
  • the screen projection control icon is specifically used to switch the video projected to the second device.
  • One or more of the playback progress, playback volume, and resolution of the screencast video played on the second device are controlled.
  • the method further includes:
  • the first device receives a video switching instruction
  • the first device projects the target video selected by the user to the second device according to the video switching instruction.
  • the first device projects the target video selected by the user to the second device according to the video switching instruction, including:
  • the first device acquires the state of the screen projection application according to the video switching instruction
  • the first device screen-casts the target video selected by the user to the second device.
  • the projecting the target video selected by the user to the second device includes:
  • the first device sends a third screen projection command to the second device, where the third screen projection command includes video information of the target video selected by the user, and the third screen projection command is used to control the second device Play the target video according to the video information of the target video.
  • the video information includes at least one of the following:
  • Video data and video address are Video data and video address.
  • the second device when the video information includes a video address, is configured to acquire video data corresponding to the video address according to the video address.
  • the video information further includes screen projection parameters
  • the screen projection parameters include at least one of the following:
  • the screen projection parameters of the target video are consistent with the screen projection parameters of historical screen projection videos.
  • the method after projecting the first video to the second device or projecting the second video to the second device, the method further includes:
  • the first device controls the first player in the screen projection application to enter a pause state.
  • the method further includes:
  • the first device receives a screen projection stop instruction
  • the first device controls the first player to enter a playing state according to the screen projection stop instruction.
  • the method further includes:
  • the first device restarts the first player.
  • the first screen projection instruction is further used to control a second player in the second device to be turned on, so as to play the first video.
  • the second screen projection instruction is further used to control a second player in the second device to be turned on, so as to play the second video.
  • the third screen projection instruction is further used to control the second player in the second device to be turned on, so as to play the target video.
  • the present disclosure provides a video screen projection device, including:
  • the receiving module is used to receive the screen projection opening command
  • a response module used for projecting the first video to the second device according to the projecting start instruction
  • an acquisition module for acquiring the playback progress of the first video on the second device
  • the screen projection module is configured to, according to the playback progress of the first video on the second device, project the second video to the second device when it is determined that the projection of the first video is completed.
  • the screen projection module is specifically configured to determine that the screen projection of the first video is completed when the playback progress of the first video on the second device reaches a preset progress.
  • the screencast video played on the second device includes a title part, a plot part, and an ending part played in sequence;
  • the preset progress is the playback progress corresponding to the completion of the plot part when the screencast video is played.
  • the preset progress is the corresponding playback progress when the screencast video is played and the ending part is completed.
  • the response module is specifically configured to: send a first screen projection instruction to the second device according to the screen projection start instruction, where the first screen projection instruction includes the first screen projection instruction.
  • Video information of the video the first screen projection instruction is used to control the second device to play the first video according to the video information of the first video.
  • the video information of the first video includes the playback progress of the first video on the first device; the first screen projection instruction is specifically used to control the second device from At the playback progress of the first video on the first device, the first video is played.
  • the receiving module is further configured to receive a screen projection stop instruction
  • the obtaining module is further configured to obtain the playback progress of the first video on the second device, and the screen projection stop instruction is used to control the first device from the playback progress of the first video on the second device, The first video is played.
  • the screen projection module is specifically configured to: according to the playback progress of the first video on the second device, when it is determined that the screen projection of the first video is completed, send the screen to the second device.
  • the second screen projection command, the second screen projection command includes the video information of the second video, and the second screen projection command is used to control the second device to play all the video according to the video information of the second video. the second video.
  • the screen projection module is specifically configured to: acquire video information of the second video, and determine, according to the playback progress of the first video on the second device, when the screen projection of the first video is completed , sending a second screen projection instruction to the second device according to the video information of the second video.
  • the screen projection module is specifically configured to: acquire video information of the second video from the video information list; or,
  • the acquisition module is specifically used for:
  • the playback progress of the first video on the second device is received from the second device.
  • the video screen projection device further includes: a display module; the receiving module is further configured to: receive a screen projection control icon display instruction; the display module is configured to display the instruction according to the screen projection control icon, A screen projection control icon is displayed, and the screen projection control icon is used for screen projection control.
  • the receiving module is specifically configured to: when the display condition of the screen-casting control icon is satisfied, receive an instruction to display the screen-casting control icon.
  • the display condition of the screen-casting control icon includes: the screen-casting application of the first device transitions from a front-end running state to a background-running state.
  • the screen projection control icon is specifically used to switch the video projected to the second device.
  • One or more of the playback progress, playback volume, and resolution of the screencast video played on the second device are controlled.
  • the receiving module is further configured to: receive a video switching instruction; and the responding module is further configured to: project the target video selected by the user to the second device according to the video switching instruction.
  • the response module is specifically used for:
  • the target video selected by the user is screen-cast to the second device.
  • the response module is specifically configured to: send a third screen projection instruction to the second device, where the third screen projection instruction includes video information of the target video selected by the user, and the third screen projection instruction includes video information of the target video selected by the user.
  • the three-screen projection instruction is used to control the second device to play the target video according to the video information of the target video.
  • the video information includes at least one of the following:
  • Video data and video address are Video data and video address.
  • the second device when the video information includes a video address, is configured to acquire video data corresponding to the video address according to the video address.
  • the video information further includes screen projection parameters
  • the screen projection parameters include at least one of the following:
  • the screen projection parameters of the target video are consistent with the screen projection parameters of historical screen projection videos.
  • the video screen projection apparatus further includes: a control module; the control module is configured to control the projection of the first video to the second device or after the second video is projected to the second device.
  • the first player in the screencasting application enters a paused state.
  • the receiving module is further configured to: receive a screen projection stop instruction; the response module is further configured to: control the first player to enter a playing state according to the screen projection stop instruction.
  • control module is further configured to: when the first video projection is completed and the first player of the projection application of the first device is closed, restart the first video a player.
  • the first screen projection instruction is further used to control a second player in the second device to be turned on, so as to play the first video
  • the second screen projection instruction is further used to control a second player in the second device to be turned on, so as to play the second video.
  • the third screen projection instruction is further used to control the second player in the second device to be turned on, so as to play the target video.
  • the present disclosure provides an electronic device, comprising:
  • processors one or more processors
  • memory for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the video projection method as provided in any one of the present disclosure.
  • the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the video projection as described in any one of the present disclosure. screen method.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

本公开实施例公开了一种视频投屏方法、装置、电子设备和存储介质。通过根据用户的投屏开启指令,将当前播放的第一视频投屏到第二设备,并在第一视频投屏到第二设备之后,监测第一视频的播放进度,当根据第一视频的播放进度,确定第一视频投屏完成时,投屏设备可以自动将第二视频投屏到第二设备,从而使得前一个视频投屏结束后可以继续投屏下一个视频,用户无需在前一个视频投屏结束后进行投屏操作。也就是说,多个视频可以在第二设备上连续播放,中间不需要用户频繁地进行投屏操作,在前一视频投屏完成时自动投屏下一个视频,使得第二设备可以自动连续投屏,提高了投屏效率,从而提高了用户体验。

Description

一种视频投屏方法、装置、电子设备和存储介质
本申请要求于2020年08月06日提交国家知识产权局、申请号为202010784295.1、申请名称为“一种视频投屏方法、装置、电子设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及视频处理技术领域,尤其涉及一种视频投屏方法、装置、电子设备和存储介质。
背景技术
随着视频处理技术的不断发展,用户可以在终端设备上观看视频。另外,为了增加用户观看视频的灵活性,终端设备还可以将其播放的视频投屏到其他设备上进行播放。例如,终端设备将视频投屏到电视上进行播放。
但是,每当一个视频投屏完成后,用户均需要重新进行一次投屏操作,才能使得终端设备将下一个视频投屏到其他设备上进行播放。当视频较多时,需要用户频繁地进行投屏操作,导致投屏效率低下,从而降低了用户体验。
发明内容
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开实施例提供了一种视频投屏方法、装置、电子设备和存储介质,提高了投屏效率,从而提高了用户体验。
本公开实施例提供了一种视频投屏方法,应用于第一设备,包括:
所述第一设备接收投屏开启指令;
所述第一设备根据所述投屏开启指令,将第一视频投屏到第二设备;
所述第一设备获取所述第二设备上第一视频的播放进度;
所述第一设备根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,将第二视频投屏到所述第二设备。
本公开实施例还提供了一种视频投屏装置,包括:
接收模块,用于接收投屏开启指令;
响应模块,用于根据所述投屏开启指令,将第一视频投屏到第二设备;
获取模块,用于获取所述第二设备上第一视频的播放进度;
投屏模块,用于根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,将第二视频投屏到所述第二设备。
本公开实施例还提供了一种电子设备,所述电子设备包括:
一个或多个处理器;
存储装置,用于存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如上所述的视频投屏方法。
本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上所述的视频投屏方法。
本公开实施例提供的技术方案与现有技术相比具有如下优点:本公开实施例提供的视 频投屏方法,第一设备根据用户的投屏开启指令,将当前播放的第一视频投屏到第二设备,并在第一视频投屏到第二设备之后,第一设备根据第二设备上第一视频的播放进度,确定第一视频投屏完成时,第一设备可以自动将第二视频投屏到第二设备,从而使得前一个视频投屏完成时自动继续投屏下一个视频,无需用户在前一个视频投屏完成时进行投屏操作。也就是说,第一设备可以将多个视频连续投屏到第二设备上,中间不需要用户频繁地进行投屏操作,通过在前一视频投屏完成时自动投屏下一个视频,提高了投屏效率,从而提高了用户体验。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为本公开实施例中的一种视频投屏方法的流程图;
图2为本公开实施例中的一种应用场景的示意图;
图3为本公开实施例中的一种用户界面的示意图;
图4为本公开实施例中的另一种应用场景的示意图;
图5为本公开实施例中的一种视频投屏方法的流程图;
图6为本公开实施例中的另一种视频投屏方法的流程图;
图7为本公开实施例中的另一种用户界面的示意图;
图8为本公开实施例中的另一种视频投屏方法的流程图;
图9为本公开实施例中的另一种用户界面的示意图;
图10为本公开实施例中的另一种视频投屏方法的流程图;
图11为本公开实施例中的另一种视频投屏方法的流程图;
图12为本公开实施例中的一种视频投屏装置的结构示意图;
图13为本公开实施例中的一种电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
图1为本公开实施例中的一种视频投屏方法的流程图,本实施例可适用于客户端中进行视频投屏的情况,该方法可以由视频投屏装置执行,该装置可以采用软件和/或硬件的方式实现,当该装置为采用软件的方式实现时,该装置可配置于电子设备中,例如移动终端,具体包括手机、电脑或平板电脑等;该装置采用硬件的方式实现时,该装置可以是上述电子设备。为了便于理解,下面以该装置为第一设备为例,进行介绍。
如图1所示,该方法可以应用于第一设备,该方法包括如下步骤:
S101、接收投屏开启指令。
如图2所示,第一设备21可配置有视频投屏装置。具体的,第一设备21可以通过该视频投屏装置将第一设备21上播放的视频投屏到第二设备22上进行播放。其中,第一设备21具体可以是手机,第二设备22具体可以是电视。在其他实施例中,第一设备21不限于是手机,例如,第一设备还可以是除手机之外的终端设备,同理,第二设备22也不限于是电视,例如,第二设备还可以是其他具有视频播放功能的设备。在一些实施例中,第一设备21可以称为投屏设备。第二设备22可以称为被投屏设备,例如手机可以称为投屏设备,电视可以称为被投屏设备。
具体的,如图3所示为第一设备21的用户界面,该用户界面可以是第一设备21中安装的视频应用程序提供的用户界面。该视频应用程序具体可以是播放视频的应用程序。可以理解的是,此处只是示意性说明,并不对用户界面上显示的内容或用户界面中显示内容的布局进行限定。如图3所示,该用户界面上可以显示有多个视频的缩略图。例如,30表示多个缩略图中的任意一个。第一设备21的视频应用程序中的播放器可记为第一播放器。当用户在第一设备21的用户界面上对缩略图30进行操作后,第一设备21可以在该用户界面中的第一播放器31中播放缩略图30对应的视频。第一播放器31具体可以是视频播放器。此处,可以将第一播放器31当前播放的视频记为第一视频。具体的,用户对缩略图30的操作不限于点击、长按、双击等操作,还可以是其他操作。
另外,用户对用户界面的操作还可以触发投屏开启指令,从而使得第一设备21可以接收到用户触发的投屏开启指令。例如,第一设备21的用户界面还显示有投屏按钮32。例如,在第一播放器31播放第一视频的同时,投屏按钮32的周围可以提示“试试投屏到电视上看吧”。若用户希望将第一视频投屏到电视上,则可以对投屏按钮32进行操作,进而触发投屏开启指令。此处并不限定投屏按钮32在用户界面中的位置。例如,投屏按钮32可以显示在第一播放器31的右上角,投屏按钮32还可以显示在用户界面的其他位置。此外,投屏按钮32在用户界面中的位置可以是固定的或者非固定的。当投屏按钮32在用户界面中的位置是非固定的时,用户可以拖拽该投屏按钮32到用户界面的某一位置。
具体的,用户可通过对投屏按钮32的操作,开启第一设备21或视频应用程序的投屏功能。为了便于描述,下文以开启第一设备21的投屏功能为例进行介绍。例如,当用户对 投屏按钮32进行操作时,用户可以触发一个投屏开启指令,当第一设备21接收到该投屏开启指令时,第一设备21可以根据该投屏开启指令开启第一设备21的投屏功能。具体的,用户对投屏按钮32的操作不限于点击、长按、双击等操作,还可以是其他操作。
S102、响应于所述投屏开启指令,将第一视频投屏到目标设备。
其中,目标设备可以为第二设备,后续若无特殊说明,目标设备和第二设备均指代被投屏设备。在一些可能的实现方式中,当第一设备21接收到用户的投屏开启指令时,第一设备21可以显示投屏引导页。由于第一设备将视频进行投屏需要消耗一定的流量,该投屏引导页可以提示用户将第一设备21与周围的无线保真(Wireless-Fidelity,Wi-Fi)热点进行连接。具体的,该投屏引导页可以显示第一设备21周围的Wi-Fi热点的名称,第一设备21可以根据用户对某个Wi-Fi热点名称的点击操作,连接该Wi-Fi热点。进一步的,第一设备21可以搜索周围的可投屏设备,例如可投屏电视。在第一设备21搜索可投屏设备的过程中,该投屏引导页可以提示“正在搜索可投屏设备”。当第一设备21与可投屏设备之间的网络连接信号较弱时,该投屏引导页可以提示“请检测网络连接”。当第一设备21周围的可投屏设备没有连接到Wi-Fi热点时,该投屏引导页可以提示“请保持手机和电视处于同一Wi-Fi热点的覆盖下”。
需要说明的是,第一设备21与可投屏设备之间的连接方式不限于Wi-Fi,还可以是其他的无线连接方式,例如蓝牙。在另一些实施例中,连接方式还可以是有线连接方式。在第一设备21与可投屏设备建立连接后,该可投屏设备可称为被投屏设备,即上文所述的第二设备22。
具体的,当第一设备21检测到周围的可投屏设备时,投屏引导页可以显示可投屏设备的标识。当可投屏设备为多个时,本实施例并不限定多个可投屏设备的标识在投屏引导页中的排列顺序。例如,排列在第一位的可投屏设备的标识可以是最近一次与第一设备21连接的可投屏设备的标识。
进一步,第一设备21可以自动与最近一次连接的可投屏设备再次连接。在另一些实施例中,第一设备21可以根据用户对多个可投屏设备的标识中某一可投屏设备的标识的选择操作,与被用户选中的可投屏设备建立连接。
可选的,第一设备21可以向第二设备发送第一投屏指令,该第一投屏指令包括第一视频的视频信息,第一投屏指令用于控制第二设备22根据第一视频的视频信息,播放第一视频。
当第一设备21与第二设备22建立连接后,第一设备21可以向第二设备22发送第一投屏指令,该第一投屏指令包括第一视频的视频信息。可选的,第一视频的视频信息包括如下至少一种:第一视频的视频数据和第一视频的视频地址。
在一种可能的实现方式中,第二设备22在接收到第一投屏指令后,可直接根据第一视频的视频信息,播放该第一视频。例如,第二设备22可以投屏显示第一视频。
在另一种可能的实现方式中,第一投屏指令用于控制第二设备22中的第二播放器开启。例如,第二设备22在接收到第一投屏指令后,第二设备22可根据该第一投屏指令启动第二设备22中的播放器,第二设备22中的播放器可记为第二播放器。第二设备22可以根据 第一视频的视频信息,控制第二设备22中的第二播放器,播放该第一视频。第二播放器可以记录或缓存第二设备22播放过的视频的视频信息。例如,第一视频的视频数据或第一视频的视频地址。当用户需要在第二设备22上观看第一视频时,用户可以在第二播放器中寻找第一视频的视频信息,使得第二播放器直接播放第一视频,从而用户无需再次利用第一设备21对第二设备22播放过的视频再次进行投屏操作,进一步提高了投屏效率。
在一些实施例中,第一设备21向第二设备22发送第一投屏指令之后,第一设备21还可以向第二设备22发送至少一次投屏指令。例如,第一设备21向第二设备22发送第一投屏指令之后,第一设备21还可以向第二设备22发送第二投屏指令、第三投屏指令等。其中,第二投屏指令用于控制第二设备中的第二播放器开启。第三投屏指令也可以用于控制第二设备22中的第二播放器开启。以第二投屏指令为例,第二投屏指令不仅可以用于控制第二设备22投屏播放不同于第一视频的其他视频,也可以控制第二设备22的第二播放器开启,从而使得第二设备22控制第二播放器播放第二视频等。
第一设备21将第一播放器31中当前播放的第一视频投屏到第二设备22进行播放可以有如下几种实现方式:
在第一种实现方式中,第一设备21将第一播放器31中当前播放的第一视频的视频数据通过第一设备21和第二设备22之间的无线传输通道发送给第二设备22,视频数据可以是视频中的每一帧图像数据和每一帧音频数据。第二设备22在接收到第一视频的视频数据播放该第一视频。在第一种实现方式中,第一设备21和第二设备22可以同步播放该第一视频,也就是说,第一设备21上第一视频的播放进度与第二设备22上第一视频的播放进度同步。
第二种实现方式中如图4所示,第一设备21可以从视频应用程序对应的服务器23获取第一播放器31中当前播放的第一视频的视频地址,该视频地址可以是统一资源定位符(Uniform Resource Locator,URL)。第一设备21将该第一视频的视频地址发送给第二设备22。第二设备22根据该第一视频的视频地址获取该第一视频的视频数据后,播放该第一视频。在一些示例中,第一视频存储在服务器24中,第二设备22可以根据该第一视频的视频地址从服务器24获取到第一视频的视频数据。
需要说明的是,服务器23和服务器24可以是同一个服务器,也可以是不同的服务器。在第二种实现方式中,当第一设备21将第一视频的视频地址发送给第二设备22之后,第一设备21可以暂停播放第一视频,从而降低第一视频的耗电;当然在第二种情况中,第一设备21也可以不暂停播放第一视频。
可选的,第一视频的视频信息还可以包括第一视频的投屏参数。该投屏参数包括如下至少一种:播放进度、分辨率和播放音量。
在一些实施例中,第一设备21向第二设备22发送的第一视频的视频信息中包括第一视频在第一设备21中的播放进度。当第一视频在第一设备21上播放到30%时,用户开启投屏功能,第一设备21可以将第一视频的播放到30%的播放进度发送给第二设备22,从而使得第二设备22可以从播放到30%的播放进度继续播放第一视频。当然,第二设备22还可以根据第一视频的分辨率、播放音量等投屏参数,播放第一视频。
S103、获取所述第一视频在所述目标设备上的播放进度。
其中,第一视频在目标设备上的播放进度可以是第二设备上第一视频的播放进度。在一些实施例方式中,第一设备21将第一播放器31中当前播放的第一视频投屏到第二设备22进行播放后,第一设备21可以实时监测第一视频的播放进度,第一设备21也可以非实时监测第一视频的播放进度。
在一些示例中,第一设备21将第一视频的视频数据发送给第二设备22的情况下,第一设备21和第二设备22同步播放该第一视频,第一设备上第一视频的播放进度与第二设备上第一视频的播放进度同步,第一设备21可以实时监测第一设备21上第一视频的播放进度。
在另一些示例中,第一设备21将第一视频的视频地址发送给第二设备22,第二设备22可以根据该第一视频的视频地址,从服务器24获取与该第一视频的视频地址对应视频数据,并进行播放。由于第一设备21和第二设备22获取第一视频的视频数据的来源等信息可能不同,第一设备21上第一视频的播放进度并不影响第二设备22上第一视频的播放进度。因此,第二设备22播放第一视频之后,第一设备21可以暂停播放第一视频。此时,第一设备21可以实时监测第二设备22上第一视频的播放进度。例如,第二设备22可以将第二设备22上第一视频的播放进度实时发送给第一设备21,或者第二设备22在即将播放完第一视频时,将第二设备22上第一视频的播放进度发给第一设备21,以便第一设备21将第二投屏指令发给第二设备22,以将第二视频投屏到第二设备22。
S104、根据所述播放进度,确定所述第一视频投屏完成时,将第二视频投屏到所述目标设备。
在一些实施例中,第一设备21根据第二设备上第一视频的播放进度,确定第一视频在第二设备22上投屏完成时,第一设备21可以自动将第二视频投屏到第二设备22上,从而无需用户进一步的手动投屏操作,也可以使得第二设备22上播放的投屏视频是连续的。
可选的,第一设备21根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,向第二设备22发送第二投屏指令,第二投屏指令包括第二视频的视频信息,第二投屏指令用于控制第二设备22根据第二视频的视频信息,播放第二视频。
在一些示例中,第一设备21确定第二设备22上第一视频投屏完成时,第一设备21向第二设备22发送第二投屏指令,该第二投屏指令包括第二视频的视频信息,第二视频的视频信息包括第二视频的视频数据或视频地址。同理,第二设备22可以根据第二视频的视频数据与第一设备21同步播放该第二视频;第二设备22也可以根据的第二视频的视频地址,从服务器24获取该第二视频的视频数据,播放该第二视频。
在一种可能的实现方式中,第二设备22在接收到第二投屏指令后,可直接根据第二视频的视频信息,播放该第二视频。例如,第二设备22可以投屏显示第二视频。
在另一种可能的实现方式中,所述第二投屏指令用于控制第二设备中的第二播放器开启。例如,第二设备22在接收到第二投屏指令后,第二设备22可根据该第二投屏指令启动第二设备22中的播放器,第二设备22中的播放器可记为第二播放器。第二设备22可以根据第二视频的视频信息,控制第二设备22中的第二播放器,播放该第二视频。同理,第 二播放器可以记录或缓存第二设备22播放过的视频的视频信息。例如,第二视频的视频数据或第二视频的视频地址。当用户需要在第二设备22上观看第二视频时,用户可以在第二播放器中寻找第二视频的视频信息,使得第二播放器直接播放第二视频,从而用户无需再次利用第一设备21对第二设备22播放过的视频再次进行投屏操作,进一步提高了投屏效率。
可选的,第一设备21可以获取第二视频的视频信息,根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,根据所述第二视频的视频信息,向第二设备22发送第二投屏指令。
在一些实施例中,第一设备21可以预先获取第二视频的视频信息。当第一设备21确定第一视频在第二设备22上投屏完成时,根据预先获取的第二视频的视频信息,向第二设备22发送第二投屏指令。
其中,第一设备21获取第二视频的视频信息,可包括如下几种实现方式:
第一种实现方式中,第一设备21从视频信息列表中获取第二视频的视频信息,视频信息列表包括一个或多个视频的视频信息,在一些示例中,视频信息列表中的视频可以是排在第一视频之后需要播放的视频,例如第二视频。
第一设备21或视频应用程序中可预先存储有视频信息列表。其中,第二视频的视频信息可以是该视频信息列表中的任意一个视频的视频信息。例如,第二视频的视频信息是该视频信息列表中的第一个视频信息,该视频信息列表中视频的视频信息可以是在第一设备21播放第一视频之前存储在第一设备21或第一设备21的视频应用程序中,当然,视频信息列表中视频的视频信息也可以是第一设备21播放第一视频时或播放第一视频后存储。此外,第一视频也可以是该视频信息列表中的视频。
第二种实现方式中,第一设备21从服务器获取第二视频的视频信息。在一些示例中,当视频信息列表为空时,第一设备21可以向服务器23发送获取请求,以获取一个或多个视频的视频信息。其中,第二视频的视频信息可以是该一个或多个视频的视频信息中的任意一个,也可以是播放列表中预设位置上视频的视频信息,例如预设位置可以是播放列表中排在第一视频之后的位置。
在一些实施例中,第一设备21可以在第一视频的播放进度大于或等于预设进度时,获取第二视频的视频信息。第一设备21可以在第一视频播放完成之前获取第二视频的视频信息。例如,第一设备21可以在第一视频的播放进度达到70%-90%的时,获取第二视频的视频信息。第一设备21也可以在第一视频播放完成时获取第二视频的视频信息。例如,第一设备21可以在第一视频的播放进度达到100%的时,获取第二视频的视频信息。
在本实施例中,第一设备21根据第一视频在第二设备22上的播放进度,确定第一视频在第二设备22上投屏完成的方法,可包括如下几种实现方式:
第一种可能的情况中,第一视频投屏完成具体可以是第一视频在第二设备22上播放完成,例如第一视频在第二设备22上的播放进度达到了100%。在第一设备21上第一视频的播放进度与第二设备22上第一视频的播放进度同步时,第一视频投屏完成也可以是第一视频在第一设备21上播放完成。
第二种可能的情况中,第二设备22上播放的投屏视频(例如第一视频)包括按顺序播放的片头部分、剧情部分和片尾部分,预设进度可以是投屏视频播放完成剧情部分时对应的播放进度,也可以是投屏视频播放完成片尾部分时对应的播放进度。
在一些示例中,第一视频在第二设备上的播放进度达到预设进度,具体可以是第一视频的剧情部分(主体内容)在第二设备22上播放完成该第一视频的播放进度。例如,第一视频是一集电视剧,这一集电视剧包括片头部分、剧情部分和片尾部分。其中,片头部分、剧情部分和片尾部分中各个部分在每一集电视剧中所占的比例信息具体可以是各个部分在每一集电视剧中持续的时长与每一集电视剧的总时长的比值。这一集电视剧的总时长例如是40分钟,片头部分占2分钟,剧情部分占36分钟,片尾部分占2分钟。这一集电视剧投屏完成具体可以是这一集电视剧的剧情部分在第二设备22上播放完成。也就是说,如果将40分钟作为100%的进度,那么当片头部分播放完成时,这一集电视剧的播放进度达到了5%。当剧情部分播放完成时,这一集电视剧的播放进度达到了95%。当片尾部分播放完成时,这一集电视剧的播放进度达到了100%。如此,预设进度可以是95%,也可以是100%。
第一视频对应的电视剧可来源于服务器23,服务器23可以统计电视剧中每一集电视剧的片头部分、剧情部分和片尾部分中各个部分在每一集电视剧中所占的比例。服务器23可以将每一集电视剧的片头部分、剧情部分和片尾部分中各个部分在每一集电视剧中所占的比例信息、时间戳信息等发送给第一设备21。第二设备22播放第一视频的过程中,第一设备21确定第一视频的播放进度达到预设进度95%,且第一设备21确定第一视频的片头部分和剧情部分在该第一视频中所占的比例为95%时,第一设备21可以确定第一视频的主体内容即剧情部分在第二设备22上播放完成,此时可以确定第一视频投屏完成。接着第一设备21可根据第二视频的视频信息,将第二视频投屏到第二设备22进行播放。从而可以在视频投屏时自动跳过片尾部分。
本公开实施例提供的视频投屏方法,第一设备21根据用户的投屏开启指令,将当前播放的第一视频投屏到第二设备,并在第一视频投屏到第二设备之后,监测第一视频的播放进度,当根据第一视频的播放进度,确定第一视频投屏完成时,第一设备可以自动将第二视频投屏到第二设备,从而使得前一个视频投屏完成后可以继续投屏下一个视频,用户无需在前一个视频投屏完成后进行投屏操作。也就是说,多个视频可以在第二设备上连续投屏播放,中间不需要用户频繁地进行投屏操作,通过在前一视频投屏完成时自动投屏下一个视频,使得第二设备可以自动连续投屏,提高了投屏效率,从而提高了用户体验。
如图5所示为本实施例提供的视频投屏方法的示意图。该方法包括如下几个步骤:
S501、视频进入投屏状态。
用户点击投屏按钮32后投屏功能开启,第一设备21或第一设备21上安装的视频应用程序进入投屏状态。以第一设备21为例,当第一设备21视频投屏到第二设备22进行播放时,第一设备21进入投屏状态。该投屏状态可以被保存在第一设备21中。
在第一设备21处于开机状态或在该视频应用程序存活的生命周期中,该第一设备21或视频应用程序可以记忆该投屏状态,该投屏状态可以是第一设备21或视频应用程序当前是正在投屏的状态。其中,该视频应用程序存活的生命周期具体可以是该视频应用程序的 运行期间,该运行期间可以包括在前端的运行期间,也可以包括在后台的运行期间。
S502、判断视频信息列表是否为空,若是,则执行S503,否则执行S504。
第一设备21或视频应用程序中可以预先存储有视频信息列表,该视频信息列表可包括一个或多个视频的视频信息。当第一设备21或视频应用程序进入投屏状态时,第一设备21可以检测该视频信息列表是否为空。
S503、获取一个或多个视频的视频信息,并将一个或多个视频的视频信息存储到视频信息列表。
在一些示例中,当第一设备21检测到该视频信息列表为空时,第一设备21可以从服务器23获取一个或多个视频的视频信息,并将该一个或多个视频的视频信息存储到视频信息列表中。
在另一些示例中,当第一设备21检测到该视频信息列表为空时,第一设备21可以根据第一视频的视频信息向服务器23发送获取请求,以获取与第一视频相关的第二视频的视频信息。第一设备21可以将该第二视频的视频信息存储到视频信息列表中,同理,第一设备21还可以从服务器23获取更多视频的视频信息存储到视频信息列表中。
S504、等待视频投屏完成。
当第一设备21检测到该视频信息列表不为空时,第一设备21等待第一视频投屏完成。
S505、从视频信息列表中获取新的视频信息,并根据新的视频信息,对新的视频进行投屏。
新的视频可以是第二视频,新的视频信息可以是第二视频的视频信息。当第一设备21确定第一视频投屏完成时,从视频信息列表中获取新的视频信息。当第一设备将第二视频投屏到第二设备后之后,又可以返回到执行S501。通过重复执行S501-S505可以实现视频不间断的投屏。
本公开实施例提供的视频投屏方法,第一设备21通过判断视频信息列表是否为空,若该视频信息列表为空,则获取一个或多个视频的视频信息,并将一个或多个视频的视频信息存储到该视频信息列表中,使得该视频信息列表中持续有可用的视频的视频信息,从而使得第一设备可以持续地将视频信息列表中视频,投屏到第二设备上。在第一视频的播放进度大于或等于预设进度时,第一设备21从视频信息列表中获取第二视频的视频信息。在第一视频还未投屏完成时,第一设备21从视频信息列表中提前获取第二视频的视频信息,可保证第一视频投屏完成时,紧接着将第二视频投屏到第二设备22上,从而使得第二设备及时地播放第二视频。
图6为本公开实施例中的另一种视频投屏方法的流程图。本实施例在上述实施例的基础上,进一步对视频投屏方法进行了具体说明。相应的,如图6所示,本实施例的方法应用于如上所述的第一设备21中,具体包括:
S601、接收投屏开启指令。
S601和S101的实现过程和具体原理类似,此处不再赘述。
S602、响应于所述投屏开启指令,将第一视频投屏到目标设备。
S602和S102的实现过程和具体原理类似,此处不再赘述。
S603、控制投屏设备的投屏应用程序中的第一播放器进入暂停状态。
其中,投屏设备可以是第一设备21。第一设备21中的视频应用程序具备投屏功能时,该视频应用程序还可称为投屏应用程序。在一些实施例中,第一设备21将第一播放器31中当前播放的第一视频的视频地址发送给第二设备22,第二设备22可以根据第一视频的视频地址,从服务器24中获取第一视频的视频数据,并播放第一视频。在一些可能的实现方式中,第一设备21的第一播放器31中播放第一视频的播放进度并不影响第二设备22的第二播放器的播放进度,即第二设备22播放第一视频并不受限于第一设备21中播放第一视频。因此,第一设备21将第一视频投屏到第二设备22后,第一设备21可以控制第一播放器31进入暂停状态,使第一播放器31暂停播放第一视频。由第二设备22播放第一视频,从而可以节省第一设备21的网络流量、降低第一设备21的耗电等。
在另一种可能的实现方式中,第一设备21将第一播放器31中当前播放的第一视频投屏到第二设备22后,第一设备21也可以控制第一播放器31继续播放第一视频,即第一设备21和第二设备22可以同步播放第一视频。
当第一播放器31暂停播放时,第一设备21进入投屏控制页面,该投屏控制页面具体可以是如图7所示的用户界面。如图7所示,第一播放器31暂停播放,第一播放器31上显示暂停标识33。
S604、从所述目标设备接收所述第一视频的播放进度。
第一设备21可以从第二设备22实时接收第一视频的播放进度,第一设备21可以在该投屏控制页面中实时更新第一视频的播放进度。如图7所示,进度条34表示第一视频的播放进度。可以理解的是,第二设备22上也可以显示第一视频的播放进度。也就是说,第一视频的播放进度可以在第一设备21和第二设备22上同步更新。
另外,用户可以通过拖动进度条34控制第二设备22上第一视频快进或快退,从而调节第二设备22上第一视频的播放进度。用户还可以通过长按快进键35控制第二设备22上第一视频快进,长按快退键36控制第二设备22上第一视频快退。
在一些示例中,当用户对该投屏控制页面中的进度控制图标例如进度条34进行操作时,可以触发相应的进度控制指令。第一设备21将该进度控制指令发送给第二设备22。当第二设备22接收到该进度控制指令时,根据该进度控制指令控制第一视频的播放进度。
需要说明的是,在该投屏控制页面中用于控制播放进度的图标并不限于如图7所示的进度条34、快进键35和快退键36,还可以包括其他图标。
用户可以通过第二设备22的控制器控制第一视频的播放进度。例如,当第二设备22为电视时,该控制器具体可以是遥控器。用户可以通过遥控器控制电视上第一视频的播放进度。
用户还可以在该投屏控制页面控制第一视频的播放音量。如图7所示,当用户对音量控制图标37进行操作时,可以触发音量控制指令。第一设备21将该音量控制指令发送给第二设备22,从而使得第二设备22可以调节第一视频的播放音量。用户也可以通过第二设备22的控制器控制第一视频的播放音量。
需要说明的是,在该投屏控制页面中用于控制播放音量的图标并不限于如图7所示的音量控制图标37,还可以包括其他图标。例如,该投屏控制页面可以显示有“+”和“—”。当用户长按“+”或“—”时,可以触发播放音量调节指令。当第一设备21接收到该播放音量调节指令时,根据该播放音量调节指令调节第一视频在第二设备22中的播放音量。其中,“+”用于增大播放音量,“—”用于降低播放音量。此外,如果第一设备21为手机时,用户也可以通过按该手机的音量调节按钮时,可以触发播放音量调节指令,以用于调节第一视频在第二设备22中的播放音量。
需要说明的是,用户也可以通过第二设备22的控制器控制第一视频暂停。例如,第二设备22为电视,第二设备22的控制器为遥控器,该遥控器包括暂停按钮,当用户按压暂停按钮时可触发视频暂停控制指令。接着遥控器将该视频暂停控制指令发送给第二设备22,第二设备22根据该视频暂停控制指令控制第一视频暂停。
用户还可以通过该投屏控制页面中的分辨率控制图标38调节第二设备22上第一视频的清晰度。例如,当用户对分辨率控制图标38进行操作时,该投屏控制页面中可弹出分辨率选择弹窗,该分辨率选择弹窗可包括多种分辨率模式,用户可以选择其中一种分辨率模式。具体的,当用户选择某一种分辨率模式时可触发分辨率配置指令,第一设备21将该分辨率配置指令发送给第二设备22,第二设备22可根据该分辨率配置指令所指示的分辨率模式,配置第一视频在第二设备22上显示的分辨率,从而实现对第二设备22上第一视频的清晰度进行调节。
在一些实施例中,视频应用程序还具有更换可投屏设备的功能。例如,当用户需要将第二设备22更换为其他设备时,可以点击设备更换图标39,此时第一设备21可进入设备搜索页面,该设备搜索页面具体可以是如上所述的投屏引导页,该投屏引导页包括多个可投屏设备的标识。用户可以选择除第二设备22之外的其他可投屏设备作为新的第二设备。当用户单击关闭设备搜索页面后,第一设备21可回到如图7所示的投屏控制页面。
需要说明的是,如图7所示的用户界面只是示意性说明,本实施例并不限定各个图标的形状、位置等。
S605、当所述第一视频的播放进度大于或等于预设进度时,获取第二视频的视频信息。
当第一视频的播放进度大于或等于预设进度时,第一设备21可以获取第二视频的视频信息。例如第二视频的视频信息可以是第二视频的视频地址(例如URL),也可以是第二视频的视频数据。
S606、在所述第一视频投屏完成时,将所述第二视频的视频信息发送给所述目标设备,所述目标设备用于根据所述第二视频的视频信息获取所述第二视频,并播放所述第二视频。
以第二视频的视频信息为第二视频的视频地址为例,第一视频投屏完成时,第一设备21将第二视频的视频地址发送给第二设备22。第二设备22可以根据第二视频的视频地址从服务器24中获取该第二视频的视频数据,并播放该第二视频。
在一些实施例中,第二视频的视频信息还包括:第二视频的播放进度、第二视频的分辨率和第二视频的播放音量中的至少一种。
服务器23可以统计电视剧中每一集电视剧的片头部分、剧情部分和片尾部分中各个部 分在每一集电视剧中所占的比例。服务器23可以将每一集电视剧的片头部分、剧情部分和片尾部分中各个部分在每一集电视剧中所占的比例信息、时间戳信息等发送给第一设备21。
如上述实施例所述,当第二设备22上第一视频的播放进度达到95%时,第一设备可以确定第一视频投屏完成。第一设备21向第二设备22发送第二视频的视频信息,第二视频的视频信息不仅包括第二视频的视频地址,还可以包括第二视频的播放进度。例如,第二视频的播放进度可以是第二视频的起始播放进度。其中,起始播放进度可以是投屏视频播放完成片头部分时对应的播放进度。以投屏视频为第二视频为例,第二视频的起始播放进度可以是第二视频中的片头部分在该第二视频中所占的比例。例如,第二视频的起始播放进度可以是5%。也就是说,第二设备22可以从第二视频5%的播放进度开始播放第二视频。如此,当第二设备22从第二视频的5%开始播放时,可以跳过第二视频的片头部分,如此用户无需对电视剧中每一集电视剧的重复部分进行多次观看,提升用户体验。
第一设备21向第二设备22发送的第二视频的视频信息还可以包括第二视频的分辨率,从而使得第二设备22可以根据该第二视频的分辨率调节第二设备22上第二视频的分辨率。
可选的,第一设备21控制第一设备21的投屏应用程序中的第一播放器进入暂停状态之后,该方法还包括:第一设备21接收投屏停止指令,根据该投屏停止指令,控制投屏设备的投屏应用程序中的第一播放器进入播放状态。
当第一设备21或视频应用程序处于投屏状态时,用户还可以控制第一设备21或视频应用程序退出投屏状态。如图7所示,当用户再次对投屏按钮32进行操作时可触发一个投屏停止指令。也就是说,投屏按钮32可以是一个投屏控制开关,在非投屏状态下,用户点击一次投屏按钮32可控制第一设备21或视频应用程序进入投屏状态。在投屏状态下,用户点击一次投屏按钮32可控制第一设备21或视频应用程序退出投屏状态。
举例说明,在非投屏状态下,当用户点击一次投屏按钮32,第一设备21可以控制第一设备21或视频应用程序进入投屏状态。第一设备21上播放的视频可以投屏到第二设备22上播放。以第一设备21上播放的视频为第一视频为例,第一设备21上第一视频的播放进度为40%时,用户对投屏按钮32进行操作时,第一设备21控制第一设备21进入投屏状态。接着第一设备21向第二设备22发送第一视频的视频信息,该第一视频的视频信息可以包括第一视频的视频地址以及第一视频的播放进度(例如上述40%),如此第二设备22可以根据第一视频的视频地址获取到第一视频的视频数据,并根据第一视频的播放进度,从40%处继续播放第一视频。如此,用户无需在第二设备22上,从该第一视频的0%处重新观看已观看过的重复部分,而是直接从未观看的部分开始观看,进而节约用户时间,提高用户体验。
接着,用户可触发投屏停止指令,例如当用户再次点击投屏按钮32时,可触发一个投屏停止指令,当第一设备21接收到该投屏停止指令时,第一设备21可控制第一设备21中的第一播放器进入播放状态。第二设备22上播放的投屏视频可以恢复到第一设备21上继续播放。在一些实施例中,第二设备22上播放第一视频时,第二设备22上第一视频的播放进度为50%,用户关闭了投屏功能,第一设备21从50%继续播放上述第一视频。当停止在第二设备22上投屏的时候,第一设备21上从第二设备22投屏结束时对应的播放进度, 继续播放第二设备上的投屏视频。如此用户无需在第一设备21上,从该第一视频的40%处重新观看第二设备已经播放过的重复部分,而是直接从未观看的部分开始观看,例如从第一视频的50%处开始观看,进而节约用户时间,提高用户体验。该方法可以实现第一设备21和第二设备22接力播放第一视频,从而保证了第一视频能够持续、不间断地播放,提高了用户观看视频的体验,提高了用户的满意度。在一些实现方式中,用户还可以在第二设备22的遥控器上点击返回按钮,从而控制第二设备22退出投屏状态,第二设备22上播放的第一视频可以恢复到第一设备21上继续播放,保证了第一视频能够持续、不间断地播放,提高了用户观看视频的体验。
本公开实施例提供的视频投屏方法,第一设备21通过第一设备21实时监测前一个视频在第二设备上播放的播放进度,当前一个视频的播放进度达到第二设备开始播放前一个视频的片尾部分对应的播放进度时,确定前一个视频在第二设备上投屏完成。第一设备21将下一个视频的视频信息发送给第二设备,使得第二设备开始播放下一个视频,如此第二设备可以跳过前一个视频的片尾部分,用户无需重复观看该片尾部分,节约用户时间,提高用户体验。
进一步,当前一个视频在第二设备22上播放完成时,第一设备21将下一个视频的播放进度和视频地址等视频信息发送给第二设备22,第二设备22无需从下一个视频的起始点(例如播放进度为0%)开始播放下一个视频,而是可以从下一个的视频的播放进度(例如5%)开始播放,如此第二设备22可以跳过下一个视频的片头部分。进而用户无需重复观看多个视频的重复部分,节约了用户时间,提高用户体验。
更进一步,第一设备21在非投屏状态下,第一设备21将当前第一设备21上播放的当前视频的播放进度和视频地址等视频信息发送给第二设备22,如此第二设备22可以根据该当前视频的播放进度和视频地址,直接从该当前视频的播放进度处播放该当前视频。用户无需在第二设备22上从头开始观看该当前视频。第一设备21在投屏状态下,第一设备21将第一设备21在当前视频未完全播放完时向第二设备发送的下一视频的投屏指令,第二设备22在未完全播放完当前视频时,即开始播放下一视频,如此第二设备22无需播放当前视频的片尾部分。并且,第一设备21通过将下一视频的起始播放进度发送给第二设备22,第二设备22无需播放下一视频的起始播放进度之前的内容如片头部分,从而节省用户时间,进而用户可以观看更多个视频,进一步提高了用户体验。
可选的,所述方法还包括:第一设备21确定第一视频投屏完成时,第一设备21的投屏应用程序的第一播放器关闭,第一设备21重新启动该第一播放器。
第一设备21将第一播放器31中当前播放的第一视频投屏到第二设备22播放,当第一视频投屏完成时,第一播放器31可能会被自动关闭。
在一些实施例中,当第一视频投屏完成时,第一设备21可以检测第一播放器31是否被关闭,若第一播放器31被关闭,可以重新启动第一播放器31,并且使第一播放器31处于暂停状态。
本公开实施例提供的视频投屏方法,第一设备21在检测到第一播放器被关闭后,通过 重新启动该第一播放器。如此保证第一设备21能够对后续视频正常投屏到第二设备22,减少投屏过程中,出现中断的情况,进一步减少用户再次进行手动投屏操作的次数,进一步提高用户使用第一设备将视频投屏到第二设备的便利性,提升用户体验。
与上述实施例相结合,当第一视频在第一设备21的视频应用程序的第一播放器31播放时,所述方法还可以包括如图8所示的如下几个步骤:
S801、接收投屏控制图标显示指令。
如图7所示的用户界面上还可以包括一个预设图标,当用户点击该预设图标时可触发投屏控制图标显示指令,第一设备21接收到该投屏控制图标显示指令时,可在用户界面上显示投屏控制图标,该投屏控制图标具体可以是如图9所示的投屏控制图标94,用户可以通过该投屏控制图标进行投屏控制。
可选的,当所述投屏控制图标的显示条件成立时,第一设备21接收投屏控制图标显示指令。投屏控制图标94的显示条件可包括预设条件。作为一种示例,预设条件可以是第一设备21的投屏应用程序从前端运行状态转换为后台运行状态。如此,第一设备21检测到投屏应用程序从前端运行状态转换为后台运行状态时,即满足显示条件,第一设备21接收投屏控制图标显示指令。
图7所示的用户界面是视频应用程序提供的用户界面。在一些应用场景下,用户可能会控制该视频应用程序进入后台运行模式。在一些可能的实现方式中,当用户需要开启第一设备21上的其他应用程序时,可以通过点击如图7所示的返回按钮40,使第一设备21上的投屏应用程序从在前端运行状态转换为后台运行状态。例如第一设备21可以返回到桌面界面,该桌面界面可包括多个应用程序的图标,用户通过点击其他应用程序的图标可触发第一设备21启动其他应用程序,以便用户对其他应用程序进行使用。
在一些实施例中,用户通过对返回按钮40的操作可以触发一个后台运行指令。当第一设备21接收到该后台运行指令时,可以控制该视频应用程序到后台运行。
S802、响应于所述投屏控制图标显示指令,显示投屏控制图标,所述投屏控制图标用于投屏控制。
在一些实施例中,第一设备21检测到视频应用程序由前端运行状态转换到后台运行状态后,在第一设备21的桌面界面上显示一个投屏控制图标,该投屏控制图标用于进行投屏控制。在一些可能的实现方式中,用户可以通过该投屏控制图标切换投屏到第二设备的视频。例如,用户可以通过该投屏控制图像切换投屏到第二设备的视频为目标视频,该目标视频可以是用户选择的视频。在另一些可能的实现方式中,用户还可以通过该投屏控制图标控制第二设备22上播放的投屏视频的播放进度、播放音量、分辨率等。
如图9所示,91-93分别表示应用程序的图标,94表示投屏控制图标。该投屏控制图标94可以包括多个子图标,不同的子图标可以实现不同的控制功能。具体的,子图标95和子图标96可用于控制投屏视频的播放进度,所谓的投屏视频是指投屏到第二设备上播放的视频。例如,用户对子图标95或子图标96操作时可触发播放进度控制指令,第一设备21将该播放进度控制指令发送给第二设备22,第二设备22根据该播放进度控制指令,控制投屏视频在第二设备22上的播放进度。子图标97和子图标98可用于切换投屏视频。当 用户对子图标97或子图标98操作时可触发视频切换指令,第一设备21将该视频切换指令发送给第二设备22,该视频切换指令包括视频信息列表中目标视频的视频信息,例如目标视频的视频信息可以是下一个视频的视频信息,也可以是上一个视频的视频信息,或者是其他视频的视频信息。如此,第二设备22根据目标视频的视频信息,播放目标视频。
子图标99可用于调节投屏视频的分辨率。在一些可能的实现方式中,当用户对子图标99进行操作时,可以触发分辨率配置指令,第一设备21将该分辨率配置指令发送给第二设备22,如此第二设备22可以基于该分辨率配置指令控制第二设备上播放的投屏视频的分辨率。子图标100可用于控制投屏视频的播放音量。例如,当用户对子图标100进行操作时可触发播放音量控制指令,第一设备21将该播放音量控制指令发送给第二设备22,如此第二设备22可以根据该播放音量控制指令控制第二设备22上播放的投屏视频的播放音量。
子图标95用于控制第二设备22上播放的投屏视频快进。子图标96用于控制第二设备22上播放的投屏视频快退。子图标97用于将投屏到第二设备的视频切换为该视频的下一个视频。子图标98用于将投屏到第二设备的视频切换为该视频的上一个视频。子图标100可以是转动的,当子图标100逆时针转动时,控制第二设备22上播放的投屏视频的播放音量增大。当子图标100顺时针转动时,控制第二设备22上播放的投屏视频的播放音量减小。同理,当用户对子图标95或子图标96进行操作时可触发播放进度控制指令,第一设备21将该播放进度控制指令发送给第二设备22,如此第二设备22可以根据该播放进度控制指令,控制第二设备22上播放的投屏视频的播放进度。当用户对子图标97或子图标98操作时可触发视频切换指令,第一设备21将该视频切换指令发送给第二设备22,该视频切换指令包括视频信息列表中的下一个视频的视频信息或上一个视频的视频信息,从而使得第二设备22根据下一个视频的视频信息或上一个视频的视频信息,播放下一个视频或上一个视频。
需要说明的是,如图9所示的投屏控制图标94只是一种示意性说明。通过投屏控制图标94进行投屏控制的方法不限于如上所述的方法。另外,如图9所示的投屏控制图标94的一些子图标可以是复用的。例如,当用户对子图标95进行单击时,可控制投屏视频在第二设备上快进。当用户对子图标95进行双击时,可控制投屏视频的音量增大。例如,当用户对子图标95进行单击时可触发播放进度控制指令,第一设备21将该播放进度控制指令发送给第二设备22,从而使得第二设备22根据该播放进度控制指令,控制第二设备22上播放的投屏视频的播放进度。当用户对子图标95进行双击时,可触发播放音量控制指令,第一设备21将该播放音量控制指令发送给第二设备22,从而使得第二设备22根据该播放音量控制指令控制第二设备22上播放的投屏视频的播放音量。
需要说明的是,当第一设备21处于投屏状态,并且第一设备21当前并未显示投屏控制页时,投屏控制图标94可以是全局显示的。例如,当第一设备21启动其他应用程序时,第一设备21可以显示其他应用程序的用户界面,并在其他应用程序的用户界面上以透明、半透明、悬浮的方式显示投屏控制图标94,从而使得用户可以在控制其他应用程序的同时,还可以对视频投屏进行控制。
此外,用户还可以通过对投屏控制图标94进行操作,控制视频应用程序从后台运行调整到前端运行。当视频应用程序调整为前端运行时,第一设备21的用户界面可以回到如图7所示的用户界面。本实施例并不限定用户对投屏控制图标94的具体操作方式。第一设备21能够区分开用户对投屏控制图标94中子图标的操作和对投屏控制图标94的操作即可。
在一些实施例中,投屏控制图标94在第一设备21上的显示位置可以是固定的,也可以是不固定的。例如,用户可以对投屏控制图标94进行拖拽,从而改变投屏控制图标94的显示位置。
本公开实施例提供的视频投屏方法,第一设备21通过根据用户的后台运行指令,在后台运行视频应用程序,并在第一设备21的用户界面上显示投屏控制图标,该投屏控制图标用于进行投屏控制。即使第一设备21将处于前端运行状态的视频应用程序调整到后台运行状态时,用户还可以通过该投屏控制图标对该视频应用程序的视频投屏进行控制。如此用户可以在控制其他应用程序的同时,还可以对视频投屏进行控制,进一步提高了用户视频投屏控制的便利性。
在上述实施例的基础上,所述方法还可以包括如图10所示的如下几个步骤:
S1001、接收视频切换指令。
在本实施例中,用户可以随时切换投屏到第二设备上的视频。例如,第一设备21当前投屏到第二设备22上播放的投屏视频是如上所述的第二视频,在第二设备22上播放第二视频播放的过程中,用户可以在如图7所示的用户界面上点击其他视频的缩略图或者用户可以点击如图9所示的子图标97或子图标98等触发视频切换指令。例如,用户点击其他视频的缩略图的操作可触发一个视频切换指令,或者用户点击子图标97或子图标98的操作可触发一个视频切换指令。
S1002、响应于所述视频切换指令,将用户选择的目标视频投屏到所述目标设备。
当第一设备21接收到该视频切换指令后,向第二设备22发送第三投屏指令,第三投屏指令包括用户选择的目标视频的视频信息,所述第三投屏指令用于控制第二设备22根据目标视频的视频信息,播放目标视频。例如,该目标视频的视频信息包括该目标视频的视频数据或该目标视频的视频地址。如上述,第二设备22当前播放的投屏视频为第二视频,当第二设备22接收到该第三投屏指令后,停止播放第二视频,并根据第一设备21发送的该目标视频的视频数据播放该目标视频,或者第一设备21根据目标视频的视频地址,获取目标视频的视频数据,并播放该目标视频。
在一种可能的实现方式中,第二设备22在接收到第三投屏指令后,可直接根据目标视频的视频信息,播放该目标视频。例如,第二设备22可以投屏显示目标视频。
在另一种可能的实现方式中,第三投屏指令用于控制所述第二设备22中的第二播放器开启。例如,第二设备22在接收到第三投屏指令后,第二设备22可根据该第三投屏指令启动第二设备22中的播放器,第二设备22中的播放器可记为第二播放器。进一步,第二设备22可以根据目标视频的视频信息,控制第二设备22中的第二播放器,播放该目标视频。
例如,第二设备22当前播放的是第二视频,用户点击了如图7所示的缩略图70,则 第一设备21可以将缩略图70对应的视频的视频信息发送给第二设备22,从而使得第二设备22播放缩略图70对应的视频。如果用户点击了子图标97,则第一设备21可以将第二视频的下一个视频的视频信息发送给第二设备22,从而使得第二设备22播放第二视频的下一个视频。如果用户点击了子图标98,则第一设备21可以将第二视频的上一个视频的视频信息发送给第二设备22,从而使得第二设备22播放第二视频的上一个视频。其中,第二视频的下一个视频或第二视频的上一个视频具体可以是根据如上所述的视频信息列表确定的。视频信息列表中的视频信息的排序可表示相应的视频排序。
如上实施例可知,用户可以通过操作投屏按钮32控制投屏功能开启或关闭。在本实施例中,当第二设备22当前播放的视频是从第一设备21投屏过来的视频时,第一设备21可以默认切换后的视频也是需要投屏到第二设备22的视频。
可选的,第二设备视频切换指令,检测投屏应用程序是否处于投屏状态,当投屏应用程序处于投屏状态时,第一设备21将用户选择的目标视频投屏到第二设备22。
由于用户可以随时通过操作投屏按钮32控制投屏功能开启或关闭,因此在第一设备21接收到用户触发的视频切换指令时,可以检测视频应用程序当前是否处于投屏状态。如果视频应用程序当前处于投屏状态,则第一设备21可以根据该视频切换指令,直接将用户选择的目标视频的视频信息发送给第二设备22,使得第二设备22根据目标视频的视频信息播放目标视频。如果视频应用程序当前不是投屏状态,则第一设备21可以通过第一播放器31对用户选择的目标视频进行正常播放。具体判断过程如图11所示,如图11所示,该过程具体包括如下几个步骤:
S1101、接收视频切换指令。
S1102、判断视频应用程序当前是否处于投屏状态,是则执行S1103,否则执行S1104。
S1103、新视频直接进入投屏状态。
其中,该新视频可以是用户选择的目标视频。新视频直接进入投屏状态具体可以是指第一设备21将新视频直接投屏到第二设备22上进行播放。第一设备21将新视频直接投屏到第二设备22上进行播放后,视频信息列表的更新、以及从视频信息列表中获取下一个视频的视频信息的过程与上述实施例类似,此处不再赘述。
S1104、以正常状态播放新视频。
可选的,目标视频的投屏参数与历史投屏视频的投屏参数一致。第二设备可存储有历史投屏视频的投屏参数,其中,历史投屏视频可以是如上所述的第一视频或第二视频。投屏参数包括如下至少一种:播放进度、分辨率和播放音量。
当第一设备21向第二设备22发送的第三投屏指令不包括用户选择的目标视频的投屏参数时,第二设备22可以按照历史投屏视频的投屏参数对目标视频进行播放。可选的,目标视频的分辨率与切换之前投屏到所述第二设备的视频的分辨率一致;和/或所述目标视频的播放音量与切换之前投屏到所述第二设备的视频的播放音量一致。例如,第二设备22按照播放第二视频时所用的投屏参数,播放目标视频。举例说明,第二设备22播放第二视频时的分辨率为高清,播放音量为6,第二设备22播放目标视频时的分辨率为高清,播放音量为6。
需要说明的是,用户选择的目标视频可以是视频合集中的任意一个视频。该视频合集是一部完整的电视剧。第二设备22可以连续播放该视频合集中的每一个视频。如果第二设备22已经播放到了该视频合集中的最后一个视频,则播放完该最后一个视频后,可以从该视频合集的第一个视频重新开始播放。
在一些实施例中,当第一设备21在竖屏模式下,由于第一播放器31占用的面积较小,第一设备21的用户界面上可以显示视频合集的多个视频图标。此时,用户可以单击视频合集中的任意一个视频图标,进行投屏的视频切换。当第一设备21在横屏模式下,由于第一播放器31占用的面积较大,可能无法显示视频合集的视频图标,第一设备21的用户界面可以显示“选集”图标。当用户点击“选集”图标时,该用户界面可以显示视频合集的多个视频图标,用户可以单击任意一个视频图标,以切进行投屏的视频切换。
本公开实施例提供的视频投屏方法,第一设备21根据视频切换指令,检测视频应用程序是否处于投屏状态;当视频应用程序处于投屏状态时,则将用户选择的目标视频的视频信息发送给第二设备22,使得第二设备22播放目标视频。当视频应用程序不处于投屏状态时,第一设备21通过该第一设备21的第一播放器31播放该目标视频,而不再控制第二设备22播放该目标视频。第一设备21通过在将视频进行投屏之前,先检测视频应用程序是否处于投屏状态,当视频应用程序处于投屏状态时,直接投屏。当视频应用程序不处于投屏状态时,则不进行投屏,从而避免用户关闭投屏设备的投屏功能后,第一设备21继续进行视频投屏导致的错误操作,保证了视频投屏的正确性。同时,也保证了用户在执行一次投屏操作后,不需要反复执行投屏操作即可使得第二设备连续投屏播放。
另外,用户选择的目标视频的投屏参数与切换之前第二设备上播放的投屏视频的投屏参数一致,减少用户对目标视频的投屏参数的配置次数,用户无需对切换后的目标视频的投屏参数进行重新配置,也能够使第二设备按照用户的习惯播放目标视频,符合用户的需求。进一步节省了用户的时间,提高了用户体验。
图12为本公开实施例中的一种视频投屏装置的结构示意图。本公开实施例所提供的视频投屏装置可以配置于客户端中。该视频投屏装置120具体包括:
接收模块121,用于接收投屏开启指令;
响应模块122,用于根据所述投屏开启指令,将第一视频投屏到第二设备;
获取模块123,用于获取所述第二设备上第一视频的播放进度;
投屏模块124,用于根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,将第二视频投屏到所述第二设备。
可选的,投屏模块124具体用于当所述第二设备上第一视频的播放进度达到预设进度时,确定所述第一视频投屏完成。
可选的,第二设备上播放的投屏视频包括按顺序播放的片头部分、剧情部分和片尾部分;
所述预设进度为所述投屏视频播放完成所述剧情部分时对应的播放进度;或者,
所述预设进度为所述投屏视频播放完成所述片尾部分时对应的播放进度。
可选的,响应模块122具体用于:根据所述投屏开启指令,向所述第二设备发送第一投屏指令,所述第一投屏指令包括所述第一视频的视频信息,所述第一投屏指令用于控制所述第二设备根据所述第一视频的视频信息,播放所述第一视频。
可选的,所述第一视频的视频信息包括所述第一设备上第一视频的播放进度;所述第一投屏指令具体用于控制所述第二设备从所述第一设备上第一视频的播放进度处,播放所述第一视频。
可选的,所述接收模块121,还用于接收投屏停止指令;
所述获取模块123,还用于获取所述二设备上第一视频的播放进度,所述投屏停止指令用于控制所述第一设备从所述第二设备上第一视频的播放进度处,播放所述第一视频。
可选的,投屏模块124具体用于:根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,向所述第二设备发送第二投屏指令,所述第二投屏指令包括所述第二视频的视频信息,所述第二投屏指令用于控制所述第二设备根据所述第二视频的视频信息,播放所述第二视频。
可选的,投屏模块124具体用于:获取第二视频的视频信息,根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,根据所述第二视频的视频信息,向所述第二设备发送第二投屏指令。
可选的,投屏模块124具体用于:从视频信息列表中获取第二视频的视频信息;或者,
从服务器获取所述第二视频的视频信息。
可选的,获取模块123,具体用于:
从所述第二设备接收所述第二设备上第一视频的播放进度。
可选的,该视频投屏装置120还包括:显示模块125;接收模块121还用于:接收投屏控制图标显示指令;显示模块125用于根据所述投屏控制图标显示指令,显示投屏控制图标,所述投屏控制图标用于投屏控制。
可选的,接收模块121具体用于:
当所述投屏控制图标的显示条件满足时,接收投屏控制图标显示指令。
可选的,所述投屏控制图标的显示条件包括:所述第一设备的投屏应用程序从前端运行状态转换为后台运行状态。
可选的,所述投屏控制图标具体用于切换投屏到所述第二设备的视频;和/或,
控制所述第二设备上播放的投屏视频的播放进度、播放音量、分辨率中的一个或多个。
可选的,接收模块121还用于:接收视频切换指令;响应模块122还用于:根据所述视频切换指令,将用户选择的目标视频投屏到所述第二设备。
可选的,响应模块122,具体用于:
根据所述视频切换指令,获取投屏应用程序所处于状态;
当所述投屏应用程序所处的状态为投屏状态时,将用户选择的目标视频投屏到所述第二设备。
可选的,响应模块122具体用于:向所述第二设备发送第三投屏指令,所述第三投屏指令包括用户选择的目标视频的视频信息,所述第三投屏指令用于控制所述第二设备根据 所述目标视频的视频信息,播放所述目标视频。
可选的,所述视频信息,包括如下至少一种:
视频数据和视频地址。
可选的,当所述视频信息包括视频地址时,所述第二设备用于根据所述视频地址,获取与所述视频地址对应的视频数据。
可选的,所述视频信息还包括投屏参数;
所述投屏参数包括如下至少一种:
播放进度、分辨率和播放音量。
可选的,所述目标视频的投屏参数与历史投屏视频的投屏参数一致。
可选的,该视频投屏装置120还包括:控制模块126;控制模块126用于第一视频投屏到第二设备或第二视频投屏到所述第二设备之后,控制投屏应用程序中的第一播放器进入暂停状态。
可选的,接收模块121还用于:接收投屏停止指令;响应模块122还用于:根据所述投屏停止指令,控制所述第一播放器进入播放状态。
可选的,控制模块126还用于:当所述第一视频投屏完成时,且第一设备的投屏应用程序的第一播放器关闭时,重新启动所述第一播放器。
可选的,所述第一投屏指令还用于控制所述第二设备中的第二播放器开启,以播放所述第一视频;
可选的,所述第二投屏指令还用于控制所述第二设备中的第二播放器开启,以播放所述第二视频;
可选的,所述第三投屏指令还用于控制所述第二设备中的第二播放器开启,以播放所述目标视频。
本公开实施例提供的视频投屏装置,可执行本公开方法实施例所提供的视频投屏方法中客户端所执行的步骤,具备执行步骤和有益效果此处不再赘述。
图13为本公开实施例中的一种电子设备的结构示意图。下面具体参考图13,其示出了适于用来实现本公开实施例中的电子设备500的结构示意图。本公开实施例中的电子设备500可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图13示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图13所示,电子设备500可以包括处理装置(例如中央处理器、图形处理器等)501,其可以根据存储在只读存储器(ROM)502中的程序或者从存储装置508加载到随机访问存储器(RAM)503中的程序而执行各种适当的动作和处理。在RAM 503中,还存储有电子设备500操作所需的各种程序和数据。处理装置501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。
通常,以下装置可以连接至I/O接口505:包括例如触摸屏、触摸板、键盘、鼠标、摄 像头、麦克风、加速度计、陀螺仪等的输入装置506;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置507;包括例如磁带、硬盘等的存储装置508;以及通信装置509。通信装置509可以允许电子设备500与其他设备进行无线或有线通信以交换数据。虽然图13示出了具有各种装置的电子设备500,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置509从网络上被下载和安装,或者从存储装置508被安装,或者从ROM 502被安装。在该计算机程序被处理装置501执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:接收投屏开启指令;根据所述投屏开启指令,将第一视频投屏到第二设备进行播放;获取所述第二设备上第一视频的播放进度;根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,将第二视频投屏到所述第二设备。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,本公开提供了一种视频投屏方法,应用于第一设备,包括:
所述第一设备接收投屏开启指令;
所述第一设备根据所述投屏开启指令,将第一视频投屏到第二设备;
所述第一设备获取所述第二设备上第一视频的播放进度;
所述第一设备根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,将第二视频投屏到所述第二设备。
根据本公开的一个或多个实施例,所述第一设备根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成,包括:
当所述第二设备上第一视频的播放进度达到预设进度时,确定所述第一视频投屏完成。
根据本公开的一个或多个实施例,所述第二设备上播放的投屏视频包括按顺序播放的片头部分、剧情部分和片尾部分;
所述预设进度为所述投屏视频播放完成所述剧情部分时对应的播放进度;或者,
所述预设进度为所述投屏视频播放完成所述片尾部分时对应的播放进度。
根据本公开的一个或多个实施例,所述将第一视频投屏到所述第二设备,包括:
所述第一设备向所述第二设备发送第一投屏指令,所述第一投屏指令包括所述第一视频的视频信息,所述第一投屏指令用于控制所述第二设备根据所述第一视频的视频信息,播放所述第一视频。
根据本公开的一个或多个实施例,所述第一视频的视频信息包括所述第一设备上第一视频的播放进度;所述第一投屏指令具体用于控制所述第二设备从所述第一设备上第一视频的播放进度处,播放所述第一视频。
根据本公开的一个或多个实施例,所述方法还包括:
所述第一设备接收投屏停止指令;
所述第一设备获取所述第二设备上第一视频的播放进度,所述投屏停止指令用于控制所述第一设备从所述第二设备上第一视频的播放进度处,播放所述第一视频。
根据本公开的一个或多个实施例,所述第一设备根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,将第二视频投屏到所述第二设备,包括:
所述第一设备根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,所述第一设备向所述第二设备发送第二投屏指令,所述第二投屏指令包括所述第二视频的视频信息,所述第二投屏指令用于控制所述第二设备根据所述第二视频的视频信息,播放所述第二视频。
根据本公开的一个或多个实施例,所述第一设备根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,所述第一设备向所述第二设备发送第二投屏指令,包括:
所述第一设备获取所述第二视频的视频信息;
所述第一设备根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,根据所述第二视频的视频信息,向所述第二设备发送第二投屏指令。
根据本公开的一个或多个实施例,所述第一设备获取所述第二视频的视频信息,包括:
所述第一设备从视频信息列表中获取第二视频的视频信息;或者,
所述第一设备从服务器获取所述第二视频的视频信息。
根据本公开的一个或多个实施例,所述第一设备获取所述第二设备上第一视频的播放进度,包括:
所述第一设备从所述第二设备接收所述第二设备上第一视频的播放进度。
根据本公开的一个或多个实施例,所述方法还包括:
所述第一设备接收投屏控制图标显示指令;
所述第一设备根据所述投屏控制图标显示指令,显示投屏控制图标,所述投屏控制图标用于投屏控制。
根据本公开的一个或多个实施例,所述第一设备接收投屏控制图标显示指令,包括:
当所述投屏控制图标的显示条件满足时,所述第一设备接收投屏控制图标显示指令。
根据本公开的一个或多个实施例,所述投屏控制图标的显示条件包括:所述第一设备的投屏应用程序从前端运行状态转换为后台运行状态。
根据本公开的一个或多个实施例,所述投屏控制图标具体用于切换投屏到所述第二设备的视频;和/或,
控制所述第二设备上播放的投屏视频的播放进度、播放音量、分辨率中的一个或多个。
根据本公开的一个或多个实施例,所述方法还包括:
所述第一设备接收视频切换指令;
所述第一设备根据所述视频切换指令,将用户选择的目标视频投屏到所述第二设备。
根据本公开的一个或多个实施例,所述第一设备根据所述视频切换指令,将用户选择的目标视频投屏到所述第二设备,包括:
所述第一设备根据所述视频切换指令,获取投屏应用程序所处的状态;
当所述投屏应用程序所处的状态为投屏状态时,所述第一设备将用户选择的目标视频投屏到所述第二设备。
根据本公开的一个或多个实施例,所述将用户选择的目标视频投屏到所述第二设备,包括:
所述第一设备向所述第二设备发送第三投屏指令,所述第三投屏指令包括用户选择的目标视频的视频信息,所述第三投屏指令用于控制所述第二设备根据所述目标视频的视频信息,播放所述目标视频。
根据本公开的一个或多个实施例,所述视频信息包括如下至少一种:
视频数据和视频地址。
根据本公开的一个或多个实施例,当所述视频信息包括视频地址时,所述第二设备用于根据所述视频地址,获取与所述视频地址对应的视频数据。
根据本公开的一个或多个实施例,所述视频信息还包括投屏参数;
所述投屏参数包括如下至少一种:
播放进度、分辨率和播放音量。
根据本公开的一个或多个实施例,所述目标视频的投屏参数与历史投屏视频的投屏参数一致。
根据本公开的一个或多个实施例,将第一视频投屏到第二设备或将第二视频投屏到所述第二设备之后,所述方法还包括:
所述第一设备控制投屏应用程序中的第一播放器进入暂停状态。
根据本公开的一个或多个实施例,所述第一设备控制投屏应用程序中的第一播放器进入暂停状态之后,所述方法还包括:
所述第一设备接收投屏停止指令;
所述第一设备根据所述投屏停止指令,控制所述第一播放器进入播放状态。
根据本公开的一个或多个实施例,所述方法还包括:
当所述第一视频投屏完成时,且所述第一设备的投屏应用程序的第一播放器关闭时,所述第一设备重新启动所述第一播放器。
根据本公开的一个或多个实施例,所述第一投屏指令还用于控制所述第二设备中的第二播放器开启,以播放所述第一视频。
根据本公开的一个或多个实施例,所述第二投屏指令还用于控制所述第二设备中的第二播放器开启,以播放所述第二视频。
根据本公开的一个或多个实施例,所述第三投屏指令还用于控制所述第二设备中的第二播放器开启,以播放所述目标视频。
根据本公开的一个或多个实施例,本公开提供了一种视频投屏装置,包括:
接收模块,用于接收投屏开启指令;
响应模块,用于根据所述投屏开启指令,将第一视频投屏到第二设备;
获取模块,用于获取所述第二设备上第一视频的播放进度;
投屏模块,用于根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,将第二视频投屏到所述第二设备。
根据本公开的一个或多个实施例,投屏模块具体用于当所述第二设备上第一视频的播放进度达到预设进度时,确定所述第一视频投屏完成。
根据本公开的一个或多个实施例,第二设备上播放的投屏视频包括按顺序播放的片头部分、剧情部分和片尾部分;
所述预设进度为所述投屏视频播放完成所述剧情部分时对应的播放进度;或者,
所述预设进度为所述投屏视频播放完成所述片尾部分时对应的播放进度。
根据本公开的一个或多个实施例,响应模块具体用于:根据所述投屏开启指令,向所述第二设备发送第一投屏指令,所述第一投屏指令包括所述第一视频的视频信息,所述第一投屏指令用于控制所述第二设备根据所述第一视频的视频信息,播放所述第一视频。
根据本公开的一个或多个实施例,所述第一视频的视频信息包括所述第一设备上第一视频的播放进度;所述第一投屏指令具体用于控制所述第二设备从所述第一设备上第一视频的播放进度处,播放所述第一视频。
根据本公开的一个或多个实施例,所述接收模块,还用于接收投屏停止指令;
所述获取模块,还用于获取所述二设备上第一视频的播放进度,所述投屏停止指令用于控制所述第一设备从所述第二设备上第一视频的播放进度处,播放所述第一视频。
根据本公开的一个或多个实施例,投屏模块具体用于:根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,向所述第二设备发送第二投屏指令,所述第二投屏指令包括所述第二视频的视频信息,所述第二投屏指令用于控制所述第二设备根据 所述第二视频的视频信息,播放所述第二视频。
根据本公开的一个或多个实施例,投屏模块具体用于:获取第二视频的视频信息,根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,根据所述第二视频的视频信息,向所述第二设备发送第二投屏指令。
根据本公开的一个或多个实施例,投屏模块具体用于:从视频信息列表中获取第二视频的视频信息;或者,
从服务器获取所述第二视频的视频信息。
根据本公开的一个或多个实施例,获取模块具体用于:
从所述第二设备接收所述第二设备上第一视频的播放进度。
根据本公开的一个或多个实施例,该视频投屏装置还包括:显示模块;接收模块还用于:接收投屏控制图标显示指令;显示模块用于根据所述投屏控制图标显示指令,显示投屏控制图标,所述投屏控制图标用于投屏控制。
根据本公开的一个或多个实施例,接收模块具体用于:当所述投屏控制图标的显示条件满足时,接收投屏控制图标显示指令。
根据本公开的一个或多个实施例,所述投屏控制图标的显示条件包括:所述第一设备的投屏应用程序从前端运行状态转换为后台运行状态。
根据本公开的一个或多个实施例,所述投屏控制图标具体用于切换投屏到所述第二设备的视频;和/或,
控制所述第二设备上播放的投屏视频的播放进度、播放音量、分辨率中的一个或多个。
根据本公开的一个或多个实施例,接收模块还用于:接收视频切换指令;响应模块还用于:根据所述视频切换指令,将用户选择的目标视频投屏到所述第二设备。
根据本公开的一个或多个实施例,响应模块,具体用于:
根据所述视频切换指令,获取投屏应用程序所处于状态;
当所述投屏应用程序所处的状态为投屏状态时,将用户选择的目标视频投屏到所述第二设备。
根据本公开的一个或多个实施例,响应模块具体用于:向所述第二设备发送第三投屏指令,所述第三投屏指令包括用户选择的目标视频的视频信息,所述第三投屏指令用于控制所述第二设备根据所述目标视频的视频信息,播放所述目标视频。
根据本公开的一个或多个实施例,所述视频信息,包括如下至少一种:
视频数据和视频地址。
根据本公开的一个或多个实施例,当所述视频信息包括视频地址时,所述第二设备用于根据所述视频地址,获取与视频地址对应的视频数据。
根据本公开的一个或多个实施例,所述视频信息还包括投屏参数;
所述投屏参数包括如下至少一种:
播放进度、分辨率和播放音量。
根据本公开的一个或多个实施例,所述目标视频的投屏参数与历史投屏视频的投屏参数一致。
根据本公开的一个或多个实施例,该视频投屏装置还包括:控制模块;控制模块用于第一视频投屏到第二设备或第二视频投屏到所述第二设备之后,控制投屏应用程序中的第一播放器进入暂停状态。
根据本公开的一个或多个实施例,接收模块还用于:接收投屏停止指令;响应模块还用于:根据所述投屏停止指令,控制所述第一播放器进入播放状态。
根据本公开的一个或多个实施例,控制模块还用于:当所述第一视频投屏完成时,且第一设备的投屏应用程序的第一播放器关闭时,重新启动所述第一播放器。
根据本公开的一个或多个实施例,所述第一投屏指令还用于控制所述第二设备中的第二播放器开启,以播放所述第一视频;
根据本公开的一个或多个实施例,所述第二投屏指令还用于控制所述第二设备中的第二播放器开启,以播放所述第二视频。
根据本公开的一个或多个实施例,所述第三投屏指令还用于控制所述第二设备中的第二播放器开启,以播放所述目标视频。
根据本公开的一个或多个实施例,本公开提供了一种电子设备,包括:
一个或多个处理器;
存储器,用于存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开提供的任一所述的视频投屏方法。
根据本公开的一个或多个实施例,本公开提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开提供的任一所述的视频投屏方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (30)

  1. 一种视频投屏方法,其特征在于,应用于第一设备,所述方法包括:
    所述第一设备接收投屏开启指令;
    所述第一设备根据所述投屏开启指令,将第一视频投屏到第二设备;
    所述第一设备获取所述第二设备上第一视频的播放进度;
    所述第一设备根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,将第二视频投屏到所述第二设备。
  2. 根据权利要求1所述的方法,其特征在于,所述第一设备根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成,包括:
    当所述第二设备上第一视频的播放进度达到预设进度时,确定所述第一视频投屏完成。
  3. 根据权利要求2所述的方法,其特征在于,所述第二设备上播放的投屏视频包括按顺序播放的片头部分、剧情部分和片尾部分;
    所述预设进度为所述投屏视频播放完成所述剧情部分时对应的播放进度;或者,
    所述预设进度为所述投屏视频播放完成所述片尾部分时对应的播放进度。
  4. 根据权利要求1所述的方法,其特征在于,所述将第一视频投屏到所述第二设备,包括:
    所述第一设备向所述第二设备发送第一投屏指令,所述第一投屏指令包括所述第一视频的视频信息,所述第一投屏指令用于控制所述第二设备根据所述第一视频的视频信息,播放所述第一视频。
  5. 根据权利要求4所述的方法,其特征在于,所述第一视频的视频信息包括所述第一设备上第一视频的播放进度;所述第一投屏指令具体用于控制所述第二设备从所述第一设备上第一视频的播放进度处,播放所述第一视频。
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    所述第一设备接收投屏停止指令;
    所述第一设备获取所述第二设备上第一视频的播放进度,所述投屏停止指令用于控制所述第一设备从所述第二设备上第一视频的播放进度处,播放所述第一视频。
  7. 根据权利要求1所述的方法,其特征在于,所述第一设备根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,将第二视频投屏到所述第二设备,包括:
    所述第一设备根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,所述第一设备向所述第二设备发送第二投屏指令,所述第二投屏指令包括所述第二视频的视频信息,所述第二投屏指令用于控制所述第二设备根据所述第二视频的视频信息,播放所述第二视频。
  8. 根据权利要求7所述的方法,其特征在于,所述第一设备根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,所述第一设备向所述第二设备发送第二投屏指令,包括:
    所述第一设备获取所述第二视频的视频信息;
    所述第一设备根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,根据所述第二视频的视频信息,向所述第二设备发送第二投屏指令。
  9. 根据权利要求8所述的方法,其特征在于,所述第一设备获取所述第二视频的视频信息,包括:
    所述第一设备从视频信息列表中获取第二视频的视频信息;或者,
    所述第一设备从服务器获取所述第二视频的视频信息。
  10. 根据权利要求1所述的方法,其特征在于,所述第一设备获取所述第二设备上第一视频的播放进度,包括:
    所述第一设备从所述第二设备接收所述第二设备上第一视频的播放进度。
  11. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述第一设备接收投屏控制图标显示指令;
    所述第一设备根据所述投屏控制图标显示指令,显示投屏控制图标,所述投屏控制图标用于投屏控制。
  12. 根据权利要求11所述的方法,其特征在于,所述第一设备接收投屏控制图标显示指令,包括:
    当所述投屏控制图标的显示条件满足时,所述第一设备接收投屏控制图标显示指令。
  13. 根据权利要求12所述的方法,其特征在于,所述投屏控制图标的显示条件包括:所述第一设备的投屏应用程序从前端运行状态转换为后台运行状态。
  14. 根据权利要求11所述的方法,其特征在于,所述投屏控制图标具体用于切换投屏到所述第二设备的视频;和/或,
    控制所述第二设备上播放的投屏视频的播放进度、播放音量、分辨率中的一个或多个。
  15. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述第一设备接收视频切换指令;
    所述第一设备根据所述视频切换指令,将用户选择的目标视频投屏到所述第二设备。
  16. 根据权利要求15所述的方法,其特征在于,所述第一设备根据所述视频切换指令,将用户选择的目标视频投屏到所述第二设备,包括:
    所述第一设备根据所述视频切换指令,获取投屏应用程序所处的状态;
    当所述投屏应用程序所处的状态为投屏状态时,所述第一设备将用户选择的目标视频投屏到所述第二设备。
  17. 根据权利要求16所述的方法,其特征在于,所述将用户选择的目标视频投屏到所述第二设备,包括:
    所述第一设备向所述第二设备发送第三投屏指令,所述第三投屏指令包括用户选择的目标视频的视频信息,所述第三投屏指令用于控制所述第二设备根据所述目标视频的视频 信息,播放所述目标视频。
  18. 根据权利要求4、5、7-9和17中任一项所述的方法,其特征在于,所述视频信息包括如下至少一种:
    视频数据和视频地址。
  19. 根据权利要求18所述的方法,其特征在于,当所述视频信息包括视频地址时,所述第二设备用于根据所述视频地址,获取与所述视频地址对应的视频数据。
  20. 根据权利要求18所述的方法,其特征在于,所述视频信息还包括投屏参数;
    所述投屏参数包括如下至少一种:
    播放进度、分辨率和播放音量。
  21. 根据权利要求16所述的方法,其特征在于,所述目标视频的投屏参数与历史投屏视频的投屏参数一致。
  22. 根据权利要求1所述的方法,其特征在于,将第一视频投屏到第二设备或将第二视频投屏到所述第二设备之后,所述方法还包括:
    所述第一设备控制投屏应用程序中的第一播放器进入暂停状态。
  23. 根据权利要求22所述的方法,其特征在于,所述第一设备控制投屏应用程序中的第一播放器进入暂停状态之后,所述方法还包括:
    所述第一设备接收投屏停止指令;
    所述第一设备根据所述投屏停止指令,控制所述第一播放器进入播放状态。
  24. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    当所述第一视频投屏完成时,且所述第一设备的投屏应用程序的第一播放器关闭时,所述第一设备重新启动所述第一播放器。
  25. 根据权利要求4或5所述的方法,其特征在于,所述第一投屏指令还用于控制所述第二设备中的第二播放器开启,以播放所述第一视频。
  26. 根据权利要求7或8所述的方法,其特征在于,所述第二投屏指令还用于控制所述第二设备中的第二播放器开启,以播放所述第二视频。
  27. 根据权利要求17所述的方法,其特征在于,所述第三投屏指令还用于控制所述第二设备中的第二播放器开启,以播放所述目标视频。
  28. 一种视频投屏装置,其特征在于,包括:
    接收模块,用于接收投屏开启指令;
    响应模块,用于根据所述投屏开启指令,将第一视频投屏到第二设备;
    获取模块,用于获取所述第二设备上第一视频的播放进度;
    投屏模块,用于根据所述第二设备上第一视频的播放进度,确定所述第一视频投屏完成时,将第二视频投屏到所述第二设备。
  29. 一种电子设备,其特征在于,所述电子设备包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-27中任一所述的方法。
  30. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-27中任一所述的方法。
PCT/CN2021/111098 2020-08-06 2021-08-06 一种视频投屏方法、装置、电子设备和存储介质 WO2022028561A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/019,425 US20230291971A1 (en) 2020-08-06 2021-08-06 Video mirroring method and apparatus, and electronic device and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010784295.1 2020-08-06
CN202010784295.1A CN111787392A (zh) 2020-08-06 2020-08-06 一种视频投屏方法、装置、电子设备和存储介质

Publications (1)

Publication Number Publication Date
WO2022028561A1 true WO2022028561A1 (zh) 2022-02-10

Family

ID=72765940

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/111098 WO2022028561A1 (zh) 2020-08-06 2021-08-06 一种视频投屏方法、装置、电子设备和存储介质

Country Status (3)

Country Link
US (1) US20230291971A1 (zh)
CN (1) CN111787392A (zh)
WO (1) WO2022028561A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114938472A (zh) * 2022-06-28 2022-08-23 北京奇艺世纪科技有限公司 视频播放方法、装置、电子设备及计算机可读存储介质
CN115002550A (zh) * 2022-05-19 2022-09-02 深圳康佳电子科技有限公司 基于图像识别的视频播放控制方法、终端设备及存储介质
CN115022694A (zh) * 2022-06-27 2022-09-06 北京奇艺世纪科技有限公司 一种投屏时间统计方法、装置、系统、后台服务器及介质

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113954756A (zh) * 2020-07-21 2022-01-21 华为技术有限公司 功能冲突的处理方法、装置、电子设备和可读存储介质
CN111787392A (zh) * 2020-08-06 2020-10-16 北京字节跳动网络技术有限公司 一种视频投屏方法、装置、电子设备和存储介质
CN112256222A (zh) * 2020-10-20 2021-01-22 北京字跳网络技术有限公司 信息显示方法、装置和电子设备
CN112399003A (zh) * 2020-11-26 2021-02-23 深圳创维-Rgb电子有限公司 基于手机的镜像投屏处理方法、装置、智能终端及介质
CN114584816A (zh) * 2020-11-30 2022-06-03 上海新微技术研发中心有限公司 安卓投屏清晰度设置方法、计算机可读存储介质和设备
CN114679610B (zh) * 2020-12-24 2023-06-06 花瓣云科技有限公司 连续播放视频的投屏方法、装置及系统
CN114816692A (zh) * 2021-01-29 2022-07-29 Oppo广东移动通信有限公司 投屏显示方法、装置、移动终端及存储介质
CN113207035A (zh) * 2021-04-16 2021-08-03 乐视致新信息技术(武汉)有限公司 视频投屏方法、装置、设备和计算机可读存储介质
CN113766303B (zh) * 2021-05-08 2023-04-28 北京字节跳动网络技术有限公司 多屏互动方法、装置、设备及存储介质
CN113238828A (zh) * 2021-05-25 2021-08-10 北京达佳互联信息技术有限公司 一种内容显示方法、装置、设备及存储介质
CN113490039B (zh) * 2021-07-20 2023-09-05 北京奇艺世纪科技有限公司 一种投屏联播方法、装置、系统、电子设备及存储介质
CN113810760B (zh) * 2021-08-17 2023-04-21 荣耀终端有限公司 控制投屏的方法、电子设备及计算机可读存储介质
CN113810761B (zh) * 2021-09-17 2023-11-21 上海哔哩哔哩科技有限公司 多终端交互方法、装置及系统
CN113825007B (zh) * 2021-09-27 2023-05-09 海信视像科技股份有限公司 视频播放方法、装置及显示设备
CN114007125A (zh) * 2021-10-15 2022-02-01 杭州逗酷软件科技有限公司 音量控制方法、移动终端、目标设备及存储介质
CN117083865A (zh) * 2021-12-21 2023-11-17 广州视源电子科技股份有限公司 投屏方法、装置、存储介质及电子设备
CN114428598A (zh) * 2022-01-30 2022-05-03 深圳创维-Rgb电子有限公司 投屏方法、装置、电子设备及存储介质
CN114827690B (zh) * 2022-03-30 2023-07-25 北京奇艺世纪科技有限公司 一种网络资源显示方法、装置及系统
CN116069284B (zh) * 2023-02-27 2023-06-16 南京芯驰半导体科技有限公司 投屏方法、硬件系统及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747326A (zh) * 2014-01-14 2014-04-23 华为技术有限公司 多媒体文件连续播放方法和装置
CN103763303A (zh) * 2013-12-20 2014-04-30 百度在线网络技术(北京)有限公司 一种播放剧集的方法和装置
CN107659712A (zh) * 2017-09-01 2018-02-02 咪咕视讯科技有限公司 一种投屏的方法、装置及存储介质
CN107896339A (zh) * 2017-10-30 2018-04-10 努比亚技术有限公司 一种视频播放方法、终端及计算机可读存储介质
US20190219907A1 (en) * 2018-01-18 2019-07-18 Canon Kabushiki Kaisha Control device for correcting projection image, projection system, method of controlling same, and storage medium
CN111787392A (zh) * 2020-08-06 2020-10-16 北京字节跳动网络技术有限公司 一种视频投屏方法、装置、电子设备和存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101391757B1 (ko) * 2007-07-06 2014-05-07 삼성전자 주식회사 방송수신장치 및 그 제어방법
US8594481B2 (en) * 2008-03-26 2013-11-26 Microsoft Corporation Managing synchronization of media programs to portable devices
KR101642933B1 (ko) * 2009-12-04 2016-07-27 삼성전자주식회사 디지털 리빙네트워크 얼라이언스 네트워크에서 전력소모를 줄이기 위한 방법 및 장치
JP2011139136A (ja) * 2009-12-25 2011-07-14 Toshiba Corp 通信装置
KR101462055B1 (ko) * 2012-09-04 2014-11-17 에스케이 텔레콤주식회사 다중 홈 미디어 컨텐츠 공유를 수행하는 dlna 디바이스 및 그 방법

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763303A (zh) * 2013-12-20 2014-04-30 百度在线网络技术(北京)有限公司 一种播放剧集的方法和装置
CN103747326A (zh) * 2014-01-14 2014-04-23 华为技术有限公司 多媒体文件连续播放方法和装置
CN107659712A (zh) * 2017-09-01 2018-02-02 咪咕视讯科技有限公司 一种投屏的方法、装置及存储介质
CN107896339A (zh) * 2017-10-30 2018-04-10 努比亚技术有限公司 一种视频播放方法、终端及计算机可读存储介质
US20190219907A1 (en) * 2018-01-18 2019-07-18 Canon Kabushiki Kaisha Control device for correcting projection image, projection system, method of controlling same, and storage medium
CN111787392A (zh) * 2020-08-06 2020-10-16 北京字节跳动网络技术有限公司 一种视频投屏方法、装置、电子设备和存储介质

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002550A (zh) * 2022-05-19 2022-09-02 深圳康佳电子科技有限公司 基于图像识别的视频播放控制方法、终端设备及存储介质
CN115022694A (zh) * 2022-06-27 2022-09-06 北京奇艺世纪科技有限公司 一种投屏时间统计方法、装置、系统、后台服务器及介质
CN115022694B (zh) * 2022-06-27 2023-10-27 北京奇艺世纪科技有限公司 一种投屏时间统计方法、装置、系统、后台服务器及介质
CN114938472A (zh) * 2022-06-28 2022-08-23 北京奇艺世纪科技有限公司 视频播放方法、装置、电子设备及计算机可读存储介质
CN114938472B (zh) * 2022-06-28 2023-09-22 北京奇艺世纪科技有限公司 视频播放方法、装置、电子设备及计算机可读存储介质

Also Published As

Publication number Publication date
CN111787392A (zh) 2020-10-16
US20230291971A1 (en) 2023-09-14

Similar Documents

Publication Publication Date Title
WO2022028561A1 (zh) 一种视频投屏方法、装置、电子设备和存储介质
CN111741372B (zh) 一种视频通话的投屏方法、显示设备及终端设备
US11543941B2 (en) Intelligent content queuing from a secondary device
CN110708602B (zh) 视频启动方法、装置、电子设备及存储介质
KR101712537B1 (ko) 원격 장치 상에서의 적응성 미디어 콘텐츠 스크러빙
JP2023538894A (ja) トレンドランキングリストの表示方法、装置、電子機器及び記憶媒体
US20130326569A1 (en) Method and system for playing video streams
US20150341698A1 (en) Method and device for providing selection of video
WO2017096852A1 (zh) 一种三路流视频播放的控制方法及系统
KR20100036664A (ko) 영상 이동이 가능한 디스플레이 장치 및 그 방법
WO2022199426A1 (zh) 视频的展示方法、装置、电子设备和存储介质
CN104349221B (zh) 进行流分发的通信设备、信息处理设备、及其控制方法
US20220264053A1 (en) Video processing method and device, terminal, and storage medium
JP2011504635A (ja) 移動体メディアプレゼンテーション携帯型電子デバイスの装置および方法
WO2020088059A1 (zh) 视频播放方法、视频播放装置、电子设备及存储介质
WO2023134610A1 (zh) 一种视频展示与交互方法、装置、电子设备及存储介质
WO2024051715A1 (zh) 媒体内容播放方法、装置、设备、存储介质和程序产品
WO2023202359A1 (zh) 直播内容显示方法、装置、设备、可读存储介质及产品
CN113727170A (zh) 视频交互方法、装置、设备及介质
CN115062168A (zh) 媒体内容展示方法、装置、设备及存储介质
US20240129427A1 (en) Video processing method and apparatus, and terminal and storage medium
US20240119970A1 (en) Method and apparatus for multimedia resource clipping scenario, device and storage medium
WO2024027648A1 (zh) 信息的显示方法、装置、电子设备和存储介质
WO2020207101A1 (zh) 视频信息同步显示方法、装置、终端设备及计算机可读存储介质
WO2023202360A1 (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: 21853960

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12.05.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21853960

Country of ref document: EP

Kind code of ref document: A1