CN114125149A - Video playing method, device, system, electronic equipment and storage medium - Google Patents

Video playing method, device, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN114125149A
CN114125149A CN202111362576.9A CN202111362576A CN114125149A CN 114125149 A CN114125149 A CN 114125149A CN 202111362576 A CN202111362576 A CN 202111362576A CN 114125149 A CN114125149 A CN 114125149A
Authority
CN
China
Prior art keywords
target
video
audio
electronic device
determining
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
CN202111362576.9A
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 CN202111362576.9A priority Critical patent/CN114125149A/en
Publication of CN114125149A publication Critical patent/CN114125149A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72427User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting games or graphical animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]

Abstract

The application discloses a video playing method, a video playing device, a video playing system, electronic equipment and a storage medium, and belongs to the technical field of electronics. The specific scheme comprises the following steps: under the condition that the target video is determined, first position information of a user and second position information of the electronic equipment are obtained; determining a virtual display interface of the target video according to the first position information and the second position information, and determining a target display area from the virtual display interface, wherein the target display area is a projection area from a screen of the electronic equipment to the virtual display interface; and playing the video content of the target video in the target display area.

Description

Video playing method, device, system, electronic equipment and storage medium
Technical Field
The present application belongs to the field of electronic technologies, and in particular, to a video playing method, apparatus, system, electronic device, and storage medium.
Background
With the rapid development of electronic devices, users can browse increasingly rich contents through screens of the electronic devices, and the display requirements of the users on the screens are increasing.
In the related art, a user may set a dynamic wallpaper or a dynamic protection screen for an electronic device, and generally, when a screen of the electronic device is in an operating state, the screen of the electronic device may play the dynamic wallpaper or the dynamic protection screen set by the user. However, such a display mode is too single to satisfy the user's demand for diversification of video display modes.
Disclosure of Invention
An embodiment of the present application provides a video playing method, an apparatus, a system, an electronic device, and a storage medium, which can solve the problem that a video display mode is too single.
In a first aspect, an embodiment of the present application provides a video playing method, where the method includes: under the condition that the target video is determined, first position information of a user and second position information of the electronic equipment are obtained; determining a virtual display interface of the target video according to the first position information and the second position information, and determining a target display area from the virtual display interface, wherein the target display area is a projection area from a screen of the electronic equipment to the virtual display interface; and playing the video content of the target video in the target display area.
In a second aspect, an embodiment of the present application provides a video playing apparatus, including: the device comprises an acquisition module, a processing module and an output module; the acquisition module is used for acquiring first position information of a user and second position information of the electronic equipment under the condition of determining the target video; the processing module is used for determining a virtual display interface of the target video according to the first position information and the second position information, and determining a target display area from the virtual display interface, wherein the target display area is a projection area from a screen of the electronic equipment to the virtual display interface; the output module is used for playing the video content of the target video in the target display area.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, an embodiment of the present application provides a video playing system, including a first electronic device that performs the steps of the method of the first aspect, and a second electronic device that performs the steps of the method of the first aspect; under the condition that the first electronic device and the second electronic device are connected with the same wireless local area network, the first electronic device is used for playing video content in a first display area of the virtual display interface, and the second electronic device is used for playing video content in a second display area of the virtual display interface; the first display area is a projection area from the screen of the first electronic device to the virtual display interface, the second display area is a projection area from the screen of the second electronic device to the virtual display interface, and the position information of the first electronic device is different from the position information of the second electronic device.
In the embodiment of the application, first position information of a user and second position information of electronic equipment can be acquired under the condition that a target video is determined; determining a virtual display interface of the target video according to the first position information and the second position information, and determining a target display area from the virtual display interface, wherein the target display area is a projection area from a screen of the electronic equipment to the virtual display interface; and playing the video content of the target video in the target display area. Through the scheme, the electronic equipment can display the video content of the target video in the projection area, so that the video content displayed in the screen of the electronic equipment can be changed when the position of the electronic equipment is changed, the video playing mode of the electronic equipment can be enriched, the interestingness of the user in viewing the video is increased, the visual angle of the user can be simulated, and the video area which is interested by the user can be focused.
Drawings
Fig. 1 is a schematic diagram of a video playing system provided in an embodiment of the present application.
Fig. 2 is a schematic diagram of a video playing method provided in an embodiment of the present application;
fig. 3 is a schematic position diagram of a virtual reality interface of a video playing method provided in an embodiment of the present application;
fig. 4 is a schematic view of a virtual reality interface of a video playing method provided in an embodiment of the present application;
fig. 5 is a second schematic diagram of a video playing method according to an embodiment of the present application;
fig. 6 is an interface operation schematic diagram of a video playing method provided in the embodiment of the present application;
fig. 7 is a schematic structural diagram of a video playback device according to an embodiment of the present application;
FIG. 8 is a hardware diagram of an electronic device provided by an embodiment of the present application;
fig. 9 is a second hardware schematic 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 described clearly 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 that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
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 will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. 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 in detail a video playing method provided by the embodiment of the present application through a specific embodiment and an application scenario thereof with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present application provides a video playing system, which includes a first electronic device 110 and a second electronic device 120. A user may first trigger any one of the electronic devices to display a target video, and then, in a case where the first electronic device 110 and the second electronic device 120 are connected to the same wireless local area network, the first electronic device 110 and the second electronic device 120 may determine a virtual display interface 130 according to location information of the user and the two electronic devices, where the virtual display interface 130 is used to display the target video, the first electronic device 110 may be used to play video content in a first display area 131 of the virtual display interface 130, that is, part of video content of the target video, and the second electronic device 120 may be used to play video content in a second display area 132 of the virtual display interface 130. The first display area 131 is a projection area from the screen of the first electronic device 110 to the virtual display interface 130, the second display area 132 is a projection area from the screen of the second electronic device 120 to the virtual display interface 130, and the location information of the first electronic device 110 is different from the location information of the second electronic device 120.
Optionally, the connecting the first electronic device 110 and the second electronic device 120 to the same wireless local area network includes: the first electronic device 110 and the second electronic device 120 have access to the same wireless local area network, or the second electronic device 120 is connected to a network hotspot started by the first electronic device 110, or the first electronic device 110 is connected to a network hotspot started by the second electronic device 120.
Optionally, the first electronic device 110 may determine the location information of the user and the location information of the second electronic device 120, and then the first electronic device 110 may determine the location information of the virtual display interface 130 according to the location information of the user and the location information of the second electronic device 120 and by combining the location of the first electronic device with the location of the second electronic device, and determine the first display area 131 from the virtual display interface 130 according to the distance and the angle from the location of the first electronic device to the virtual display interface 130. The method for determining the second display area 132 by the second electronic device 120 may refer to the method for determining the first display area 131 by the first electronic device 110, and is not described herein again.
Optionally, with continued reference to fig. 1, in a case where the first electronic device 110 is located on the left side of the connection line 140 from the user to the virtual display interface, and the second electronic device 120 is located on the right side of the connection line 140, the first electronic device 110 may be further configured to output a left channel audio signal of a target audio corresponding to the target video, and the second electronic device 120 may be further configured to output a right channel audio signal of the target audio.
The following describes the video playing method provided by the embodiment in detail by taking an example of a process in which an electronic device in a video playing system displays part of video content of a target video and plays a target audio.
As shown in fig. 2, an embodiment of the present application provides a video playing method, which can be applied to any electronic device in the video playing system, and the method can include steps 201 and 203:
step 201, under the condition that the target video is determined, acquiring first position information of a user and second position information of the electronic equipment.
Alternatively, the first position information may be position information of a user gaze focus, and the second position information may be position information of a screen of the electronic device.
Optionally, the target video may be any one of the following: dynamic wallpaper, continuous animated images composed of multiple pictures, video images, and the like.
Alternatively, in the case of determining the target video, the electronic device may obtain the coordinate information (i.e., the first position information) of the user by using the camera with its own position (i.e., the second position information) as an origin.
Step 202, determining a virtual display interface of the target video according to the first position information and the second position information, and determining a target display area from the virtual display interface.
The target display area may be a projection area from a screen of the electronic device to the virtual display interface.
After determining the first location information and the second location information, the electronic device may determine a location of the virtual display interface according to the first location information and the second location information, and determine the target display area from the virtual display interface according to a projection of the screen of the electronic device to the virtual display interface.
The virtual display interface is an imaginary interface for specifying the target display area, that is, the virtual display interface is not an actually existing display interface.
Specifically, the electronic device may determine a seating direction of the virtual display interface according to the first position information and the second position information, for example, the virtual display interface may be located on a straight line connecting a line of sight focus of the user and a center point of the electronic device, and the electronic device may also determine a specific position of the virtual display interface according to the first position information, for example, a distance between the virtual display interface and the line of sight focus of the user may be a constant distance.
Illustratively, as shown in fig. 3, the line-of-sight focus of the user is located on a straight line with a center point of the electronic device 301 and a center point of the virtual display interface 302, and a distance between the center point of the virtual display interface 302 and the line-of-sight focus of the user is a constant distance a. The screen of the electronic device 301 may form a projection area 303, i.e., a target display area, on the virtual display interface 302.
It should be noted that the determining, by the electronic device, the target display area from the virtual display interface may specifically include: after determining the position information of the virtual display interface, the electronic device may determine a distance and an angle between the electronic device and the virtual display interface according to the second position information and the position information of the virtual display interface, so as to determine the target display area from the virtual display interface according to the distance and the angle.
And step 203, playing the video content of the target video in the target display area.
Illustratively, as shown in fig. 4, the target video is animated by cat and mouse as an example. If the projection area formed on the virtual display interface by the screen of the electronic device is the area 401, the electronic device may play the video content in the area 401.
In the embodiment of the application, because the electronic equipment can display the video content of the target video in the projection area, when the position of the electronic equipment changes, the video content displayed in the screen of the electronic equipment also changes, so that the video playing mode of the electronic equipment can be enriched, the interestingness of the user in viewing the video is increased, the visual angle of the user can be simulated, and the video area which is interested by the user can be focused.
Optionally, as shown in fig. 5, before playing the video content of the target video in the target display area, the method may further include step 204, and step 203 may be specifically implemented by step 203 a:
and step 204, determining a target audio matched with the target video, and determining a target volume according to the first position information and the second position information.
Optionally, the electronic device determining the target audio that matches the target video may include: under the condition of determining the target audio, determining the target video according to the audio characteristics of the target audio; or under the condition of determining the target video, determining the target audio according to the video characteristics of the target video; wherein the audio features may include at least one of: audio rate, audio style and audio language; the video features may include at least one of: video scene, scene element, shooting time, shooting place.
Example 1: and under the condition of determining the target audio, the electronic equipment determines the target video according to the audio characteristics of the target audio.
The user may determine the target audio according to personal preference, and then the electronic device may analyze the element information of the target audio to determine the audio characteristics of the target audio. Then, the electronic device may determine at least one video to be selected from the video library according to the audio feature, and select a video to be selected with the highest matching degree from the at least one video to be selected as the target video.
Example 2: and under the condition that the target video is determined, the electronic equipment determines the target audio according to the video characteristics of the target video.
The user can select a video from a gallery of the electronic equipment or shoot a video through a camera as a target video, then the electronic equipment can perform intelligent analysis on the determined target video so as to determine the video characteristics of the target video, then determine at least one audio to be selected from a music library according to the video characteristics, and select the audio to be selected with the highest matching degree from the at least one audio to be selected as the target audio.
It should be noted that the video library in the above example 1 may include at least one of a local video library and a network video library of the electronic device; the music library in example 2 above may include at least one of a local music library and a network music library of the electronic device.
Based on the scheme, the target video can be determined according to the audio characteristics of the target audio, or the target audio can be determined according to the video characteristics of the target video, so that the user only needs to determine one playing form to obtain the visual and auditory double enjoyment.
Optionally, the audio rate may include at least one of: very slow (40bpm and below), slow plate (40bpm-60bpm), small slow plate (61bpm-66bpm), flexible plate (67bpm-76bpm), line plate (77bpm-108bpm), small line plate (109bpm-120bpm), fast plate (121bpm-168bpm), fast plate (169bpm-200bpm), fastest plate (200bpm-208bpm), and very fast (greater than 208 bpm). The audio style may include at least one of: pop, rock, ballad, hip hop, electronic, rhythmic bruise, metal, etc. The audio languages may include at least one of: chinese, english, cantonese, spanish, french, and the like.
Optionally, the video scene may include at least one of: travel, home, diet, commute, run, sleep, get up, and work, etc. The scene element may include at least one of: people, animals, food, landscapes, and the like.
Optionally, the electronic device may receive a personality tag input by the user; then determining a video to be selected according to the audio characteristics of the target audio, and determining the target video from the video to be selected according to the personalized tag; or determining audio to be selected according to the video characteristics of the target video, and determining the target audio from the audio to be selected according to the personalized tag; wherein the personality tag may include at least one of: playing scene, user mood and playing time.
Optionally, the playing scene may include at least one of the following: commuting, getting up, sleeping, driving, and exercising, etc. The user mood may include at least one of: open heart, injury, depression, relaxation, tension, etc. The playing time may be a current network time detected by the electronic device.
Illustratively, the electronic device determines the target video according to the target audio. As shown in fig. 6 (a), after the target audio is determined, the electronic device may display a pattern matching interface, where the pattern matching interface may include an intelligent matching pattern and a progressive matching pattern, and if the user selects the intelligent matching pattern, the electronic device may directly match the video according to the audio feature of the target audio (see example 1 above, which is not described herein again); as shown in fig. 6 (b), if the user selects the advanced matching mode, the electronic device may display a personality tag input interface, the user may input a personality tag in the personality tag input interface, and then the electronic device may match at least one video to be selected according to the audio features of the target audio, and then determine the target video from the at least one video to be selected according to the personality tag input by the user.
Based on the scheme, the audio or the video can be screened according to the personal tags input by the user, so that the finally obtained target video and the target audio can better accord with the preference of the user.
Optionally, the electronic device may determine a first distance between the user and the electronic device according to the first position information and the second position information, and determine a second distance between the user and the virtual display interface; then, a volume proportion parameter may be determined according to the first distance and the second distance, and a product of the volume proportion parameter and a maximum volume value of the electronic device may be determined as the target volume.
For example, the first distance is x, the second distance is y, and the maximum volume value of the electronic device is f. The electronic device can determine a volume scaling parameter as a function of the first distance x and the second distance y
Figure BDA0003359842560000081
Then the volume ratio parameter is calculated
Figure BDA0003359842560000082
The product of the maximum volume value f of the electronic equipment is determined as the target volume, namely the target volume is
Figure BDA0003359842560000083
Based on the scheme, the target volume can be determined according to the first position information and the second position information, so that the target volume can be changed as long as the positions of the user and the electronic equipment are changed, and the trouble of manually operating and controlling the volume by the user can be avoided.
Step 203a, under the condition that the video content of the target video in the target display area is played, synchronously outputting the target audio according to the target volume.
Optionally, in the case of playing the target audio and the target video synchronously, the electronic device may further determine a vibration frequency according to the audio rate of the target audio, and control the motor to vibrate according to the vibration frequency, wherein the higher the audio rate of the target audio, the higher the vibration frequency.
Alternatively, the relationship between the audio rate of the target audio and the motor vibration frequency may be as shown in table 1.
TABLE 1
Audio rate Rate parameter Frequency of vibration
Very slow 40bpm and below < 40 times/min
Slow plate 40bpm-60bpm 40 times/min-60 times/min
Small slow plate 40bpm-60bpm 40 times/min-60 times/min
Flexible board 67bpm-76bpm 67 times/min-76 times/min
Running board 77bpm-108bpm 77 times/min-108 times/min
Small walking board 109bpm-120bpm 109 times/min-120 times/min
Express plate 121bpm-168bpm 121 times/min-168 times/min
Cutting board 169bpm-200bpm 169 or 200X/minMinute (min)
Emergency board 200bpm-208bpm 200 times/min-208 times/min
Very fast Greater than 208bpm More than 208 times/min
Optionally, if multiple electronic devices are in a communication connection state, for example, the multiple electronic devices are in the same wireless network connection, the multiple electronic devices may simultaneously display the playing contents of the target videos in different areas in the virtual display interface and respectively play one channel of the target audio, for example, the electronic device on the left of the user may play a left channel, and the electronic device on the right of the user may play a right channel.
Optionally, in the case of playing the target audio and the target video, the electronic device screen may display corresponding playing elements, which may include at least one of: lyrics of the target audio, a target audio spectrum, and an editing control, which may include at least one of: a play progress adjusting control, a play control, a pause play control, a switching control, a screen locking control, a screen recording control, a collection control and the like.
In the embodiment of the application, the target audio matched with the target video can be played according to the target volume while the target video is played, so that the operation of controlling the volume by a user can be simplified, and the user can obtain more comfortable audio-visual experience.
It should be noted that, in the video playing method provided in the embodiment of the present application, the execution main body may be a video playing device, or a control module used for executing the video playing method in the video playing device. In the embodiment of the present application, a video playing device executing a video playing method is taken as an example to describe the video playing device provided in the embodiment of the present application.
As shown in fig. 7, an embodiment of the present application further provides a video playing apparatus 700, which may include: an obtaining module 701, a processing module 702 and an output module 703. The obtaining module 701 may be configured to obtain first location information of a user and second location information of an electronic device in a case where a target video is determined; the processing module 702 may be configured to determine a virtual display interface of the target video according to the first position information and the second position information, and determine a target display area from the virtual display interface, where the target display area is a projection area from a screen of an electronic device to the virtual display interface; the output module 703 may be configured to play video content of the target video in the target display area.
Optionally, the processing module 702 may be further configured to determine a target audio matched with the target video before the output module 703 plays the video content of the target video in the target display area, and determine a target volume according to the first position information and the second position information; the output module 703 may be specifically configured to output the target audio synchronously according to the target volume when the video content of the target video in the target display area is played.
Optionally, the processing module 702 may be specifically configured to: determining a first distance between the user and the electronic equipment according to the first position information and the second position information, and determining a second distance between the user and the virtual display interface; and determining a volume proportion parameter according to the first distance and the second distance, and determining the product of the volume proportion parameter and the maximum volume value of the electronic equipment as the target volume.
Optionally, the processing module 702 may be further configured to, in a case that the target audio is determined, determine the target video according to an audio feature of the target audio; or, under the condition of determining the target video, determining the target audio according to the video characteristics of the target video; wherein the audio features comprise at least one of: audio rate, audio style and audio language; the video features include at least one of: video scene, scene element, shooting time, shooting place.
Optionally, with continued reference to fig. 7, the apparatus may further include a receiving module 704; a receiving module 704, configured to receive a personality tag input by a user before the output module 703 plays the video content of the target video in the target display area; the processing module 702 is specifically configured to determine a video to be selected according to the audio feature of the target audio, and determine the target video from the video to be selected according to the personality tag; determining audio to be selected according to the video characteristics of the target video, and determining the target audio from the audio to be selected according to the personalized tag; wherein the personality tag comprises at least one of: playing scene, user mood and playing time.
In the embodiment of the application, because the electronic equipment can display the video content of the target video in the projection area, when the position of the electronic equipment changes, the video content displayed in the screen of the electronic equipment also changes, so that the video playing mode of the electronic equipment can be enriched, the interestingness of the user in viewing the video is increased, the visual angle of the user can be simulated, and the video area which is interested by the user can be focused.
The video playing apparatus in the embodiment of the present application may be an apparatus, 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 video playing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The video playing device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 2 to fig. 6, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and executable on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the above-mentioned video playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 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. 9 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 not repeated here.
The processor 1010 may be configured to obtain first location information of a user and second location information of an electronic device in a case where a target video is determined.
The processor 1010 may be configured to determine a virtual display interface of the target video according to the first position information and the second position information, and determine a target display area from the virtual display interface, where the target display area is a projection area from a screen of the electronic device to the virtual display interface.
A display unit 1006, configured to play video content of the target video in the target display area.
In the embodiment of the application, because the electronic equipment can display the video content of the target video in the projection area, when the position of the electronic equipment changes, the video content displayed in the screen of the electronic equipment also changes, so that the video playing mode of the electronic equipment can be enriched, the interestingness of the user in viewing the video is increased, the visual angle of the user can be simulated, and the video area which is interested by the user can be focused.
Optionally, the processor 1010 may be further configured to determine a target audio matching the target video before the display unit 1006 plays the video content of the target video in the target display area, and determine a target volume according to the first position information and the second position information; the audio output unit 1003 may be specifically configured to, when the display unit 1006 plays the video content of the target video in the target display area, synchronously output the target audio according to the target volume.
In the embodiment of the application, the target audio matched with the target video can be played according to the target volume while the target video is played, so that the operation of controlling the volume by a user can be simplified, and the user can obtain more comfortable audio-visual experience.
Optionally, the processor 1010 may be specifically configured to: determining a first distance between the user and the electronic equipment according to the first position information and the second position information, and determining a second distance between the user and the virtual display interface; and determining a volume proportion parameter according to the first distance and the second distance, and determining the product of the volume proportion parameter and the maximum volume value of the electronic equipment as the target volume.
In the embodiment of the application, the target volume can be determined according to the first position information and the second position information, so that the target volume can be changed as long as the positions of the user and the electronic equipment are changed, and thus, the trouble of manually operating and controlling the volume by the user can be avoided.
Optionally, the processor 1010 may be further configured to, in a case that the target audio is determined, determine the target video according to an audio feature of the target audio; or, under the condition of determining the target video, determining the target audio according to the video characteristics of the target video; wherein the audio features comprise at least one of: audio rate, audio style and audio language; the video features include at least one of: video scene, scene element, shooting time, shooting place.
In the embodiment of the application, because the target video can be determined according to the audio characteristics of the target audio, or the target audio can be determined according to the video characteristics of the target video, the user only needs to determine one playing form to obtain the double enjoyment of vision and hearing.
Optionally, the user input unit 1007 may be configured to receive a personality tag input by the user before the display unit 1006 plays the video content of the target video in the target display area; the processor 1010 is specifically configured to determine a video to be selected according to the audio feature of the target audio, and determine the target video from the video to be selected according to the personality tag; determining audio to be selected according to the video characteristics of the target video, and determining the target audio from the audio to be selected according to the personalized tag; wherein the personality tag comprises at least one of: playing scene, user mood and playing time.
In the embodiment of the application, the audio or the video can be screened according to the personality label input by the user, so that the finally obtained target video and the target audio can better accord with the preference of the user.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the video playing 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 run a program or an instruction to implement each process of the above video playing 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 computer software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (e.g., a mobile phone, a computer, a server, 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 (10)

1. A video playback method, comprising:
under the condition that the target video is determined, first position information of a user and second position information of the electronic equipment are obtained;
determining a virtual display interface of the target video according to the first position information and the second position information, and determining a target display area from the virtual display interface, wherein the target display area is a projection area from a screen of the electronic equipment to the virtual display interface;
and playing the video content of the target video in the target display area.
2. The video playback method according to claim 1, wherein before playing back the video content of the target video in the target display area, the method further comprises:
determining a target audio matched with the target video, and determining a target volume according to the first position information and the second position information;
the playing the video content of the target video in the target display area comprises:
and under the condition of playing the video content of the target video in the target display area, synchronously outputting the target audio according to the target volume.
3. The video playing method according to claim 2, wherein the determining a target volume according to the first position information and the second position information comprises:
determining a first distance between the user and the electronic equipment according to the first position information and the second position information, and determining a second distance between the user and the virtual display interface;
and determining a volume proportion parameter according to the first distance and the second distance, and determining the product of the volume proportion parameter and the maximum volume value of the electronic equipment as the target volume.
4. The video playback method according to claim 2 or 3, wherein before playing back the video content of the target video in the target display area, the method further comprises:
under the condition that the target audio is determined, determining the target video according to the audio characteristics of the target audio; or, under the condition of determining the target video, determining the target audio according to the video characteristics of the target video;
wherein the audio features comprise at least one of: audio rate, audio style and audio language; the video features include at least one of: video scene, scene element, shooting time, shooting place.
5. The video playback method according to claim 4, wherein before playing back the video content of the target video in the target display area, the method further comprises:
receiving a personality label input by a user;
the determining the target video according to the audio characteristics of the target audio includes:
determining a video to be selected according to the audio characteristics of the target audio, and determining the target video from the video to be selected according to the personalized tag;
the determining the target audio according to the video features of the target video comprises:
determining audio to be selected according to the video characteristics of the target video, and determining the target audio from the audio to be selected according to the personalized tag;
wherein the personality tag comprises at least one of: playing scene, user mood and playing time.
6. A video playback apparatus, comprising: the device comprises an acquisition module, a processing module and an output module;
the acquisition module is used for acquiring first position information of a user and second position information of the electronic equipment under the condition of determining the target video;
the processing module is used for determining a virtual display interface of the target video according to the first position information and the second position information, and determining a target display area from the virtual display interface, wherein the target display area is a projection area from a screen of the electronic equipment to the virtual display interface;
the output module is used for playing the video content of the target video in the target display area.
7. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the video playback method as claimed in any one of claims 1 to 5.
8. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the video playback method according to any one of claims 1 to 5.
9. A video playback system, comprising: a first electronic device implementing the steps of the video playback method according to any one of claims 1 to 5 and a second electronic device implementing the steps of the video playback method according to any one of claims 1 to 5;
under the condition that the first electronic device and the second electronic device are connected with the same wireless local area network, the first electronic device is used for playing video content in a first display area of the virtual display interface, and the second electronic device is used for playing video content in a second display area of the virtual display interface;
the first display area is a projection area from the screen of the first electronic device to the virtual display interface, the second display area is a projection area from the screen of the second electronic device to the virtual display interface, and the position information of the first electronic device is different from the position information of the second electronic device.
10. The video playback system of claim 9, wherein in a case where the first electronic device is located on the left side of a connection line from a user to the virtual display interface and the second electronic device is located on the right side of the connection line, the first electronic device is further configured to output a left channel audio signal and the second electronic device is further configured to output a right channel audio signal.
CN202111362576.9A 2021-11-17 2021-11-17 Video playing method, device, system, electronic equipment and storage medium Pending CN114125149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111362576.9A CN114125149A (en) 2021-11-17 2021-11-17 Video playing method, device, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111362576.9A CN114125149A (en) 2021-11-17 2021-11-17 Video playing method, device, system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114125149A true CN114125149A (en) 2022-03-01

Family

ID=80396051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111362576.9A Pending CN114125149A (en) 2021-11-17 2021-11-17 Video playing method, device, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114125149A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103221A (en) * 2022-06-28 2022-09-23 北京奇艺世纪科技有限公司 Screen projection method and device, electronic equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020206647A1 (en) * 2019-04-11 2020-10-15 华为技术有限公司 Method and apparatus for controlling, by means of following motion of user, playing of video content
CN112188117A (en) * 2020-08-29 2021-01-05 上海量明科技发展有限公司 Video synthesis method, client and system
CN113411684A (en) * 2021-06-24 2021-09-17 广州酷狗计算机科技有限公司 Video playing method and device, storage medium and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020206647A1 (en) * 2019-04-11 2020-10-15 华为技术有限公司 Method and apparatus for controlling, by means of following motion of user, playing of video content
CN112188117A (en) * 2020-08-29 2021-01-05 上海量明科技发展有限公司 Video synthesis method, client and system
CN113411684A (en) * 2021-06-24 2021-09-17 广州酷狗计算机科技有限公司 Video playing method and device, storage medium and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103221A (en) * 2022-06-28 2022-09-23 北京奇艺世纪科技有限公司 Screen projection method and device, electronic equipment and readable storage medium
CN115103221B (en) * 2022-06-28 2023-09-22 北京奇艺世纪科技有限公司 Screen projection method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN108304441B (en) Network resource recommendation method and device, electronic equipment, server and storage medium
CN111241340B (en) Video tag determining method, device, terminal and storage medium
CN111757175A (en) Video processing method and device
CN108965981B (en) Video playing method and device, storage medium and electronic equipment
CN112367551A (en) Video editing method and device, electronic equipment and readable storage medium
KR20200063777A (en) Display apparatus and controlling method thereof
CN113014801B (en) Video recording method, video recording device, electronic equipment and medium
CN111491123A (en) Video background processing method and device and electronic equipment
CN113177134A (en) Music playing method and device, electronic equipment and storage medium
CN114339375A (en) Video playing method, method for generating video directory and related product
CN112118397A (en) Video synthesis method, related device, equipment and storage medium
CN110544287B (en) Picture allocation processing method and electronic equipment
CN113556603B (en) Method and device for adjusting video playing effect and electronic equipment
CN113596555B (en) Video playing method and device and electronic equipment
CN114125149A (en) Video playing method, device, system, electronic equipment and storage medium
CN110784762B (en) Video data processing method, device, equipment and storage medium
CN112309449A (en) Audio recording method and device
CN113905125B (en) Video display method and device, electronic equipment and storage medium
CN112235635A (en) Animation display method, animation display device, electronic equipment and storage medium
CN113542257B (en) Video processing method, video processing device, electronic apparatus, and storage medium
CN112653919B (en) Subtitle adding method and device
CN115543137A (en) Video playing method and device
CN108174308B (en) Video playing method, video playing device, storage medium and electronic equipment
CN113709375B (en) Image display method and device and electronic equipment
CN114390205B (en) Shooting method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220301

RJ01 Rejection of invention patent application after publication