Page 1 of 1
AVS Audio Channels
Posted: Tue Oct 01, 2019 2:04 am
by d3l
Any tips on identifying the audio channel count (ie 2,8 etc) from an AVS script as input. Seems like once you touch the 'a/v media' node, the downstream (internal avs) is 32 ch. Ultimately I am trying to navigate the input script to the proper output with a simple conditional variable.
I have a feeling that I am missing something completely obvious...
Re: AVS Audio Channels
Posted: Tue Oct 01, 2019 9:01 am
by emcodem
Hey d3l,
afaik you are correct, after the A/V media node, the info about the original number of channels is lost. We would need variables for the "original_media_properties" for that.
maybe @admin knows a better way but the only way i currently see to access the original channels is to save them to a user_variable.
Let me know if you need help with that.
Re: AVS Audio Channels
Posted: Tue Oct 01, 2019 10:18 am
by admin
Hi d3l, thank you for using FFAStans and welcome to the forum!
Currently you need to save the total channel count (%i_tot_channels%) in another variable before the "A/V Media" decoder.
The next release will let you output the same channel count as the original when using the "A/V Media" decoder.
-steinar
Re: AVS Audio Channels
Posted: Tue Oct 01, 2019 3:37 pm
by d3l
Thanks, let me give it a go. I'll reach out if I hit a wall (which is highly likely
)