CN115941870A - Video recorder, digital audio signal processing method and device - Google Patents

Video recorder, digital audio signal processing method and device Download PDF

Info

Publication number
CN115941870A
CN115941870A CN202211659036.1A CN202211659036A CN115941870A CN 115941870 A CN115941870 A CN 115941870A CN 202211659036 A CN202211659036 A CN 202211659036A CN 115941870 A CN115941870 A CN 115941870A
Authority
CN
China
Prior art keywords
audio signal
digital audio
frame
path
digital
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211659036.1A
Other languages
Chinese (zh)
Inventor
张镇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN202211659036.1A priority Critical patent/CN115941870A/en
Publication of CN115941870A publication Critical patent/CN115941870A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The embodiment of the application provides a video recorder, a digital audio signal processing method and a digital audio signal processing device, and is applied to the technical field of audio processing. The video recorder includes: the audio processing module and the audio conversion module; the audio processing module is used for acquiring at least one path of first digital audio signals; generating a path of second digital audio signals containing audio frames of at least one path of first digital audio signals based on at least one path of first digital audio signals; writing the second digital audio signal into the first storage location; the audio conversion module is used for reading the digital audio signal from the second storage position to obtain a path of third digital audio signal; converting the third digital audio signal to obtain at least one path of target analog audio signal; and for each path of target analog audio signal, writing the path of target analog audio signal into the associated third storage position. Through the scheme, the hardware cost of the video recorder can be reduced.

Description

Video recorder, digital audio signal processing method and device
Technical Field
The present application relates to the field of audio processing technologies, and in particular, to a video recorder, a digital audio signal processing method and an apparatus.
Background
The audio output function is a basic function of a Video Recorder such as a DVR (Digital Video Recorder) or an NVR (Network Video Recorder).
In a current video recorder, an audio output usually adopts a scheme of binding with an audio channel, and in a simple aspect, an audio channel in the video recorder is only used for outputting one channel of digital audio signals, which means that, in the process of audio output, each audio conversion module in the video recorder is only used for processing one channel of digital audio signals, where the audio conversion module in the video recorder may include conversion devices such as an audio AD (analog to digital conversion) device.
In the related art, in order to output multiple channels of audio simultaneously, a video recorder often needs to configure multiple audio conversion modules, and when multiple channels of audio are output simultaneously, each audio conversion module is responsible for processing one channel of digital audio signal. The hardware cost of the video recorder is high because a plurality of audio conversion modules need to be configured in the video recorder.
Disclosure of Invention
An object of the embodiments of the present application is to provide a video recorder, a method and an apparatus for processing digital audio signals, so as to reduce the hardware cost of the video recorder. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a video recorder, including: audio frequency processing module and audio frequency conversion module, wherein:
the audio processing module is used for acquiring at least one path of first digital audio signal, wherein each path of first digital audio signal is generated based on one path of original analog audio signal; generating a path of second digital audio signals containing audio frames of the at least one path of first digital audio signals based on the at least one path of first digital audio signals; writing the second digital audio signal to a first storage location;
the audio conversion module is configured to read a digital audio signal from a second storage location to obtain a path of third digital audio signal, where the digital audio signal in the second storage location is generated based on the second digital audio signal in the first storage location; converting the third digital audio signal to obtain at least one path of target analog audio signal, wherein each path of target analog audio signal is uniquely corresponding to one path of first digital audio signal; for each path of target analog audio signal, writing the path of target analog audio signal into a related third storage position;
the third storage position associated with each path of target analog audio signal is as follows: a storage position configured in advance for an original analog audio signal corresponding to the route target analog audio signal and used for storing the analog audio signal to be played, where the original analog audio signal corresponding to each route target analog audio signal is: and the original analog audio signal is used for generating a first digital audio signal corresponding to the target analog audio signal.
Optionally, the generating, by the audio processing module, a second digital audio signal including an audio frame of the at least one first digital audio signal based on the at least one first digital audio signal includes:
acquiring an initial audio frame contained in the at least one path of first digital audio signal as a frame to be composited;
determining a frame sequence corresponding to a first digital audio signal to which the frame to be composited belongs as a frame sequence corresponding to the frame to be composited for each frame to be composited; the frame sequence corresponding to each path of first digital audio signals is pre-configured or randomly generated; the frame sequence corresponding to any first digital audio signal is used for representing the frame sequence of the audio frame of the first digital audio signal in the audio frame group to be generated;
combining at least one frame to be compounded into an audio frame group according to the frame sequence corresponding to each frame to be compounded;
writing the audio frame group into a data queue for a digital audio signal to be generated;
and acquiring the next audio frame of each frame to be composited from the at least one path of first digital audio signals as a new frame to be composited, and returning to the step of executing the step of determining the frame sequence corresponding to the first digital audio signal to which the frame to be composited belongs as the frame sequence corresponding to the frame to be composited for each frame to be composited.
Optionally, the audio processing module merges at least one frame to be composited into an audio frame group according to a frame sequence corresponding to each frame to be composited, and includes:
for each frame sequence in the audio frame group to be generated, if the frame sequence has a corresponding frame to be composited, writing the frame to be composited corresponding to the frame sequence at the position of the frame sequence; if the frame sequence does not have the corresponding frame to be composited, writing the specified audio frame at the position of the frame sequence to obtain an audio frame group.
Optionally, the audio processing module is further configured to, before the obtaining of the initial audio frame included in the at least one path of first digital audio signal is executed as a frame to be combined, sequentially write the received audio frames into a fourth storage location according to a receiving sequence of each audio frame of the at least one path of first digital audio signal;
the audio processing module obtains a next audio frame of each frame to be composited from the at least one path of first digital audio signals as a new frame to be composited, and the method comprises the following steps:
when the audio frames of the at least one path of first digital audio signals stored in the fourth storage location meet a specified condition, acquiring a next audio frame of each frame to be composited from the audio frames of the at least one path of first digital audio signals stored in the fourth storage location to serve as a new frame to be composited;
wherein the specified conditions include: the number of the audio frames of the at least one path of first digital audio signal stored in the fourth storage position is greater than a specified number threshold; and/or the storage duration of the audio frames of the at least one path of first digital audio signals stored in the fourth storage location is greater than a specified duration threshold; and/or the data volume of the audio frames of the at least one path of first digital audio signals stored in the fourth storage position is larger than a specified data volume threshold value.
Optionally, the audio conversion module converts the third digital audio signal to obtain at least one path of target analog audio signal, including:
according to a designated analysis mode, analyzing the third digital audio signal to obtain an audio frame of each path of first digital audio signal; the specified analysis mode is an analysis mode matched with the generation mode of the second digital audio signal;
and for each path of first digital audio signal, performing digital-to-analog conversion on the audio frame of the path of first digital audio signal obtained by analysis to obtain a target analog audio signal corresponding to the path of first digital audio signal.
Optionally, the second digital audio signal includes a plurality of audio frame groups, and each audio frame group includes audio frames at the same position in each path of the first digital audio signal; each path of first digital audio signal corresponds to a frame sequence in each audio frame group;
the audio conversion module analyzes the third digital audio signal to obtain an audio frame of each path of the first digital audio signal according to a specified analysis mode, and the method comprises the following steps:
determining respective groups of audio frames in the third digital audio signal based on the positions of the plurality of groups of audio frames in the second digital audio signal;
and for each path of first digital audio signal, extracting the audio frame of the path of first digital audio signal from each audio frame group contained in the third digital audio signal according to the frame sequence, corresponding to the path of first digital audio signal, in each audio frame group.
Optionally, each audio frame in the third digital audio signal carries a signal identifier, and the signal identifier carried by each audio frame is used to indicate an original analog audio signal corresponding to the audio frame; the original analog audio signal corresponding to each audio frame is used for generating the original analog audio signal of the audio frame;
the audio conversion module analyzes the third digital audio signal according to a specified analysis mode to obtain an audio frame of each path of the first digital audio signal, and the method comprises the following steps:
for each path of first digital audio signal, determining an audio frame carrying a target signal identifier from each audio frame in the third digital audio signal; and the target signal identification indicates that the indicated original analog audio signal is the original analog audio signal corresponding to the first digital audio signal.
Optionally, the video recorder further comprises: a data receiving module;
the data receiving module is used for receiving at least one path of original analog audio signal; aiming at each path of original analog audio signal, generating a path of first digital audio signal by using the path of original analog audio signal; for each path of first digital audio signal, writing the path of first digital audio signal into an associated fifth storage position; the fifth storage position associated with each path of first digital audio signal is: a storage position which is configured aiming at the original analog audio signal corresponding to the first digital audio signal in the path in advance and is used for storing the first digital audio signal;
the audio processing module obtains at least one path of first digital audio signals, and includes:
and reading the first digital audio signal from at least one fifth storage position to obtain at least one path of first digital audio signal.
Optionally, the video recorder further comprises: a data output module;
the data output module is used for reading the second digital audio signal from the first storage position; and processing the second digital audio signal according to a specified transmission protocol, and writing the processed digital audio signal into the second storage position.
Optionally, the audio processing module is further configured to, before generating a second digital audio signal that includes an audio frame of the at least one first digital audio signal based on the at least one first digital audio signal, process the at least one first digital audio signal according to a specified processing operation, and after the processing is finished, execute the step of generating a second digital audio signal that includes an audio frame of the at least one first digital audio signal based on the at least one first digital audio signal; wherein the specified processing operation comprises: at least one of noise reduction processing, upsampling processing, downsampling processing, and format conversion processing.
In a second aspect, an embodiment of the present application provides a digital audio signal processing method, where the method includes:
acquiring at least one path of first digital audio signal, wherein each path of first digital audio signal is generated based on one path of original analog audio signal;
generating a path of second digital audio signals containing audio frames of the at least one path of first digital audio signals based on the at least one path of first digital audio signals;
generating a third digital audio signal based on the second digital audio signal;
converting the third digital audio signal to obtain at least one path of target analog audio signal, wherein each path of target analog audio signal is uniquely corresponding to one path of first digital audio signal;
for each path of target analog audio signal, writing the path of target analog audio signal into a related third storage position; the third storage position associated with each path of target analog audio signal is as follows: a storage position configured in advance for an original analog audio signal corresponding to the route target analog audio signal and used for storing the analog audio signal to be played, where the original analog audio signal corresponding to each route target analog audio signal is: and the original analog audio signal is used for generating a first digital audio signal corresponding to the target analog audio signal.
Optionally, the generating a second digital audio signal including an audio frame of the at least one first digital audio signal based on the at least one first digital audio signal includes:
acquiring an initial audio frame contained in the at least one path of first digital audio signal as a frame to be composited;
determining a frame sequence corresponding to a first digital audio signal to which a frame to be compounded belongs for each frame to be compounded, and taking the frame sequence as the frame sequence corresponding to the frame to be compounded; the frame sequence corresponding to each path of first digital audio signals is pre-configured or randomly generated; the frame sequence corresponding to any first digital audio signal is used for representing the frame sequence of the audio frame of the first digital audio signal in the audio frame group to be generated;
combining at least one frame to be compounded into an audio frame group according to the frame sequence corresponding to each frame to be compounded;
writing the audio frame group into a data queue for a digital audio signal to be generated;
and acquiring the next audio frame of each frame to be composited from the at least one path of first digital audio signals as a new frame to be composited, and returning to the step of executing the step of determining the frame sequence corresponding to the first digital audio signal to which the frame to be composited belongs as the frame sequence corresponding to the frame to be composited for each frame to be composited.
Optionally, the merging at least one frame to be composited into an audio frame group according to the frame order corresponding to each frame to be composited includes:
for each frame sequence in the audio frame group to be generated, if the frame sequence has a corresponding frame to be composited, writing the frame to be composited corresponding to the frame sequence in the position of the frame sequence; if the frame sequence does not have the corresponding frame to be composited, writing the specified audio frame at the position of the frame sequence to obtain an audio frame group.
Optionally, before the obtaining of the initial audio frame included in the at least one path of first digital audio signal is performed and used as a frame to be combined, the received audio frames are written into a fourth storage location in sequence according to a receiving sequence of each audio frame of the at least one path of first digital audio signal;
the acquiring a next audio frame of each frame to be combined from the at least one path of first digital audio signals as a new frame to be combined includes:
when the audio frames of the at least one path of first digital audio signals stored in the fourth storage location meet a specified condition, acquiring a next audio frame of each frame to be composited from the audio frames of the at least one path of first digital audio signals stored in the fourth storage location to serve as a new frame to be composited; wherein the specified conditions include: the number of the audio frames of the at least one path of first digital audio signal stored in the fourth storage position is greater than a specified number threshold; and/or the storage duration of the audio frames of the at least one path of first digital audio signals stored in the fourth storage location is greater than a specified duration threshold; and/or the data volume of the audio frames of the at least one path of first digital audio signals stored in the fourth storage position is larger than a specified data volume threshold value.
Optionally, the converting the third digital audio signal into at least one path of target analog audio signal includes:
analyzing the third digital audio signal according to a designated analysis mode to obtain an audio frame of each path of first digital audio signal; the specified analysis mode is an analysis mode matched with the generation mode of the second digital audio signal;
and for each path of first digital audio signal, performing digital-to-analog conversion on the audio frame of the path of first digital audio signal obtained by analysis to obtain a target analog audio signal corresponding to the path of first digital audio signal.
Optionally, the second digital audio signal includes a plurality of audio frame groups, and each audio frame group includes audio frames at the same position in each path of the first digital audio signal;
the analyzing the third digital audio signal to obtain the audio frame of each path of the first digital audio signal according to the designated analysis mode includes:
determining respective groups of audio frames in the third digital audio signal based on the positions of the plurality of groups of audio frames in the second digital audio signal;
and for each path of first digital audio signal, extracting the audio frames of the path of first digital audio signal from each audio frame group contained in the third digital audio signal according to the frame sequence in each audio frame group corresponding to the path of first digital audio signal.
Optionally, each audio frame in the third digital audio signal carries a signal identifier, and the signal identifier carried by each audio frame is used to indicate an original analog audio signal corresponding to the audio frame; the original analog audio signal corresponding to each audio frame is used for generating the original analog audio signal of the audio frame;
the analyzing the third digital audio signal to obtain the audio frame of each path of the first digital audio signal according to the designated analysis mode includes:
for each path of first digital audio signal, determining an audio frame carrying a target signal identifier from each audio frame in the third digital audio signal; and the target signal identification indicates that the indicated original analog audio signal is the original analog audio signal corresponding to the first digital audio signal.
Optionally, the acquiring at least one path of the first digital audio signal includes:
receiving at least one path of original analog audio signal;
and aiming at each path of original analog audio signal, generating a path of first digital audio signal by using the path of original analog audio signal.
Optionally, the generating a third digital audio signal based on the second digital audio signal includes:
and processing the second digital audio signal according to a specified transmission protocol, and writing the processed digital audio signal into the second storage position.
Optionally, before generating a second digital audio signal including an audio frame of the at least one first digital audio signal based on the at least one first digital audio signal, processing the at least one first digital audio signal according to a specified processing operation, and after the processing is finished, executing a step of generating a second digital audio signal including an audio frame of the at least one first digital audio signal based on the at least one first digital audio signal; wherein the specified processing operation comprises: at least one of noise reduction processing, up-sampling processing, down-sampling processing, and format conversion processing.
In a third aspect, an embodiment of the present application provides an apparatus for processing a digital audio signal, where the apparatus includes:
the signal acquisition module is used for acquiring at least one path of first digital audio signal, wherein each path of first digital audio signal is generated based on one path of original analog audio signal;
a first signal generating module, configured to generate, based on the at least one channel of first digital audio signal, a channel of second digital audio signal including an audio frame of the at least one channel of first digital audio signal;
a second signal generation module for generating a third digital audio signal based on the second digital audio signal;
the third signal generation module is used for converting the third digital audio signal to obtain at least one path of target analog audio signal, wherein each path of target analog audio signal is uniquely corresponding to one path of first digital audio signal;
the signal writing module is used for writing the target analog audio signal into a related third storage position aiming at each target analog audio signal; the third storage position associated with each path of target analog audio signal is as follows: a storage position configured in advance for an original analog audio signal corresponding to the route target analog audio signal and used for storing the analog audio signal to be played, where the original analog audio signal corresponding to each route target analog audio signal is: and the original analog audio signal is used for generating a first digital audio signal corresponding to the target analog audio signal.
In a fourth aspect, embodiments of the present application provide a video recorder comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: implementing the method of any of the second aspects.
In a fifth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method according to any one of the second aspects.
The embodiment of the application has the following beneficial effects:
in the video recorder provided by the embodiment of the application, when outputting the digital audio signal, the audio processing module may obtain at least one path of first digital audio signal, and generate a path of second digital audio signal including an audio frame of the at least one path of first digital audio signal based on the at least one path of first digital audio signal; writing the second digital audio signal into the first storage location; the audio conversion module can read the digital audio signal from the second storage position to obtain a path of third digital audio signal, wherein the digital audio signal in the second storage position is generated based on the second digital audio signal in the first storage position; converting the third digital audio signal to obtain at least one path of target analog audio signal, wherein each path of target analog audio signal is uniquely corresponding to one path of first digital audio signal; and for each path of target analog audio signal, writing the path of target analog audio signal into the associated third storage position. Because the audio processing module can generate one path of second digital audio signal containing at least one path of audio frame of the first digital audio signal after acquiring at least one path of first digital audio signal, the merging of at least one path of first digital audio signal is realized, and thus, even under the condition of acquiring multiple paths of first digital audio signals, the audio conversion module only needs to process one path of third digital audio signal, which means that a single audio conversion module in the video recorder provided by the application can simultaneously process multiple paths of digital audio signals, so that the video recorder only needs to be provided with a small number of audio conversion modules, and can realize the simultaneous output of multiple paths of audio, thereby reducing the hardware cost of the video recorder.
Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and it is also obvious for a person skilled in the art to obtain other embodiments according to the drawings.
FIG. 1 is a diagram of a digital audio signal output of a related art video recorder;
fig. 2 is a schematic structural diagram of a first video recorder according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a second video recorder provided in the embodiment of the present application;
fig. 4 is a schematic structural diagram of a third video recorder provided in the embodiment of the present application;
FIG. 5 is a schematic diagram of a digital audio signal output from a video cassette recorder according to an embodiment of the present application;
FIG. 6 is a flowchart of a digital audio signal processing method according to an embodiment of the present application;
FIG. 7 is a block diagram of a digital audio signal processing apparatus according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a video recorder according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the description herein are intended to be within the scope of the present disclosure.
In the related art, in order to ensure that multiple paths of digital audio signals can be output simultaneously, a plurality of audio conversion modules need to be configured in the video recorder, so that the hardware cost of the video recorder is high. Illustratively, as shown in FIG. 1, a schematic diagram of a digital audio signal output of a video recorder in the related art. In order to output four paths of digital audio signals simultaneously, the video recorder needs to be configured with four audio conversion modules, namely an audio conversion module 1, an audio conversion module 2, an audio conversion module 3 and an audio conversion module 4, wherein, the audio conversion module 1 is responsible for audio output corresponding to the original analog audio signal 1, the audio conversion module 2 is responsible for audio output corresponding to the original analog audio signal 2, the audio conversion module 3 is responsible for audio output corresponding to the original analog audio signal 3, and the audio conversion module 4 is responsible for audio output corresponding to the original analog audio signal 4. Therefore, in the related art, a plurality of audio conversion modules need to be configured in the video recorder to ensure that multiple paths of audio output can be performed simultaneously, however, the more the number of the audio conversion modules is, the higher the hardware cost of the video recorder is.
In order to reduce the hardware cost of the video recorder, the embodiment of the application provides the video recorder, a digital audio signal processing method and a digital audio signal processing device.
The Video Recorder provided by the embodiment of the application can be any electronic device capable of realizing audio output, such as a DVR (Digital Video Recorder), a NVR (Network Video Recorder) and the like. The DVR is a computer system for storing and processing images, and has functions of recording images/voices for a long time, recording voices, and the like. The NVR is mainly used for a rear-end product in the security industry, and can access multiple paths of network cameras (IP cameras, IPC for short), and perform decoding display, video storage, network transmission and the like on video signals and/or audio signals transmitted by the network cameras, wherein the video signals and/or the audio signals may be analog signals or digital signals.
The video recorder provided by the embodiment of the application can comprise an audio processing module and an audio conversion module, wherein:
the audio processing module is used for acquiring at least one path of first digital audio signal, wherein each path of first digital audio signal is generated based on one path of original analog audio signal; generating a path of second digital audio signals containing audio frames of at least one path of first digital audio signals based on at least one path of first digital audio signals; writing the second digital audio signal into the first storage location;
the audio conversion module is used for reading the digital audio signals from the second storage position to obtain a path of third digital audio signals, wherein the digital audio signals in the second storage position are generated based on the second digital audio signals in the first storage position; converting the third digital audio signal to obtain at least one path of target analog audio signal, wherein each path of target analog audio signal is uniquely corresponding to one path of first digital audio signal; for each path of target analog audio signal, writing the path of target analog audio signal into a related third storage position;
the third storage position associated with each path of target analog audio signal is as follows: a storage position, configured in advance for an original analog audio signal corresponding to the route of target analog audio signal, for storing an analog audio signal to be played, where the original analog audio signal corresponding to each route of target analog audio signal is: and the original analog audio signal is used for generating a first digital audio signal corresponding to the target analog audio signal.
In the above scheme of this application, after obtaining at least one way first digital audio signal, can generate one way second digital audio signal that contains the audio frequency frame of at least one way first digital audio signal, thereby the merging of at least one way first digital audio signal has been realized, even acquire under the condition of multichannel first digital audio signal like this, the audio frequency conversion module also only need to handle one way third digital audio signal can, it means, single audio frequency conversion module can handle multichannel digital audio signal simultaneously in the video cassette recorder that this application provided, make only need dispose less quantity audio frequency conversion module in the video cassette recorder, can realize multichannel audio frequency simultaneous output, the hardware cost of video cassette recorder has been reduced.
The video recorder provided by the embodiment of the present application will be explained in detail below with reference to the drawings attached to the specification.
As shown in fig. 2, the embodiment of the present application provides a video recorder, which includes an audio processing module 201 and an audio conversion module 202, wherein:
the audio processing module 201 is configured to obtain at least one first digital audio signal, where each first digital audio signal is generated based on one original analog audio signal; generating a path of second digital audio signals containing audio frames of at least one path of first digital audio signals based on at least one path of first digital audio signals; writing the second digital audio signal into the first storage location;
the audio conversion module 202 is configured to read a digital audio signal from a second storage location to obtain a path of third digital audio signal, where the digital audio signal in the second storage location is generated based on the second digital audio signal in the first storage location; converting the third digital audio signal to obtain at least one path of target analog audio signal, each path of target analog audio signal uniquely corresponds to one path of first digital audio signal; for each path of target analog audio signal, writing the path of target analog audio signal into a related third storage position;
the third storage position associated with each path of target analog audio signal is as follows: a storage position configured in advance for an original analog audio signal corresponding to the route target analog audio signal and used for storing the analog audio signal to be played, where the original analog audio signal corresponding to each route target analog audio signal is: and the original analog audio signal is used for generating a first digital audio signal corresponding to the target analog audio signal.
In one implementation, the audio processing module 201 may be an audio processing module chip, and may perform any one of processing operations such as noise reduction, up-sampling, down-sampling, and format conversion on a digital audio signal. The audio conversion module 202 can be software, hardware or a combination of software and hardware for implementing audio conversion function, and in one implementation, the audio conversion module 202 can be an audio AD device, where the audio AD device can implement interconversion between analog audio signals and digital audio signals, of course, the audio conversion module 202 provided in the embodiment of the present application may only have a function of converting an analog audio signal into a digital audio signal, which means that the audio conversion module may not have a function of converting a digital audio signal into an analog audio signal, and this is also acceptable.
Unlike the conventional processing of the audio processing module only performing noise reduction processing, upsampling processing, downsampling processing, format conversion processing, and the like on the digital audio signal in the related art, the audio processing module 201 provided in the embodiment of the present application may obtain at least one path of the first digital audio signal, and generating a path of second digital audio signals containing audio frames of the at least one path of first digital audio signals based on the at least one path of first digital audio signals, and writing the second digital audio signals into the first storage position. That means, the audio processing module 201 provided in this embodiment of the application can combine multiple paths of first digital audio signals into one path of second digital audio signal, that is, the audio processing module 201 can also implement the combination of multiple paths of digital audio signals.
The first digital audio signal may be generated based on an original analog audio signal, the original analog audio signal may be acquired by a front-end recording device of a video recorder, the front-end recording device may be a video camera with a recording function, such as a network camera and a video recorder, and the original analog audio signal may be an analog electrical signal acquired by the front-end recording device with respect to an environmental sound signal of an environment where the front-end recording device is located.
Optionally, the first digital audio signal is a digital signal obtained by performing analog-to-digital conversion on an original analog audio signal, for example, the original analog audio signal is sampled according to a sampling period of a finger, and then a character corresponding to an amplitude value of the original analog audio signal in a sampling interval is determined according to the amplitude value, so as to obtain a character sequence, which is used as the first digital audio signal. Of course, after the character sequence is obtained, other pre-processing operations may be performed, and the pre-processed character sequence may be used as the first digital audio signal, where the pre-processing operations may include any type of operations such as format conversion and noise elimination.
In one implementation, the format of the first Digital audio signal may be a specific format, such as RA (real audio, network immediate audio) format, MOV (Movie Digital Video Technology) format, and the like. Among them, the RA format is an audio format of a music file that can be transmitted and played in real time over a network. The MOV format is a QuickTime (QuickTime) encapsulation format, and is used primarily to store commonly used digital media types. Of course, the format of the first digital audio signal is not limited to the RA format audio stream or the MOV format audio stream.
After obtaining the at least one path of first digital audio signal, the audio processing module 201 may generate a path of second digital audio signal including an audio frame of the at least one path of first digital audio signal based on the at least one path of first digital audio signal, and write the second digital audio signal into the first storage location. The first storage location may be a first pre-designated memory area, where the memory area may be a storage area of a memory storage such as a DDR (Double Data Rate) memory.
In one implementation, after obtaining at least one path of the first digital audio signal, the audio processing module 201 may combine the at least one path of the first digital audio signal into a path of the second digital audio signal including at least one path of the audio frame of the first digital audio signal.
Illustratively, the audio processing module 201 obtains two paths of first digital audio signals, which are a first digital audio signal 1 and a first digital audio signal 2, respectively, where the first digital audio signal 1 includes: audio frame 11, audio frame 12, audio frame 13; the first digital audio signal 2 comprises: audio frame 21, audio frame 22, audio frame 23. The one path of the composite second digital audio signal may be an audio frame 11, an audio frame 21, an audio frame 12, an audio frame 22, an audio frame 13, and an audio frame 23.
In one implementation, the audio processing module 201 may obtain an initial audio frame included in at least one path of the first digital audio signal as a frame to be combined, generate an audio frame group based on the obtained at least one frame to be combined, write the audio frame group into a data queue for the digital audio signal to be generated, obtain a next audio frame of each frame to be combined from the at least one path of the first digital audio signal as a new frame to be combined, and return to perform the step of generating the audio frame group based on the obtained at least one frame to be combined.
Taking the first digital audio signal 1 and the first digital audio signal 2 as an example, the audio processing module 201 may first obtain initial audio frames of the first digital audio signal 1 and the first digital audio signal 2: audio frame 11 and audio frame 21, further merging audio frame 11 and audio frame 21 into an audio frame group { audio frame 11, audio frame 21}, writing { audio frame 11, audio frame 21} into a data queue of digital audio signals to be generated, and further obtaining a next audio frame of each frame to be compounded from first digital audio signal 1 and first digital audio signal 2: the audio frame 12 and the audio frame 22 are used as new frames to be composited, and the above process is repeated, and finally, a data queue of the digital audio signal is obtained: audio frame 11, audio frame 21, audio frame 12, audio frame 22, audio frame 13, audio frame 23.
In order to more accurately compound at least one path of first digital audio signals, each path of first digital audio signals corresponds to a frame sequence, and the frame sequence corresponding to any first digital audio signal is used to characterize the frame sequence of an audio frame of the first digital audio signal in an audio frame group to be generated, for example, the format of the audio frame group to be generated is {1,2,3}, where 1,2, and 3 respectively represent the positions of the audio frames in the audio frame group, and the frame sequence corresponding to each path of first digital audio signal is preconfigured or randomly generated, for example, at least one path of first digital audio signals obtained by the audio processing module 201 includes a first digital audio signal 1, a first digital audio signal 2, and a first audio signal 3, where the frame sequence corresponding to the first digital audio signal 1 is 1, the frame sequence corresponding to the first digital audio signal 2 is 2, and the frame sequence corresponding to the first digital audio signal 3 is 3.
In this case, after the audio processing module 201 obtains the frame to be combined from at least one path of the first digital audio signal each time, it may determine, for each frame to be combined, a frame sequence corresponding to the first digital audio signal to which the frame to be combined belongs, as the frame sequence corresponding to the frame to be combined, and further combine at least one frame to be combined into the audio frame group according to the frame sequence corresponding to each frame to be combined.
For example, taking the first digital audio signal 1, the first digital audio signal 2, and the first audio signal 3 as an example, after three frames to be composited, a frame sequence to be composited 1, a frame sequence to be composited 2, and a frame sequence to be composited 3 are obtained from the first digital audio signal 1, the first digital audio signal 2, and the first digital audio signal 3 each time, it may be determined that the frame sequence corresponding to the frames to be composited 1 is 1, the frame sequence corresponding to the frames to be composited 2 is 2, and the frame sequence corresponding to the frames to be composited 3 is 3, and then the obtained frames to be composited are combined according to the determined frame sequence, so as to obtain an audio frame group.
Optionally, the merging at least one frame to be composited into an audio frame group according to the frame sequence corresponding to each frame to be composited may include:
for each frame sequence in the audio frame group to be generated, if the frame sequence has a corresponding frame to be composited, writing the frame to be composited corresponding to the frame sequence in the position of the frame sequence; if the frame sequence does not have the corresponding frame to be composited, writing the specified audio frame at the position of the frame sequence to obtain an audio frame group.
For example, still taking the first digital audio signal 1, the first digital audio signal 2, and the first audio data 3 as an example, if the audio frame group is an audio frame group including three channels, that is, the format of the audio group is {1,2,3}, after determining that the frame sequence corresponding to the frame 1 to be composited is 1, the frame sequence corresponding to the frame 2 to be composited is 2, and the frame sequence corresponding to the frame 3 to be composited is 3, combining the frame 1 to be composited, the frame 2 to be composited, and the frame 3 to be composited to obtain the audio frame group: { frame to be composited 1, frame to be composited 2, frame to be composited 3}. If the audio frame group to be composited is an audio frame group containing four channels, that is, the format of the audio group is {1,2,3,4}, after determining that the frame sequence corresponding to the frame 1 to be composited is 1, the frame sequence corresponding to the frame 2 to be composited is 2, and the frame sequence corresponding to the frame 3 to be composited is 3, combining the frame 1 to be composited, the frame 2 to be composited, and the frame 3 to be composited to obtain an audio frame group: { frame to be composited 1, frame to be composited 2, frame to be composited 3, designated audio frame }. The specified audio frame is set according to requirements, and may be an audio frame with a value of 0, for example.
In order to avoid the signal jitter problem caused by the non-uniform input rate of the digital audio signals, in the embodiment of the present application, before the at least one first digital audio signal is to be combined, each of the at least one first digital audio signal may be buffered.
Optionally, the audio processing module 201 is further configured to, before performing acquiring an initial audio frame included in the at least one path of first digital audio signal as a frame to be combined, sequentially write the received audio frame into a fourth storage location according to a receiving sequence of each audio frame of the at least one path of first digital audio signal.
In this case, the audio processing module 201 may obtain, when the audio frame of the at least one path of first digital audio signal stored in the fourth storage location satisfies the specified condition, a next audio frame of each frame to be combined from the audio frames of the at least one path of first digital audio signal stored in the fourth storage location, as a new frame to be combined.
The specified condition may be determined according to needs and scenarios, and optionally, the specified condition may include at least one of the following conditions:
a first condition: the number of the audio frames of at least one path of first digital audio signals stored in the fourth storage position is larger than a specified number threshold;
the specified number threshold may be determined according to requirements and scenes, for example, 30 frames, which means that, for each first digital audio signal, only when the number of audio frames of the first digital audio signal in the fourth storage location is greater than 30 frames, the audio frames of the first digital audio signal may be read from the fourth storage location for subsequent composite processing.
The second condition is that: the storage duration of the audio frame of at least one path of first digital audio signals stored in the fourth storage position is greater than a specified duration threshold;
the specified duration threshold may be determined according to requirements and scenarios, for example, 1s, which means that, for each first digital audio signal, only when the storage duration of the audio frame of the first digital audio signal in the fourth storage location is greater than 1s, the audio frame of the first digital audio signal may be read from the fourth storage location for subsequent composite processing.
A third condition: the data volume of the audio frame of at least one path of first digital audio signals stored in the fourth storage position is greater than a specified data volume threshold;
the specified data amount threshold may be determined according to requirements and scenes, for example, 1M, which means that, for each first digital audio signal, only when the data amount of the audio frame of the first digital audio signal in the fourth storage location is greater than 1M, the audio frame of the first digital audio signal may be read from the fourth storage location for subsequent composite processing.
Optionally, the storage capacity of the fourth storage location is limited, and when the jitter is too large, an overflow may be caused, and at this time, a reset process may be adopted to clear the data frames of the first digital audio signal stored in the fourth storage location, and after the reset process, the audio frames of at least one first digital audio signal are written into the fourth storage location again.
In order to ensure that after the audio processing module 201 merges at least one path of first digital audio signals into one path of second digital audio signals, the audio conversion module 202 provided in the present application can still normally perform digital audio signals for each original analog audio signal, split the merged path of digital audio signals to obtain at least one path of target analog audio signals, where each path of target analog audio signals uniquely corresponds to one path of first digital audio signals.
Optionally, the audio conversion module 202 may read the digital audio signal from the second storage location to obtain a third digital audio signal, where the digital audio signal in the second storage location is generated based on the second digital audio signal in the first storage location. The second storage location may be a second memory region that is pre-designated.
In one implementation, after the second digital audio signal is generated, the second digital audio signal may be further processed by another processing chip, and the processed digital audio signal is written into the second storage location. Specifically, details will be described in the following embodiments, which are not repeated herein. Optionally, in another implementation, after the second tone digital audio signal is generated, no further processing may be performed on the second digital audio signal. In this case, the digital audio signal in the second storage location is the second digital audio signal, and at this time, the third digital audio signal is the second digital audio signal.
After the audio conversion module 202 obtains the third digital audio signal, it may convert the third digital audio signal into at least one path of target analog audio signal, where each path of target analog audio signal uniquely corresponds to one path of the first digital audio signal, and then write the path of target analog audio signal into the associated third storage location for each path of target analog audio signal.
The third storage location associated with each path of target analog audio signal is: a storage position configured in advance for an original analog audio signal corresponding to the route target analog audio signal and used for storing the analog audio signal to be played, where the original analog audio signal corresponding to each route target analog audio signal is: and the original analog audio signal is used for generating a first digital audio signal corresponding to the target analog audio signal. The third storage location may be a third pre-designated memory area.
The audio conversion module 202 may generate the at least one target analog audio signal in a variety of audio manners, which illustratively includes at least one of the following two manners:
the first generation mode can be used for obtaining the audio frame of each path of first digital audio signal from the third digital audio signal by analysis according to a specified analysis mode; wherein the specified analysis mode is an analysis mode matched with the generation mode of the second digital audio signal; and then generating an analog audio signal based on the audio frame of the path of the first digital audio signal obtained by analysis aiming at each path of the first digital audio signal, and obtaining a target analog audio signal corresponding to the path of the first digital audio signal.
Optionally, the second digital audio signal includes a plurality of audio frame groups, and each audio frame group includes audio frames at the same position in each path of the first digital audio signal. In this case, the audio conversion module 202 may determine, based on the positions of the multiple audio frame groups in the second digital audio signal, the respective audio frame groups in the third digital audio signal, and further extract, for each path of the first digital audio signal, the audio frame of the path of the first digital audio signal from each audio frame group of the third digital audio signal.
Optionally, each path of the first digital audio signal corresponds to one frame sequence in each audio frame group, at this time, the audio conversion module 202 may extract, for each path of the first digital audio signal, an audio frame of the path of the first digital audio signal from each audio frame group included in the third digital audio signal according to the frame sequence in each audio frame group corresponding to the path of the first digital audio signal.
In an implementation manner, each audio frame in the third digital audio signal carries a signal identifier, the signal identifier carried by each audio frame is used to indicate an original analog audio signal corresponding to the audio frame, and the original analog audio signal corresponding to each audio frame is an original analog audio signal used for generating the audio frame, in this case, the audio conversion module 202 may determine, for each path of the first digital audio signal, an audio frame carrying a target signal identifier from each audio frame in the third digital audio signal, where the target signal identifier is the indicated original analog audio signal corresponding to the path of the first digital audio signal. The signal identification may be an identifier such as SSRC (Synchronous Source)
In a second generation manner, for each path of the first digital audio signal, digital-to-analog conversion may be performed on each audio frame of the analyzed path of the first digital audio signal to generate an analog audio signal, so as to obtain a target analog audio signal corresponding to the path of the first digital audio signal.
Optionally, according to the time stamp sequence of each audio frame, digital-to-analog conversion may be sequentially performed on the audio frames of the analyzed path of first digital audio signal, so as to obtain a target analog audio signal corresponding to the path of first digital audio signal.
In the above scheme of this application, can be after obtaining at least one way first digital audio signal, generate one way and include the second digital audio signal of the audio frequency frame of at least one way first digital audio signal, thereby the mergence of at least one way first digital audio signal has been realized, even acquire under the condition of multichannel first digital audio signal like this, the audio frequency conversion module also only need to handle one way third digital audio signal can, it means, single audio frequency conversion module can handle multichannel digital audio signal simultaneously in the video cassette recorder that this application provided, make only need dispose less quantity audio frequency conversion module in the video cassette recorder, can realize multichannel audio output simultaneously, the hardware cost of video cassette recorder has been reduced.
In an embodiment, as shown in fig. 3, the structural schematic diagram of the video recorder provided in the embodiment of the present application may further include a data receiving module 203, where in a case that the video recorder is a network hard disk video recorder, the data receiving module may be a network receiving module, which can implement functions such as receiving of analog audio signals and audio channel division, and receive analog audio signals from different audio sources through different networks and different network ports, and convert the received analog audio signals into digital audio signals for storage.
Optionally, the data receiving module 203 may receive at least one path of original analog audio signal, generate one path of first digital audio signal by using the path of original analog audio signal for each path of original analog audio signal, and write the path of first digital audio signal into the associated fifth storage location for each path of first digital audio signal. The fifth storage position associated with each path of first digital audio signal is: and the storage position is configured in advance for the original analog audio signal corresponding to the first digital audio signal and is used for storing the first digital audio signal.
After receiving at least one path of original analog audio signal, the data receiving module 203 may perform analog-to-digital conversion on the path of original analog audio signal for each path of original analog audio signal to obtain a path of first digital audio signal, and then write the path of first digital audio signal into the associated fifth storage location.
In this case, the audio processing module 201 may read the first digital audio signal from at least one fifth storage location to obtain at least one path of the first digital audio signal.
In the above scheme of this application, can reduce the hardware cost of video cassette recorder, further, receive original analog audio signal through data receiving module, and then convert original analog audio signal into first digital audio signal, provide the realization basis for reducing the hardware cost of video cassette recorder.
In an embodiment, as shown in fig. 4, the structural schematic diagram of the video recorder provided in the embodiment of the present application may further include a data output module 204, where the data output module 204 may read the second digital audio signal from the first storage location; and processing the second digital audio signal according to a specified transmission protocol, and writing the processed digital audio signal into a second storage position.
Optionally, the data output module 204 may transmit and arrange the digital audio signals according to a certain data transmission protocol, and further write the processed digital audio signals into the second storage location. The specific transmission protocol may be LMS (Local Message Switch) single-channel protocol or I2S (Inter-IC Sound, integrated circuit built-in audio bus) protocol.
In an embodiment, as shown in fig. 5, in the present application, a schematic diagram of digital audio signal output of a video recorder is provided, where a data receiving module 203 converts at least one original analog audio signal into at least one first digital audio signal after receiving the at least one original analog audio signal; the audio processing module compounds at least one path of digital audio signal into a path of second digital audio signal after acquiring at least one path of digital audio signal; the data output module converts one path of second digital audio signals into one path of third digital audio signals after acquiring one path of second digital audio signals and transmits the one path of third digital audio signals to the audio conversion module, and the audio conversion module converts the third digital audio signals into at least one path of target analog audio signals after acquiring one path of third digital audio signals and outputs the target analog audio signals.
In the above scheme of this application, can reduce the hardware cost of video recorder, further, handle second digital audio signal through data output module, can improve audio output's quality.
In response to the above-mentioned video recorder of the present application, as shown in fig. 6, an embodiment of the present application provides a digital audio signal processing method, including steps S601-S605, wherein:
s601, obtaining at least one path of first digital audio signal, wherein each path of first digital audio signal is generated based on one path of original analog audio signal;
optionally, the obtaining at least one path of the first digital audio signal may include: at least one path of original analog audio signal is received, and then for each path of original analog audio signal, a path of first digital audio signal is generated by utilizing the path of original analog audio signal.
S602, generating a second digital audio signal comprising an audio frame of the at least one path of first digital audio signal based on the at least one path of first digital audio signal;
in one implementation, the at least one first digital audio signal may be combined into a second digital audio signal including audio frames of the at least one first digital audio signal.
Optionally, in an implementation manner, an initial audio frame included in the at least one path of first digital audio signal may be obtained as a frame to be composited; generating an audio frame group based on the acquired at least one frame to be compounded; writing the audio frame group into a data queue for a digital audio signal to be generated; and acquiring the next audio frame of each frame to be compounded from the at least one path of first digital audio signals to serve as a new frame to be compounded, and returning to the step of generating an audio frame group based on the acquired at least one frame to be compounded.
In one implementation, the generating the audio frame group based on the acquired at least one frame to be composited may include:
determining a frame sequence corresponding to a first digital audio signal to which a frame to be compounded belongs for each frame to be compounded, and taking the frame sequence as the frame sequence corresponding to the frame to be compounded; the frame sequence corresponding to any one first digital audio signal is used for representing the frame sequence of the audio frame of the first digital audio signal in the audio frame group to be generated; and combining at least one frame to be compounded into an audio frame group according to the frame sequence corresponding to each frame to be compounded.
In one implementation, the merging at least one frame to be combined into an audio frame group according to the frame order corresponding to each frame to be combined may include:
for each frame sequence in the audio frame group to be generated, if the frame sequence has a corresponding frame to be composited, writing the frame to be composited corresponding to the frame sequence at the position of the frame sequence; if the frame sequence does not have the corresponding frame to be composited, writing the specified audio frame at the position of the frame sequence to obtain an audio frame group.
The frame sequence corresponding to each path of the first digital audio signal is pre-configured or randomly generated.
In one implementation manner, before acquiring an initial audio frame included in at least one path of first digital audio signal as a frame to be composited, the received audio frames may be sequentially written into a fourth storage location according to a receiving order of each audio frame of the at least one path of first digital audio signal;
the obtaining a next audio frame of each frame to be combined from the at least one channel of first digital audio signals as a new frame to be combined may include:
when the audio frames of at least one path of first digital audio signals stored in the fourth storage position meet the specified condition, acquiring the next audio frame of each frame to be compounded from the audio frames of at least one path of first digital audio signals stored in the fourth storage position to serve as a new frame to be compounded;
in one implementation, the specified condition includes:
the number of the audio frames of at least one path of the first digital audio signal stored in the fourth storage position is greater than a specified number threshold; and/or the presence of a gas in the atmosphere,
the storage duration of the audio frame of at least one path of first digital audio signals stored in the fourth storage position is greater than a specified duration threshold; and/or the presence of a gas in the atmosphere,
the data volume of the audio frames of at least one path of the first digital audio signal stored in the fourth storage position is larger than the specified data volume threshold value.
S603, generating a third digital audio signal based on the second digital audio signal;
in one implementation, the generating a third digital audio signal based on the second digital audio signal may include:
and processing the second digital audio signal according to the designated processing operation, and obtaining a path of third digital audio signal from the digital audio signal obtained after the processing.
Wherein the specified processing operation comprises: at least one of noise reduction processing, up-sampling processing, down-sampling processing, and format conversion processing.
In another implementation, the second digital audio signal is directly used as the third digital audio signal.
S604, converting the third digital audio signal to obtain at least one path of target analog audio signal, wherein each path of target analog audio signal is uniquely corresponding to one path of first digital audio signal;
in an implementation manner, the converting the third digital audio signal into at least one target analog audio signal may include:
analyzing the third digital audio signal according to a designated analysis mode to obtain an audio frame of each path of first digital audio signal; the specified analysis mode is an analysis mode matched with the generation mode of the second digital audio signal;
and aiming at each path of first digital audio signal, generating an analog audio signal based on the audio frame of the path of first digital audio signal obtained by analysis, and obtaining a target analog audio signal corresponding to the path of first digital audio signal.
Optionally, the second digital audio signal may include a plurality of audio frame groups, each audio frame group including audio frames at the same position in each of the channels of the first digital audio signals;
in this case, the parsing to obtain the audio frame of each path of the first digital audio signal from the third digital audio signal according to the specified parsing manner may include:
determining respective groups of audio frames in the third digital audio signal based on the positions of the plurality of groups of audio frames in the second digital audio signal;
and aiming at each path of first digital audio signal, extracting the audio frame of the path of first digital audio signal from each audio frame group of the third digital audio signal.
Optionally, each path of the first digital audio signal corresponds to one frame sequence in each audio frame group;
in this case, for each path of the first digital audio signal, extracting the audio frames of the path of the first digital audio signal from each audio frame group of the third digital audio signal may include:
and for each path of first digital audio signal, extracting the audio frames of the path of first digital audio signal from each audio frame group contained in the third digital audio signal according to the frame sequence in each audio frame group corresponding to the path of first digital audio signal.
Optionally, each audio frame in the third digital audio signal carries a signal identifier, and the signal identifier carried by each audio frame is used to indicate an original analog audio signal corresponding to the audio frame; the original analog audio signal corresponding to each audio frame is used for generating the original analog audio signal of the audio frame;
the foregoing analyzing, according to the designated analysis manner, the audio frame of each path of the first digital audio signal from the third digital audio signal may include:
for each path of first digital audio signal, determining an audio frame carrying a target signal identifier from each audio frame in the third digital audio signal; and the target signal identification indicates that the indicated original analog audio signal is the original analog audio signal corresponding to the first digital audio signal.
In one implementation manner, for each path of first digital audio signal, digital-to-analog conversion may be performed on each audio frame of the analyzed path of first digital audio signal to generate an analog audio signal, and a target analog audio signal corresponding to the path of first digital audio signal is obtained.
Optionally, for each path of the first digital audio signal, according to the time stamp sequence of each audio frame, digital-to-analog conversion is sequentially performed on the audio frames of the analyzed path of the first digital audio signal, so as to generate an analog audio signal, and obtain a target analog audio signal corresponding to the path of the first digital audio signal.
S605, aiming at each path of target analog audio signal, writing the path of target analog audio signal into a related third storage position;
the third storage position associated with each path of target analog audio signal is as follows: a storage position configured in advance for an original analog audio signal corresponding to the route target analog audio signal and used for storing the analog audio signal to be played, where the original analog audio signal corresponding to each route target analog audio signal is: and the original analog audio signal is used for generating a first digital audio signal corresponding to the target analog audio signal.
In the above scheme of the present application, after at least one path of first digital audio signal is obtained, one path of second digital audio signal including at least one path of audio frame of the first digital audio signal is generated, thereby realizing the merging of at least one path of first digital audio signal, even under the condition of obtaining multiple paths of first digital audio signals, the audio conversion module only needs to process one path of third digital audio signal, which means that a single audio conversion module in the video recorder provided by the present application can process multiple paths of digital audio signals simultaneously, so that only a small number of audio conversion modules need to be configured in the video recorder, and then multiple paths of audio can be output simultaneously, thereby reducing the hardware cost of the video recorder.
For a specific implementation manner and related descriptions of the above steps, reference may be made to the above embodiment of the video recorder, which is not described herein again.
Corresponding to the digital audio signal processing method provided in the foregoing embodiment of the present application, as shown in fig. 7, an embodiment of the present application further provides a digital audio signal processing apparatus, where the apparatus includes:
a signal obtaining module 701, configured to obtain at least one path of first digital audio signal, where each path of first digital audio signal is generated based on one path of original analog audio signal;
a first signal generating module 702, configured to generate, based on the at least one channel of first digital audio signals, a channel of second digital audio signals including audio frames of the at least one channel of first digital audio signals;
a second signal generating module 703, configured to generate a third digital audio signal based on the second digital audio signal;
a third signal generating module 704, configured to convert the third digital audio signal to obtain at least one path of target analog audio signal, where each path of target analog audio signal uniquely corresponds to one path of first digital audio signal;
a signal writing module 705, configured to write, for each way of target analog audio signal, the way of target analog audio signal into an associated third storage location; the third storage position associated with each path of target analog audio signal is as follows: a storage position configured in advance for an original analog audio signal corresponding to the route target analog audio signal and used for storing the analog audio signal to be played, where the original analog audio signal corresponding to each route target analog audio signal is: and the original analog audio signal is used for generating a first digital audio signal corresponding to the target analog audio signal.
Optionally, the first signal generating module includes:
the audio frame acquisition submodule is used for acquiring an initial audio frame contained in the at least one path of first digital audio signal and taking the initial audio frame as a frame to be compounded;
the frame sequence determining submodule is used for determining the frame sequence corresponding to the first digital audio signal to which the frame to be compounded belongs as the frame sequence corresponding to the frame to be compounded for each frame to be compounded; the frame sequence corresponding to each path of first digital audio signals is pre-configured or randomly generated; the frame sequence corresponding to any first digital audio signal is used for representing the frame sequence of the audio frame of the first digital audio signal in the audio frame group to be generated;
the audio frame merging submodule is used for merging at least one frame to be compounded into an audio frame group according to the frame sequence corresponding to each frame to be compounded;
a frame group writing sub-module for writing the audio frame group into a data queue for a digital audio signal to be generated; and acquiring the next audio frame of each frame to be compounded from the at least one path of first digital audio signals as a new frame to be compounded, calling the frame sequence determining sub-module to execute the step of determining the frame sequence corresponding to the first digital audio signal of each frame to be compounded as the frame sequence corresponding to the frame to be compounded for each frame to be compounded.
Optionally, the audio frame merging sub-module is specifically configured to, for each frame order in the audio frame group to be generated, if a corresponding frame to be composited exists in the frame order, write the frame to be composited corresponding to the frame order in the position of the frame order; if the frame sequence does not have the corresponding frame to be composited, writing the specified audio frame at the position of the frame sequence to obtain an audio frame group.
Optionally, the audio frame acquiring sub-module is further configured to, before the acquiring of the initial audio frame included in the at least one channel of first digital audio signals is performed to serve as a frame to be combined, sequentially write the received audio frames into a fourth storage location according to a receiving sequence of each audio frame of the at least one channel of first digital audio signals;
the frame group writing sub-module is specifically configured to, when the audio frame of the at least one path of first digital audio signal stored in the fourth storage location satisfies a specified condition, obtain, from the audio frame of the at least one path of first digital audio signal stored in the fourth storage location, a next audio frame of each frame to be combined, as a new frame to be combined; wherein the specified conditions include: the number of the audio frames of the at least one path of first digital audio signal stored in the fourth storage position is greater than a specified number threshold; and/or the storage duration of the audio frames of the at least one path of first digital audio signal stored in the fourth storage location is greater than a specified duration threshold; and/or the data volume of the audio frames of the at least one path of first digital audio signals stored in the fourth storage position is larger than a specified data volume threshold value.
Optionally, the third signal generating module includes:
the signal analysis submodule is used for analyzing the third digital audio signal to obtain an audio frame of each path of first digital audio signal according to a specified analysis mode; the specified analysis mode is an analysis mode matched with the generation mode of the second digital audio signal;
and the digital-to-analog conversion sub-module is used for performing digital-to-analog conversion on the audio frame of the analyzed path of first digital audio signal aiming at each path of first digital audio signal to obtain a target analog audio signal corresponding to the path of first digital audio signal.
Optionally, the second digital audio signal includes a plurality of audio frame groups, and each audio frame group includes audio frames at the same position in each path of the first digital audio signal;
the signal parsing sub-module is specifically configured to determine each audio frame group in the third digital audio signal based on the positions of the plurality of audio frame groups in the second digital audio signal; and for each path of first digital audio signal, extracting the audio frames of the path of first digital audio signal from each audio frame group contained in the third digital audio signal according to the frame sequence in each audio frame group corresponding to the path of first digital audio signal.
Optionally, each audio frame in the third digital audio signal carries a signal identifier, and the signal identifier carried by each audio frame is used to indicate an original analog audio signal corresponding to the audio frame; the original analog audio signal corresponding to each audio frame is used for generating the original analog audio signal of the audio frame;
the signal analysis submodule is specifically configured to determine, for each path of the first digital audio signal, an audio frame carrying a target signal identifier from each audio frame in the third digital audio signal; and the target signal identification indicates that the indicated original analog audio signal is the original analog audio signal corresponding to the first digital audio signal.
Optionally, the signal obtaining module is specifically configured to receive at least one original analog audio signal; and aiming at each path of original analog audio signal, generating a path of first digital audio signal by using the path of original analog audio signal.
Optionally, the second signal generating module is specifically configured to process the second digital audio signal according to a specified transmission protocol, and write the processed digital audio signal into the second storage location.
Optionally, the first signal generating module is further configured to, before generating a second digital audio signal including an audio frame of the at least one first digital audio signal based on the at least one first digital audio signal, process the at least one first digital audio signal according to a specified processing operation, and after the processing is finished, execute the step of generating a second digital audio signal including an audio frame of the at least one first digital audio signal based on the at least one first digital audio signal; wherein the specified processing operation comprises: at least one of noise reduction processing, up-sampling processing, down-sampling processing, and format conversion processing.
In the above scheme of this application, can be after obtaining at least one way first digital audio signal, generate one way and include the second digital audio signal of the audio frequency frame of at least one way first digital audio signal, thereby the mergence of at least one way first digital audio signal has been realized, even acquire under the condition of multichannel first digital audio signal like this, the audio frequency conversion module also only need to handle one way third digital audio signal can, it means, single audio frequency conversion module can handle multichannel digital audio signal simultaneously in the video cassette recorder that this application provided, make only need dispose less quantity audio frequency conversion module in the video cassette recorder, can realize multichannel audio output simultaneously, the hardware cost of video cassette recorder has been reduced.
Embodiments of the present application further provide a video recorder, as shown in fig. 8, including a processor 801 and a machine-readable storage medium 802, where the machine-readable storage medium 802 stores machine-executable instructions that can be executed by the processor 801, and the processor 801 is caused by the machine-executable instructions to: the following steps are realized:
acquiring at least one path of first digital audio signal, wherein each path of first digital audio signal is generated based on one path of original analog audio signal;
generating a path of second digital audio signals containing audio frames of the at least one path of first digital audio signals based on the at least one path of first digital audio signals;
generating a third digital audio signal based on the second digital audio signal;
converting the third digital audio signal to obtain at least one path of target analog audio signal, wherein each path of target analog audio signal is uniquely corresponding to one path of first digital audio signal;
for each path of target analog audio signal, writing the path of target analog audio signal into a related third storage position; the third storage position associated with each path of target analog audio signal is as follows: a storage position configured in advance for an original analog audio signal corresponding to the route target analog audio signal and used for storing the analog audio signal to be played, where the original analog audio signal corresponding to each route target analog audio signal is: and the original analog audio signal is used for generating a first digital audio signal corresponding to the target analog audio signal.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In yet another embodiment provided by the present application, there is also provided a computer-readable storage medium having a computer program stored therein, the computer program, when executed by a processor, implementing the steps of any of the digital audio signal processing methods described above.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the digital audio signal processing methods of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the method, apparatus, computer-readable storage medium, and computer program product embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
The above description is only for the preferred embodiment of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (14)

1. A video recorder, comprising: audio frequency processing module and audio frequency conversion module, wherein:
the audio processing module is used for acquiring at least one path of first digital audio signal, wherein each path of first digital audio signal is generated based on one path of original analog audio signal; generating a path of second digital audio signals containing audio frames of the at least one path of first digital audio signals based on the at least one path of first digital audio signals; writing the second digital audio signal to a first storage location;
the audio conversion module is configured to read a digital audio signal from a second storage location to obtain a path of third digital audio signal, where the digital audio signal in the second storage location is generated based on the second digital audio signal in the first storage location; converting the third digital audio signal to obtain at least one path of target analog audio signal, wherein each path of target analog audio signal is uniquely corresponding to one path of first digital audio signal; for each path of target analog audio signal, writing the path of target analog audio signal into a related third storage position;
the third storage position associated with each path of target analog audio signal is as follows: a storage position configured in advance for an original analog audio signal corresponding to the route target analog audio signal and used for storing the analog audio signal to be played, where the original analog audio signal corresponding to each route target analog audio signal is: and the original analog audio signal is used for generating a first digital audio signal corresponding to the target analog audio signal.
2. The video recorder of claim 1, wherein the audio processing module generates a second digital audio signal comprising audio frames of the at least one first digital audio signal based on the at least one first digital audio signal, comprising:
acquiring an initial audio frame contained in the at least one path of first digital audio signal as a frame to be composited;
determining a frame sequence corresponding to a first digital audio signal to which the frame to be composited belongs as a frame sequence corresponding to the frame to be composited for each frame to be composited; the frame sequence corresponding to each path of first digital audio signals is pre-configured or randomly generated; the frame sequence corresponding to any first digital audio signal is used for representing the frame sequence of the audio frame of the first digital audio signal in the audio frame group to be generated;
combining at least one frame to be compounded into an audio frame group according to the frame sequence corresponding to each frame to be compounded;
writing the audio frame group into a data queue for a digital audio signal to be generated;
and acquiring the next audio frame of each frame to be composited from the at least one path of first digital audio signals as a new frame to be composited, and returning to the step of executing the step of determining the frame sequence corresponding to the first digital audio signal to which the frame to be composited belongs as the frame sequence corresponding to the frame to be composited for each frame to be composited.
3. The video recorder of claim 2, wherein the audio processing module combines at least one frame to be combined into the set of audio frames in a frame order corresponding to each frame to be combined, comprising:
for each frame sequence in the audio frame group to be generated, if the frame sequence has a corresponding frame to be composited, writing the frame to be composited corresponding to the frame sequence in the position of the frame sequence; if the frame sequence does not have the corresponding frame to be composited, writing the specified audio frame at the position of the frame sequence to obtain an audio frame group.
4. The video recorder according to claim 2, wherein the audio processing module is further configured to, before performing the obtaining of the initial audio frame included in the at least one first digital audio signal as the frame to be combined, sequentially write the received audio frames into a fourth storage location according to a receiving order of the audio frames of the at least one first digital audio signal;
the audio processing module obtains a next audio frame of each frame to be composited from the at least one path of first digital audio signals as a new frame to be composited, and the method comprises the following steps:
when the audio frames of the at least one path of first digital audio signals stored in the fourth storage location meet a specified condition, acquiring a next audio frame of each frame to be composited from the audio frames of the at least one path of first digital audio signals stored in the fourth storage location to serve as a new frame to be composited;
wherein the specified conditions include: the number of the audio frames of the at least one path of first digital audio signal stored in the fourth storage position is greater than a specified number threshold; and/or the storage duration of the audio frames of the at least one path of first digital audio signals stored in the fourth storage location is greater than a specified duration threshold; and/or the data volume of the audio frames of the at least one path of first digital audio signals stored in the fourth storage position is larger than a specified data volume threshold value.
5. The video recorder of claim 1, wherein the audio conversion module converts the third digital audio signal into at least one target analog audio signal, comprising:
analyzing the third digital audio signal according to a designated analysis mode to obtain an audio frame of each path of first digital audio signal; the specified analysis mode is an analysis mode matched with the generation mode of the second digital audio signal;
and for each path of first digital audio signal, performing digital-to-analog conversion on the audio frame of the path of first digital audio signal obtained by analysis to obtain a target analog audio signal corresponding to the path of first digital audio signal.
6. The video recorder of claim 5, wherein the second digital audio signal comprises a plurality of audio frame groups, each audio frame group comprising audio frames at a same position in each of the plurality of paths of the first digital audio signal; each path of first digital audio signal corresponds to a frame sequence in each audio frame group;
the audio conversion module analyzes the third digital audio signal to obtain an audio frame of each path of the first digital audio signal according to a specified analysis mode, and the method comprises the following steps:
determining respective groups of audio frames in the third digital audio signal based on the positions of the plurality of groups of audio frames in the second digital audio signal;
and for each path of first digital audio signal, extracting the audio frame of the path of first digital audio signal from each audio frame group contained in the third digital audio signal according to the frame sequence, corresponding to the path of first digital audio signal, in each audio frame group.
7. The video recorder of claim 5, wherein each audio frame in the third digital audio signal carries a signal identifier, and the signal identifier carried by each audio frame is used to indicate the original analog audio signal corresponding to the audio frame; the original analog audio signal corresponding to each audio frame is used for generating the original analog audio signal of the audio frame;
the audio conversion module analyzes the third digital audio signal to obtain an audio frame of each path of the first digital audio signal according to a specified analysis mode, and the method comprises the following steps:
for each path of first digital audio signal, determining an audio frame carrying a target signal identifier from each audio frame in the third digital audio signal; and the target signal identification indicates that the indicated original analog audio signal is the original analog audio signal corresponding to the first digital audio signal.
8. The video recorder of claim 1, wherein the video recorder further comprises: a data receiving module;
the data receiving module is used for receiving at least one path of original analog audio signal; aiming at each path of original analog audio signal, generating a path of first digital audio signal by using the path of original analog audio signal; for each path of first digital audio signal, writing the path of first digital audio signal into an associated fifth storage position; the fifth storage position associated with each path of first digital audio signal is: a storage position which is configured aiming at the original analog audio signal corresponding to the first digital audio signal in the path in advance and is used for storing the first digital audio signal;
the audio processing module obtains at least one path of first digital audio signals, and comprises:
and reading the first digital audio signal from at least one fifth storage position to obtain at least one path of first digital audio signal.
9. The video recorder of claim 1, wherein the video recorder further comprises: a data output module;
the data output module is used for reading the second digital audio signal from the first storage position; and processing the second digital audio signal according to a specified transmission protocol, and writing the processed digital audio signal into the second storage position.
10. The video recorder of claim 1, wherein the audio processing module is further configured to process the at least one first digital audio signal according to a specified processing operation before generating a second digital audio signal comprising an audio frame of the at least one first digital audio signal based on the at least one first digital audio signal, and after the processing is finished, perform the step of generating a second digital audio signal comprising an audio frame of the at least one first digital audio signal based on the at least one first digital audio signal; wherein the specified processing operation comprises: at least one of noise reduction processing, up-sampling processing, down-sampling processing, and format conversion processing.
11. A method of digital audio signal processing, the method comprising:
acquiring at least one path of first digital audio signal, wherein each path of first digital audio signal is generated based on one path of original analog audio signal;
generating a path of second digital audio signals containing audio frames of the at least one path of first digital audio signals based on the at least one path of first digital audio signals;
generating a third digital audio signal based on the second digital audio signal;
converting the third digital audio signal to obtain at least one path of target analog audio signal, wherein each path of target analog audio signal is uniquely corresponding to one path of first digital audio signal;
for each path of target analog audio signal, writing the path of target analog audio signal into a related third storage position; the third storage position associated with each path of target analog audio signal is as follows: a storage position configured in advance for an original analog audio signal corresponding to the route target analog audio signal and used for storing the analog audio signal to be played, where the original analog audio signal corresponding to each route target analog audio signal is: and the original analog audio signal is used for generating a first digital audio signal corresponding to the target analog audio signal.
12. The method according to claim 11, wherein said generating a second digital audio signal comprising audio frames of said at least one first digital audio signal based on said at least one first digital audio signal comprises:
acquiring an initial audio frame contained in the at least one path of first digital audio signal as a frame to be composited;
determining a frame sequence corresponding to a first digital audio signal to which the frame to be composited belongs as a frame sequence corresponding to the frame to be composited for each frame to be composited; wherein, the frame sequence corresponding to each path of first digital audio signals is pre-configured or randomly generated; the frame sequence corresponding to any first digital audio signal is used for representing the frame sequence of the audio frame of the first digital audio signal in the audio frame group to be generated;
combining at least one frame to be compounded into an audio frame group according to the frame sequence corresponding to each frame to be compounded;
writing the audio frame group into a data queue for a digital audio signal to be generated;
obtaining the next audio frame of each frame to be compounded from the at least one path of first digital audio signals as a new frame to be compounded, and returning to the step of executing the step of determining the frame sequence corresponding to the first digital audio signal of each frame to be compounded as the frame sequence corresponding to the frame to be compounded;
and/or, the merging at least one frame to be composited into an audio frame group according to the frame sequence corresponding to each frame to be composited comprises:
for each frame sequence in the audio frame group to be generated, if the frame sequence has a corresponding frame to be composited, writing the frame to be composited corresponding to the frame sequence in the position of the frame sequence; if the frame sequence does not have a corresponding frame to be composited, writing a specified audio frame at the position of the frame sequence to obtain an audio frame group;
and/or, before the obtaining of the initial audio frame included in the at least one path of first digital audio signal is executed as a frame to be composited, sequentially writing the received audio frames into a fourth storage position according to the receiving sequence of each audio frame of the at least one path of first digital audio signal;
the acquiring a next audio frame of each frame to be combined from the at least one path of first digital audio signals as a new frame to be combined includes:
when the audio frames of the at least one path of first digital audio signals stored in the fourth storage location meet a specified condition, acquiring a next audio frame of each frame to be composited from the audio frames of the at least one path of first digital audio signals stored in the fourth storage location to serve as a new frame to be composited; wherein the specified conditions include: the number of the audio frames of the at least one path of first digital audio signal stored in the fourth storage position is greater than a specified number threshold; and/or the storage duration of the audio frames of the at least one path of first digital audio signal stored in the fourth storage location is greater than a specified duration threshold; and/or the data volume of the audio frames of the at least one path of first digital audio signals stored in the fourth storage position is larger than a specified data volume threshold;
and/or, the converting the third digital audio signal into at least one path of target analog audio signal includes:
analyzing the third digital audio signal according to a designated analysis mode to obtain an audio frame of each path of first digital audio signal; the specified analysis mode is an analysis mode matched with the generation mode of the second digital audio signal;
for each path of first digital audio signal, performing digital-to-analog conversion on the audio frame of the path of first digital audio signal obtained by analysis to obtain a target analog audio signal corresponding to the path of first digital audio signal;
and/or, the second digital audio signal comprises a plurality of audio frame groups, and each audio frame group comprises audio frames at the same position in each path of the first digital audio signal;
the analyzing, according to the designated analysis mode, the audio frame of each path of the first digital audio signal from the third digital audio signal includes:
determining respective groups of audio frames in the third digital audio signal based on the positions of the plurality of groups of audio frames in the second digital audio signal;
for each path of first digital audio signal, extracting an audio frame of the path of first digital audio signal from each audio frame group contained in the third digital audio signal according to a frame sequence in each audio frame group corresponding to the path of first digital audio signal;
and/or each audio frame in the third digital audio signal carries a signal identifier, and the signal identifier carried by each audio frame is used for indicating an original analog audio signal corresponding to the audio frame; the original analog audio signal corresponding to each audio frame is used for generating the original analog audio signal of the audio frame;
the analyzing the third digital audio signal to obtain the audio frame of each path of the first digital audio signal according to the designated analysis mode includes:
for each path of first digital audio signal, determining an audio frame carrying a target signal identifier from each audio frame in the third digital audio signal; the target signal identification indicates that the indicated original analog audio signal is an original analog audio signal corresponding to the first digital audio signal;
and/or, the acquiring at least one path of first digital audio signals comprises:
receiving at least one path of original analog audio signal;
aiming at each path of original analog audio signal, generating a path of first digital audio signal by using the path of original analog audio signal;
and/or, said generating a third digital audio signal based on said second digital audio signal comprises:
processing the second digital audio signal according to a specified transmission protocol, and writing the digital audio signal obtained after the processing into the second storage position;
and/or, before generating a second digital audio signal comprising an audio frame of the at least one first digital audio signal based on the at least one first digital audio signal, processing the at least one first digital audio signal according to a specified processing operation, and after the processing is finished, executing a step of generating a second digital audio signal comprising an audio frame of the at least one first digital audio signal based on the at least one first digital audio signal; wherein the specified processing operation comprises: at least one of noise reduction processing, up-sampling processing, down-sampling processing, and format conversion processing.
13. A digital audio signal processing apparatus, characterized in that the apparatus comprises:
the signal acquisition module is used for acquiring at least one path of first digital audio signal, wherein each path of first digital audio signal is generated based on one path of original analog audio signal;
a first signal generating module, configured to generate, based on the at least one channel of first digital audio signal, a channel of second digital audio signal including an audio frame of the at least one channel of first digital audio signal;
a second signal generation module for generating a third digital audio signal based on the second digital audio signal;
the third signal generation module is used for converting the third digital audio signal to obtain at least one path of target analog audio signal, wherein each path of target analog audio signal is uniquely corresponding to one path of first digital audio signal;
the signal writing module is used for writing the target analog audio signal into a related third storage position aiming at each target analog audio signal; the third storage position associated with each path of target analog audio signal is as follows: a storage position configured in advance for an original analog audio signal corresponding to the route target analog audio signal and used for storing the analog audio signal to be played, where the original analog audio signal corresponding to each route target analog audio signal is: and the original analog audio signal is used for generating a first digital audio signal corresponding to the target analog audio signal.
14. A video recorder comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: implementing the method of any one of claims 11-12.
CN202211659036.1A 2022-12-22 2022-12-22 Video recorder, digital audio signal processing method and device Pending CN115941870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211659036.1A CN115941870A (en) 2022-12-22 2022-12-22 Video recorder, digital audio signal processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211659036.1A CN115941870A (en) 2022-12-22 2022-12-22 Video recorder, digital audio signal processing method and device

Publications (1)

Publication Number Publication Date
CN115941870A true CN115941870A (en) 2023-04-07

Family

ID=86697691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211659036.1A Pending CN115941870A (en) 2022-12-22 2022-12-22 Video recorder, digital audio signal processing method and device

Country Status (1)

Country Link
CN (1) CN115941870A (en)

Similar Documents

Publication Publication Date Title
US10187668B2 (en) Method, system and server for live streaming audio-video file
CN108495164B (en) Audio and video synchronization processing method and device, computer device and storage medium
CN109842795B (en) Audio and video synchronization performance testing method and device, electronic equipment and storage medium
CN109600564B (en) Method and apparatus for determining a timestamp
EP0540403B1 (en) Video analysis system for editing a broadcasted or recorded television program and its use for post-production techniques, particularly multilingual
CN110267083B (en) Audio and video synchronization detection method, device, equipment and storage medium
US9883216B2 (en) Method and apparatus for carrying transport stream
CN111656275B (en) Method and device for determining image focusing area
CN109600650B (en) Method and apparatus for processing data
CN113014854A (en) Method, device, equipment and medium for generating interactive record
CN114222083A (en) Method and device for multi-channel audio, video and radar mixed synchronous playback
WO2020119515A1 (en) Video transcoding method and device
WO2024146338A1 (en) Video generation method and apparatus, and electronic device and storage medium
CN110944197B (en) Method and device for coding images and audios
JP6457353B2 (en) Speech recognition result editing apparatus, speech recognition result editing method, program
WO2023160288A1 (en) Conference summary generation method and apparatus, electronic device, and readable storage medium
CN115941870A (en) Video recorder, digital audio signal processing method and device
CN109600571B (en) Multimedia resource transmission test system and multimedia resource transmission test method
FR2742955A1 (en) IMAGE PROCESSING DEVICE AND ELECTRON IDLING CAMERA
CN109600563B (en) Method and apparatus for determining a timestamp
CN116233411A (en) Method, device, equipment and computer storage medium for audio and video synchronous test
CN114157895A (en) Video processing method and device, electronic equipment and storage medium
CN111866546A (en) Network audio selection source realization method based on FFmpeg
WO2020087788A1 (en) Audio processing method and device
CN112581993B (en) Audio recording method and device, readable medium and electronic equipment

Legal Events

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