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.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 4 of 4
Thread
-
-
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
Code: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.
Similar Threads
-
Audio speed distorsion when using an avisynth script
By kaskaļ in forum Newbie / General discussionsReplies: 5Last Post: 31st Jan 2017, 09:33 -
Need help with ffmpeg script to batch convert audio in MKV files
By mikeveli20 in forum AudioReplies: 5Last Post: 18th Nov 2016, 14:21 -
Help with avisynth script please - mpeg audio
By pooksahib in forum Video ConversionReplies: 6Last Post: 24th Oct 2016, 11:54 -
Avisynth Script audio problem
By Mr_Flintstone in forum Video ConversionReplies: 12Last Post: 20th Apr 2014, 00:01 -
Encoding AAC Audio from an Avisynth script
By pengy in forum AudioReplies: 3Last Post: 6th Sep 2012, 14:09