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

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

Info

Publication number
CN113411684B
CN113411684B CN202110707520.6A CN202110707520A CN113411684B CN 113411684 B CN113411684 B CN 113411684B CN 202110707520 A CN202110707520 A CN 202110707520A CN 113411684 B CN113411684 B CN 113411684B
Authority
CN
China
Prior art keywords
video
playing
target
audio
adjustment
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.)
Active
Application number
CN202110707520.6A
Other languages
Chinese (zh)
Other versions
CN113411684A (en
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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN202110707520.6A priority Critical patent/CN113411684B/en
Publication of CN113411684A publication Critical patent/CN113411684A/en
Application granted granted Critical
Publication of CN113411684B publication Critical patent/CN113411684B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/816Monomedia components thereof involving special video data, e.g 3D video
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4852End-user interface for client configuration for modifying audio parameters, e.g. switching between mono and stereo
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4854End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast

Abstract

The invention discloses a video playing method and device, a storage medium and electronic equipment. Wherein the method comprises the following steps: under the condition that panoramic videos are configured on target audios played in a playing client, a first sub-video in the panoramic videos is played in a target playing interface of the playing client, wherein the first sub-video is a part of videos of the panoramic videos of the target audios under a first visual angle; generating a play adjustment instruction in response to an adjustment operation performed on the play client; determining a second sub-video according to the play adjustment instruction, wherein the second sub-video is a part of the panoramic video under a second view angle; and playing the second sub video in the target playing interface. The invention solves the technical problem of single video playing content caused by video content limitation.

Description

Video playing method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of video, and in particular, to a video playing method and apparatus, a storage medium, and an electronic device.
Background
Currently, a music playing application installed at a terminal will typically display a pre-configured picture or video on a music playing interface to enrich the music playing interface.
The existing video display content is determined by the content contained in the video itself, and because of the limitation of video shooting or production, the video playing display is single, and the content of the video displayed in the interface cannot be adjusted in the video playing process, so that the playing content of the video display is single.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a video playing method and device, a storage medium and electronic equipment, which are used for at least solving the technical problem of single video playing content caused by video content limitation.
According to an aspect of an embodiment of the present invention, there is provided a video playing method, including: playing a first sub-video in the panoramic video in a target playing interface of the playing client under the condition that the panoramic video is configured in the target audio played in the playing client, wherein the first sub-video is a part of the panoramic video of the target audio under a first viewing angle; generating a play adjustment instruction in response to an adjustment operation executed on the play client; determining a second sub-video according to the play adjustment instruction, wherein the second sub-video is a part of the panoramic video at a second viewing angle; and playing the second sub video in the target playing interface.
According to another aspect of the embodiment of the present invention, there is also provided a video playing device, including: a first playing unit, configured to play a first sub-video in a panoramic video in a target playing interface of a playing client when a panoramic video is configured in a target audio played in the playing client, where the first sub-video is a partial video of the panoramic video of the target audio under a first viewing angle; the generation unit is used for responding to the adjustment operation executed on the playing client and generating a playing adjustment instruction; the determining unit is used for determining a second sub-video according to the play adjustment instruction, wherein the second sub-video is a part of the panoramic video under a second view angle; and the second playing unit is used for playing the second sub video in the target playing interface.
According to yet another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to perform the video playing method described above when run.
According to still another aspect of the embodiments of the present invention, there is also provided an electronic device including a memory in which a computer program is stored, and a processor configured to execute the video playing method described above by the computer program.
In the embodiment of the invention, under the condition that the panoramic video is configured in the target audio, a first sub-video of the panoramic video under a first visual angle is played in a target playing interface for playing the target audio, a playing adjustment instruction is generated based on the adjustment operation, an adjusted second visual angle determined by the adjustment operation is determined according to the playing adjustment instruction, and a second sub-video corresponding to the second visual angle is played in the target playing interface.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a schematic illustration of an application environment of an alternative video playback method according to an embodiment of the present invention;
FIG. 2 is a flow chart of an alternative video playing method according to an embodiment of the present invention;
FIG. 3 is a flow chart of an alternative video playing method according to an embodiment of the present invention;
FIG. 4 is a flow chart of an alternative video playing method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a playback interface of an alternative video playback method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a playback interface of an alternative video playback method according to an embodiment of the present invention;
FIG. 7 is a flow chart of an alternative video playing method according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an alternative video playing device according to an embodiment of the present invention;
fig. 9 is a schematic structural view of an alternative electronic device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of an embodiment of the present invention, a video playing method is provided, and optionally, the video playing method may be applied to, but not limited to, the environment shown in fig. 1. Terminal device 102 interacts data with server 122 via network 110. The terminal device 102 has installed therein a playback client for playing audio, and the server 122 is a server running the playback client. The server 122 has a database 124 and a processing engine 126 disposed therein. The database 124 is used for storing data and results received and processed by the server 122, and the processing engine 126 is used for processing the data to be processed in the database 124 according to the data processing instruction to obtain result data corresponding to the data processing instruction.
The processing engine 126 in the server 122 sequentially executes S102 to S106 when the playback client of the terminal device 102 plays the target audio. And playing the first sub-video in the panoramic video in a target playing interface of the playing client under the condition that the panoramic video is configured in the target audio played in the playing client. The first sub-video is a part of the panoramic video of the target audio under the first view angle. The panoramic video is not limited to three hundred sixty degree panoramic video. The three hundred sixty degree panoramic video is spherical video formed by taking the sphere center as a shooting visual angle. The three hundred sixty-degree panoramic video has no blind area for adjusting the angle, and any adjusting angle displays the corresponding continuous video adjusting process under the condition of adjusting the playing angle of the three hundred sixty-degree panoramic video. In the case of performing an adjustment operation on the playback client, the adjustment data is sent to the server 122 via the network 110, so that the processing engine 126 generates playback adjustment instructions in response to the adjustment operation performed on the playback client. The adjustment data is not limited to indicating that the first view angle of the panoramic video is adjusted to the second view angle. And under the condition that the adjustment instruction is generated, determining a second sub-video according to the play adjustment instruction. The second sub-video is a part of the panoramic video under the second view angle. In the case that the second sub-video is determined, data of the second sub-video is transmitted to the playing client in the terminal device 102 through the network 110, so that the playing client executes S108 to play the second sub-video on the target playing interface.
Alternatively, in the present embodiment, the terminal device 102 may be a terminal device configured with a playing client, and may include, but is not limited to, at least one of the following: cell phones (e.g., android cell phones, IOS cell phones, etc.), notebook computers, tablet computers, palm computers, MIDs (Mobile Internet Devices ), PADs, desktop computers, smart televisions, etc. The target client may be a client with audio playback, not limited to an audio client, a video client, an instant messaging client, a browser client, an educational client, and the like. The network 110 may include, but is not limited to: a wired network, a wireless network, wherein the wired network comprises: local area networks, metropolitan area networks, and wide area networks, the wireless network comprising: bluetooth, WIFI, and other networks that enable wireless communications. The server 122 may be a single server, a server cluster composed of a plurality of servers, or a cloud server. The above is merely an example, and is not limited in any way in the present embodiment.
As an alternative embodiment, as shown in fig. 2, the video playing method includes:
s202, under the condition that panoramic videos are configured in target audio played in a playing client, playing first sub-videos in the panoramic videos in a target playing interface of the playing client, wherein the first sub-videos are part of videos of the panoramic videos of the target audio under a first viewing angle;
S204, responding to the adjustment operation executed on the playing client side and generating a playing adjustment instruction;
s206, determining a second sub-video according to the play adjustment instruction, wherein the second sub-video is a part of the panoramic video under a second viewing angle;
and S208, playing the second sub video in the target playing interface.
Optionally, the playing client is a client for playing the target audio, is a client with an audio playing function, and is not limited to a playing interface including an audio control for playing the audio and playing the audio. The audio controls that play audio may be included in the default screen after entering the play client and in the interface that is not used to highlight the audio. The playing interface for playing the audio is not limited to an interface for highlighting the played audio, and the playing interface is not limited to a control for controlling the audio playing, adjusting the playing progress, viewing the playing sequence and adjusting the playing parameters and a video with an association relation with the audio.
Alternatively, the video of the audio configuration is not limited to the video with the association relationship, but is not limited to including the related video and the panoramic video, the related video is the non-panoramic video with the association relationship with the audio, and the number of the related videos may be one or more. The configuration of related video and panoramic video for the target audio is not limited. And playing the panoramic video in the target playing interface under the condition that the target audio is configured with the related video and the panoramic video. And playing the related video in the target playing interface under the condition that the panoramic video is not configured in the target audio. And playing a plurality of related videos according to a preset configuration sequence under the condition that the number of the related videos is larger than one. The playing of the related video can be cyclic playing or extended playing. The cyclic playing is used for indicating that a plurality of related videos in a preset configuration sequence are cyclically played according to the playing sequence, and after the related video positioned at the tail of the sequence is played, the related video positioned at the head of the sequence is played. The expansion playing is used for indicating to search the video which is related to the target audio but not in the preset configuration sequence, and after the related video positioned at the tail of the sequence is played, the searched video is played.
Alternatively, the panoramic video is not limited to three hundred sixty degrees of panoramic video. The three hundred sixty degree panoramic video is spherical video formed by taking the sphere center as a shooting visual angle. The three hundred sixty-degree panoramic video has no blind area for adjusting the angle, and any adjusting angle displays the corresponding continuous video adjusting process under the condition of adjusting the playing angle of the three hundred sixty-degree panoramic video. The three hundred sixty degree panoramic video is not limited to video photographed using QooCam 8K devices.
Optionally, the adjustment operation may be an attitude adjustment operation performed by the target terminal where the playing client is located or a touch operation performed on the target playing interface. The posture adjustment operation is to adjust the posture of the target terminal in the space, and is not limited to any direction and any angle. For example, the target terminal is adjusted from the vertical state to be rotated forty-five degrees to the right rear. The gesture adjustment operation monitoring of the target terminal is not limited to the monitoring by a gesture monitoring module in the playing client or a gesture monitoring module in the target terminal. In the case that the posture monitoring module monitors the posture adjustment operation, posture adjustment parameters corresponding to the posture adjustment operation are acquired, and the posture adjustment parameters are not limited to include adjustment variables for indicating posture differences between the posture before adjustment and the posture after adjustment. The adjustment variables are not limited to include adjustment angle, adjustment direction, and adjustment displacement.
Optionally, the touch operation performed on the target playing interface is not limited to the touch operation performed on the panoramic video in the target playing interface, and the touch operation is used for indicating adjustment of the playing angle of the panoramic video, and the specific form is not limited to the point-and-slide operation and the slide operation. The operation is not limited to any direction and the displacement is not limited to any displacement contained in the target playing interface. And the touch operation beyond the target playing interface is not calculated.
Optionally, under the condition that the gesture adjustment operation performed on the target terminal where the playing client is located and the touch operation performed on the target playing interface occur simultaneously, generating a playing adjustment instruction corresponding to the touch operation, and adjusting the playing angle of the panoramic video in the target playing interface according to the playing adjustment instruction corresponding to the touch operation.
Optionally, the first view angle is an initial view angle configured for the panoramic video, and in the case that the audio starts to be played, the panoramic video is played in the target playing interface according to the initial view angle. The initial view angle may be an initial view angle configured for playing the panoramic video in the client, and when the audio configured with the panoramic video starts playing, the panoramic video of the initial view angle is played. The initial view angle may be an initial view angle configured for each panoramic video, and when the audio configured with the panoramic video starts to play, the panoramic video under the corresponding initial view angle is played.
The first sub-video is video content of the panoramic video displayed in the playing interface at the first viewing angle, and includes video content of the panoramic video at the first viewing angle. The second sub-video is the video content of the panoramic video displayed in the playing interface at the second viewing angle, and the video content of the panoramic video at the second viewing angle is contained. That is, the first sub-video and the second sub-video are only sub-videos formed by the panoramic video due to the play angle and the display limitation in the play interface.
In the embodiment of the application, under the condition that the panoramic video with the association relation is configured in the target audio, a first sub-video of the panoramic video under a first visual angle is played in a target playing interface for playing the target audio, a playing adjustment instruction is generated based on adjustment operation, an adjusted second visual angle determined by the adjustment operation is determined according to the playing adjustment instruction, a second sub-video corresponding to the second visual angle is played in the target playing interface, and the playing angle of the panoramic video in the target playing interface is adjusted by responding to the playing adjustment instruction generated by the adjustment operation, so that the purposes of playing contents of the panoramic video in different visual angles in the target playing interface and enriching the video playing contents are achieved, the technical effect of improving the richness of the video playing contents is achieved, and the technical problem of single video playing contents caused by video content limitation is solved.
As an alternative embodiment, as shown in fig. 3, generating the play adjustment instruction in response to the adjustment operation performed on the play client includes:
s302, under the condition that the target terminal where the playing client is located carries out gesture adjustment operation is detected, determining an adjustment variable for adjusting the target terminal from a first gesture to a second gesture;
s304, generating a play adjusting instruction matched with the adjusting variable.
Optionally, the gesture adjustment operation is that the gesture of the target terminal where the playing client is located is adjusted from a first gesture to a second gesture, where the first gesture is the gesture of the target terminal before the gesture adjustment operation, the second gesture is the gesture of the target terminal after the gesture adjustment operation, and the specific gesture of the first gesture and the specific gesture of the second gesture may be any gesture, and no limitation is made herein. The adjustment variable is used for indicating the gesture conversion of the target terminal from the first gesture to the second gesture, and is not limited to include the adjustment direction and the adjustment angle under the condition that the displacement of the target terminal has no influence on the adjustment of the panoramic video played by the playing client in the target terminal. The adjustment direction may be any direction in the three-dimensional space in which the target terminal is located, and the same adjustment angle may be any angle in the three-dimensional space in which the target terminal is located.
Alternatively, generating the play adjustment instruction matching the adjustment variable is not limited to converting the adjustment direction and the adjustment angle into the viewing angle adjustment data of the panoramic video. The stereoscopic space where the target terminal is located has a spatial corresponding relation with the panoramic video, and the gesture adjustment operation corresponding adjustment direction and adjustment angle of the target terminal are converted into view angle adjustment data corresponding to the panoramic video according to the play adjustment instruction, so that the panoramic video adjusts the play view angle based on the play adjustment instruction.
As an alternative embodiment, determining the adjustment variable for the transition of the target terminal from the first pose to the second pose includes: acquiring an adjusting direction and an adjusting angle for adjusting the first posture to the second posture; and converting the adjustment direction and the adjustment angle into an attitude adjustment matrix under a three-dimensional space coordinate system.
Optionally, the gesture adjustment matrix is obtained according to the adjustment direction and the adjustment angle of the target terminal from the first gesture to the second gesture in the three-dimensional space. The first posture is adjusted to be the second posture and can be the combination of any angle and any direction, so that the adjustment variable is specifically dataized to determine the adjustment data under the three-dimensional space coordinate system corresponding to the adjustment variable, and the posture adjustment matrix is determined according to the adjustment data.
Optionally, the posture adjustment matrix is a matrix corresponding to the data of the X axis, the Y axis and the Z axis of the three-dimensional space coordinate system, and converts the adjustment data corresponding to the adjustment direction and the adjustment angle into three-dimensional coordinate data to realize posture datamation. For example, the adjustment variable corresponding to the adjustment of the first posture to the second posture is that the target terminal vertically rotates twenty degrees to the right, and the corresponding rotation of the target terminal in the plane of the X axis and the Z axis of the three-dimensional space coordinate system is that the direction in the three-dimensional space is converted into an angle, so that the adjustment angle and the rotation angle of the adjustment direction in the three-dimensional coordinate system after conversion are obtained. The corresponding attitude adjustment matrix is used to indicate that the attitude adjustment is rotated twenty degrees in the positive X-axis direction and the negative Z-axis direction in the plane in which the X-axis and Z-axis lie.
As an alternative embodiment, generating the play adjustment instruction matching the adjustment variable includes: and generating a play adjustment instruction matched with the adjustment variable according to the gesture adjustment matrix.
Optionally, under the condition that an attitude adjustment matrix is generated, and the attitude adjustment operation is converted into the attitude adjustment matrix corresponding to the rotation angle in the three-dimensional space coordinate system, a play adjustment instruction is generated according to the attitude adjustment matrix, and rotation angle data is carried in the play adjustment instruction.
Optionally, the rotation angle data carried in the play adjustment instruction is used for indicating that on the basis of the first viewing angle, the play viewing angle of the panoramic video is adjusted according to the rotation angle data by taking the center of a sphere of the complete panoramic video as the center. For example, the first viewing angle is zero and the rotation angle data is [20, 30, -15], then the play adjustment instruction is used for indicating that on the basis of the angles [0, 0], the spherical center of the panoramic video is taken as the center, and the viewing angle rotation is performed according to [20, 30, -15], namely, the X-axis positive direction rotates by 20 degrees, the Y-axis positive direction rotates by 30 degrees, the Z-axis negative direction rotates by fifteen degrees, and the obtained second viewing angle is the viewing angle corresponding to [20, 30, -15], so that the video content corresponding to the panoramic video under the viewing angle of [20, 30, -15] is displayed in the play interface.
Optionally, the video content of the sub video displayed in the playing interface is image content within a preset playing angle within the playing angle, and is determined according to the playing proportion of the playing interface. The playing scale is used for indicating the scaling scale of the image display of the panoramic video in the playing interface. The preset play angle is inversely related to the play proportion, when the play proportion is large, the numerical value of the preset play angle is relatively small, and when the play proportion is small, the numerical value of the preset play angle is relatively large. Taking the first view angle as an example, when the play ratio is 5, assuming that the corresponding preset play angle is 8, the first sub-video corresponds to the video content in the range of angles of (-8, -8) with the center of the sphere as the center. When the play ratio is 10, assuming that the corresponding preset play angle is 15, the first sub-video corresponds to the video content in the range of angles of (-15 ) with the center of the sphere as the center.
In the embodiment of the application, the gesture adjustment of the target terminal is responded to adjust the playing view angle of the panoramic video, so that the adjustment operation of the playing view angle is simple and convenient, the gesture adjustment direction and the angle of the target terminal in the three-dimensional space are converted into matrix data in three-dimensional coordinates, the gesture adjustment of any direction and any angle is dataized, the view angle of the panoramic video is accurately adjusted and switched according to specific matrix data, and the accuracy of the view angle adjustment is ensured while the adjustment operation is simple and convenient.
As an alternative embodiment, as shown in fig. 4, generating the play adjustment instruction in response to the adjustment operation performed on the play client includes:
s402, determining a touch track of a touch operation under the condition that the touch operation executed on a target playing interface in a playing client is detected;
s404, generating a play adjustment instruction matched with the touch track.
Optionally, under the condition that the touch operation executed by the target playing interface is detected, a touch track corresponding to the touch operation is obtained. The touch operation is an operation that can form a touch trajectory, for example, a sliding operation. And under the condition that the touch operation is a plurality of sliding operations, sequentially generating play adjustment instructions corresponding to each sliding operation, and sequentially displaying the sub-videos of the corresponding visual angles. And under the condition that the time interval between the touch operations is smaller than the time interval threshold, determining a complete touch track of the touch operations, wherein the complete touch track is used for indicating the corresponding touch track from the start of the touch operations to the end of the multiple touch operations within the time interval threshold. And generating a play adjustment instruction corresponding to the complete touch track.
As an optional implementation manner, determining a touch trajectory of a touch operation includes: and acquiring the operation direction and the operation displacement of the touch operation. Generating a play adjustment instruction matched with the touch track comprises: determining a movement distance of the operation displacement in the operation direction; acquiring an adjustment angle corresponding to the moving distance; and generating a play adjustment instruction matched with the touch operation according to the adjustment angle.
Optionally, determining an operation direction and an operation displacement of a touch operation corresponding to the touch track, determining the operation displacement in the operation direction, acquiring an adjustment angle corresponding to a moving distance of the operation displacement, and generating a play adjustment instruction corresponding to the adjustment angle. Under the condition that touch operation is executed on a target playing interface, firstly, determining an operation direction of the touch operation, then determining a moving distance of operation displacement in the operation direction, and determining an adjusting angle corresponding to the moving distance, so as to generate a playing adjusting instruction corresponding to the adjusting angle.
Alternatively, determining the operation direction of the touch operation is not limited to determining the correction operation direction according to the operation trajectory. The operation track may have a direction change and deviation, and in the case that the change of the operation direction of the operation track is within a preset change range, the operation direction is corrected by using the statistical parameter of the operation direction corresponding to the operation track, for example, an average value, a variance, a standard deviation, and the like. When the change in the operation direction of the operation locus exceeds the preset change range, the operation direction is corrected by using the start point position and the end point position of the operation locus, for example, a direct line connecting the operation start point position and the end point position is used as the operation direction.
Alternatively, determining the movement distance of the operation distance in the operation direction is not limited to determining the mapping distance of the operation distance in the operation direction to determine the movement distance corresponding to the operation direction. The adjustment angle corresponding to the moving distance is not limited to the adjustment angle obtained by calculating the moving distance according to the playing scale. In the case where the moving distance in the operation direction is determined, the adjustment angle of the moving distance to the panoramic video is calculated according to the play scale.
In the embodiment of the application, the panoramic video playing visual angle is directly adjusted through touch operation on the target playing interface, so that the panoramic video adjusting operation is simplified, and the panoramic video is simple and convenient to operate.
As an alternative embodiment, after determining the second sub-video according to the play adjustment instruction, the method further includes:
s1, determining a rotation parameter adjusted from a first visual angle to a second visual angle in the case that the panoramic video is a panoramic video of a target type, wherein the rotation parameter comprises a rotation direction and a rotation angle;
s2, according to the rotation parameters, adjusting the playing sound effect of the target audio from the first sound effect matched with the first visual angle to the second sound effect matched with the second visual angle;
S3, playing the target audio of the second sound effect while playing the second sub-video in the target playing interface.
Alternatively, the type of panoramic video is not limited to the scene type according to the panoramic video. The scene type is used to indicate the openness of the scene indicated by the video content of the panoramic video, and is not limited to include closed scenes and open scenes.
Optionally, determining an audio configuration mode of the target audio corresponding to the panoramic video according to the scene type of the panoramic video. In the case where the scene type of the panoramic video is a closed scene, the sound effect of the target audio is configured as a spatial sound effect mode. In the spatial sound effect mode, a plurality of sound source positions for constructing the stereo sound effect are uniformly distributed around the sound effect center position. The distance between each sound source and the sound effect center is consistent. At each angle of the sound effect center position, the sound effect is consistent.
Optionally, in a case where the scene type of the panoramic video is an open scene, the sound effect of the target audio is configured to a stereoscopic rotation sound effect mode. In the stereo rotation sound effect mode, distances between the sound source positions constructing the stereo sound effect and the sound effect center position are inconsistent. At each angle of the sound effect center position, the sound effect is different. The difference in sound effects is not limited to include at least one of: the stereo sound source is formed by a plurality of sound sources in a hearing manner, the sound source positions of the stereo sound sources are different in direction, and the received stereo sound sources are different in volume. And determining the current sound effect according to the current angle at the sound effect center position.
Alternatively, the target type is not limited to a clear scene type that is panoramic video. And determining a rotation parameter which is adjusted from the first view angle to the second view angle under the condition that the panoramic video is of an open scene type and the target audio is configured with a stereoscopic rotation sound effect mode. The rotation parameter is used for indicating the direction and the rotation angle of the rotation at the sound effect center position from the first view angle to the second view angle. Under the condition that the positions of a plurality of sound sources of the stereo rotation sound effect mode are determined, the playing sound effect of the target audio is adjusted from a first sound effect corresponding to a first visual angle to a second sound effect corresponding to a second visual angle. For example, the video picture of the first sub-video at the first viewing angle is a horse group which is beaten on a grassland, the direction of the stereo audio source corresponding to the first audio effect is right in front, the stereo audio source is closer, and the corresponding volume is larger. And responding to the play adjustment instruction, for example, a second sub-video sliding rightwards and adjusted to a second visual angle, wherein the video picture of the second sub-video is a water source on the right side in a grassland, the direction of the corresponding stereo sound source of the second sound effect is the right front, the stereo sound source is far, and the corresponding volume is small.
Optionally, the first sound effect is adjusted to the second sound effect, and the first sound effect angle corresponding to the first sound effect is not limited to be determined, and the sound effect angle is an angle difference relative to the initial angle at the sound effect center position. The method is not limited to configuring corresponding playing sound effects for each sound effect angle or the sound effect angle range corresponding to each sound effect angle. And determining a second sound effect angle obtained by rotating the first sound effect angle according to the rotating direction and the rotating angle. And determining a second sound effect corresponding to the second sound effect angle as a second sound effect of the target sound effect matched with the second visual angle of the panoramic video.
In the embodiment of the application, when the visual angle of the panoramic video is adjusted, the sound effect of the target audio is adjusted in a mode of matching with the visual angle adjustment, and the target audio is played according to the second sound effect matched with the panoramic video of the second visual angle, so that the hearing and visual effect are matched, and the hearing and visual effect are adjusted synchronously.
As an optional implementation manner, after playing the first sub-video in the panoramic video in the target playing interface of the playing client, the method further includes: and responding to a first switching operation executed on a mode control in the target playing interface, and switching the target playing interface from an original display mode to a target display mode, wherein the target display mode is used for indicating that panoramic video of target audio is to be played independently, and the original display mode is used for indicating that audio additional information of the target audio is to be displayed while the panoramic video of the target audio is played.
Optionally, the panoramic video corresponding to the target audio is played by default using the original display mode. The original display mode displays the playing control of the target audio and the audio information while playing the panoramic video. The audio information is not limited to include object information and content information. The object information is information indicating an object having an association relationship with the target audio, such as a word author, a song author, a producer, a singer, and the like. The content information is used to indicate content related to the target audio, for example, word information, time information, and the like.
Optionally, the target audio and mode control are displayed in a target display mode. The mode control is used for switching the target display mode and the original display mode. In the target display mode, the play control and the audio information are hidden, and meanwhile, the play control cannot be operated.
Optionally, the view angle adjustment of the panoramic video is independent of the display mode, and in the target display mode and the original display mode, the view angle adjustment of the panoramic video can be realized through gesture adjustment operation of the target terminal or touch operation of the target playing interface.
Taking fig. 5 as an example, in the original playing mode, as shown in fig. 5A, the target playing interface 502 displays an interface control for interface prompt and interface switching on top, and displays a target playing interface of a video currently in a playing target audio configuration. In the case where the target audio is configured with panoramic video, the panoramic video is played in the original video play area 508, and in the case where the target audio is not configured with panoramic video, the relevant video is played in the original video play area 508. Included in the target playback interface 502 are playback controls for controlling playback of target audio and an audio information display area 506 for displaying target audio information. The target playback interface is switched from the original display mode to the target display mode by performing a first switching operation, such as a clicking operation, on the mode control 504. The target playing interface in the target display mode is shown in fig. 5B. In the target display mode, only the mode control 504 is displayed in the target playback interface 502, while the video playback area expands to the target video playback area 510.
As an alternative embodiment, after the target playing interface is switched from the original display mode to the target display mode, the method further includes: and in response to a second switching operation performed on the mode control, exiting the target display mode and restoring the original display mode.
Optionally, in the target display mode, performing a second switching operation on the mode control to exit the target display mode, and playing the panoramic video using the original display mode. In the process of switching the display mode through the mode control, the playing progress of the panoramic video is not affected. In the case of switching from the original display mode to the target display mode by performing the first switching operation on the mode control, the play progress of the panoramic video in the original display mode is maintained, and the panoramic video is continued to be played in the target display mode. Also, in the case of switching from the target display mode to the original display mode by performing the second switching operation on the mode control, the play progress of the panoramic video in the target display mode is maintained, and the panoramic video is continued to be played in the original display mode.
Optionally, in the target display mode, a switching operation is performed on the target audio, and in a case where the target audio is switched to the first audio, in a case where the first audio is configured with the first panoramic video, the first panoramic video is played in the target display mode. The determination of the display mode is not affected by the audio switching. In the target display mode, the target audio switching to the first audio may be a switching operation performed using the wireless transmission device or a switching operation triggered by the end of the target audio playback.
In the embodiment of the application, the panoramic video can be independently displayed through the mode control, so that the interface area occupied by playing the panoramic video is further increased, the content of the panoramic video which can be displayed is further enlarged, meanwhile, the playing modes of the panoramic video are enriched, and the video playing forms corresponding to the audio are richer.
As an optional implementation manner, before playing the first sub-video in the panoramic video in the target playing interface of the playing client, the method further includes: and displaying video play adjustment description information under the condition that the target client displays the target play interface for the first time, wherein the video play adjustment description information is used for indicating an operation mode for adjusting the panoramic video.
Optionally, the video play adjustment description information is used to indicate operation mode information for performing view angle adjustment on the panoramic video. The operation mode information is not limited to being displayed using illustrations, text, or a combination of both. The target playing interface first displayed by the target client is not limited to the audio information display area of the target playing interface in the original display mode. The video play adjustment description information is not limited to being displayed in a floating display window in the audio information display area.
Taking fig. 6 as an example, the video play adjustment description information 602 is not limited to being displayed in the audio information display area 504 of the target play interface 502. The video play adjustment description information 602 includes operation mode information for indicating a touch adjustment operation: slide adjust play perspective and example direction for adjustment operation: and the two ends of the curve are provided with arrows. The operation mode information includes a specific operation gesture indicating a touch adjustment operation: sliding and handling purposes: and adjusting the playing visual angle.
In the embodiment of the application, when the target playing interface is displayed for the first time, the video playing adjustment description information is displayed to inform the operation mode of the touch adjustment operation, so that the mode of realizing panoramic video visual angle adjustment is clarified, and the user experience is improved.
As an alternative embodiment, as shown in fig. 7, after playing the first sub-video in the panoramic video in the target playing interface of the playing client, the method further includes:
s702, acquiring an audio switching instruction;
s704, acquiring configuration information of the first audio when the audio switching instruction indicates to switch from the target audio to the first audio;
s706, playing a third sub-video in the panoramic video of the first audio in the target playing interface when the configuration information of the first audio indicates that the panoramic video is configured in the first audio, wherein the third sub-video is a part of the panoramic video of the first audio in the first viewing angle, and the panoramic video of the first audio and the first audio have an association relationship;
S708, playing a non-panoramic video of the first audio in a case where the configuration information of the first audio indicates that the first audio is not configured with the panoramic video.
Optionally, the audio switching instruction may be triggered by performing an audio switching operation on the audio switching control, or may be automatically triggered at the end of playing the target video. Under the condition that an audio switching instruction is acquired, determining a current display mode of a target playing interface, playing a first panoramic video by using the original display mode under the condition that the target playing interface is in the original display mode and the first audio is configured with the first panoramic video, and playing the first panoramic video by using the target display mode under the condition that the target playing interface is in the target display mode and the first audio is configured with the first panoramic video.
Optionally, before the audio switching instruction, in the case of playing the relevant video of the target video in the target playing interface, determining configuration information of the first audio, in the case that the configuration information indicates that the first audio is configured with the first panoramic video, playing the first panoramic video under the first viewing angle in the target playing interface, and in the case that the configuration information indicates that the first audio is not configured with the panoramic video, playing the non-panoramic video of the first audio, that is, the relevant video of the first audio, in the target playing interface.
In the embodiment of the application, when the audio is switched, the configuration information of the audio is determined, and under the condition that panoramic video is configured, the panoramic video with richer content is preferentially displayed so as to enrich the display content of the playing interface, so that the switching of the target display mode is reserved, and the richer video content is preferentially displayed.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
According to another aspect of the embodiment of the present invention, there is also provided a video playing device for implementing the video playing method. As shown in fig. 8, the apparatus includes:
a first playing unit 802, configured to play a first sub-video in the panoramic video in a target playing interface of the playing client when the panoramic video is configured for the target audio played in the playing client, where the first sub-video is a part of the panoramic video of the target audio under a first viewing angle;
A generating unit 804, configured to generate a play adjustment instruction in response to an adjustment operation performed on the play client;
a determining unit 806, configured to determine a second sub-video according to the play adjustment instruction, where the second sub-video is a part of the panoramic video under a second viewing angle;
and a second playing unit 808, configured to play the second sub-video in the target playing interface.
Optionally, the generating unit 804 includes:
the first detection module is used for determining an adjusting variable for adjusting the target terminal from the first posture to the second posture under the condition that the target terminal where the playing client is located carries out posture adjustment operation is detected;
the first generation module is used for generating a play adjustment instruction matched with the adjustment variable.
Optionally, the first detection module is further configured to obtain an adjustment direction and an adjustment angle for adjusting the first posture to the second posture; converting the adjustment direction and the adjustment angle into an attitude adjustment matrix under a three-dimensional space coordinate system; the first generation module is further configured to generate a play adjustment instruction matched with the adjustment variable according to the gesture adjustment matrix.
Optionally, the generating unit 804 includes:
the second detection module is used for determining a touch track of the touch operation under the condition that the touch operation executed on the target playing interface in the playing client is detected;
And the second generation module is used for generating a play adjustment instruction matched with the touch track.
Optionally, the second detection module is further configured to obtain an operation direction and an operation displacement of the touch operation; the second generation module is further used for determining the moving distance of the operation displacement in the operation direction; acquiring an adjustment angle corresponding to the moving distance; and generating a play adjustment instruction matched with the touch operation according to the adjustment angle.
Optionally, the video playing device further includes an audio unit, configured to, after determining the second sub-video according to the play adjustment instruction, include:
the rotating module is used for determining a rotating parameter which is adjusted from a first visual angle to a second visual angle in the case that the panoramic video is a panoramic video of a target type, wherein the rotating parameter comprises a rotating direction and a rotating angle;
the sound effect adjusting module is used for adjusting the playing sound effect of the target audio from the first sound effect matched with the first visual angle to the second sound effect matched with the second visual angle according to the rotation parameters;
and the audio playing module is used for playing the target audio of the second sound effect while playing the second sub-video in the target playing interface.
Optionally, the video playing device further includes a first switching unit, configured to switch, after playing a first sub-video in the panoramic video in a target playing interface of the playing client, the target playing interface from an original display mode to a target display mode in response to a first switching operation performed on a mode control in the target playing interface, where the target display mode is used to indicate that the panoramic video of the target audio is to be played separately, and the original display mode is used to indicate that audio additional information of the target audio is to be displayed while the panoramic video of the target audio is being played.
Optionally, the video playing device further includes a second switching unit, configured to, after switching the target playing interface from the original display mode to the target display mode, exit the target panoramic mode and restore the original display mode in response to a second switching operation performed on the mode control.
Optionally, the video playing device further includes a display unit, configured to display video playing adjustment description information under a condition that the target client displays the target playing interface for the first time before the first sub-video in the panoramic video is played in the target playing interface of the playing client, where the video playing adjustment description information is used to indicate an operation mode of adjusting the panoramic video.
Optionally, the video playing device further includes an acquisition switching unit, configured to, after playing the first sub-video in the panoramic video in the target playing interface of the playing client, include:
the first acquisition module is used for acquiring an audio switching instruction;
the second acquisition module is used for acquiring configuration information of the first audio when the audio switching instruction indicates to switch from the target audio to the first audio;
the first playing module is used for playing a third sub-video in the panoramic video of the first audio in the target playing interface under the condition that the configuration information of the first audio indicates that the panoramic video is configured in the first audio, wherein the third sub-video is a part of the panoramic video of the first audio in a first viewing angle, and the panoramic video of the first audio and the first audio have an association relation;
And the second playing module is used for playing the non-panoramic video of the first audio when the configuration information of the first audio indicates that the panoramic video is not configured in the first audio.
In the embodiment of the application, under the condition that the panoramic video with the association relation is configured in the target audio, a first sub-video of the panoramic video under a first visual angle is played in a target playing interface for playing the target audio, a playing adjustment instruction is generated based on adjustment operation, an adjusted second visual angle determined by the adjustment operation is determined according to the playing adjustment instruction, a second sub-video corresponding to the second visual angle is played in the target playing interface, and the playing angle of the panoramic video in the target playing interface is adjusted by responding to the playing adjustment instruction generated by the adjustment operation, so that the purposes of playing contents of the panoramic video in different visual angles in the target playing interface and enriching the video playing contents are achieved, the technical effect of improving the richness of the video playing contents is achieved, and the technical problem of single video playing contents caused by video content limitation is solved.
According to still another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the video playing method, where the electronic device may be a terminal device or a server as shown in fig. 1. The present embodiment is described taking the electronic device as a terminal device as an example. As shown in fig. 9, the electronic device comprises a memory 902 and a processor 904, the memory 902 having stored therein a computer program, the processor 904 being arranged to perform the steps of any of the method embodiments described above by means of the computer program.
Alternatively, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of the computer network.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, under the condition that panoramic videos are configured in target audio played in a playing client, playing first sub-videos in the panoramic videos in a target playing interface of the playing client, wherein the first sub-videos are part of videos of the panoramic videos of the target audio under a first viewing angle;
s2, generating a play adjustment instruction in response to adjustment operation executed on the play client;
s3, determining a second sub-video according to the play adjustment instruction, wherein the second sub-video is a part of the panoramic video under a second viewing angle;
s4, playing the second sub video in the target playing interface.
Alternatively, it will be understood by those skilled in the art that the structure shown in fig. 9 is only schematic, and the electronic device may also be a terminal device such as a smart phone (e.g. an Android phone, an IOS phone, etc.), a tablet computer, a palm computer, and a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 9 is not limited to the structure of the electronic device described above. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 9, or have a different configuration than shown in FIG. 9.
The memory 902 may be used to store software programs and modules, such as program instructions/modules corresponding to the video playing method and apparatus in the embodiment of the present invention, and the processor 904 executes the software programs and modules stored in the memory 902, thereby executing various functional applications and data processing, that is, implementing the video playing method described above. The memory 902 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 902 may further include memory remotely located relative to the processor 904, which may be connected to the terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 902 may be used for storing information such as target audio, panoramic video, etc., in particular, but not limited to. As an example, as shown in fig. 9, the memory 902 may include, but is not limited to, a first playing unit 802, a generating unit 804, a determining unit 806, and a second playing unit 808 in the video playing apparatus. In addition, other module units in the video playing device may be included, but are not limited to, and are not described in detail in this example.
Optionally, the transmission device 906 is used to receive or transmit data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission means 906 includes a network adapter (Network Interface Controller, NIC) that can connect to other network devices and routers via a network cable to communicate with the internet or a local area network. In one example, the transmission device 906 is a Radio Frequency (RF) module for communicating wirelessly with the internet.
In addition, the electronic device further includes: a display 908 for displaying the panoramic video; and a connection bus 910 for connecting the respective module parts in the above-described electronic device.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the plurality of nodes through a network communication. Among them, the nodes may form a Peer-To-Peer (P2P) network, and any type of computing device, such as a server, a terminal, etc., may become a node in the blockchain system by joining the Peer-To-Peer network.
According to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions are read from a computer-readable storage medium by a processor of a computer device, and executed by the processor, cause the computer device to perform the methods provided in various alternative implementations of the video playback aspects described above. Wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, under the condition that panoramic videos are configured in target audio played in a playing client, playing first sub-videos in the panoramic videos in a target playing interface of the playing client, wherein the first sub-videos are part of videos of the panoramic videos of the target audio under a first viewing angle;
s2, generating a play adjustment instruction in response to adjustment operation executed on the play client;
s3, determining a second sub-video according to the play adjustment instruction, wherein the second sub-video is a part of the panoramic video under a second viewing angle;
S4, playing the second sub video in the target playing interface.
Alternatively, in this embodiment, it will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by a program for instructing a terminal device to execute the steps, where the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the method described in the embodiments of the present invention.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (12)

1. A video playing method, comprising:
under the condition that panoramic videos are configured in target audio played in a playing client, playing a first sub-video in the panoramic videos in a target playing interface of the playing client, wherein the panoramic videos are spherical videos formed by taking a spherical center as a shooting view angle, and the first sub-video is a part of the panoramic videos of the target audio under the first view angle;
generating a play adjustment instruction in response to an adjustment operation performed on the play client;
Determining a second sub-video according to the play adjustment instruction, wherein the second sub-video is a part of the panoramic video under a second view angle;
playing the second sub video in the target playing interface;
after a first sub-video in the panoramic video is played in a target playing interface of the playing client, an audio switching instruction is obtained; acquiring configuration information of a first audio when the audio switching instruction indicates to switch from the target audio to the first audio; playing a third sub-video in the panoramic video of the first audio in the target playing interface under the condition that the configuration information of the first audio indicates that the panoramic video is configured in the first audio, wherein the third sub-video is a part of the panoramic video of the first audio under a first viewing angle; and playing the non-panoramic video of the first audio under the condition that the configuration information of the first audio indicates that the first audio is not configured with the panoramic video.
2. The method of claim 1, wherein generating a play adjustment instruction in response to an adjustment operation performed on the play client comprises:
Under the condition that the target terminal where the playing client is located executes gesture adjustment operation is detected, determining an adjustment variable for adjusting the target terminal from a first gesture to a second gesture;
and generating a play adjustment instruction matched with the adjustment variable.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
the determining an adjustment variable for the target terminal to transition from a first pose to a second pose includes: acquiring an adjustment direction and an adjustment angle from the first posture to the second posture; converting the adjustment direction and the adjustment angle into an attitude adjustment matrix under a three-dimensional space coordinate system;
the generating the play adjustment instruction matched with the adjustment variable comprises the following steps: and generating a play adjustment instruction matched with the adjustment variable according to the gesture adjustment matrix.
4. The method of claim 1, wherein generating a play adjustment instruction in response to an adjustment operation performed on the play client comprises:
under the condition that touch operation executed on a target playing interface in the playing client is detected, determining a touch track of the touch operation;
and generating a play adjustment instruction matched with the touch track.
5. The method according to claim 4, wherein:
the determining the touch track of the touch operation includes: acquiring an operation direction and an operation displacement of the touch operation;
the generating the play adjustment instruction matched with the touch track comprises the following steps: determining a movement distance of the operation displacement in the operation direction; acquiring an adjustment angle corresponding to the moving distance; and generating the play adjustment instruction matched with the touch operation according to the adjustment angle.
6. The method of claim 1, wherein after determining a second sub-video according to the play adjustment instruction, the method further comprises:
determining a rotation parameter adjusted from the first viewing angle to the second viewing angle in the case that the panoramic video is a target type panoramic video, wherein the rotation parameter includes a rotation direction and a rotation angle;
according to the rotation parameters, adjusting the playing sound effect of the target audio from a first sound effect matched with the first visual angle to a second sound effect matched with the second visual angle;
and playing the target audio of the second sound effect while playing the second sub-video in the target playing interface.
7. The method of any of claims 1-6, wherein after playing the first sub-video in the panoramic video in the target playback interface of the playback client, the method further comprises:
and responding to a first switching operation executed on a mode control in the target playing interface, and switching the target playing interface from an original display mode to a target display mode, wherein the target display mode is used for indicating that panoramic video of the target audio is to be played independently, and the original display mode is used for indicating that audio additional information of the target audio is to be displayed while the panoramic video of the target audio is played.
8. The method of claim 7, wherein after said switching said target playback interface from an original display mode to said target display mode, said method further comprises:
and responding to a second switching operation executed on the mode control, exiting the target display mode, and restoring the original display mode.
9. The method of any of claims 1-6, wherein prior to playing the first sub-video in the panoramic video in the target playback interface of the playback client, the method further comprises:
And displaying video play adjustment description information under the condition that the target play interface is displayed for the first time by the play client, wherein the video play adjustment description information is used for indicating an operation mode for adjusting the panoramic video.
10. A video playback device, comprising:
the first playing unit is used for playing a first sub-video in the panoramic video in a target playing interface of the playing client when the panoramic video is configured in the target audio played in the playing client, wherein the panoramic video is a spherical video formed by taking a spherical center as a shooting view angle, and the first sub-video is a part of the panoramic video of the target audio under the first view angle;
the generation unit is used for responding to the adjustment operation executed on the playing client and generating a playing adjustment instruction;
the determining unit is used for determining a second sub-video according to the play adjustment instruction, wherein the second sub-video is a part of the panoramic video under a second view angle;
the second playing unit is used for playing the second sub video in the target playing interface;
the video playing device is further used for acquiring an audio switching instruction after the first sub-video in the panoramic video is played in the target playing interface of the playing client; acquiring configuration information of a first audio when the audio switching instruction indicates to switch from the target audio to the first audio; playing a third sub-video in the panoramic video of the first audio in the target playing interface under the condition that the configuration information of the first audio indicates that the panoramic video is configured in the first audio, wherein the third sub-video is a part of the panoramic video of the first audio under a first viewing angle; and playing the non-panoramic video of the first audio under the condition that the configuration information of the first audio indicates that the first audio is not configured with the panoramic video.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program which, when run, performs the method of any one of claims 1 to 9.
12. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1 to 9 by means of the computer program.
CN202110707520.6A 2021-06-24 2021-06-24 Video playing method and device, storage medium and electronic equipment Active CN113411684B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110707520.6A CN113411684B (en) 2021-06-24 2021-06-24 Video playing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110707520.6A CN113411684B (en) 2021-06-24 2021-06-24 Video playing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113411684A CN113411684A (en) 2021-09-17
CN113411684B true CN113411684B (en) 2023-05-30

Family

ID=77683156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110707520.6A Active CN113411684B (en) 2021-06-24 2021-06-24 Video playing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113411684B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125149A (en) * 2021-11-17 2022-03-01 维沃移动通信有限公司 Video playing method, device, system, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106888169A (en) * 2017-01-06 2017-06-23 腾讯科技(深圳)有限公司 Video broadcasting method and device
CN107087208A (en) * 2017-05-25 2017-08-22 深圳市酷开网络科技有限公司 A kind of panoramic video player method, system and storage device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979242A (en) * 2015-11-23 2016-09-28 乐视网信息技术(北京)股份有限公司 Video playing method and device
CN105959675A (en) * 2016-05-25 2016-09-21 腾讯科技(深圳)有限公司 Video data processing method and device
CN105979470B (en) * 2016-05-30 2019-04-16 北京奇艺世纪科技有限公司 Audio-frequency processing method, device and the play system of panoramic video
CN108810567B (en) * 2017-04-27 2020-10-16 华为技术有限公司 Audio and video visual angle matching method, client and server
CN107977184A (en) * 2017-11-21 2018-05-01 北京小鸟看看科技有限公司 A kind of method for playing music and device based on virtual reality technology
CN111142838B (en) * 2019-12-30 2023-08-11 广州酷狗计算机科技有限公司 Audio playing method, device, computer equipment and storage medium
CN111641871A (en) * 2020-05-29 2020-09-08 广州华多网络科技有限公司 Live video display method and device, terminal and readable storage medium
CN111741366A (en) * 2020-07-16 2020-10-02 广州酷狗计算机科技有限公司 Audio playing method, device, terminal and storage medium
CN113014729B (en) * 2021-02-10 2022-07-26 咪咕音乐有限公司 Video color ring processing method, electronic equipment and readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106888169A (en) * 2017-01-06 2017-06-23 腾讯科技(深圳)有限公司 Video broadcasting method and device
CN107087208A (en) * 2017-05-25 2017-08-22 深圳市酷开网络科技有限公司 A kind of panoramic video player method, system and storage device

Also Published As

Publication number Publication date
CN113411684A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
CN109874021B (en) Live broadcast interaction method, device and system
US10699482B2 (en) Real-time immersive mediated reality experiences
US11259136B2 (en) Sound reproduction method and apparatus, storage medium, and electronic apparatus
KR102246355B1 (en) Hybrid visual communication
WO2022121558A1 (en) Livestreaming singing method and apparatus, device, and medium
EP3095091A1 (en) Method and apparatus of processing expression information in instant communication
US20170150212A1 (en) Method and electronic device for adjusting video
US20220219090A1 (en) DYNAMIC AND CUSTOMIZED ACCESS TIERS FOR CUSTOMIZED eSPORTS STREAMS
CN113411684B (en) Video playing method and device, storage medium and electronic equipment
WO2022115743A1 (en) Real world beacons indicating virtual locations
CN113965773A (en) Live broadcast display method and device, storage medium and electronic equipment
CN114095793A (en) Video playing method and device, computer equipment and storage medium
US11040278B2 (en) Server device distributing video data and replay data and storage medium used in same
CN115225971A (en) Video progress adjusting method and device, computer equipment and storage medium
CN114554111A (en) Video generation method and device, storage medium and electronic equipment
CN111448805B (en) Apparatus, method, and computer-readable storage medium for providing notification
CN113395585A (en) Video detection method, video playing control method and device and electronic equipment
CN113473306A (en) Directional recording method and device, electronic equipment and storage medium
CN114095785A (en) Video playing method and device and computer equipment
EP4350626A1 (en) Image processing system, method for controlling the same, and program
KR20210056414A (en) System for controlling audio-enabled connected devices in mixed reality environments
US11689704B2 (en) User selection of virtual camera location to produce video using synthesized input from multiple cameras
CN117768831A (en) Audio processing method and system
CN113893538A (en) Game display method and device, storage medium and electronic equipment
CN112973113A (en) Display method, system, device and computer storage medium for mobile unit

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
GR01 Patent grant
GR01 Patent grant