View Single Post
Old 26th March 2018, 08:25   #16  |  Link
zdoe
Registered User
 
Join Date: Mar 2018
Posts: 9
Quote:
Originally Posted by poisondeathray View Post
To load the audio, it depends on the audio configuration . You have to load each track with FFAudioSource, and specify the track number. You can use mergechannels() to send them or you might want to down mix them to stereo since it looks like you're using 2ch aac

For example 4channel mono
Code:
FFVideoSource("blah.mxf")
#whatever video filters here, depan etc...
vid=last

aud1=FFAudioSource("blah.mxf", track=1)
aud2=FFAudioSource("blah.mxf", track=2)
aud3=FFAudioSource("blah.mxf", track=3)
aud4=FFAudioSource("blah.mxf", track=4)

aud=mergechannels(aud1,aud2,aud3,aud4)
audiodub(vid,aud)
If you send 4ch in the avs script, you can also use -map in ffmepg to select specific channels

Yes, it's possible to do recursive subfolders with ffmpeg batch . There are some examples posted at videohelp.com and I think here too
great - it works! yes, i'd like only one stereo track on the result. e.g. channel 1 clean, channels 2,3 mixed together, drop channel 4.

the mergechannels above seems to NOT merge, but to somehow bundle the tracks together.

as for the recursive batch - does avisynth do variables?
zdoe is offline   Reply With Quote