CN112231030A - Display control method and device and electronic equipment - Google Patents

Display control method and device and electronic equipment Download PDF

Info

Publication number
CN112231030A
CN112231030A CN202011095625.2A CN202011095625A CN112231030A CN 112231030 A CN112231030 A CN 112231030A CN 202011095625 A CN202011095625 A CN 202011095625A CN 112231030 A CN112231030 A CN 112231030A
Authority
CN
China
Prior art keywords
video
subtitles
display area
display
subtitle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011095625.2A
Other languages
Chinese (zh)
Inventor
王丛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011095625.2A priority Critical patent/CN112231030A/en
Publication of CN112231030A publication Critical patent/CN112231030A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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
    • 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
    • G06F3/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/454Multi-language systems; Localisation; Internationalisation

Abstract

The application discloses a display control method, a display control device and electronic equipment, wherein the method comprises the following steps: receiving a first input for controlling screen stretching under the condition that the electronic equipment plays the first video; in response to a first input, displaying a first video in a first display area of the stretched screen, displaying a second video in a second display area of the stretched screen, and displaying a target subtitle in at least one of the first display area and the second display area; the target subtitles comprise a first subtitle and a second subtitle, the first subtitle corresponds to a first video, the second subtitle corresponds to a second video, and a video source of the second video is the same as that of the first video. In this way, according to the input of the user, the subtitles can be simultaneously displayed in the first display area and the second display area of the screen, or the subtitles are displayed in one of the first display area and the second display area, so that the display mode of the subtitles can be flexibly adjusted, and the display effect of the subtitles is improved.

Description

Display control method and device and electronic equipment
Technical Field
The application belongs to the technical field of multimedia, and particularly relates to a display control method and device and electronic equipment.
Background
More and more users choose to watch videos on the mobile terminal, and in order to meet the visual requirements of the users, the mobile terminal with the retractable screen becomes the research and development focus of various manufacturers. The user can stretch the screen of the telescopic screen terminal, so that the mobile phone screen is enlarged, and better visual experience is obtained.
Generally, when a terminal plays a video, subtitles related to the video content are displayed. However, when a user watches a video by using the telescopic screen terminal, only the subtitles are displayed at a fixed position of the screen, and the display mode of the subtitles cannot be adjusted, which affects the display effect of the subtitles.
Disclosure of Invention
An embodiment of the present application provides a display control method, an apparatus, and an electronic device, which can solve the technical problem that the display effect of subtitles is not good due to the fact that the display mode of subtitles cannot be adjusted in the prior art.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a display control method, including:
receiving a first input for controlling the screen to stretch under the condition that the electronic equipment plays a first video;
in response to the first input, displaying a first video in a first display area of the stretched screen, displaying a second video in a second display area of the stretched screen, and displaying a target subtitle in at least one of the first display area and the second display area;
the target subtitles comprise a first subtitle and a second subtitle, the first subtitle corresponds to the first video, the second subtitle corresponds to the second video, and a video source of the second video is the same as that of the first video.
In a second aspect, an embodiment of the present application provides a display control apparatus, including:
the first receiving module is used for receiving a first input for controlling the stretching of a screen under the condition that the electronic equipment plays a first video;
a first display module, configured to, in response to the first input, display a first video in a first display area of the stretched screen, display a second video in a second display area of the stretched screen, and display a target subtitle in at least one of the first display area and the second display area;
the target subtitles comprise a first subtitle and a second subtitle, the first subtitle corresponds to the first video, the second subtitle corresponds to the second video, and a video source of the second video is the same as that of the first video.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
The method comprises the steps that under the condition that the electronic equipment plays a first video, a first input for controlling the stretching of a screen is received; in response to a first input, displaying a first video in a first display area of the stretched screen, displaying a second video in a second display area of the stretched screen, and displaying a target subtitle in at least one of the first display area and the second display area; the target subtitles comprise a first subtitle and a second subtitle, the first subtitle corresponds to a first video, the second subtitle corresponds to a second video, and a video source of the second video is the same as that of the first video. In this way, according to the input of the user, the subtitles can be simultaneously displayed in the first display area and the second display area of the screen, or the subtitles are displayed in one of the first display area and the second display area, so that the display mode of the subtitles can be flexibly adjusted, and the display effect of the subtitles is improved.
Drawings
Fig. 1 is a flowchart of a display control method provided in an embodiment of the present application;
FIG. 2 is a schematic view of an application scenario of a display control method according to an embodiment of the present application;
fig. 3 is a schematic view of another application scenario of the display control method according to the embodiment of the present application;
fig. 4 is a schematic view of another application scenario of the display control method according to the embodiment of the present application;
FIG. 5 is a schematic view of another application scenario of the display control method according to the embodiment of the present application;
FIG. 6 is a schematic view of an application scenario of the display control method according to the embodiment of the present application;
fig. 7 is a structural diagram of a display control apparatus according to an embodiment of the present application;
fig. 8 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes the detection provided by the embodiments of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
The display control method provided by the embodiment is applied to an electronic device including a screen whose length or width can be extended or contracted, and for the purpose of clearly illustrating the technical solution, the following description will be given by taking the electronic device including a screen whose length can be extended or contracted as an example.
Referring to fig. 1, fig. 1 is a flowchart of a display control method according to an embodiment of the present application, where the display control method according to the embodiment of the present application includes the following steps:
s101, receiving a first input for controlling the stretching of the screen under the condition that the electronic equipment plays the first video.
For a video file, when the video file is played, the electronic device may display one subtitle corresponding to the video file, or the electronic device may display multiple subtitles corresponding to the video file.
One possible situation is that the electronic device displays a kind of subtitle corresponding to the first video while playing the first video. For example, in the case of playing a first video, a chinese subtitle corresponding to the first video is displayed.
Another possible situation is that the electronic device displays a plurality of subtitles corresponding to the first video while playing the first video. For example, when a first video is played, a chinese subtitle and an english subtitle corresponding to the first video are displayed.
And S102, responding to the first input, displaying a first video in a first display area of the stretched screen, displaying a second video in a second display area of the stretched screen, and displaying a target subtitle in at least one of the first display area and the second display area.
In this embodiment, an alternative implementation is that the user can stretch the screen in the direction from the bottom end of the screen to the top end of the screen, and display the first video and the second video in the stretched screen.
In another alternative embodiment, the user may stretch the screen in a direction from the top of the screen to the bottom of the screen, and display the first video and the second video in the stretched screen.
In response to a first input controlling screen stretching, a first video is displayed in a first display area of a screen and a second video is displayed in a second display area of the screen.
In an alternative embodiment, the first display area is located above the second display area; in another alternative embodiment, the second display area is located above the first display area.
It should be understood that the video source of the first video and the video source of the second video are the same, that is, the first video and the second video belong to the same video file. One can understand that the first video and the second video are the same video, and the video content is the same as the audio content; another situation that can be understood is where the video content of the first video and the second video is the same, but the audio content of the first video and the second video is different.
The target subtitles in this embodiment include at least one of a first subtitle and a second subtitle, where the first subtitle is a subtitle corresponding to a first video and the second subtitle is a subtitle corresponding to a second video, and the first subtitle and the second subtitle are subtitles in different languages. For example, the first subtitle may be a chinese subtitle and the second subtitle may be an english subtitle.
As described above, for a video file, when the video file is played, a corresponding subtitle or a plurality of subtitles may be displayed. In addition, since the first video and the second video in this embodiment belong to the same video file, it is possible to display subtitles in at least one of the first display area and the second display area based on subtitles corresponding to the first video and the second video, thereby enriching the display mode of the subtitles.
The method comprises the steps that under the condition that the electronic equipment plays a first video, a first input for controlling the stretching of a screen is received; in response to a first input, displaying a first video in a first display area of the stretched screen, displaying a second video in a second display area of the stretched screen, and displaying a target subtitle in at least one of the first display area and the second display area; the target subtitles comprise a first subtitle and a second subtitle, and the video source of the second video is the same as that of the first video. In this way, according to the input of the user, the subtitles can be simultaneously displayed in the first display area and the second display area of the screen, or the subtitles are displayed in one of the first display area and the second display area, so that the display mode of the subtitles can be flexibly adjusted, and the display effect of the subtitles is improved.
Further, the displaying the target caption in at least one of the first display region and the second display region includes:
when the first video and the second video both comprise subtitles, displaying the first subtitles in the first display area and displaying the second subtitles in the second display area, wherein the first subtitles in the first video are in a first language, the second subtitles in the second video are in a second language, and the first language and the second language are different;
or, in the case that the first video includes subtitles and the second video does not include subtitles, displaying the first subtitles in the first display area;
or, in a case where the second video includes subtitles and the first video does not include subtitles, the second subtitles are displayed in the second display region.
Hereinafter, how to display subtitles in at least one of the first display area and the second display area according to subtitles corresponding to the first video and the second video will be described in detail with reference to fig. 2 to 4 of the specification.
As shown in fig. 2, in the case where the first video includes the first subtitle and the second video includes the second subtitle, the first video and the first subtitle are displayed in the first display area, and the second video and the second subtitle are displayed in the second display area.
As shown in fig. 3, in the case where the first video includes the first subtitle and the second video does not include the second subtitle, the first video and the first subtitle are displayed in the first display area and the second video is displayed in the second display area.
As shown in fig. 4, in the case where the first video does not include the first subtitle and the second video includes the second subtitle, the first video is displayed in the first display area and the second video and the second subtitle are displayed in the second display area.
In the case where the first video does not include the first subtitle and the second video does not include the second subtitle, the first video is displayed in the first display region and the second video is displayed in the second display region.
Illustratively, referring to fig. 2, in the case where the electronic device plays a first video, where the first video playing area includes corresponding chinese subtitles and english subtitles, after receiving a first input to stretch the screen, the first video is displayed in the first display area of the stretched screen, the second video is displayed in the second display area of the stretched screen, and the chinese subtitles and the english subtitles are displayed in the first display area and the second display area, obviously, the chinese and english are two different languages.
According to the embodiment, the subtitles are displayed in at least one of the first display area and the second display area according to the subtitles corresponding to the first video and the second video, so that the display mode of the subtitles is enriched, and the display effect of the subtitles is provided.
Further, the method further comprises:
receiving a second input for controlling the screen to shrink under the condition that the electronic equipment plays the first video and the second video;
in response to the second input, a third video is displayed in a third display area of the contracted screen.
In this embodiment, there may be a case where the electronic device displays a first video and a first subtitle in the first display area, displays a second video and a second subtitle in the second display area, and displays a third video, the first subtitle, and the second subtitle in the third display area of the contracted screen after receiving a second input for controlling the contraction of the screen, which is input by the user.
Another possible case is that the electronic device displays a first video and a first subtitle in a first display area, displays a second video in a second display area, and displays a third video and the first subtitle in a third display area of a contracted screen after receiving a second input for controlling contraction of the screen, which is input by a user.
There may be a case where the electronic device displays a first video in the first display area and a second video and a second subtitle in the second display area, and displays a third video and a second subtitle in the third display area of the contracted screen after receiving a second input for controlling the contraction of the screen, which is input by the user.
There may be a case where the electronic device displays a first video in the first display area and a second video in the second display area, and displays a third video in the third display area of the contracted screen after receiving a second input for controlling contraction of the screen, which is input by the user.
Thus, when receiving the input of controlling the screen to shrink, the first subtitle and the second subtitle can be displayed in the third display area of the shrunk screen, or the first subtitle is displayed in the third display area, or the second subtitle is displayed in the third display area, so that the display mode of the subtitles can be flexibly adjusted, and the display effect of the subtitles is improved.
Further, the receiving a second input for controlling the screen to shrink in the case that the electronic device plays the first video and the second video includes:
receiving a second input for controlling the screen to shrink along a first direction under the condition that the electronic equipment plays the first video and the second video;
said displaying a third video in a third display area of the contracted screen in response to the second input comprises:
in response to the second input shrinking in the first direction, a third video is displayed in a third display area of the shrunk screen.
In this embodiment, if the first video played by the electronic device includes the first subtitle and the second video played by the electronic device includes the second subtitle, the screen may be controlled to shrink according to a different second input, and the font size of the first subtitle is controlled to be different from the font size of the second subtitle in the shrunk screen.
Specifically, the following cases are included.
First, as shown in FIG. 5, a second input is received by the user to zoom in a first direction, wherein the first direction points from the display area of the first video to the display area of the second video.
In this case, the third video, the first subtitle, and the second subtitle are displayed in the third display area of the contracted screen, and the font size of the first subtitle is set larger than the font size of the second subtitle.
Alternatively, in this case, the font of the second subtitle may be set to 0, so that only the first subtitle is displayed in the third display region of the contracted screen.
Second, as shown in FIG. 6, a second input is received that the user has contracted in a second direction, where the second direction points from the display area of the second video to the display area of the first video.
In this case, the third video, the first subtitle, and the second subtitle are displayed in the third display area of the contracted screen, and the font size of the second subtitle is set larger than the font size of the first subtitle.
Alternatively, in this case, the font of the first subtitle may be set to 0, so that only the second subtitle is displayed in the third display region of the contracted screen.
Therefore, according to the second input of the user along different directions, the first subtitle and the second subtitle with different font sizes are displayed in the third display area of the contracted screen, and the display effect of the subtitles is improved.
Further, after the third video is displayed in the third display area of the contracted screen in response to the second input, the method further includes:
and under the condition that the first subtitle and the second subtitle are displayed in a third display area of the contracted screen, controlling the electronic equipment to output corresponding audio according to the display condition of the subtitles.
As described above, the first subtitle and the second subtitle are subtitles in different languages. In an alternative embodiment, in the case that the first subtitle and the second subtitle are displayed in the third display area of the contracted screen, and the font size of the first subtitle is larger than that of the second subtitle, the electronic device may be controlled to play audio corresponding to the first subtitle.
Or, in another alternative embodiment, in the case that the first subtitle and the second subtitle are displayed in the third display area of the contracted screen and the font size of the first subtitle is smaller than that of the second subtitle, the electronic device may be controlled to play the audio corresponding to the first subtitle.
For example, when the screen is in a contracted state, the screen displays a Chinese caption and an English caption, and the font size of the Chinese caption is larger than that of the English caption, the electronic device is controlled to play the Chinese audio.
In this embodiment, when the screen is in the contracted state, the electronic device is controlled to play the corresponding audio according to the size of the displayed subtitles, so as to improve the video playing effect.
Further, the electronic device includes a first speaker and a second speaker, and the method further includes, in response to the first input, after displaying the first video on the first display area of the stretched screen and displaying the second video on the second display area of the stretched screen:
controlling a first loudspeaker to output audio corresponding to the first display area display caption;
and controlling a second loudspeaker to output audio corresponding to the subtitles displayed in the second display area.
In this embodiment, if the electronic device includes two speakers, that is, a first speaker and a second speaker, when the screen is in the stretching state, and the first display area displays the first subtitle, and the second display area displays the second subtitle, the electronic device controls the first speaker to output the audio corresponding to the first subtitle, and controls the second speaker to output the audio corresponding to the second subtitle.
And when the screen is in a stretching state, the first caption is displayed in the first display area, and the second caption is not displayed in the second display area, controlling the first loudspeaker to output the audio corresponding to the first caption.
And when the screen is in a stretching state, the first caption is not displayed in the first display area, and the second caption is displayed in the second display area, controlling the second loudspeaker to output the audio corresponding to the second caption.
In this embodiment, when the screen is in the stretching state, the electronic device is controlled to play the corresponding audio according to the subtitles displayed on the screen, so as to improve the video playing effect.
As shown in fig. 7, the display control apparatus 200 includes:
the first receiving module 201 is configured to receive a first input for controlling screen stretching when the electronic device plays the first video;
a first display module 202, configured to, in response to the first input, display a first video in a first display area of the stretched screen, display a second video in a second display area of the stretched screen, and display a target subtitle in at least one of the first display area and the second display area;
the target subtitle comprises at least one of a first subtitle and a second subtitle, and a video source of the second video is the same as that of the first video.
Optionally, the first display module 201 is specifically configured to:
when the first video and the second video both comprise subtitles, displaying the first subtitles in the first display area and displaying the second subtitles in the second display area, wherein the first subtitles in the first video are in a first language, the second subtitles in the second video are in a second language, and the first language and the second language are different;
or, in the case that the first video includes subtitles and the second video does not include subtitles, displaying the first subtitles in the first display area;
or, in a case where the second video includes subtitles and the first video does not include subtitles, the second subtitles are displayed in the second display region.
Optionally, the display control apparatus 200 further includes:
the second receiving module is used for receiving a second input for controlling the screen to shrink under the condition that the electronic equipment plays the first video and the second video;
a second display module for displaying a third video in a third display area of the contracted screen in response to the second input;
wherein the video source of the third video is the same as the video source of the first video.
Optionally, the second receiving module includes:
a receiving unit, configured to receive a second input that controls the screen to shrink in a first direction when the electronic device plays a first video and a second video, wherein the first video includes a first subtitle and the second video includes a second subtitle, and the first direction is directed from a display area of the first video to a display area of the second video;
a first display unit for displaying a third video in a third display area of the contracted screen in response to the second input, including:
and a second display unit for displaying a third video in a third display area of the contracted screen in response to the second input contracted in the first direction, wherein the third video includes the first subtitle and the second subtitle, and a font size of the first subtitle is larger than a font size of the second subtitle.
Optionally, the display control apparatus 200 further includes:
and the first control module is used for controlling the electronic equipment to output corresponding audio according to the display condition of the subtitles under the condition that the first subtitles and the second subtitles are displayed in a third display area of the contracted screen.
Optionally, the display control apparatus 200 further includes:
the second control module is used for controlling the first loudspeaker to output audio corresponding to the subtitles displayed in the first display area;
and the third control module is used for controlling the second loudspeaker to output the audio corresponding to the subtitle displayed in the second display area.
The display control device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The display control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The display control device provided in the embodiment of the present application can implement each process implemented by the display control method in the method embodiment of fig. 1, and is not described here again to avoid repetition.
In the embodiment of the application, the subtitles can be simultaneously displayed in the first display area and the second display area of the screen according to the input of the user, or the subtitles are displayed in one of the first display area and the second display area, so that the display mode of the subtitles is flexibly adjusted, and the display effect of the subtitles is improved.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 310, a memory 309, and a program or an instruction stored in the memory 309 and capable of being executed on the processor 310, where the program or the instruction is executed by the processor 310 to implement each process of the above-mentioned embodiment of the display control method, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 300 includes, but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, and processor 310.
Those skilled in the art will appreciate that the electronic device 300 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 310 is configured to receive a first input for controlling the screen stretching when the electronic device plays a first video;
in response to the first input, displaying a first video in a first display area of the stretched screen, displaying a second video in a second display area of the stretched screen, and displaying a target subtitle in at least one of the first display area and the second display area.
The processor 310 is further configured to:
displaying the first subtitle in the first display area and the second subtitle in the second display area when the first video and the second video both comprise subtitles;
or, in the case that the first video includes subtitles and the second video does not include subtitles, displaying the first subtitles in the first display area;
or, in a case where the second video includes subtitles and the first video does not include subtitles, the second subtitles are displayed in the second display region.
The processor 310 is further configured to:
receiving a second input for controlling the screen to shrink under the condition that the electronic equipment plays the first video and the second video;
in response to the second input, a third video is displayed in a third display area of the contracted screen.
The processor 310 is further configured to:
receiving a second input for controlling the screen to shrink along a first direction under the condition that the electronic equipment plays the first video and the second video;
said displaying a third video in a third display area of the contracted screen in response to the second input comprises:
in response to the second input shrinking in the first direction, a third video is displayed in a third display area of the shrunk screen.
The processor 310 is further configured to:
and under the condition that the first subtitle and the second subtitle are displayed in a third display area of the contracted screen, controlling the electronic equipment to output corresponding audio according to the display condition of the subtitles.
The processor 310 is further configured to:
controlling a first loudspeaker to output audio corresponding to the first display area display caption;
and controlling a second loudspeaker to output audio corresponding to the subtitles displayed in the second display area.
In the embodiment of the application, the subtitles can be simultaneously displayed in the first display area and the second display area of the screen according to the input of the user, or the subtitles are displayed in one of the first display area and the second display area, so that the display mode of the subtitles is flexibly adjusted, and the display effect of the subtitles is improved.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above display control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above display control method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A display control method characterized in that an electronic device includes a screen whose length or width is extendable or retractable;
the method comprises the following steps:
receiving a first input for controlling the screen to stretch under the condition that the electronic equipment plays a first video;
in response to the first input, displaying a first video in a first display area of the stretched screen, displaying a second video in a second display area of the stretched screen, and displaying a target subtitle in at least one of the first display area and the second display area;
the target subtitles comprise at least one of first subtitles and second subtitles, the first subtitles correspond to the first video, the second subtitles correspond to the second video, and a video source of the second video is the same as that of the first video.
2. The method according to claim 1, wherein the displaying a target subtitle in at least one of the first display region and the second display region comprises:
when the first video and the second video both comprise subtitles, displaying the first subtitles in the first display area and displaying the second subtitles in the second display area, wherein the first subtitles in the first video are in a first language, the second subtitles in the second video are in a second language, and the first language and the second language are different;
or, in the case that the first video includes subtitles and the second video does not include subtitles, displaying the first subtitles in the first display area;
or, in a case where the second video includes subtitles and the first video does not include subtitles, the second subtitles are displayed in the second display region.
3. The display control method according to claim 1, characterized in that the method further comprises:
receiving a second input for controlling the screen to shrink under the condition that the electronic equipment plays the first video and the second video;
displaying a third video in a third display area of the contracted screen in response to the second input;
wherein the video source of the third video is the same as the video source of the first video.
4. The method according to claim 3, wherein the receiving of the second input for controlling the screen to shrink in a case where the electronic device plays the first video and the second video comprises:
receiving a second input for controlling the screen to shrink along a first direction under the condition that the electronic equipment plays a first video and a second video, wherein the first video comprises a first subtitle, the second video comprises a second subtitle, and the first direction is pointed to a display area of the second video by the display area of the first video;
said displaying a third video in a third display area of the contracted screen in response to the second input comprises:
displaying a third video in a third display area of the contracted screen in response to the second input contracting in the first direction, wherein the third video includes the first subtitle and the second subtitle, and a font size of the first subtitle is larger than a font size of the second subtitle.
5. The display control method according to claim 3, wherein the, after the third video is displayed in the third display area of the contracted screen in response to the second input, further comprising:
and under the condition that the first subtitle and the second subtitle are displayed in a third display area of the contracted screen, controlling the electronic equipment to output corresponding audio according to the display condition of the subtitles.
6. The display control method according to claim 1, wherein the electronic device includes a first speaker and a second speaker, and wherein in response to the first input, the first video is displayed in the first display region of the stretched screen, and after the second video is displayed in the second display region of the stretched screen, the method further comprises:
controlling a first loudspeaker to output audio corresponding to the first display area display caption;
and controlling a second loudspeaker to output audio corresponding to the subtitles displayed in the second display area.
7. A display control apparatus, characterized by comprising:
the first receiving module is used for receiving a first input for controlling the stretching of a screen under the condition that the electronic equipment plays a first video;
a first display module, configured to, in response to the first input, display a first video in a first display area of the stretched screen, display a second video in a second display area of the stretched screen, and display a target subtitle in at least one of the first display area and the second display area;
the target subtitles comprise at least one of first subtitles and second subtitles, the first subtitles correspond to the first video, the second subtitles correspond to the second video, and a video source of the second video is the same as that of the first video.
8. The display control device according to claim 7, wherein the first display module is specifically configured to:
when the first video and the second video both comprise subtitles, displaying the first subtitles in the first display area and displaying the second subtitles in the second display area, wherein the first subtitles in the first video are in a first language, the second subtitles in the second video are in a second language, and the first language and the second language are different;
or, in the case that the first video includes subtitles and the second video does not include subtitles, displaying the first subtitles in the first display area;
or, in a case where the second video includes subtitles and the first video does not include subtitles, the second subtitles are displayed in the second display region.
9. The display control apparatus according to claim 7, characterized in that the apparatus further comprises:
the second receiving module is used for receiving a second input for controlling the screen to shrink under the condition that the electronic equipment plays the first video and the second video;
a second display module for displaying a third video in a third display area of the contracted screen in response to the second input;
wherein the video source of the third video is the same as the video source of the first video.
10. The display control apparatus according to claim 9, wherein the second receiving means comprises:
a receiving unit, configured to receive a second input that controls the screen to shrink in a first direction when the electronic device plays a first video and a second video, wherein the first video includes a first subtitle and the second video includes a second subtitle, and the first direction is directed from a display area of the first video to a display area of the second video;
a first display unit for displaying a third video in a third display area of the contracted screen in response to the second input, including:
and a second display unit for displaying a third video in a third display area of the contracted screen in response to the second input contracted in the first direction, wherein the third video includes the first subtitle and the second subtitle, and a font size of the first subtitle is larger than a font size of the second subtitle.
11. The display control apparatus according to claim 9, further comprising:
and the first control module is used for controlling the electronic equipment to output corresponding audio according to the display condition of the subtitles under the condition that the first subtitles and the second subtitles are displayed in a third display area of the contracted screen.
12. The display control apparatus according to claim 7, characterized in that the apparatus further comprises:
the second control module is used for controlling the first loudspeaker to output audio corresponding to the subtitles displayed in the first display area;
and the third control module is used for controlling the second loudspeaker to output the audio corresponding to the subtitle displayed in the second display area.
13. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the display control method according to any one of claims 1-6.
14. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the display control method according to any one of claims 1-6.
CN202011095625.2A 2020-10-14 2020-10-14 Display control method and device and electronic equipment Pending CN112231030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011095625.2A CN112231030A (en) 2020-10-14 2020-10-14 Display control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011095625.2A CN112231030A (en) 2020-10-14 2020-10-14 Display control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112231030A true CN112231030A (en) 2021-01-15

Family

ID=74113499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011095625.2A Pending CN112231030A (en) 2020-10-14 2020-10-14 Display control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112231030A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113867607A (en) * 2021-09-30 2021-12-31 维沃移动通信有限公司 Content display method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113867607A (en) * 2021-09-30 2021-12-31 维沃移动通信有限公司 Content display method and device and electronic equipment
WO2023051531A1 (en) * 2021-09-30 2023-04-06 维沃移动通信有限公司 Content display method and apparatus, and electronic device

Similar Documents

Publication Publication Date Title
CN110209879B (en) Video playing method, device, equipment and storage medium
CN111816139B (en) Screen refresh rate switching method and electronic equipment
US20140189516A1 (en) Video preview display method and terminal device
CN112437353B (en) Video processing method, video processing device, electronic apparatus, and readable storage medium
CN104104992A (en) Multi-screen interaction method, device and system
CN113076048B (en) Video display method and device, electronic equipment and storage medium
EP4343512A1 (en) Control display method and apparatus, device, and medium
CN112540740A (en) Split screen display method and device, electronic equipment and readable storage medium
US20230362328A1 (en) Video frame insertion method and apparatus, and electronic device
CN112836086A (en) Video processing method and device and electronic equipment
CN108989869B (en) Video picture playing method, device, equipment and computer readable storage medium
CN113596555B (en) Video playing method and device and electronic equipment
CN112181252B (en) Screen capturing method and device and electronic equipment
CN112231030A (en) Display control method and device and electronic equipment
CN112199149A (en) Interface rendering method and device and electronic equipment
CN112954484A (en) Bullet screen information display method and device
WO2022194211A1 (en) Image processing method and apparatus, electronic device and readable storage medium
CN115237315B (en) Information display method, information display device, electronic equipment and storage medium
US11847758B2 (en) Material display method and apparatus, terminal, and storage medium
WO2023030234A1 (en) Video processing method and apparatus
CN113362749B (en) Display method and device
CN103200310B (en) Mobile terminal interface adjusting method, mobile terminal interface adjusting device and mobile terminal
CN115454365A (en) Picture processing method and device, electronic equipment and medium
CN112637409B (en) Content output method and device and electronic equipment
CN113835577A (en) Display method, display device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination