Re-Map 16 Mono to 8 Stereo

Questions and answers on how to get the most out of FFAStrans
graham728
Posts: 76
Joined: Sat Oct 13, 2018 10:54 pm

Re-Map 16 Mono to 8 Stereo

Post by graham728 »

Hi,

I'm trying to figure out how to re-map an MXF with 16 mono tracks to 8 stereo.

I've attached screengrabs of how the 16 mono looks in Premiere and how it looks after manually re-mapping to 8 stereo in Premiere.

I'd like to create a watch folder that does this outside of Premiere.

I've tried setting the encoder to 8 16-8 Stereo with no luck.
Attachments
Encoder Setting
Encoder Setting
1.png (86.89 KiB) Viewed 2173 times
16 Mono In Premiere
16 Mono In Premiere
2.png (118.03 KiB) Viewed 2173 times
16 Mono - Re-Mapped To 8 Stereo
16 Mono - Re-Mapped To 8 Stereo
3.png (106.11 KiB) Viewed 2173 times
emcodem
Posts: 1652
Joined: Wed Sep 19, 2018 8:11 am

Re: Re-Map 16 Mono to 8 Stereo

Post by emcodem »

hey graham,

just tried it out: created a 16mono tracks file using the inbuilt xavc encoder, then reset the same job to create 8stereo, discrete tracks 8, total channels 16 setting. Cannot reproduce a problem here. What you mean with "no luck"?
emcodem, wrapping since 2009 you got the rhyme?
graham728
Posts: 76
Joined: Sat Oct 13, 2018 10:54 pm

Re: Re-Map 16 Mono to 8 Stereo

Post by graham728 »

Hi,

With the encoder set to Discrete Channels 8 - Total Channels 16 (8 Stereo) - The inputted 16 Mono MXF exports the same as 16 Mono.

See attached how the exported file looks in Premiere.
Attachments
Tracks 1+2 are on separate tracks. Stereo tracks in Premiere sit on one track.
Tracks 1+2 are on separate tracks. Stereo tracks in Premiere sit on one track.
6.png (70.96 KiB) Viewed 2138 times
Premiere States The File Is Still Mono.
Premiere States The File Is Still Mono.
4.png (14.65 KiB) Viewed 2138 times
emcodem
Posts: 1652
Joined: Wed Sep 19, 2018 8:11 am

Re: Re-Map 16 Mono to 8 Stereo

Post by emcodem »

OK so let's align our tests.
Here the workflow i used for creating 8 stereo:
emcodem_8stereo.json
(5.12 KiB) Downloaded 112 times
Here a source file i created with 16 mono tracks:
16ch_short.mxf.txt
(671.54 KiB) Downloaded 123 times
If i submit this source file to the workflow, according to mediainfo the output has 8 stereo tracks. Can you reproduce that?
emcodem, wrapping since 2009 you got the rhyme?
graham728
Posts: 76
Joined: Sat Oct 13, 2018 10:54 pm

Re: Re-Map 16 Mono to 8 Stereo

Post by graham728 »

Thanks for uploading that.

I've run the MXF file I have through it with the same result.

See below.
Attachments
How source file (pre-workflow) is shown in Premiere - 16 channel mapped to 16 mono
How source file (pre-workflow) is shown in Premiere - 16 channel mapped to 16 mono
01.png (6.87 KiB) Viewed 2066 times
Meda Info of source file.
Meda Info of source file.
02.png (70.05 KiB) Viewed 2066 times
How file looks in Premiere after the workflow - marked with _StereoOutput.
How file looks in Premiere after the workflow - marked with _StereoOutput.
03.png (10.99 KiB) Viewed 2066 times
emcodem
Posts: 1652
Joined: Wed Sep 19, 2018 8:11 am

Re: Re-Map 16 Mono to 8 Stereo

Post by emcodem »

So processing your file with my workflow didnt work? What about the mxf file that i uploaded?
As i cannot reproduce the error with my workflow and my file, you either try this combination or you share your source file with me.

Also are you using the most recent ffastrans 1.3?
emcodem, wrapping since 2009 you got the rhyme?
graham728
Posts: 76
Joined: Sat Oct 13, 2018 10:54 pm

Re: Re-Map 16 Mono to 8 Stereo

Post by graham728 »

I've run your MXF through your workflow and Premiere is stating it is also 16-Channel mapped to 16 mono - so no change to being stereo as far as Premiere is concered. The only way I can get FFAstrans to output a stereo MXF is setting it to 1 Discrete Track / 2 (1 Stereo). Premiere see's this as a stereo file.

I've uploaded a test MXF I've made with Media Encoder.

AVC-Intra100 50i - 16 channels.

Running it through your worklfow results in the same audio track layout as it started with. 16 channel mapped to 16 mono in Premiere.

https://we.tl/t-wVqw7X2d2D

I'm running a slightly older version of FFAStrans on the work PC as it's due to be upgraded soon and I don't want to risk causing issues so soon to it being decomissioned.

I'm running 1.3 on my local home PC and I'm seeing the same result of no change it audio layout in Premiere post the workflow.

Edit:

Interestingly this works when the encoder is set to ProRes. The outputted file imports to Premiere as 8-Stereo with track one playing back stereo as intended. I've used the same audio settings as with the MXF AVC Encoder.

Looks to be an issue with the AVC-Intra Encoder from the looks of it.

Thanks.
Attachments
Encoding to ProRes results in the expected stereo import.
Encoding to ProRes results in the expected stereo import.
06.png (12.72 KiB) Viewed 2040 times
Encoding to MXF AVC-Intra results in no change to audio settings.
Encoding to MXF AVC-Intra results in no change to audio settings.
05.png (11.48 KiB) Viewed 2041 times
emcodem
Posts: 1652
Joined: Wed Sep 19, 2018 8:11 am

Re: Re-Map 16 Mono to 8 Stereo

Post by emcodem »

OK thats great, thanks for confirming the issue also happens with my workflow and my source file for you.
So the only thing that's left is the version. Is this what you see in "About FFastrans"?

To be clear, this is what i get when i submit my uploaded source example to my uploaded workflow, using the version in the screenshot.
16ch_short.result.mxf.txt
(661.04 KiB) Downloaded 106 times
The version that i use for reproducing your issue:
1.3.0.png
1.3.0.png (90.6 KiB) Viewed 2030 times
emcodem, wrapping since 2009 you got the rhyme?
graham728
Posts: 76
Joined: Sat Oct 13, 2018 10:54 pm

Re: Re-Map 16 Mono to 8 Stereo

Post by graham728 »

Hi,

Yeah I'm using 1.3.0.2 at home with the above results.

Your MXF attached imports to Premiere Pro as 16 channel mapped to 16 mono - This is the result I get with MXF files.

ProRes encoder works as I want it to by converting 16 mono to 8 stereo tracks - Premiere also recognises it as a stereo clip. (My 16 Mono MXF's are stereo - tracks 1+2 make the stereo and so on. I'm just trying to skip a step by not having to re-map within Premiere Pro to combine tracks 1+2 into one stereo track).

The reasoning is that Premiere AAF export splits all tracks into discrete mono tracks. Meaning that a stereo track split between tracks one and two are split into 4 mono tracks on the AAF export and this slightly annoys our dubbing team.

I'm happy enough using the ProRes encoder to achieve my intended result.
Attachments
16ch_short.result - Shown within Premiere Pro
16ch_short.result - Shown within Premiere Pro
07.png (332.82 KiB) Viewed 2006 times
emcodem
Posts: 1652
Joined: Wed Sep 19, 2018 8:11 am

Re: Re-Map 16 Mono to 8 Stereo

Post by emcodem »

Well it is one thing how Premiere and Co. transform the original file for internal use but i am very interested in why the files you shared and the mediainfo analysis all say it's mono tracks. You'd definitely face a bug if you set 8x2 layout in the encoder but it produces 16x1 instead.

I just tried with the most current download version 1.3.0.2 but still i can't get the workflow i shared above to output mono files.
Do you think there is a bug in ffastrans or was there just a confusion with how premiere presents the audio tracks in the virtual timeline?

Btw, unfortunately i don't have a clue how our cutters deal with different audio layouts, i believe they rarely face that problem we do normalize all incoming stuff into one format/layout before it goes to the edits :D

Thanks!
emcodem, wrapping since 2009 you got the rhyme?
Post Reply