Video processing method and device, equipment and storage medium
By playing the first video on the video playback page and responding to the screen projection operation, projecting the screen to the target device, and supporting video switching based on the second video set, the problem of poor video projection function in the prior art is solved and the user's screen projection experience is improved.
Patent Information
- Application Number
- CN202510338943.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2025-06-06
AI Technical Summary
The existing technology is difficult to effectively implement video projection-related functions, resulting in poor user video viewing experience.
By playing the first video on the video playback page and projecting it to the target device in response to the screen projection operation, it supports video switching based on the second video collection to improve the user's screen projection experience.
It has achieved a small impact on the interaction of the screen projection trigger device during the video projection process, which has improved the user's screen projection experience.
Smart Images

Figure CN120111298A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing, and in particular to a video processing method, device, equipment and storage medium. Background Art
[0002] With the continuous development of video technology, users' demands for video-related functions are becoming more and more diversified. For example, through screen projection technology, videos on devices with smaller screens can be projected to devices with larger screens for playback, thereby improving users' video viewing experience.
[0003] Regarding the above-mentioned video projection technology, how to realize the related functions of video projection has also become a technical problem that needs to be solved urgently. Summary of the invention
[0004] In order to solve the above technical problems, the embodiments of the present disclosure provide a video processing method, apparatus, device and storage medium.
[0005] In a first aspect, the present disclosure provides a video processing method, the method comprising:
[0006] Playing a first video on a video playback page; wherein the first video belongs to a first video set determined based on a first strategy;
[0007] In response to a screen casting operation on the first video on the video playback page, controlling the first video to be cast and played on a target screen casting device;
[0008] In response to a screen projection video switching operation on the target screen projection device, the target screen projection device is controlled to switch from the first video being projected to the second video being projected; wherein the second video belongs to a second video set determined based on a second strategy.
[0009] In an optional implementation, the second strategy includes a video recommendation strategy, and in response to a screen casting operation for the first video on the video playback page, controlling the first video to be cast and played on a target screen casting device includes:
[0010] In response to the screen casting operation for the first video on the video playback page, a second video set is determined based on the video recommendation strategy and the screen casting parameter conditions, and the first video is controlled to be cast and played on the target screen casting device based on the second video set; wherein the screen casting parameter information of the videos in the second video set meets the screen casting parameter conditions.
[0011] In an optional implementation manner, after the response to the screen casting operation for the first video on the video playback page, the method further includes:
[0012] Switch from the video playback page to the screen projection control page; wherein, at least one screen projection control control is displayed on the screen projection control page, and the screen projection control control is used to control the playback of the video projected to the target screen projection device.
[0013] In an optional implementation, in response to the screen projection video switching operation on the target screen projection device, controlling the target screen projection device to switch from the first video being projected and played to the second video being projected and played, includes:
[0014] In response to the screen casting video switching operation for the first video on the screen casting control page, a second video is determined based on the second video set, and the first video cast and played on the target screen casting device is controlled to switch to the second video.
[0015] In an optional implementation manner, after switching from the video playback page to the screen projection playback control page, the method further includes:
[0016] In response to a page exit operation on the screen casting control page, the screen casting control page returns to displaying the video playback page, and displays a screen casting return control on the video playback page; wherein the screen casting return control is used to trigger a return to the screen casting control page.
[0017] In an optional implementation, in response to a page exit operation on the screen casting control page, the screen casting control page returns to displaying the video playback page, and after the screen casting return control is displayed on the video playback page, the method further includes:
[0018] In response to a video switching operation on the first video on the video playback page, a third video is determined based on the first video set, and the first video played on the video playback page is controlled to switch to the third video.
[0019] In an optional implementation, the screen projection control page displays video information of the video being projected and played on the target screen projection device, and the video information includes video content description information, video publishing account information and at least one video interaction control.
[0020] In a second aspect, the present disclosure further provides a video processing device, the device comprising:
[0021] A playback module, configured to play a first video on a video playback page; wherein the first video belongs to a first video set determined based on a first strategy;
[0022] A screen projection module, configured to control the first video to be projected and played on a target screen projection device in response to a screen projection operation on the first video on the video playback page;
[0023] The first switching module is used to control the target projection device to switch from the first video being projected to the second video being projected in response to a projection video switching operation on the target projection device; wherein the second video belongs to a second video set determined based on a second strategy.
[0024] In a third aspect, the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device implements the above method.
[0025] In a fourth aspect, the present disclosure provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.
[0026] In a fifth aspect, the present disclosure provides a computer program product, wherein the computer program product comprises a computer program / instructions, and the computer program / instructions implement the above method when executed by a processor.
[0027] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has at least the following advantages:
[0028] The embodiment of the present disclosure provides a video processing method. Specifically, first, a first video is played on a video playback page, wherein the first video belongs to a first video set determined based on a first strategy. Then, when a screen casting operation for the first video is received on the video playback page, the first video is controlled to be cast and played on a target screen casting device. Furthermore, when a screen casting video switching operation for the target screen casting device is received, the target screen casting device is controlled to switch from the first video being cast and played to the second video being cast and played. The second video belongs to a second video set determined based on a second strategy. After receiving a screen casting operation for the first video being played in the first video set, the embodiment of the present disclosure implements the screen casting and playing of the first video based on a second video set different from the first video set. It can be seen that the present disclosure implements the video screen casting and playing function by determining a second video set used solely for screen casting and playing. Since the target screen casting device and the screen casting trigger device perform video playback based on different video sets, the above-mentioned video screen casting and playing function can have less impact on the interaction of the screen casting trigger device during the video screen casting process, thereby improving the user screen casting experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0031] Figure 1 A flowchart of a video processing method provided by an embodiment of the present disclosure;
[0032] Figure 2 A schematic diagram of a video playback page provided in an embodiment of the present disclosure;
[0033] Figure 3 A schematic diagram of a screen projection and broadcast control page provided in an embodiment of the present disclosure;
[0034] Figure 4 A schematic diagram of another screen projection and broadcast control page provided in an embodiment of the present disclosure;
[0035] Figure 5 A schematic diagram of a video playback page provided in an embodiment of the present disclosure;
[0036] Figure 6 A schematic diagram of the structure of a video processing device provided by an embodiment of the present disclosure;
[0037] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0038] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0039] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0040] With the continuous development of video technology, users' demands for video-related functions are becoming more and more diversified. For example, through screen projection technology, videos on devices with smaller screens can be projected to devices with larger screens for playback, thereby improving users' video viewing experience.
[0041] Regarding the above-mentioned video projection technology, how to realize the related functions of video projection has also become a technical problem that needs to be solved urgently.
[0042] To this end, the embodiment of the present disclosure provides a video processing method. Specifically, first, a first video is played on a video playback page, wherein the first video belongs to a first video set determined based on a first strategy. Then, when a screen casting operation for the first video is received on the video playback page, the first video is controlled to be cast and played on a target screen casting device. Furthermore, when a screen casting video switching operation for the target screen casting device is received, the target screen casting device is controlled to switch from the first video being cast and played to the second video being cast and played. The second video belongs to a second video set determined based on a second strategy. After receiving a screen casting operation for the first video being played in the first video set, the embodiment of the present disclosure implements the screen casting and playing of the first video based on a second video set different from the first video set. It can be seen that the present disclosure implements the video screen casting and playing function by determining a second video set used solely for screen casting and playing. Since the target screen casting device and the screen casting trigger device perform video playback based on different video sets, the above-mentioned video screen casting and playing function can have less impact on the interaction of the screen casting trigger device during the video screen casting process, thereby improving the user screen casting experience.
[0043] Specifically, the present disclosure provides a video processing method, referring to Figure 1 , is a flow chart of a video processing method provided by an embodiment of the present disclosure, specifically comprising:
[0044] S101: Play the first video on the video playback page.
[0045] The first video belongs to a first video set determined based on a first strategy.
[0046] The video processing method provided by the embodiments of the present disclosure may be applied to a client. Specifically, the client may be deployed on a terminal such as a smart phone, a tablet computer, or a desktop computer.
[0047] In the embodiment of the present disclosure, the first video is the video currently being played on the video playback page. The first video belongs to a first video set, and the first video set includes multiple videos having a playback order relationship. The first video set is a video set used to switch videos on the video playback page, that is, when a video switching operation is triggered for a video played on the video playback page, the video to be played is switched based on the first video set. The video switching operation may include a sliding operation on the first video.
[0048] The videos in the first video set are determined based on a first strategy, which may include a video recommendation strategy. The video recommendation strategy may be determined based on user behavior data, which may include historical viewing records, user interaction data, etc., wherein the user interaction data may include user purchase data, etc.
[0049] In another optional implementation, the first strategy may also be determined based on interaction data within a preset time period, where the interaction data may represent the popularity of the video. Specifically, the interaction data may include playback volume, comment data, like data, and the like data.
[0050] like Figure 2 As shown, it is a schematic diagram of a video playback page provided by an embodiment of the present disclosure, on which a first video 201 is being played, and the first video belongs to a first information video set.
[0051] S102: In response to a screen casting operation on the first video on the video playback page, controlling the first video to be cast and played on a target screen casting device.
[0052] In the disclosed embodiment, the screen casting operation for the first video may include a long press operation for the first video. Specifically, when a long press operation for the first video is received, a setting panel is displayed on the video playback page, and when a trigger operation for the screen casting control on the setting panel is received, a screen casting device panel is displayed, and when a trigger operation for one of the screen casting devices is received, the screen casting device is determined as the target screen casting device. Among them, the setting panel is used to display the broadcast control controls, and the broadcast control controls include the screen casting controls. The screen casting device panel is used to display the searched screen casting device, which is an external terminal device for playing the cast content, such as a smart TV.
[0053] In an optional implementation, during the process of playing the first video on the video playback page, when a long press operation is received for the first video, a setting panel is displayed on the video playback page, and a screen projection control is displayed on the setting panel. When a trigger operation is received for the screen projection control, a screen projection device panel is displayed on the video playback page, and at least one screen projection device is displayed on the screen projection device panel. When a trigger operation is received for a target screen projection device, the first video is controlled to be screen-projected and played on the target screen projection device. The target screen projection device is any screen projection device displayed on the screen projection device panel.
[0054] As mentioned above Figure 2In the video playback page shown, during the process of playing the first video on the video playback page, when a long press operation is received for the first video, a setting panel 202 is pulled up at the bottom of the video playback page, and a projection control 203 is displayed on the setting panel. When a trigger operation is received for the projection control 203, the setting panel is hidden, and a projection device panel 204 is displayed on the video playback page. Multiple projection devices are displayed on the projection device panel, including a projection device 205. When a trigger operation is received for the projection device 205, the first video is controlled to be projected and played on the target projection device.
[0055] S103: In response to a screen casting video switching operation on the target screen casting device, control the target screen casting device to switch from casting the first video to casting a second video, wherein the second video belongs to a second video set determined based on a second policy.
[0056] In an embodiment of the present disclosure, during the process of the target projection device projecting and playing the first video, if a projection video switching operation for the target projection device is received, the target projection device is controlled to switch from projecting and playing the first video to projecting and playing the second video.
[0057] Among them, the second video belongs to the second video set, the second video set includes videos with a playback order relationship, and the videos in the second video set are used for screen projection playback, that is, the second video set is a new video set based on the screen projection operation, that is, the videos in the second video set are different from the videos in the first video set.
[0058] The videos in the second video set can be determined based on the second strategy, and the second strategy can include a video recommendation strategy, that is, the videos are determined based on the second strategy, and the second video set is constructed for the determined videos, wherein the video recommendation strategy can be a strategy set based on user behavior data, and the user behavior data can include historical viewing records, user interaction data, etc. Specifically, when a screen casting operation for the first video on the video playback page is received, the video is determined based on the video recommendation strategy and the screen casting parameter conditions, and then the video is determined to construct the second video set. The screen casting device condition may refer to the restriction conditions set by the screen casting device for the screen casting video. Specifically, the screen casting device condition may include video type, aspect ratio, etc. Video types may include long videos with long playback time, non-advertising videos, etc.
[0059] Among them, determining the video based on the second strategy and constructing the second video set may include screening out videos that meet the video recommendation strategy and screen projection parameter conditions from the video library for constructing the second video set.
[0060] In an optional implementation, the second strategy may also include strategies other than the video recommendation strategy, and the strategy may include user interaction data, etc. The user interaction data may include a list of users followed by the currently logged-in user. For example, the screen is projected to play a user's personal homepage, and the user's personal homepage may be determined based on the list of users followed by the currently logged-in user.
[0061] It can be seen that by determining the second video set based on the video recommendation strategy and the screen projection parameter conditions, videos that are suitable for screen projection can be screened out to better display the projection content to the user, further improving the user's screen projection experience.
[0062] In another optional implementation, when a screen casting operation for a first video is received on a video playback page, the screen casting and playback of the first video on a target screen casting device is controlled, and when it is detected that the playback of the first video ends, the screen casting and playback continues based on a second video set.
[0063] In an optional implementation, after receiving the screen casting operation for the first video being played in the first video set, in order to facilitate the user to operate the cast video, the embodiment of the present disclosure may also display a screen casting control page on the screen casting triggering device.
[0064] Specifically, in the process of playing the first video based on the first video set on the video playback page, after receiving the screen casting operation for the first video on the video playback page, the first video is paused on the video playback page, and the video playback page is switched to the screen casting playback control page, and at least one screen casting playback control control is displayed on the screen casting playback control page, and the screen casting playback control control is used to control the playback of the video projected on the target screen casting device, that is, the screen casting playback control is used to control the playback of the screen casting video on the target screen casting device. The screen casting playback control may include screen casting video playback and pause controls, speed controls, barrage controls, etc.
[0065] In an application scenario, while a first video is being played based on a first video set on a video playback page, when a screen casting operation is received for the first video on the video playback page, a screen casting control panel is displayed to replace the video screen played on the video playback page, and the screen casting control panel displays at least one screen casting control control.
[0066] As mentioned above Figure 2 In the page shown, when a trigger operation is received for the projection device 205, the first video is controlled to be projected and played on the target projection device, and a projection control panel is displayed on the video playback page. Multiple projection control controls are displayed on the projection control panel, such as the barrage control 206.
[0067] On the basis of the above embodiment, a screen casting setting control may also be displayed on the screen casting control page, and the screen casting setting control is used to display at least one setting control for the screen casting video, for example, an automatic simulcast control, a control for skipping the opening and ending of the film, etc. Among them, the automatic simulcast control is used to automatically switch videos. When an opening operation for the automatic simulcast control is received, when it is detected that the screen casting video played on the screen casting device side ends, the next screen casting video is automatically switched for screen casting. When a closing operation for the automatic simulcast control is received, the screen casting device side loops and plays the currently played screen casting video.
[0068] By displaying the screen projection control page on the screen projection triggering device, users can conveniently operate the screen projection content and improve the user's screen projection experience.
[0069] In an optional implementation, when a screen casting operation for a first video is received on a video playback page, after the screen casting playback page is displayed, in order to keep the video content of the screen casting trigger device synchronized with that of the target screen casting device, the disclosed embodiment may also display the video information of the video being cast and played on the target screen casting device on the video playback control page. The video information may include video content description information, video publishing account information, and video interaction controls. The video content description information is used to describe the video content of the video currently being cast and played by the screen casting device. The video publishing account information is used to describe the publisher information of the video currently being cast and played by the screen casting device. The publisher information may include publisher avatar, publisher name, and other information. The video interaction controls are used to trigger interactive operations for the video currently being cast and played on the screen casting device. Specifically, the video interaction controls may include like controls, comment controls, forwarding controls, and the like.
[0070] As mentioned above Figure 2 The screen casting control page shown displays video information of the video being cast and played, and the video information includes video content description information 207, video publishing account information 208, and video interaction controls, such as the like control 209.
[0071] It can be seen that by triggering the screen projection operation for the first video, the embodiment of the present disclosure supports displaying the screen projection broadcast control page, and supports the linked display of video information of the video being projected on the target screen projection device on the screen projection broadcast control page.
[0072] In the video processing method provided by the embodiment of the present disclosure, first, a first video is played on a video playback page, wherein the first video belongs to a first video set determined based on a first strategy, and then, when a screen casting operation for the first video is received on the video playback page, the first video is controlled to be cast and played on the target screen casting device. Furthermore, when a screen casting video switching operation for the target screen casting device is received, the target screen casting device is controlled to switch from the first video being cast and played to the second video being cast and played. Wherein, the second video belongs to a second video set determined based on a second strategy. After receiving a screen casting operation for the first video being played in the first video set, the embodiment of the present disclosure implements the screen casting and playing of the first video based on a second video set different from the first video set. It can be seen that the present disclosure implements the video screen casting and playing function by determining a second video set used solely for screen casting and playing. Since the target screen casting device and the screen casting trigger device perform video playback based on different video sets, the above-mentioned video screen casting and playing function can have less impact on the interaction of the screen casting trigger device during the video screen casting process, thereby improving the user screen casting experience.
[0073] In actual applications, in the screen projection scenario, in order to meet the user's need to switch the projection video on the device side based on the projection trigger, after receiving the projection operation for the first video on the video playback page and displaying the projection control page, the embodiment of the present disclosure can also control the switching operation of the first video on the target projection device based on the projection control page.
[0074] Specifically, during the process of playing the first video on the target screen projection device, when a screen projection video switching operation for the first video on the screen projection broadcast control page is received, the second video is determined based on the second video set, and the first video being played on the target screen projection device is controlled to switch to the second video. The screen projection video switching operation for the first video on the screen projection broadcast control page can be a sliding operation on the screen projection broadcast control page. The sliding operation can include sliding up and sliding down operations.
[0075] like Figure 3 As shown, it is a schematic diagram of a screen casting and playback control page provided by an embodiment of the present disclosure, on which video information of the video (first video) being played on the screen is displayed. When a sliding operation on the screen casting and playback control page for the first video is received, the second video is determined based on the second video set, and the first video played on the target screen casting device is controlled to switch to the second video. At this time, the screen casting and playback page displays the video information of the second video.
[0076] In an optional implementation, after receiving a screen casting operation for the first video on the video playback page and displaying the screen casting control page, in order to meet the user's need to use the screen casting trigger device to trigger other interactive operations, a page exit operation can also be set for the screen casting control page. The page exit operation is used to exit the screen casting control page to display the video playback page.
[0077] Specifically, when a page exit operation on the screen casting control page is received, the screen casting control page returns to the video playback page, and a screen casting return control is displayed on the video playback page. The screen casting return control is used to trigger the video playback page to return to the screen casting control page. In other words, after triggering the page exit operation on the screen casting control page, the screen casting control page is hidden and displayed, and the screen casting control page can be entered again by triggering the screen casting return control. Among them, the page exit operation on the screen casting control page can be a trigger operation for the exit control on the screen casting control page.
[0078] In one application scenario, when a page exit operation is received on the screen casting control page, the screen casting control page can be scaled to a widget and displayed on the video playback page. At this time, the video playback page plays the first video based on the first video set. When a trigger operation is received for the widget, the screen casting control page is entered again.
[0079] like Figure 4 As shown, it is a schematic diagram of another screen casting and broadcasting control page provided by an embodiment of the present disclosure. The video information of the first video is currently being displayed on the screen casting and broadcasting control page. A page exit control 401 is displayed on the screen casting and broadcasting control page. When a trigger operation for the page exit control 401 is received, the screen casting and broadcasting control page is exited to display the video playback page, and a screen casting return control 402 is displayed on the video playback page. At this time, the first video can be continued to be played based on the interruption position of the first video on the video playback page (such as Figure 4 B).
[0080] It can be seen that after triggering the page exit operation on the screen casting control page, by displaying the screen casting controls on the video playback page, the user can trigger the screen casting control page again and implement the control settings of the screen casting content based on the screen casting control page.
[0081] After receiving the page exit operation on the screen casting control page, the screen casting control page returns to the video playback page, and the screen casting return control is displayed on the video playback page, the disclosed embodiment can also support a video switching operation for the first video on the video playback page. Specifically, when a video switching operation for the first video on the video playback page is received, a third video is determined based on the first video set, and the first video played on the video playback page is controlled to switch to the third video. Among them, the video switching operation for the first video can be a sliding operation for the first video on the video playback page.
[0082] As mentioned above Figure 4 In B shown, the first video continues to be played on the video playback page based on the interruption position. When a sliding operation is received for the first video, the third video is determined based on the first video set, and the first video played on the video playback page is controlled to switch to the above-mentioned third video.
[0083] In the screen projection scenario, the embodiment of the present disclosure, while controlling the screen projection and playback of videos based on the second video set on the target screen projection device, also supports other interactive operations triggered by the user on the screen projection device, such as video playback operations based on the first video set, operations of entering the live broadcast room to watch live videos, etc.
[0084] In an optional implementation, when exiting the screen casting control page and displaying the screen casting return control, the user can continue to browse videos based on the first video collection on the video playback page, or can jump from the video playback page to other pages for other interactive operations. For example, the user can jump from the video playback page to the mall page, personal user homepage, etc.
[0085] On the basis of displaying the screen casting return control, when a trigger operation for the screen casting return control is received, the current page jumps to the screen casting playback control page, so that the user can enter the screen casting playback control page again, which is convenient for the user to perform playback control operations on the video on the screen casting device.
[0086] like Figure 5 As shown, it is a schematic diagram of a video playback page provided by an embodiment of the present disclosure. The current video playback page is browsing the third video based on the first video set. A screen casting return control 501 is displayed on the video playback page. When a trigger operation for the screen casting return control 501 is received, the current video playback page jumps to the screen casting control page. The screen casting control page displays the video information of the video being played on the target screen casting device, and the video belongs to the second video set.
[0087] It can be seen that by triggering the screen casting return control and jumping from the current page to the screen casting playback control page, the user can easily enter the screen casting playback control page again to realize the playback control operations of the cast video on the screen casting device.
[0088] Based on the above method embodiment, the present disclosure also provides a video processing device, referring to Figure 6 , is a schematic diagram of the structure of a video processing device provided by an embodiment of the present disclosure, the device comprising:
[0089] A playback module 601 is used to play a first video on a video playback page; wherein the first video belongs to a first video set determined based on a first strategy;
[0090] A screen projection module 602, configured to control the first video to be projected and played on a target screen projection device in response to a screen projection operation on the first video on the video playback page;
[0091] The first switching module 603 is used to control the target projection device to switch from the first video being projected to the second video being projected in response to a projection video switching operation on the target projection device; wherein the second video belongs to a second video set determined based on a second strategy.
[0092] In an optional implementation, the second strategy includes a video recommendation strategy, and the screen projection module is specifically used to:
[0093] In response to the screen casting operation for the first video on the video playback page, a second video set is determined based on the video recommendation strategy and the screen casting parameter conditions, and the first video is controlled to be cast and played on the target screen casting device based on the second video set; wherein the screen casting parameter information of the videos in the second video set meets the screen casting parameter conditions.
[0094] In an optional implementation, the device further includes:
[0095] The display module is used to switch from the video playback page to the screen projection control page; wherein, at least one screen projection control control is displayed on the screen projection control page, and the screen projection control control is used to control the playback of the video projected to the target screen projection device.
[0096] In an optional implementation manner, the first switching module is specifically configured to:
[0097] In response to the screen casting video switching operation for the first video on the screen casting control page, a second video is determined based on the second video set, and the first video cast and played on the target screen casting device is controlled to switch to the second video.
[0098] In an optional implementation, the device further includes:
[0099] An exit module is used to respond to a page exit operation on the screen casting and broadcast control page, and to return from the screen casting and broadcast control page to display the video playback page, and to display a screen casting return control on the video playback page; wherein the screen casting return control is used to trigger a return to the screen casting and broadcast control page.
[0100] In an optional implementation, the device further includes:
[0101] The second switching module is used to respond to the video switching operation on the first video on the video playback page, determine the third video based on the first video set, and control the first video played on the video playback page to switch to the third video.
[0102] In an optional implementation, the screen projection control page displays video information of the video being projected and played on the target screen projection device, and the video information includes video content description information, video publishing account information and at least one video interaction control.
[0103] In the video processing device provided by the embodiment of the present disclosure, first, a first video is played on a video playback page, wherein the first video belongs to a first video set determined based on a first strategy, and then, when a screen casting operation for the first video on the video playback page is received, the first video is controlled to be cast and played on the target screen casting device. Furthermore, when a screen casting video switching operation for the target screen casting device is received, the target screen casting device is controlled to switch from the first video being cast and played to the second video being cast and played. The second video belongs to a second video set determined based on a second strategy. After receiving a screen casting operation for the first video being played in the first video set, the embodiment of the present disclosure implements the screen casting and playing of the first video based on a second video set different from the first video set. It can be seen that the present disclosure implements the video screen casting and playing function by determining a second video set used solely for screen casting and playing. Since the target screen casting device and the screen casting trigger device perform video playback based on different video sets, the above-mentioned video screen casting and playing function can have less impact on the interaction of the screen casting trigger device during the video screen casting process, thereby improving the user screen casting experience.
[0104] In addition to the above-mentioned method and apparatus, the embodiments of the present disclosure further provide a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device implements the video processing method described in the embodiments of the present disclosure.
[0105] The embodiment of the present disclosure further provides a computer program product, which includes a computer program / instructions. When the computer program / instructions are executed by a processor, the video processing method described in the embodiment of the present disclosure is implemented.
[0106] In addition, the present disclosure also provides an electronic device, see Figure 7 As shown, this may include:
[0107] Processor 701, memory 702, input device 703 and output device 704. The number of processors 701 in the electronic device can be one or more. Figure 7 In some embodiments of the present disclosure, the processor 701, the memory 702, the input device 703 and the output device 704 may be connected via a bus or other means, wherein: Figure 7 The example of connecting through bus is taken in the following.
[0108] The memory 702 can be used to store software programs and modules. The processor 701 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 702. The memory 702 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application required for a function, etc. In addition, the memory 702 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. The input device 703 may be used to receive input digital or character information, and to generate signal input related to user settings and function control of the electronic device.
[0109] Specifically in this embodiment, the processor 701 will load the executable files corresponding to the processes of one or more applications into the memory 702 according to the following instructions, and the processor 701 will run the applications stored in the memory 702 to realize various functions of the above-mentioned electronic device.
[0110] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0111] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A video processing method, characterized in that: The method comprises: Playing a first video on a video playback page; wherein the first video belongs to a first video set determined based on a first strategy; In response to a screen casting operation on the first video on the video playback page, controlling the first video to be cast and played on a target screen casting device; In response to a screen projection video switching operation on the target screen projection device, the target screen projection device is controlled to switch from the first video being projected to the second video being projected; wherein the second video belongs to a second video set determined based on a second strategy.
2. The method according to claim 1, characterized in that The second strategy includes a video recommendation strategy, and in response to a screen casting operation for the first video on the video playback page, controlling the first video to be cast and played on a target screen casting device includes: In response to the screen casting operation for the first video on the video playback page, a second video set is determined based on the video recommendation strategy and the screen casting parameter conditions, and the first video is controlled to be cast and played on the target screen casting device based on the second video set; wherein the screen casting parameter information of the videos in the second video set meets the screen casting parameter conditions.
3. The method according to claim 1, characterized in that The step of responding to the screen casting operation on the first video on the video playback page further includes: Switch from the video playback page to the screen projection control page; wherein, at least one screen projection control control is displayed on the screen projection control page, and the screen projection control control is used to control the playback of the video projected to the target screen projection device.
4. The method according to claim 3, characterized in that In response to the screen projection video switching operation on the target screen projection device, controlling the target screen projection device to switch from the first video being projected and played to the second video being projected and played, includes: In response to the screen casting video switching operation for the first video on the screen casting control page, a second video is determined based on the second video set, and the first video cast and played on the target screen casting device is controlled to switch to the second video.
5. The method according to claim 3, characterized in that: After the video playback page is switched to the screen projection playback control page, the method further includes: In response to a page exit operation on the screen casting control page, the screen casting control page returns to displaying the video playback page, and displays a screen casting return control on the video playback page; wherein the screen casting return control is used to trigger a return to the screen casting control page.
6. The method according to claim 5, characterized in that In response to the page exit operation on the screen casting control page, the screen casting control page returns to the video playback page, and after the screen casting return control is displayed on the video playback page, the method further includes: In response to a video switching operation on the first video on the video playback page, a third video is determined based on the first video set, and the first video played on the video playback page is controlled to switch to the third video.
7. The method according to claim 3, characterized in that The screen projection control page displays video information of the video being projected and played on the target screen projection device, and the video information includes video content description information, video publishing account information and at least one video interaction control.
8. A video processing device, characterized in that: The device comprises: A playback module, configured to play a first video on a video playback page; wherein the first video belongs to a first video set determined based on a first strategy; A screen projection module, configured to control the screen projection and playback of the first video on a target screen projection device in response to a screen projection operation for the first video on the video playback page; The first switching module is used to control the target projection device to switch from the first video being projected to the second video being projected in response to a projection video switching operation on the target projection device; wherein the second video belongs to a second video set determined based on a second strategy.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device implements the method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
11. A computer program product, characterized in that The computer program product comprises a computer program / instruction, and when the computer program / instruction is executed by a processor, the method according to any one of claims 1 to 7 is implemented.