Page 1 of 1

Problem with {af} outputting 17 and 18ch

Posted: 03 Nov 2016, 02:28
by stephen147
See attached only 2mb of 2xfiles that are causing the problem.

https://we.tl/HQorITQXTE

And screenshot:
Image

I hope posting those two short snippets is not a problem. Please remove link after checking if so.

{af} and {channels}

Posted: 03 Nov 2016, 08:06
by rednoah
MediaInfo says:

Code: Select all

Channel(s)	6
Channel(s)/String	6 channels
Channel(s)_Original	18
Channel(s)_Original/String	18 channels
ChannelPositions	Front: 14, Side: L R, LFE= 2
ChannelPositions/String2	14/2/0.1
{af} and {channels} is based on Channel(s)_Original and ChannelPositions/String2 respectively.

If you want to use Channel(s) then you can access that directly via {audio[0].channels}.

Re: Problem with {af} outputting 17 and 18ch

Posted: 03 Nov 2016, 18:28
by stephen147
Thanks. That wasn't showing in the preview. Cheers.

Using now:

Code: Select all

{audio[0].channels.replaceAll(/2/, "2ch").replaceAll(/6/, "5.1ch")}

Re: Problem with {af} outputting 17 and 18ch

Posted: 03 Nov 2016, 18:34
by rednoah
If you click the MediaInfo / Properties button Image next to the file path then you will see what MediaInfo / FileBot sees. ;)

Re: Problem with {af} outputting 17 and 18ch

Posted: 03 Nov 2016, 18:42
by stephen147
Now, I see that. This programs keeps on giving.

Bout time i made a donation for all your hard work.

EDIT:
I donated 10€. i didn't put my name in the note. Just done that there now.