20230918 Use ffmpeg to convert mka audio to AAC encoding for recognition by PR2023

20230918 Use ffmpeg to convert mka audio to AAC encoding for PR2023 to recognize
2023/9/18 20:58


ffmpeg -i 1.mka -acodec aac 1.mp4


ffmpeg -i 1.mka -vn -c:a aac 2.aac
ffmpeg -i 1.mka -vn -c:a aac 2.MP4


ffmpeg mka to aacmp4

https://avmedia.0voice.com/?id=42526
Use ffmpeg to convert mka format to aac format
Author: Audio and Video Technology Column: Public 2023-06-03 09:33267
Use ffmpeg to convert mka format to aac format command as follows:

ffmpeg -i input.mka -vn -c:a aac output.aac
Explain this command:

-i input.mka: Specify the input file to be converted.
-vn: Indicates that no video stream is required, only audio stream is required.
-c:a aac: Specifies the output audio encoding as AAC.
output.aac: Specify the output file name.
After execution, an audio file in AAC format will be generated in the current directory.

It should be noted that FFmpeg must be installed on the computer in advance to use this command.


Reference:
https://blog.csdn.net/wb4916/article/details/132153903
20230807 Convert DTS encoded AUDIO audio to AAC encoding through ffmpeg


https://www.zhihu.com/question/35031045
When using mkvtomp4 to transcode a movie, there is noise when converting the DTS audio track to AAC. What should I do?
Especially low-pitched, explosive and other sounds can be reproduced with noise. Is there any more professional software that can convert DTS to AAC?

@@@@@@@@@@@@@@@@@@@@@@@Dividing line@@@@@@@@@@@@@@@@@@@@@@@@@ @@
B: If the audio track is not AAC, install it to AAC.
System requirements: OS X + ffmpeg. It is assumed that the audio file to be converted is DTS encoded and has a .wav suffix.
Open the terminal, enter and press Enter,
cd /The path of the dts audio file to be converted
for file in *.wav; do name=$(echo $file | sed "s/\\.wav//g"); ffmpeg -acodec dts -i "$name".wav -vn -sn -ac 2 -acodec aac "$name".m4a; done
can recode all .wav files in this path into AAC. At this point, the answer is complete, applause!
For those who need advanced understanding, please read below
to briefly explain the meaning of some codes,
for file in *.wav; for all files with .wav suffix
do name=$(echo $file | sed "s/\\. wav//g"); Use name to represent their file names (without suffix)
-acodec dts The decoder for decoding the source file is dts
-i "$name".wav The input file is named name and the suffix is ​​wav File
-acodec aac The encoder used for recoding is aac
"$name".m4a The output file is a file with the file name name and the suffix m4a
If you want to use Appleloseless AAC encoding, or want to use flac encoding, just change -acodec aac to -acodec alac or -acodec flac.
In addition to the large number of codecs that come with the powerful FFMPEG, you can also download the source code yourself and compile other codecs, such as faac encoder, faad2 decoder, etc. Facing the various needs of different devices such as Win, Mac, iOS, PSP, iPod, etc., FFMPEG can be said to be able to recruit, fight and win when it comes. Of course, FFMPEG can also encode video. If the question is not asked, I will skip it here. In fact, I know that the powerful FFMPEG can realize the functions of A and C...but I don't know how to T_T
@@@@@@@@@@@@@@@@@@@@@ dividing line@@ @@@@@@@@@@@@@@@@@@@@@@@


 

Guess you like

Origin blog.csdn.net/wb4916/article/details/132996621