Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有大量 x264+AAC MP4 文件。我编写了一个音频过滤器,它对 PCM wav 文件进行操作,我想将其应用于我所有视频的音频,用过滤后的版本替换现有的音频。
我最终用一个 DOS 批处理文件和 FFMPEG 完成了这个:
ffmpeg -i "%~f1" "%~f1.wav" audiofilter "%~f1.wav" ffmpeg -i "%~f1" -i "%~f1.wav" -vcodec copy -acodec libvo_aacenc "%~f1.complete.mp4" move /Y "%~f1.complete.mp4" "%~f1"