Target terminal video playing volume adjustment method and device, video playing method and device, electronic equipment and storage medium
By receiving video files and defining the volume according to the playback environment, and adding simulated background noise, the problem of the inability to dynamically adjust the volume on autonomous vehicles and advertising screens was solved, achieving adaptive volume adjustment and improving the user experience.
Patent Information
- Application Number
- CN202511345486.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-19
- Publication Date
- 2026-01-06
AI Technical Summary
The video volume on passenger screens and fixed advertising screens in autonomous vehicles cannot be dynamically adjusted according to the environment and user needs, resulting in the volume being too loud or too soft, which affects the user experience.
By receiving a video file, determining its initial volume, defining the playback volume according to the playback environment, adding simulated background noise, and synchronizing the playback environment and volume information, dynamic adjustments can be made on the target terminal.
It enables adjusting video volume according to different environments and user needs, improving user experience, ensuring moderate volume, and avoiding problems of excessive or insufficient volume.
Smart Images

Figure CN121284352A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of video volume processing technology, and in particular to a method for adjusting the video playback volume of a target terminal, a video playback method, an apparatus, an electronic device, and a storage medium. Background Technology
[0002] With the increasing popularity of video content, users have higher and higher requirements for the audio quality of videos.
[0003] Passenger screens in autonomous vehicles and various fixed advertising screens typically have a fixed volume output value set uniformly. If the volume of multiple uploaded videos is set to the same value, it will affect the user's viewing experience. Summary of the Invention
[0004] This application provides a method for adjusting the video playback volume of a target terminal, a video playback method, an apparatus, an electronic device, and a storage medium to optimize the video playback volume of a target terminal.
[0005] The embodiments of this application adopt the following technical solutions:
[0006] In a first aspect, embodiments of this application provide a method for adjusting the video playback volume of a target terminal, wherein the method includes:
[0007] Receive at least one video;
[0008] Determine the initial volume of the at least one video;
[0009] In response to the initialization volume, define the playback environment of the video and the playback volume corresponding to the playback environment; and
[0010] The playback environment of the video and the corresponding playback volume are synchronized for playback on the target terminal.
[0011] In some embodiments, synchronizing the playback environment of the video and the playback volume corresponding to the playback environment for playback on the target terminal includes:
[0012] Depending on the type of platform to be synchronized, the playback environment of the video and the playback volume corresponding to the playback environment are concatenated into the name of the video and synchronized with the video file data to the platform;
[0013] The system receives the video from the platform, parses the playback environment of the video and the playback volume corresponding to the playback environment on the target terminal, and adjusts the initial volume of the video on the target terminal to the playback volume corresponding to the playback environment according to the playback environment.
[0014] In some embodiments, the step of defining the playback environment of the video and the playback volume corresponding to the playback environment in response to the initialization volume includes:
[0015] In response to the initial volume, select the playback environment for the video;
[0016] Based on the playback environment of the video, add simulated background noise corresponding to the playback environment;
[0017] The simulated background noise and the video playback environment are added to the video.
[0018] In some embodiments, the step of defining the playback environment of the video and the playback volume corresponding to the playback environment in response to the initialization volume includes:
[0019] In response to the initial volume, select the playback volume corresponding to the playback environment;
[0020] The volume level in the playback environment of the selected video is determined based on the playback volume corresponding to the playback environment.
[0021] Based on the volume level in the selected video's playback environment, preview the terminal playback effect of the video in that video's playback environment.
[0022] In some embodiments, determining the initial volume of the at least one video includes:
[0023] Call the third-party application interface to calculate the first volume of multiple videos according to the preset initial volume calculation strategy; use the first volume of each video as the initial volume of the at least one video.
[0024] In some embodiments, after receiving at least one video, the method further includes:
[0025] Call the third-party application interface to display the audio track status of multiple videos;
[0026] The audio track information for each video is displayed in a visual format.
[0027] Secondly, embodiments of this application also provide a method for playing video in the cockpit of an autonomous vehicle, wherein the target terminal video playback volume adjustment method described in the first aspect is employed.
[0028] Thirdly, embodiments of this application also provide a target terminal video playback volume adjustment device, wherein the device includes:
[0029] A receiving module for receiving at least one video;
[0030] A determining module is used to determine the initial volume of the at least one video.
[0031] A response module is configured to, in response to the initialization volume, define the playback environment of the video and the playback volume corresponding to the playback environment; and
[0032] A synchronization module is used to synchronize the playback environment of the video and the playback volume corresponding to the playback environment, so as to play the video on the target terminal.
[0033] Fourthly, embodiments of this application also provide an electronic device, including: a processor; and a memory arranged to store computer-executable instructions, which, when executed, cause the processor to perform the above-described method.
[0034] Fifthly, embodiments of this application also provide a computer-readable storage medium that stores one or more programs, which, when executed by an electronic device including multiple applications, cause the electronic device to perform the above-described method.
[0035] The at least one technical solution adopted in this application embodiment can achieve the following beneficial effects: receiving at least one video and determining the initial volume of the at least one video. Then, in response to the initial volume, defining the playback environment of the video and the playback volume corresponding to the playback environment. Subsequently, synchronizing the playback environment of the video and the playback volume corresponding to the playback environment for playback on the target terminal. Dynamic adjustment of the playback volume is achieved based on the video, thereby setting different playback volumes on the target terminal according to different volume environments, avoiding situations where the volume is too high or too low. Attached Figure Description
[0036] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0037] Figure 1 This is a flowchart illustrating the method for adjusting the video playback volume of the target terminal in an embodiment of this application.
[0038] Figure 2 This is a schematic diagram of the structure of the target terminal video playback volume adjustment device in the embodiments of this application;
[0039] Figure 3 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0040] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0041] On passenger screens or advertising screens in autonomous driving systems, the volume of the currently playing video cannot be obtained, so the volume cannot be dynamically adjusted accordingly. This can lead to the video volume being too loud or too soft. Therefore, standardizing the video audio is being considered. Furthermore, passenger screens or advertising screens in autonomous driving systems also cannot match the video volume to different environments. In other words, the volume of different videos cannot be adjusted on passenger screens or advertising screens.
[0042] To address the aforementioned shortcomings, this application provides a method for adjusting the playback volume of videos on a target terminal, solving the problem that the volume of multiple videos played on passenger screens in autonomous vehicles is fixed and cannot be adjusted according to the environment and user needs, thereby improving the user experience. Specifically, this method calculates the initial average volume of each video by analyzing the audio signal, supports users in selecting the final playback environment of the video, and adds simulated environmental noise according to the selected playback environment. Simultaneously, users can adjust the playback volume of the video in different environments at any time using page elements. The relevant information about the environment and volume is concatenated and stored in the video link, so that the target terminal can parse the volume information of the video played in different environments based on the link information, achieving the expected goal of good playback effect for multiple videos.
[0043] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0044] This application provides a method for adjusting the video playback volume on a target terminal, such as... Figure 1 The diagram illustrates a flowchart of a method for adjusting the video playback volume on a target terminal, as shown in this application embodiment. The method includes at least the following steps S110 to S140:
[0045] Step S110: Receive at least one video.
[0046] The videos are selected by the operators and can include multiple video files selected in batches.
[0047] Step S120: Determine the initial volume of the at least one video.
[0048] The initial volume of the received video can be determined. Considering that each video has its own playback volume, the initial volume of each video file is set to facilitate subsequent adjustments. It should be noted that the initial volume of each video file can be the same or different, and this application does not impose specific limitations on this.
[0049] Step S 130: In response to the initialization volume, define the playback environment of the video and the playback volume corresponding to the playback environment.
[0050] Based on the initial volume, the video playback environment and the corresponding playback volume for that environment are selected. Since different playback environments have different initial volumes, the resulting playback volume for each environment will also be different.
[0051] It should be noted that, based on the initial volume, for example, you can select the video playback environment 1, playback environment 2, and playback environment 3, and increase or decrease the playback volume of the corresponding playback environment 1, playback environment 2, and playback environment 3 based on the initial volume.
[0052] Step S 140: Synchronize the playback environment of the video and the playback volume corresponding to the playback environment, so as to play it on the target terminal.
[0053] The video playback environment and the corresponding playback volume are synchronized to the corresponding background, so that the target terminal can obtain the video playback environment and the corresponding playback volume by parsing, and then play it.
[0054] Using the above method, different video files can be played at different volumes on passenger screens or advertising screens in autonomous driving systems, and the corresponding volume can be matched according to different playback environments to meet the volume requirements of different video files.
[0055] In one embodiment of this application, synchronizing the playback environment of the video and the playback volume corresponding to the playback environment for playback on the target terminal includes: according to the type of the platform to be synchronized, concatenating the playback environment of the video and the playback volume corresponding to the playback environment into the name of the video and synchronizing it with the video file data to the platform; receiving the video from the platform, parsing the playback environment of the video and the playback volume corresponding to the playback environment on the target terminal, and adjusting the initial volume of the video on the target terminal to the playback volume corresponding to the playback environment according to the playback environment.
[0056] The "platform to be synchronized" mainly refers to platforms associated with passenger screens or advertising screens for autonomous driving. The platform will synchronize information about the video's playback environment and the corresponding playback volume along with the video file data to this "platform to be synchronized." Specifically, the "platform to be synchronized" will concatenate the final volume value and environment information into the video name and upload it along with the video file data. Example video link format: http: / / xxx.com / md5 / voiceScene_voiceValue_name.mp4. The target terminal can parse this to obtain the volume and environment information.
[0057] Furthermore, upon receiving a video sent by the "platform to be synchronized," the target terminal can parse the video's playback environment and the corresponding playback volume. Simultaneously, the target terminal adjusts the initial volume of the video (which may differ for each video file or be the same) to the playback volume corresponding to that environment. When multiple video files exist, they can be parsed and played separately.
[0058] In one embodiment of this application, the step of defining the playback environment of the video and the playback volume corresponding to the playback environment in response to the initialization volume includes: selecting the playback environment of the video in response to the initialization volume; adding simulated background noise corresponding to the playback environment according to the playback environment of the video; and adding the simulated background noise and the playback environment of the video to the video.
[0059] Operators can select different playback environments for video playback, including but not limited to indoor environments, outdoor environments, in-vehicle environments, event venue environments, industrial environments, etc. After selection, corresponding preset background noise will be added to simulate the selected environment to enhance realism.
[0060] It should be noted that the addition of corresponding preset background noise can be achieved through code programming, and no specific limitation is made in the embodiments of this application.
[0061] In one embodiment of this application, the step of defining the playback environment of the video and the playback volume corresponding to the playback environment in response to the initialization volume includes: selecting the playback volume corresponding to the playback environment in response to the initialization volume; determining the volume level of the selected video in the playback environment based on the playback volume corresponding to the playback environment; and previewing the terminal playback effect of the video in the video's playback environment based on the volume level of the selected video in the playback environment.
[0062] Based on the initial volume of each video file, operators can actively control the volume of a single video file or multiple video files in the currently selected environment. After the user has adjusted all the videos, they can preview the playback effect of the currently selected video on the terminal in the selected environment.
[0063] In one embodiment of this application, determining the initial volume of the at least one video includes: calling a third-party application interface to calculate the first volume of multiple videos according to a preset initial volume calculation strategy; and using the first volume of each video as the initial volume of the at least one video.
[0064] A preset initialization volume calculation strategy may include: first, creating an audio context object and an audio element. Then, attaching the audio element to the audio context, creating an analyzer node, and an array to store the audio data. Finally, by starting audio playback, acquiring audio data at each time interval and calculating the average volume.
[0065] The "third-party application interface" primarily controls audio on the web, providing a powerful and universal system that allows developers to select audio sources, add effects, and create audio visualizations. Preferably, the Web Audio API is used. The "third-party application interface" calculates the average volume of multiple video files and uses it as the initial video volume value for each video.
[0066] The first volume can be selected as the average volume as an optional implementation, and as an initial volume.
[0067] In one embodiment of this application, after receiving at least one video, the method further includes: calling the third-party application interface to display the audio track status of multiple videos; and displaying the audio track status of each video in a visual form.
[0068] In one embodiment of this application, after receiving at least one video, the audio tracks of multiple videos can be displayed simultaneously, and the audio track data can be visualized in real time. Specifically, after obtaining the file, an audio container object is instantiated. The file is converted into an ArrayBuffer using FileReader and then decoded. An AudioBuffer object is instantiated using the decoded buffer. An analyzer node is instantiated using the AnalyserNode interface. The AudioBuffer object is connected to the AnalyserNode using the connect method. If a GainNode is desired, the AnalyserNode is connected to the GainNode using the connect method, and then connected to the final audio playback node: Destination, to start playing the audio. During audio playback, the frequency values of the audio are obtained through the AnalyserNode and converted into an 8-bit ArrayBuffer. Based on the values in the arraybuffer, a corresponding bar chart is drawn on the canvas.
[0069] This application also provides an embodiment of a method for playing video in the cockpit of an autonomous vehicle, wherein the target terminal video playback volume adjustment method is used, the target terminal video playback volume adjustment method comprising:
[0070] Receive at least one video;
[0071] Determine the initial volume of the at least one video;
[0072] In response to the initialization volume, define the playback environment of the video and the playback volume corresponding to the playback environment; and
[0073] The playback environment of the video and the corresponding playback volume are synchronized for playback on the target terminal.
[0074] In some embodiments, synchronizing the playback environment of the video and the playback volume corresponding to the playback environment for playback on the target terminal includes:
[0075] Depending on the type of platform to be synchronized, the playback environment of the video and the playback volume corresponding to the playback environment are concatenated into the name of the video and synchronized with the video file data to the platform;
[0076] The system receives the video from the platform, parses the playback environment of the video and the playback volume corresponding to the playback environment on the target terminal, and adjusts the initial volume of the video on the target terminal to the playback volume corresponding to the playback environment according to the playback environment.
[0077] In some embodiments, the step of defining the playback environment of the video and the playback volume corresponding to the playback environment in response to the initialization volume includes:
[0078] In response to the initial volume, select the playback environment for the video;
[0079] Based on the playback environment of the video, add simulated background noise corresponding to the playback environment;
[0080] The simulated background noise and the video playback environment are added to the video.
[0081] In some embodiments, the step of defining the playback environment of the video and the playback volume corresponding to the playback environment in response to the initialization volume includes:
[0082] In response to the initial volume, select the playback volume corresponding to the playback environment;
[0083] The volume level in the playback environment of the selected video is determined based on the playback volume corresponding to the playback environment.
[0084] Based on the volume level in the selected video's playback environment, preview the terminal playback effect of the video in that video's playback environment.
[0085] In some embodiments, determining the initial volume of the at least one video includes:
[0086] Call the third-party application interface and calculate the first volume of multiple videos according to the preset initialization volume calculation strategy;
[0087] The first volume level of each video is used as the initial volume of the at least one video.
[0088] In some embodiments, after receiving at least one video, the method further includes:
[0089] Call the third-party application interface to display the audio track status of multiple videos;
[0090] The audio track information for each video is displayed in a visual format.
[0091] This application embodiment also provides a target terminal video playback volume adjustment device 200, such as... Figure 2 The diagram shows a schematic of the target terminal video playback volume adjustment device 200 in this embodiment of the application. The target terminal video playback volume adjustment device 200 includes at least: a receiving module 210, a determining module 220, a responding module 230, and a synchronization module 240, wherein:
[0092] In one embodiment of this application, the receiving module 210 is specifically used to: receive at least one video.
[0093] The videos are selected by the operators and can include multiple video files selected in batches.
[0094] In one embodiment of this application, the determining module 220 is specifically used to: determine the initial volume of the at least one video.
[0095] The initial volume of the received video can be determined. Considering that each video has its own playback volume, the initial volume of each video file is set to facilitate subsequent adjustments. It should be noted that the initial volume of each video file can be the same or different, and this application does not impose specific limitations on this.
[0096] In one embodiment of this application, the response module 230 is specifically used to: in response to the initialization volume, define the playback environment of the video and the playback volume corresponding to the playback environment.
[0097] Based on the initial volume, the video playback environment and the corresponding playback volume for that environment are selected. Since different playback environments have different initial volumes, the resulting playback volume for each environment will also be different.
[0098] It should be noted that, based on the initial volume, the playback environment 1, playback environment 2, and playback environment 3 of the video can be selected. The playback volume of the corresponding playback environment 1, playback environment 2, and playback environment 3 can be increased or decreased based on the initial volume.
[0099] In one embodiment of this application, the synchronization module 240 is specifically used to: synchronize the playback environment of the video and the playback volume corresponding to the playback environment, so as to play it on the target terminal.
[0100] The video playback environment and the corresponding playback volume are synchronized to the corresponding background, so that the target terminal can obtain the video playback environment and the corresponding playback volume by parsing, and then play it.
[0101] In one embodiment of this application, the synchronization module 240 is further used for
[0102] Depending on the type of platform to be synchronized, the playback environment of the video and the playback volume corresponding to the playback environment are concatenated into the name of the video and synchronized with the video file data to the platform;
[0103] The system receives the video from the platform, parses the playback environment of the video and the playback volume corresponding to the playback environment on the target terminal, and adjusts the initial volume of the video on the target terminal to the playback volume corresponding to the playback environment according to the playback environment.
[0104] In one embodiment of this application, the response module 230 is further used for
[0105] In response to the initial volume, select the playback environment for the video;
[0106] Based on the playback environment of the video, add simulated background noise corresponding to the playback environment;
[0107] The simulated background noise and the video playback environment are added to the video.
[0108] In one embodiment of this application, the response module 230 is further used for
[0109] In response to the initial volume, select the playback volume corresponding to the playback environment;
[0110] The volume level in the playback environment of the selected video is determined based on the playback volume corresponding to the playback environment.
[0111] Based on the volume level in the selected video's playback environment, preview the terminal playback effect of the video in that video's playback environment.
[0112] In one embodiment of this application, the determining module 220 is further used for
[0113] Call the third-party application interface and calculate the first volume of multiple videos according to the preset initial volume calculation strategy; use the first volume of each video as the initial volume of at least one video.
[0114] In one embodiment of this application, it further includes: a visualization module, used for
[0115] Call the third-party application interface to display the audio track status of multiple videos;
[0116] The audio track information for each video is displayed in a visual format.
[0117] It is understood that the aforementioned target terminal video playback volume adjustment device can implement each step of the target terminal video playback volume adjustment method provided in the foregoing embodiments. The relevant explanations of the target terminal video playback volume adjustment method are applicable to the target terminal video playback volume adjustment device, and will not be repeated here.
[0118] Figure 3 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Please refer to it. Figure 3 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and memory. The memory may include main memory, such as high-speed random-access memory (RAM), or non-volatile memory, such as at least one disk drive. Of course, the electronic device may also include other hardware required for other business operations.
[0119] The processor, network interface, and memory can be interconnected via an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 3 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0120] Memory is used to store programs. Specifically, programs may include program code, which includes computer operation instructions. Memory may include main memory and non-volatile memory, and provides instructions and data to the processor.
[0121] The processor reads the corresponding computer program from non-volatile memory into main memory and then executes it, logically forming the target terminal's video playback volume adjustment device. The processor executes the program stored in memory and specifically performs the following operations:
[0122] Receive at least one video;
[0123] Determine the initial volume of the at least one video;
[0124] In response to the initialization volume, define the playback environment of the video and the playback volume corresponding to the playback environment; and
[0125] The playback environment of the video and the corresponding playback volume are synchronized for playback on the target terminal.
[0126] The above is as stated in this application. Figure 1The method executed by the target terminal video playback volume adjustment device disclosed in the illustrated embodiment can be applied to a processor, or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this application can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.
[0127] The electronic device can also perform Figure 1 A method for adjusting the video playback volume of a target terminal, and for setting the video playback volume adjustment device of the target terminal to... Figure 1 The functions of the embodiments shown are not described in detail here.
[0128] This application also proposes a computer-readable storage medium that stores one or more programs, the programs including instructions that, when executed by an electronic device including multiple applications, enable the electronic device to perform... Figure 1 The method executed by the target terminal video playback volume adjustment device in the illustrated embodiment is specifically used to perform the following:
[0129] Receive at least one video;
[0130] Determine the initial volume of the at least one video;
[0131] In response to the initialization volume, define the playback environment of the video and the playback volume corresponding to the playback environment; and
[0132] The playback environment of the video and the corresponding playback volume are synchronized for playback on the target terminal.
[0133] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0134] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0135] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0136] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0137] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0138] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0139] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0140] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0141] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0142] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A target terminal video play volume adjustment method, wherein, The method comprises: receiving at least one video; determining the initialization volume of the at least one video; in response to the initialization volume, defining the playing environment of the video and the playing volume corresponding to the playing environment; and synchronizing the playing environment of the video and the playing volume corresponding to the playing environment for playing on the target terminal.
2. The method of claim 1, wherein, The synchronization of the playing environment of the video and the playing volume corresponding to the playing environment for playing on the target terminal comprises: According to the type of the platform to be synchronized, the playing environment of the video and the playing volume corresponding to the playing environment are spliced in the name of the video and the video file data are synchronized to the platform. The video is received on the platform to obtain the playing environment of the video and the playing volume corresponding to the playing environment on the target terminal, and the initialization volume of the video is adjusted to the playing volume corresponding to the playing environment on the target terminal according to the playing environment.
3. The method of claim 2, wherein, The response to the initialization volume to define the playing environment of the video and the playing volume corresponding to the playing environment comprises: In response to the initialization volume, the playing environment of the video is selected. According to the playing environment of the video, the simulated background noise corresponding to the playing environment is added. The simulated background noise and the playing environment of the video are added to the video.
4. The method of claim 2, wherein, The response to the initialization volume to define the playing environment of the video and the playing volume corresponding to the playing environment comprises: In response to the initialization volume, the playing volume corresponding to the playing environment is selected. According to the playing volume corresponding to the playing environment, the volume size in the selected playing environment of the video is determined. According to the volume size in the selected playing environment of the video, the terminal playing effect of the video in the playing environment of the video is previewed.
5. The method of claim 1, wherein, The determination of the initialization volume of the at least one video comprises: Calling a third-party application interface, calculating the first volume size of a plurality of videos according to a preset initialization volume calculation strategy; The first volume size of each video is used as the initialization volume of the at least one video.
6. The method of claim 5, wherein, After receiving the at least one video, it further comprises: Calling the third-party application interface, displaying the audio track situation of a plurality of videos; The audio track situation of each video is displayed in a visual form.
7. A method for playing a video in a cabin of an autonomous vehicle, wherein, The target terminal video playing volume adjustment method according to any one of claims 1 to 6.
8. A target terminal video play volume adjusting apparatus, wherein, The device comprises: a receiving module for receiving at least one video; a determining module for determining the initialization volume of the at least one video; a response module for defining the playing environment of the video and the playing volume corresponding to the playing environment in response to the initialization volume; and a synchronization module for synchronizing the playing environment of the video and the playing volume corresponding to the playing environment for playing on the target terminal.
9. An electronic device comprising: a processor; and a memory arranged to store computer-executable instructions that, when executed, cause the processor to perform the method of any one of claims 1-6.
10. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including multiple applications, cause the electronic device to perform the method of any one of claims 1-6.