CN103200371A - System and method for video volume custom adjustment - Google Patents

System and method for video volume custom adjustment Download PDF

Info

Publication number
CN103200371A
CN103200371A CN2013101191571A CN201310119157A CN103200371A CN 103200371 A CN103200371 A CN 103200371A CN 2013101191571 A CN2013101191571 A CN 2013101191571A CN 201310119157 A CN201310119157 A CN 201310119157A CN 103200371 A CN103200371 A CN 103200371A
Authority
CN
China
Prior art keywords
video
audio frame
frame sequence
audio
format
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
CN2013101191571A
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.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media 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 TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN2013101191571A priority Critical patent/CN103200371A/en
Publication of CN103200371A publication Critical patent/CN103200371A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a system for video volume custom adjustment. The system comprises a de-encapsulation device, a video data decoding device, a volume adjusting device, an encoding device and a packaging device. The de-encapsulation device is used for conducting de-encapsulation on audio and video files, thereby parsing the audio and video files to a corresponding audio frame sequence and a corresponding video frame sequence, the video data decoding device is used for decoding the audio frame sequence, and restoring an audio frame in the audio frame sequence to be audio data with PCM formats, the volume adjusting device is used for conducting volume adjusting on the audio data with the PCM formats according to volume adjustment coefficients input by a user, the encoding device codes the audio data with the PCM formats, wherein the audio data are adjusted by the volume adjusting device, and obtains an audio frame sequence which is recoded, and the packaging device is used for packaging the video frame sequence and the recoded audio frame sequence. The invention further provides a method for the video volume custom adjustment.

Description

The system and method that a kind of video volume customization is regulated
Technical field:
The present invention relates to system and method, particularly a kind of system and method that the video volume is customized adjusting according to user's request that a kind of video volume is regulated.
Background technology:
When making the video source file, two or more video files need be merged into a video file, this will cause the user when seeing TV or playing video file, run into sound situation fluctuated sometimes, What is more, sometimes intercut some advertisements in the TV play, the sound of advertisement can suddenly uprise.
In order to address the above problem, a kind of method of automatic control channel volume and the digital TV terminal of use said method are disclosed among the Chinese patent application No.200910077304.7.Yet, though this Chinese patent application No.200910077304.7 has solved digital TV terminal program sound situation fluctuated when switching program, but it is just implemented at unique user terminal number word television terminal, therefore can't solve sound that all users run into problem fluctuated.
Summary of the invention:
In order to solve the problems of the technologies described above, the invention provides the system that a kind of video volume customization is regulated, comprise: de-encapsulating devices is used for audio-video document is carried out decapsulation, thereby described audio-video document is resolved to corresponding audio frame sequence and sequence of frames of video; Audio data decoding apparatus is used for described audio frame sequence is decoded, and the audio frame in the described audio frame sequence is reduced to the voice data of PCM form; Volume adjustment device, the volume adjustment factor of importing according to the user carries out the adjusting of volume to the voice data of described PCM form; Code device is encoded by the voice data to the PCM form regulated through described volume adjustment device, obtains the audio frame sequence behind recompile; Packaging system is used for described sequence of frames of video and described audio frame sequence behind recompile are encapsulated.
Preferably, the scope of described volume adjustment factor is between 0~10.
Preferably, described system also comprises be used to the volume adjustment factor setting device that described volume adjustment factor is set.
Preferably, described code device adopts the coded format identical with the coded format of the preceding audio frame sequence of decoding that the voice data of the PCM form of the described volume adjustment device adjusting of process is encoded; Described packaging system adopts the encapsulation format identical with the encapsulation format of the preceding audio-video document of decapsulation that described sequence of frames of video and described audio frame sequence behind recompile are encapsulated.
Preferably, described code device adopts user's specified coding form that the voice data of the PCM form of the described volume adjustment device adjusting of process is encoded;
The encapsulation format that described packaging system adopts user's appointment encapsulates described sequence of frames of video and described audio frame sequence behind recompile.
Preferably, described system also comprises the storage device for the storage data.
Preferably, described de-encapsulating devices has the decapsulation unit of audio-video document form judging unit, decapsulation selected cell and several different-formats; Wherein, described audio-video document form judging unit is used for the form of the described audio-video document of want decapsulation is judged; Described decapsulation selected cell is selected the described decapsulation unit of corresponding format to the judged result of the form of described audio-video document according to described audio-video document form judging unit; Described decapsulation unit is used for the audio-video document of corresponding format is resolved to described audio frame sequence and described sequence of frames of video.
Preferably, described audio, video data decoding device has the decoder of coded format judging unit, decoder selected cell and several different-formats; Wherein, described coded format judging unit is for the coded format of judging described audio frame sequence; Described decoder selected cell based on the judged result of described coded format, selects corresponding described decoder that described audio frame sequence is decoded; Described decoder, the audio frame that is used for having the described audio frame sequence of corresponding coded format is reduced to the voice data of PCM form.
Preferably, described code device has the encoder of encoder selected cell and several different-formats; Wherein, described encoder selected cell is selected the described encoder with corresponding coded format according to the data of the relevant coded format of described memory device stores; Described encoder is encoded to the voice data of the PCM form of process volume adjusting with corresponding coded format, obtains described audio frame sequence behind recompile.
Preferably, described packaging system comprises the encapsulation unit of encapsulation format selected cell and several different-formats; Wherein, described encapsulation format selected cell is selected to have the described encapsulation unit of corresponding encapsulation format based on the data of the relevant encapsulation format of described memory device stores; Described encapsulation unit encapsulates described sequence of frames of video and described audio frame sequence behind recompile with described corresponding encapsulation format.
The method that the present invention also provides a kind of video volume customization to regulate comprises: the decapsulation step, and audio-video document is carried out decapsulation, thereby described audio-video document is resolved to corresponding audio frame sequence and sequence of frames of video; The voice data decoding step is decoded to described audio frame sequence, and the audio frame in the described audio frame sequence is reduced to the voice data of PCM form; The volume regulating step, the volume adjustment factor of importing according to the user carries out the adjusting of volume to the voice data of described PCM form; Coding step is encoded by the voice data to the PCM form regulated through volume, obtains the audio frame sequence behind recompile; Encapsulation step encapsulates described sequence of frames of video and described audio frame sequence behind recompile.
The step of described volume adjustment factor preferably, is set.
Preferably, in described coding step, adopt the coded format identical with the coded format of the preceding audio frame sequence of decoding that the voice data of the PCM form of process volume adjusting is encoded; In described encapsulation step, adopt the encapsulation format identical with the encapsulation format of the preceding audio-video document of decapsulation that described sequence of frames of video and described audio frame sequence behind recompile are encapsulated.
Preferably, in described coding step, adopt user's specified coding form that the voice data of the PCM form of process volume adjusting is encoded; In described encapsulation step, the encapsulation format that adopts user's appointment encapsulates described sequence of frames of video and described audio frame sequence behind recompile.
Preferably, described decapsulation step comprises: the step that the form of the described audio-video document of decapsulation is judged; Select the step of the decapsulation unit of corresponding format according to the judged result of the form of described audio-video document; The audio-video document of corresponding format is resolved to the step of described audio frame sequence and described sequence of frames of video.
Preferably, described audio, video data decoding step comprises: the step of judging the coded format of described audio frame sequence; Based on the judged result of described coded format, the step of selecting corresponding decoder that described audio frame sequence is decoded; To have the step that audio frame in the described audio frame sequence of corresponding coded format is reduced to the voice data of PCM form.
Preferably, described coding step comprises: the step of selecting to have the encoder of corresponding coded format according to the data of the relevant coded format of memory device stores; With corresponding coded format the voice data of the PCM form of process volume adjusting is encoded, obtain the step of described audio frame sequence behind recompile.
Preferably, described encapsulation step comprises: the step of selecting to have the encapsulation unit of corresponding encapsulation format based on the data of the relevant encapsulation format of described memory device stores; The step that described sequence of frames of video and described audio frame sequence behind recompile is encapsulated with described corresponding encapsulation format.
Technique scheme of the present invention can the user run into sound problem fluctuated sometimes when seeing TV or playing video file from solve prior art.Simultaneously, technical scheme of the present invention has been simplified the operation that the video volume is regulated, and can carry out this video volume in large quantity and regulate processing, thereby can improve the video volume is regulated the efficient of handling and has been reduced corresponding processing cost.
Description of drawings:
The video volume that Fig. 1 relates to for embodiment of the present invention customizes the structured flowchart of regulating system;
The video volume that Fig. 2 relates to for embodiment of the present invention customizes the structured flowchart of the decapsulation module of regulating system;
The video volume that Fig. 3 relates to for embodiment of the present invention customizes the structured flowchart of the voice data decoder module of regulating system;
The video volume that Fig. 4 relates to for embodiment of the present invention customizes the structured flowchart of the coding module of regulating system;
The video volume that Fig. 5 relates to for embodiment of the present invention customizes the structured flowchart of the package module of regulating system;
Fig. 6 regulates flow chart for the video volume customization that embodiment of the present invention relates to;
The flow chart of the step S12 that Fig. 7 relates to for embodiment of the present invention;
The flow chart of the step S13 that Fig. 8 relates to for embodiment of the present invention;
The flow chart of the step S14 that Fig. 9 relates to for embodiment of the present invention;
The flow chart of the step S15 that Figure 10 relates to for embodiment of the present invention;
The flow chart of the step S16 that Figure 11 relates to for embodiment of the present invention.
Embodiment:
Illustrated embodiment is set forth this invention with reference to the accompanying drawings below.The related video volume customization regulating system of embodiment of the present invention can be adjusted the volume of each audio-video document according to user's requirement when a plurality of audio-video documents to different file formats merge.
Fig. 1 has shown the structured flowchart of the video volume customization regulating system that embodiment of the present invention relates to.As shown in Figure 1, above-mentioned video sound volume regulating system comprises audio, video data receiver module 1, decapsulation module 2, voice data decoder module 3, coding module 4, package module 5, memory module 6, adjustment module 7, module 8 and data/address bus 9 is set.Above-mentioned audio, video data receiver module 1, decapsulation module 2, voice data decoder module 3, coding module 4, package module 5, memory module 6, adjustment module 7 and module 8 is set is connected by above-mentioned data/address bus 9.
Above-mentioned audio, video data receiver module 1 is used for receiving the audio, video data with different file formats (for example adopting the audio-video document of forms such as AVI, WMV, RM, RMVB, MOV, TS/PS, MKV respectively) that need merge, and the above-mentioned audio, video data that receives is delivered to above-mentioned decapsulation module 2 carries out corresponding decapsulation.After above-mentioned decapsulation module 2 receives above-mentioned audio, video data from above-mentioned audio, video data receiver module 1, carry out decapsulation according to the corresponding document form of the above-mentioned audio, video data of receiving.In above-mentioned decapsulation process, above-mentioned decapsulation module 2 resolves to corresponding sequence of frames of video and audio frame sequence with audio-video document.Then, above-mentioned decapsulation module 2 is stored in the above-mentioned sequence of frames of video that obtains after the decapsulation and the relevant parameter of above-mentioned audio-video document encapsulation format in the above-mentioned memory module 6, above-mentioned audio frame sequence is delivered to above-mentioned voice data decoder module 3 decodes accordingly.Above-mentioned voice data decoder module 3 is decoded according to the corresponding encoded form of the audio frame sequence of receiving after receiving above-mentioned audio frame sequence from above-mentioned decapsulation module 2.In above-mentioned decode procedure, 3 pairs of above-mentioned audio frame sequence of above-mentioned voice data decoder module are decoded, audio frame in the above-mentioned audio frame sequence is reduced to the voice data of PCM form, and the voice data of above-mentioned PCM form is stored in the above-mentioned memory module 6, until the decoding of finishing all audio frame sequence with the relevant parameter of above-mentioned audio frame sequence coded format.The above-mentioned module 8 that arranges receives the user to the setting of volume adjustment factor, and the volume adjustment factor that receives is stored in the above-mentioned memory module 6.Above-mentioned adjustment module 7 is obtained voice data and the above-mentioned volume adjustment factor of the PCM form of storing from above-mentioned memory module 6, and regulate volume parameters in the voice data of above-mentioned PCM form based on above-mentioned volume adjustment factor, the voice data of regulating the PCM form behind the volume parameters is stored in the above-mentioned memory module 6.Above-mentioned coding module 4 obtains the voice data and the relevant parameter of above-mentioned audio frame sequence coded format of the PCM form behind the above-mentioned adjusting volume parameters from above-mentioned memory module 6, and the voice data of the PCM form after selecting corresponding encoder to above-mentioned adjusting volume parameters according to the relevant parameter of above-mentioned audio frame sequence coded format encodes, compresses, and forms new audio frame sequence and is stored in the memory module 6.Above-mentioned package module 5 obtains the relevant parameter of above-mentioned audio-video document encapsulation format, above-mentioned sequence of frames of video and new audio frame sequence from above-mentioned memory module 6, the relevant parameter according to above-mentioned audio-video document encapsulation format is packaged into new audio-video document with above-mentioned sequence of frames of video and above-mentioned new audio frame sequence then.
The video volume that Fig. 2 relates to for embodiment of the present invention customizes the structured flowchart of the decapsulation module 2 of regulating system.As shown in Figure 2, above-mentioned decapsulation module 2 comprises audio-video document form judging unit 21, decapsulation selected cell 22 and several decapsulation unit 23,24,25 ...Wherein, above-mentioned several decapsulation unit 23,24,25 ... have different forms, can carry out decapsulation corresponding to different file formats.Above-mentioned audio-video document form judging unit 21 can be judged the file format of the audio frequency and video that receive from above-mentioned audio, video data receiver module 1 and obtain the relevant parameter of the file format of above-mentioned audio frequency and video, and the relevant parameter of the file format of above-mentioned audio frequency and video stored in the above-mentioned memory module 6, above-mentioned decapsulation selected cell 22 can be according to the judged result (being the form of audio-video document) of above-mentioned audio-video document form judging unit 21 from decapsulation unit 23,24,25 ... the corresponding decapsulation unit of middle selection is carried out decapsulation to above-mentioned audio-video document, above-mentioned corresponding decapsulation unit (is above-mentioned decapsulation unit 23,24,25 ... one of in) be corresponding sequence of frames of video and audio frame sequence with received above-mentioned audio-video document deblocking, and above-mentioned sequence of frames of video and audio frame sequence are stored in the above-mentioned memory module 6.For example, when the form of audio-video document is respectively the AVI form, the form of 21 pairs of audio-video documents that receive of above-mentioned audio-video document form judging unit judges that above-mentioned decapsulation selected cell 22 selects the decapsulation unit (such as decapsulation unit 23) corresponding with the AVI form to carry out decapsulation based on above-mentioned judged result; If above-mentioned audio-video document form judging unit 21 judges that when the form of the audio-video document that receives was the RM form, above-mentioned decapsulation selected cell 22 selected the decapsulation unit (such as decapsulation unit 24) corresponding with the RM form to carry out decapsulation based on above-mentioned judged result; If above-mentioned audio-video document form judging unit 21 judges that when the form of the audio-video document that receives was the WMV form, above-mentioned decapsulation selected cell 22 selected the decapsulation unit (such as decapsulation unit 25) corresponding with the WMV form to carry out decapsulation based on above-mentioned judged result.
The video volume that Fig. 3 relates to for embodiment of the present invention customizes the structured flowchart of the voice data decoder module 3 of regulating system.As shown in Figure 3, above-mentioned voice data decoder module 3 comprises coded format judging unit 31, decoder selected cell 32 and several decoder 33,34,35 ...Wherein, above-mentioned several decoder 33,34,35 ... can decode corresponding to different decoding requests.Above-mentioned coded format judging unit 31 can judge from the coded format of the audio frame sequence of 2 deblockings of above-mentioned decapsulation module and obtain the relevant parameter of coded format of the audio frame sequence of institute's deblocking, and the relevant parameter of the coded format of above-mentioned audio frame sequence is stored in the above-mentioned memory module 6.Above-mentioned decoder selected cell 32 can be according to the judged result (being the coded format of above-mentioned audio frame sequence) of above-mentioned coded format judging unit 31 from decoder 33,34,35 ... the corresponding decoder of middle selection is decoded to above-mentioned audio frame sequence, above-mentioned corresponding decoder (is above-mentioned decoder 33,34,35 ... one of in) the above-mentioned audio frame sequence of receiving is decoded, audio frame in the above-mentioned audio frame sequence is reduced to the PCM formatted data, and above-mentioned PCM formatted data is temporarily stored in the memory module 6.For example, if above-mentioned coded format judging unit 31 is judged when the coded format of above-mentioned audio frame sequence is the MP3 coded format, above-mentioned decoder selected cell 32 selects the decoder (such as decoder 33) corresponding with the MP3 coded format to decode, in the temporary memory module 6 of decoded PCM formatted data; If above-mentioned coded format judging unit 31 is judged when the coded format of above-mentioned audio frame sequence is the ACC coded format, above-mentioned decoder selected cell 32 selects the decoder (such as decoder 34) corresponding with the ACC coded format to decode, in the temporary memory module 6 of decoded PCM formatted data; If above-mentioned coded format judging unit 31 is judged when the coded format of above-mentioned audio frame sequence is the AC-3 coded format, above-mentioned decoder selected cell 32 selects the decoder (such as decoder 35) corresponding with the AC-3 coded format to decode, in the temporary memory module 6 of decoded PCM formatted data.
The video volume that Fig. 4 relates to for embodiment of the present invention customizes the structured flowchart of the coding module 4 of regulating system.As shown in Figure 4, above-mentioned coding module 4 comprises encoder selected cell 41, several encoders 42,43,44 ...Above-mentioned encoder selected cell 41 can obtain from above-mentioned memory module 6 through above-mentioned adjustment module 7 and carry out new PCM formatted data and the coded format parameter of the former audio frame sequence of storage wherein after volume is regulated.It (is above-mentioned encoder 42,43,44 that above-mentioned encoder selected cell 41 is selected corresponding encoder according to the coded format parameter of above-mentioned former audio frame sequence ... one of in) carry out recompile to above-mentioned through decoded PCM formatted data, form new audio frame sequence, and new audio frame sequence is stored in the above-mentioned memory module 6.
The video volume that Fig. 5 relates to for embodiment of the present invention customizes the structured flowchart of the package module 5 of regulating system.As shown in Figure 5, above-mentioned package module 5 comprises encapsulation format selected cell 51 and several encapsulation units 52,53,54 ...Wherein, above-mentioned several encapsulation units 52,53,54 ... have different encapsulation format, can encapsulate corresponding to the requirement of different encapsulation format.
Above-mentioned encapsulation format selected cell 51 obtains the relevant parameter of above-mentioned audio-video document encapsulation format, above-mentioned sequence of frames of video, new audio frame sequence and (is encapsulation unit 52,53,54 according to the corresponding encapsulation unit of the related parameter choosing of above-mentioned audio-video document encapsulation format from above-mentioned memory module 6 ... one of in) above-mentioned sequence of frames of video and new audio frame sequence are encapsulated the audio-video document after obtaining to regulate.
In the above-described embodiment, above-mentioned coding module 4 and above-mentioned package module 5 can also be selected corresponding coded format and encapsulation format according to user's demand.
Fig. 6 regulates flow chart for the video volume customization that embodiment of the present invention relates to.Below, customize the processing procedure of regulating with reference to Fig. 6 explanation in the video volume that present embodiment relates to.
At first, the input audio-video document, above-mentioned audio, video data receiver module 1 receives above-mentioned audio-video document data and it is delivered to above-mentioned decapsulation module 2(step S11).2 pairs of above-mentioned audio-video document data of above-mentioned decapsulation module are carried out decapsulation, above-mentioned audio-video document data are resolved to sequence of frames of video and audio frame sequence, and the relevant parameter of the encapsulation format of above-mentioned sequence of frames of video and audio frame sequence and former audio-video document is stored in the above-mentioned memory module 6 (step S12).
Above-mentioned voice data decoder module 3 obtains above-mentioned audio frame sequence from above-mentioned memory module 6, audio frame in the above-mentioned audio frame sequence is reduced to the PCM formatted data, and the relevant parameter of the coded format of above-mentioned PCM formatted data and former audio frame sequence is stored in the above-mentioned memory module 6 (step S13).
Above-mentioned adjustment module 7 according to the user by the above-mentioned volume adjustment factor that module 8 input is set, the PCM formatted data is carried out the adjusting of volume, obtain the PCM formatted data after volume is regulated, and the PCM formatted data after volume is regulated is stored in the above-mentioned memory module 6 (step S14)
Above-mentioned coding module 4 obtains the relevant parameter of the coded format of PCM formatted data after volume is regulated and former audio frame sequence from above-mentioned memory module 6, and according to the relevant parameter of the coded format of former audio frame sequence the PCM formatted data after regulating through volume is encoded, form new audio frame sequence and store in the above-mentioned memory module 6 (step S15).
Above-mentioned package module 5 obtains the relevant parameter of the encapsulation format of sequence of frames of video, new audio frame sequence and former audio-video document from above-mentioned memory module 6, and encapsulate according to the relevant parameter of the encapsulation format of former audio-video document, form new audio-video document (step S16).
The video volume that Fig. 7 relates to for embodiment of the present invention customizes the flow chart of the step S12 that regulates.Below, the audio-video document that explanation relates in present embodiment with reference to Fig. 7 carries out the decapsulation processing procedure.
Audio file formats judging unit 21 is judged the encapsulation format of the audio-video document that receives based on the audio-video document data that receive, judged result is transported to decapsulation selected cell 22(step 121), the relevant parameter with the encapsulation format of former audio-video document stores in the above-mentioned memory module 6 (step 122) simultaneously.Above-mentioned decapsulation selected cell 22 is selected corresponding decapsulation unit (step 123) based on above-mentioned judged result.For example, above-mentioned audio-video document data can be encapsulation format such as AVI, WMV, RM, RMVB, MOV, TS/PS, MKV, and above-mentioned corresponding decapsulation unit can be carried out decapsulation to the audio-video document data of above-mentioned corresponding encapsulation format.Above-mentioned decapsulation unit (is decapsulation unit 23,24,25 ... one of in) above-mentioned audio-video document data are carried out decapsulation, above-mentioned audio-video document data are resolved to sequence of frames of video and audio frame sequence (step 124), and sequence of frames of video and audio frame sequence are stored in the above-mentioned memory module 6 (step 125).
The video volume that Fig. 8 relates to for embodiment of the present invention customizes the flow chart of the step S13 that regulates.Below, explanation is carried out decoding process what present embodiment related to voice data with reference to Fig. 8.
The coded format of the audio frame sequence after 31 pairs of decapsulations of coded format judging unit (for example MP3, AAC, AC-3 etc.) is judged, and judged result is transported to decoder selected cell 32(step 131), the relevant parameter with the coded format of audio frame sequence stores in the above-mentioned memory module 6 (step 132) simultaneously.Above-mentioned decoder selected cell 32 is selected based on above-mentioned judged result and the corresponding decoder of above-mentioned coded format is decoded (step 133), above-mentioned decoder (is decoder 33,34,35 ... one of in) audio frame in the above-mentioned audio frame sequence is reduced to PCM formatted data (step 134), and above-mentioned PCM formatted data is stored in the memory module 6 (step 135).
The video volume that Fig. 9 relates to for embodiment of the present invention customizes the flow chart of the step S14 that regulates.Below, the processing procedure that volume is regulated that relates in present embodiment with reference to Fig. 9 explanation.
At first, adjustment module 7 is obtained above-mentioned PCM formatted data (step S140) from above-mentioned memory module 6, and judges whether to receive the indication (step S141) of carrying out the volume adjusting.When user's judgement need be regulated the volume of current video file (step S141: be), import the indication (step S142) that to carry out the volume adjusting by the above-mentioned module 8 that arranges.Above-mentioned adjustment module 7 is received and need be carried out the indication that volume is regulated, the prompting user imports the volume adjustment factor, above-mentioned user imports the volume adjustment factors based on the prompting of above-mentioned input volume adjustment factor by module 8 is set, and the simultaneously above-mentioned module 8 that arranges stores the volume adjustment factor of importing in the above-mentioned memory module 6 into.Above-mentioned adjustment module 7 judges whether the user imports volume adjustment factor (step S143).(step S143: not), above-mentioned adjustment module 7 is in wait state and imports the volume adjustment factor until the user if the user does not import the volume adjustment factor.If the user has imported volume adjustment factor (step S143: be), above-mentioned adjustment module 7 is regulated (step S144) based on above-mentioned volume adjustment factor to the volume of current video file, exports the PCM formatted data after regulating volume then and is stored in the above-mentioned memory module 6 (step S145).
In step S141, (step S141: not), then directly enter step S145 output PCM formatted data when the user judges that volume to current video file does not need to regulate.
In the present embodiment, the span of above-mentioned volume adjustment factor can be set at 0~10, and wherein, 0 expression is quiet, reduces the multiple of volume greater than 0 less than 1 expression, and 1 expression keeps volume constant, increases the multiple of volume greater than 1 expression.For example, when the user need increase volume, by module 8 input volume adjustment factors 1.2 are set, the above-mentioned module 8 of arranging receives above-mentioned volume adjustment factors 1.2 and is stored in the above-mentioned memory module 6, and above-mentioned adjustment module 7 is obtained above-mentioned volume adjustment factor 1.2 and the volume of current video file is increased 1.2 times from above-mentioned memory module 6 then.If the value of original 2B was 0x37, the coefficient value by input is 1.2 to increase volume, and then the value after its multiplication is 0x42.
The flow chart of the step S15 that Figure 10 encodes for the PCM formatted data to regulating after the volume that embodiment of the present invention relates to.Below, with reference to Figure 10 explanation present embodiment relate to the PCM formatted data processing procedure of encoding.
Encoder selected cell 41 from above-mentioned memory module 6, obtain above-mentioned after regulating volume the PCM formatted data and the relevant parameter (step S151) of the coded format of above-mentioned former audio frame sequence.Encoder selected cell 41 is based on the corresponding encoder of the related parameter choosing of the coded format of above-mentioned former audio frame sequence (step S152).Above-mentioned chosen encoder is encoded to above-mentioned PCM formatted data after regulating volume, obtaining new audio frame sequence (step S153), and the new audio frame sequence that obtains is stored in (step S154) in the memory module 6.
The flow chart of the step S16 that sequence of frames of video and new audio frame sequence are encapsulated that Figure 11 relates to for embodiment of the present invention.Below, explanation is carried out the encapsulation process process what present embodiment related to sequence of frames of video and new audio frame sequence with reference to Figure 11.
Above-mentioned encapsulation format selected cell 51 obtains the relevant parameter (step S161) of the encapsulation format of sequence of frames of video, new audio frame sequence and former audio-video document from above-mentioned memory module 6.Above-mentioned encapsulation format selected cell 51 is based on the related parameter choosing of the encapsulation format of former audio-video document and the corresponding encapsulation unit of encapsulation format (step S162) of former audio-video document, above-mentioned encapsulation unit encapsulates again to above-mentioned sequence of frames of video and above-mentioned new audio frame sequence, formation has the new audio-video document (step S163) identical with the encapsulation format of former audio-video document, and exports new audio-video document (step S164).
In the present embodiment, in step 15, adopt the coded format identical with the coded format of former audio frame sequence that the PCM formatted data after regulating through volume is encoded.But the present invention is not limited to this, also can adopt user's specified coding form that the PCM formatted data after regulating through volume is encoded in step 15.
In the present embodiment, in step 16, adopt the encapsulation format identical with the encapsulation format of former audio-video document that sequence of frames of video and new audio frame sequence are encapsulated.But the present invention is not limited to this, also can adopt the encapsulation format of user's appointment that sequence of frames of video and new audio frame sequence are encapsulated in step 15.
Should understand embodiment described in the above specification and embodiment only is used for explanation the present invention and is not used in and limits the scope of the invention.After having read the present invention, those skilled in the art all fall within the application's claims institute restricted portion to the modification of various equivalents of the present invention.

Claims (19)

1. a video volume customizes the system that regulates, and comprising:
De-encapsulating devices is used for audio-video document is carried out decapsulation, thereby described audio-video document is resolved to corresponding audio frame sequence and sequence of frames of video;
Audio data decoding apparatus is used for described audio frame sequence is decoded, and the audio frame in the described audio frame sequence is reduced to the voice data of PCM form;
Volume adjustment device, the volume adjustment factor of importing according to the user carries out the adjusting of volume to the voice data of described PCM form;
Code device is encoded by the voice data to the PCM form regulated through described volume adjustment device, obtains the audio frame sequence behind recompile;
Packaging system is used for described sequence of frames of video and described audio frame sequence behind recompile are encapsulated.
2. system according to claim 1 is characterized in that:
The scope of described volume adjustment factor is between 0~10.
3. system according to claim 2 also comprises:
Volume adjustment factor setting device is used for arranging described volume adjustment factor.
4. system according to claim 3 is characterized in that:
Described code device adopts the coded format identical with the coded format of the preceding audio frame sequence of decoding that the voice data of the PCM form of the described volume adjustment device adjusting of process is encoded;
Described packaging system adopts the encapsulation format identical with the encapsulation format of the preceding audio-video document of decapsulation that described sequence of frames of video and described audio frame sequence behind recompile are encapsulated.
5. system according to claim 3 is characterized in that:
Described code device adopts user's specified coding form that the voice data of the PCM form of the described volume adjustment device adjusting of process is encoded;
The encapsulation format that described packaging system adopts user's appointment encapsulates described sequence of frames of video and described audio frame sequence behind recompile.
6. according to the arbitrary described system of claim 1~5, also comprise:
The storage device that is used for the storage data.
7. system according to claim 6 is characterized in that:
Described de-encapsulating devices has the decapsulation unit of audio-video document form judging unit, decapsulation selected cell and several different-formats; Wherein,
Described audio-video document form judging unit is used for the form of the described audio-video document of want decapsulation is judged;
Described decapsulation selected cell is selected the described decapsulation unit of corresponding format to the judged result of the form of described audio-video document according to described audio-video document form judging unit;
Described decapsulation unit is used for the audio-video document of corresponding format is resolved to described audio frame sequence and described sequence of frames of video.
8. system according to claim 7 is characterized in that:
Described audio, video data decoding device has the decoder of coded format judging unit, decoder selected cell and several different-formats; Wherein,
Described coded format judging unit is for the coded format of judging described audio frame sequence;
Described decoder selected cell based on the judged result of described coded format, selects corresponding described decoder that described audio frame sequence is decoded;
Described decoder, the audio frame that is used for having the described audio frame sequence of corresponding coded format is reduced to the voice data of PCM form.
9. system according to claim 8 is characterized in that:
Described code device has the encoder of encoder selected cell and several different-formats; Wherein,
Described encoder selected cell is selected the described encoder with corresponding coded format according to the data of the relevant coded format of described memory device stores;
Described encoder is encoded to the voice data of the PCM form of process volume adjusting with corresponding coded format, obtains described audio frame sequence behind recompile.
10. system according to claim 9 is characterized in that:
Described packaging system comprises the encapsulation unit of encapsulation format selected cell and several different-formats; Wherein,
Described encapsulation format selected cell is selected to have the described encapsulation unit of corresponding encapsulation format based on the data of the relevant encapsulation format of described memory device stores;
Described encapsulation unit encapsulates described sequence of frames of video and described audio frame sequence behind recompile with described corresponding encapsulation format.
11. the method that the customization of video volume is regulated comprises:
The decapsulation step is carried out decapsulation to audio-video document, thereby described audio-video document is resolved to corresponding audio frame sequence and sequence of frames of video;
The voice data decoding step is decoded to described audio frame sequence, and the audio frame in the described audio frame sequence is reduced to the voice data of PCM form;
The volume regulating step, the volume adjustment factor of importing according to the user carries out the adjusting of volume to the voice data of described PCM form;
Coding step is encoded by the voice data to the PCM form regulated through volume, obtains the audio frame sequence behind recompile;
Encapsulation step encapsulates described sequence of frames of video and described audio frame sequence behind recompile.
12. method according to claim 11 is characterized in that:
The scope of described volume adjustment factor is between 0~10.
13. method according to claim 12 also comprises:
The step of described volume adjustment factor is set.
14. method according to claim 13 is characterized in that:
In described coding step, adopt the coded format identical with the coded format of the preceding audio frame sequence of decoding that the voice data of the PCM form of process volume adjusting is encoded;
In described encapsulation step, adopt the encapsulation format identical with the encapsulation format of the preceding audio-video document of decapsulation that described sequence of frames of video and described audio frame sequence behind recompile are encapsulated.
15. method according to claim 13 is characterized in that:
In described coding step, adopt user's specified coding form that the voice data of the PCM form of process volume adjusting is encoded;
In described encapsulation step, the encapsulation format that adopts user's appointment encapsulates described sequence of frames of video and described audio frame sequence behind recompile.
16. according to the arbitrary described method of claim 11~15, it is characterized in that:
Described decapsulation step comprises:
The step that the form of the described audio-video document of want decapsulation is judged;
Select the step of the decapsulation unit of corresponding format according to the judged result of the form of described audio-video document;
The audio-video document of corresponding format is resolved to the step of described audio frame sequence and described sequence of frames of video.
17. method according to claim 16 is characterized in that:
Described audio, video data decoding step comprises:
Judge the step of the coded format of described audio frame sequence;
Based on the judged result of described coded format, the step of selecting corresponding decoder that described audio frame sequence is decoded;
To have the step that audio frame in the described audio frame sequence of corresponding coded format is reduced to the voice data of PCM form.
18. method according to claim 17 is characterized in that:
Described coding step comprises:
Select to have the step of the encoder of corresponding coded format according to the data of the relevant coded format of memory device stores;
With corresponding coded format the voice data of the PCM form of process volume adjusting is encoded, obtain the step of described audio frame sequence behind recompile.
19. method according to claim 18 is characterized in that:
Described encapsulation step comprises:
Select to have the step of the encapsulation unit of corresponding encapsulation format based on the data of the relevant encapsulation format of described memory device stores;
The step that described sequence of frames of video and described audio frame sequence behind recompile is encapsulated with described corresponding encapsulation format.
CN2013101191571A 2013-03-29 2013-04-08 System and method for video volume custom adjustment Pending CN103200371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013101191571A CN103200371A (en) 2013-03-29 2013-04-08 System and method for video volume custom adjustment

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201310107293.9 2013-03-29
CN201310107293 2013-03-29
CN2013101191571A CN103200371A (en) 2013-03-29 2013-04-08 System and method for video volume custom adjustment

Publications (1)

Publication Number Publication Date
CN103200371A true CN103200371A (en) 2013-07-10

Family

ID=48722715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013101191571A Pending CN103200371A (en) 2013-03-29 2013-04-08 System and method for video volume custom adjustment

Country Status (1)

Country Link
CN (1) CN103200371A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109819314A (en) * 2019-03-05 2019-05-28 广州酷狗计算机科技有限公司 Audio/video processing method, device, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020051493A1 (en) * 2000-06-26 2002-05-02 Shin Jae-Seob Moving picture mailing system and method
US20050201723A1 (en) * 2003-12-16 2005-09-15 Nokia Corporation Method and device for compressed-domain video editing
CN101247526A (en) * 2008-03-18 2008-08-20 天津大学 Sound volume equalization regulation and its application method based on digital television code stream
CN101489070A (en) * 2009-02-17 2009-07-22 华为技术有限公司 Television volume regulating method, apparatus and system
CN101674450A (en) * 2008-09-10 2010-03-17 深圳市邦彦信息技术有限公司 Sound mixing method in video directing and scheduling system
CN102014262A (en) * 2010-10-27 2011-04-13 杭州海康威视软件有限公司 Hard disk video recorder and system and method for converting multimedia formats

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020051493A1 (en) * 2000-06-26 2002-05-02 Shin Jae-Seob Moving picture mailing system and method
US20050201723A1 (en) * 2003-12-16 2005-09-15 Nokia Corporation Method and device for compressed-domain video editing
CN101247526A (en) * 2008-03-18 2008-08-20 天津大学 Sound volume equalization regulation and its application method based on digital television code stream
CN101674450A (en) * 2008-09-10 2010-03-17 深圳市邦彦信息技术有限公司 Sound mixing method in video directing and scheduling system
CN101489070A (en) * 2009-02-17 2009-07-22 华为技术有限公司 Television volume regulating method, apparatus and system
CN102014262A (en) * 2010-10-27 2011-04-13 杭州海康威视软件有限公司 Hard disk video recorder and system and method for converting multimedia formats

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109819314A (en) * 2019-03-05 2019-05-28 广州酷狗计算机科技有限公司 Audio/video processing method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN103248950A (en) System and method for customizing video frame rate
CN103237258A (en) System and method for automatically adjusting video volume
US9667685B2 (en) Systems and methods for encoding and decoding
AU2015266343B2 (en) Data processor and transport of user control data to audio decoders and renderers
US20230335146A1 (en) Audio decoder, apparatus for generating encoded audio output data and methods permitting initializing a decoder
US8966101B2 (en) Systems and methods for updating firmware over a network
RU2509424C2 (en) Data stream authentication
CN103200425A (en) Device and method of multimedia processing
EP3399763A1 (en) Method and system for haptic data encoding
CN101204015B (en) Method and apparatus for providing a motion signal with a sound signal using an existing sound signal encoding format
US8723703B2 (en) Method and apparatus for encoding and decoding structured data
CN103237259A (en) Audio-channel processing device and audio-channel processing method for video
CN111510756A (en) Audio and video switching method and device, computer equipment and readable storage medium
WO2013158787A1 (en) Server side crossfade for progressive download media
US20230362224A1 (en) Systems and methods for encoding and decoding
KR20170021837A (en) Method and device for managing multimedia data
MX2012011802A (en) Method and encoder and decoder for gap - less playback of an audio signal.
CN110800049B (en) Encoding system and decoding system
KR20230129569A (en) Audio decoder, audio encoder, method for providing a decoded audio signal, method for providing an encoded audio signal, audio stream, audio stream provider and computer program using a stream identifier
US20130188739A1 (en) Systems and methods for encoding, sharing, and decoding of multimedia
WO2014006375A1 (en) Simultaneous encoding and sending of a video data file
US11368745B2 (en) Processing media data structures
CN103200371A (en) System and method for video volume custom adjustment
US20180020043A1 (en) Method for playing audio/video and display device
CN105376641A (en) Device and method for streaming audio and video file

Legal Events

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

Application publication date: 20130710

RJ01 Rejection of invention patent application after publication