13.06.2019, 10:41
Yes, I added the Path of the ffmpeg into Environment Variables: D:\ffmpeg\bin. So I can directly use ffmpeg without specific path. And the following script works fine because the input video just contains aac.
Actually, ffmpeg does make eac3 contained in mp4 if you choose to encode aac(ac3, dts, etc.) to eac3 other than directly copy the eac3 when muxing(I haven't yet find any program which can directly mux h264 and eac3 into mp4 without any transcoding). But I don't know how to make the ffmpeg decode dts and I know it has something to do with the input file everytime it says "No such file or directory": It's just because ffmpeg can't achieve what I want it to do or it can't work without enabling some hidden or experimental functions(For example, you have to add "-strict -2" before the name of output file if you want to encode dts or just mux flac into mp4)
The scripts above work fine all except the last one. Still don't know what's wrong with my ffmpeg.
Quote:ffmpeg -i G:\E3_Ubi_ACO_1.mp4 -c:a eac3 -ac 6 -b:a 640k -c:v copy eac3.mp4
Actually, ffmpeg does make eac3 contained in mp4 if you choose to encode aac(ac3, dts, etc.) to eac3 other than directly copy the eac3 when muxing(I haven't yet find any program which can directly mux h264 and eac3 into mp4 without any transcoding). But I don't know how to make the ffmpeg decode dts and I know it has something to do with the input file everytime it says "No such file or directory": It's just because ffmpeg can't achieve what I want it to do or it can't work without enabling some hidden or experimental functions(For example, you have to add "-strict -2" before the name of output file if you want to encode dts or just mux flac into mp4)
Quote:ffmpeg -i D:\BaiduNetdiskDownload\video.mp4 -i D:\BaiduNetdiskDownload\audio.flac -c:v copy -c:a copy -strict -2 -strict experimental output.mp4
Quote:ffmpeg -i G:\E3_Ubi_ACO_1.mp4 -c:a dts -b:a 640k -c:v copy -strict -2 dts.mp4
Quote:ffmpeg -i G:\00000_T2_Audio - English.dts -c:a aac -b:a 640k -c:v copy dts.aac
The scripts above work fine all except the last one. Still don't know what's wrong with my ffmpeg.