Hello there, i wanted to know if there is possible to copy audio through avisynth script+ffmpeg encoding. When i load script in FFMpeg it show me audio input of "pcm_s16le" when the original source is AAC, so i dont know exactly where it's being converted from AAC to pcm_s16le and if i can avoid it and copy it directly without reeconding the audio.
+ Reply to Thread
Results 1 to 4 of 4
avs frameserves uncompressed audio and video, so you can't "stream copy" from avs
The solution is to use 2 inputs and -map . video with the avs, audio copied directly from the actual source
-map 0:0 means first input, first stream . -map 1:1 means 2nd input 2nd stream (starting from zero, so track 1 is usually the audio)
eg. it will look something like this
ffmpeg -i input.avs -i input.mp4 -map 0:0 -map 1:1 -c:v libx264 -c:a copy output.mp4
Thanks for the information. I'm using batch encoding, can this work in that way too?
Anything that can be done through CLI should be possible with the proper batch script.