Export .MXF with stereo (dual channel) audio track

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline
User avatar

Seppia

  • Posts: 48
  • Joined: Wed Dec 06, 2017 8:25 am
  • Location: Strasbourg, France

Export .MXF with stereo (dual channel) audio track

PostTue Jul 03, 2018 8:25 pm

Hello

For a broadcaster, I'm trying to deliver an MXF OP1a 1080i25 file, with video in AVC-Intra 100 (no problems here) and two stereo audio tracks (from two different stereo audio mix, French version and International version).
I must specifically output each one of those two stereo mix on one dual-channels tracks, so I must have two dual-channel (stereo) tracks, and not 4 single (mono) tracks.

Using Resolve 14, here is what I did :
1/ the source audio mix are stereo .WAV files, properly defined as such in the Clip Attributes of the Media Pool
2/ the timeline tracks are stereo (2.0) tracks, the WAV files do playback properly in stereo
3/ in Fairlight, I create two stereo main buses, and I assign track 1 to bus 1, and track 2 to bus 2. The Mixer then properly displays two stereo master buses, on each the two stereo audio files play properly : the first audio stereo source file on the first main stereo bus, the second audio stereo source file on the second stereo main bus.
So far, so good.

But when delivering in .MXF, no matter what audio setup I select (either the two stereo Main Fairlight buses output, or the stereo timeline tracks output), the audio in the resulting MXF are always flagged (in Media Info, for example, and by the broadcaster's QC tool) as 4 single mono channel tracks.

The same audio setup output in Quicktime .MOV does work : I do get two dual-channel stereo tracks.
But not in .MXF.

Has anyone ever managed to output stereo dual-channel tracks in an MXF from Resolve ? If so, what do I do wrong ?

Thanks !


Guillaume
Guillaume Bringard
Technical director,
Seppia.eu
Offline

Shrinivas Ramani

Blackmagic Design

  • Posts: 3030
  • Joined: Wed Sep 20, 2017 10:19 am

Re: Export .MXF with stereo (dual channel) audio track

PostThu Jul 05, 2018 4:20 am

Could you try with 15.0 beta 6 please and let us know if the issue persists?

It has some related audio bug fixes.

Thanks
Offline
User avatar

Seppia

  • Posts: 48
  • Joined: Wed Dec 06, 2017 8:25 am
  • Location: Strasbourg, France

Re: Export .MXF with stereo (dual channel) audio track

PostThu Jul 05, 2018 7:33 am

Hello

Thanks for the reply, I just downloaded and installed the 15b6 version, but I still get two mono channelled-tracks in the resulting MXF file.


Here is my audio setup inside of Resolve, the Fairlight Bus Format is just one main stereo (the default one) :
Resolve_Fairlight_Audio_bus_format.png
Resolve_Fairlight_Audio_bus_format.png (33.56 KiB) Viewed 7059 times


Fairlight bus assign is also pretty straightforward :
Resolve_Fairlight_Audio_bus_assign.png
Resolve_Fairlight_Audio_bus_assign.png (37.13 KiB) Viewed 7059 times


On the Deliver page, I chose the MXF flavor that I need (AVC-Intra 100, 1080i25) :
Resolve_Video_Deliver.png
Resolve_Video_Deliver.png (73.01 KiB) Viewed 7059 times
Guillaume Bringard
Technical director,
Seppia.eu
Offline

Shrinivas Ramani

Blackmagic Design

  • Posts: 3030
  • Joined: Wed Sep 20, 2017 10:19 am

Re: Export .MXF with stereo (dual channel) audio track

PostThu Jul 05, 2018 7:36 am

I assume the audio tab for your render job just uses the default main bus? With render 1 track per channel turned off?

Could you DM me a link of your project export (just the drp file without media)?

Thanks
Offline
User avatar

Seppia

  • Posts: 48
  • Joined: Wed Dec 06, 2017 8:25 am
  • Location: Strasbourg, France

Re: Export .MXF with stereo (dual channel) audio track

PostThu Jul 05, 2018 7:45 am

Obviously, I pick the main Fairlight stereo bus as audio output :
Resolve_Audio_Deliver.png
Resolve_Audio_Deliver.png (64.68 KiB) Viewed 7051 times



But after deliver, in the Media Info of the resulting MXF, I still get two tracks, each one containing one channel :
MediaInfo_result.png
MediaInfo_result.png (118.89 KiB) Viewed 7051 times




What I do need, from the sample provided file, is this :
MXF_stereo_OK_what_I_want_CROP.png
MXF_stereo_OK_what_I_want_CROP.png (174.67 KiB) Viewed 7050 times

One track containing two channels.
Guillaume Bringard
Technical director,
Seppia.eu
Offline
User avatar

Seppia

  • Posts: 48
  • Joined: Wed Dec 06, 2017 8:25 am
  • Location: Strasbourg, France

Re: Export .MXF with stereo (dual channel) audio track

PostThu Jul 05, 2018 7:55 am

Shrinivas Ramani wrote:I assume the audio tab for your render job just uses the default main bus? With render 1 track per channel turned off?
Yes I pick the stereo main bus as output, and the "Render one track per channel" is not ticked.

Shrinivas Ramani wrote:Could you DM me a link of your project export (just the drp file without media)?
I think I did, let me know if you can open the DRP ?
Guillaume Bringard
Technical director,
Seppia.eu
Offline
User avatar

Seppia

  • Posts: 48
  • Joined: Wed Dec 06, 2017 8:25 am
  • Location: Strasbourg, France

Re: Export .MXF with stereo (dual channel) audio track

PostThu Jul 05, 2018 4:23 pm

In the meantime, I found a workaround with FFMPEG :

1/ I export from Resolve the video silent (without audio) as an .MXF OP1a AVC-Intra 100 1080i25 (every flavor I need)

2/ I export from Resolve the audio as stereo .WAV (48 Khz 24 bits)

3/ I rewrap without converting/re-compressing via FFMPEG :
Code: Select all
ffmpeg -i VideoSilentFile.MXF -i AudioStereoWaveFile.wav -map 0:0 -map 1:a -vcodec copy -acodec copy VideoWithStereoAudio.MXF



And voilà : an .MXF file with only one stereo audio track containing two audio channels :-)
Guillaume Bringard
Technical director,
Seppia.eu
Offline

Shrinivas Ramani

Blackmagic Design

  • Posts: 3030
  • Joined: Wed Sep 20, 2017 10:19 am

Re: Export .MXF with stereo (dual channel) audio track

PostFri Jul 06, 2018 3:29 am

This problem seems to be specific to certain MXF OP1a variants. We're looking into it.

Thanks for your report.
Offline
User avatar

Seppia

  • Posts: 48
  • Joined: Wed Dec 06, 2017 8:25 am
  • Location: Strasbourg, France

Re: Export .MXF with stereo (dual channel) audio track

PostSat Jul 07, 2018 11:51 pm

I think I managed to narrow it down to the use of the MXF writing library "Sony MXF Development kit", see screenshots below : I can output stereo tracks in MXF when using XDCAM or DNxHD codec, but not MPEG4 (Sony).

DNxHR_HQ__Output_main_stereo_bus.png
DNxHR_HQ__Output_main_stereo_bus.png (80.6 KiB) Viewed 6937 times


XDCAM__Output_main_stereo_bus.png
XDCAM__Output_main_stereo_bus.png (83.01 KiB) Viewed 6937 times


MPEG4-422__Output_main_stereo_bus.png
MPEG4-422__Output_main_stereo_bus.png (83.3 KiB) Viewed 6937 times



By the way, I opened a Blackmagic support ticket : Support #LFK-129-48639 , so no need to double-investigate on your side ;-)

Regards,

Guillaume
Guillaume Bringard
Technical director,
Seppia.eu
Offline

Jiri Bakala

  • Posts: 3
  • Joined: Wed Jan 29, 2020 9:58 pm
  • Real Name: Jiri Bakala

Re: Export .MXF with stereo (dual channel) audio track

PostTue Jan 05, 2021 7:16 pm

I can see that this is an old thread - but I am dealing with the same problem. I need to deliver an MXF with embedded audio. Is there any way to do it and what would be the settings?

Thank you very much.
Jiri Bakala

Apple MacPro, Quad Core, 2xAMD FirePro D300 2GB, late 2013, 64 GB RAM
Offline
User avatar

Darren Abate

  • Posts: 139
  • Joined: Sat Oct 13, 2012 9:26 pm
  • Location: San Antonio

Re: Export .MXF with stereo (dual channel) audio track

PostSun Feb 14, 2021 10:38 pm

Jiri Bakala wrote:I can see that this is an old thread - but I am dealing with the same problem. I need to deliver an MXF with embedded audio. Is there any way to do it and what would be the settings?

Thank you very much.


Same here, I need to export XDCAM MXF with embedded audio tracks, but I can only get it to export one video file and four individual audio mxf files to the folder. I need to make it one MXF file with embedded audio. Anyone know if this is possible?
Offline
User avatar

dariobigi

  • Posts: 566
  • Joined: Thu Aug 23, 2012 4:52 am
  • Location: New York City

Re: Export .MXF with stereo (dual channel) audio track

PostSun Feb 14, 2021 10:48 pm

Sounds like the difference between OP1a and op atom.


HPz840 - 2x 14 Core 2.6GHz - 64GB RAM
Windows 10 Pro 2004
2x RTX 2080Ti (SD 460.89)
Resolve Studio 16.2.7
Decklink 4K Extreme (11.6)
FSI CM250
Panasonic FZ1000
Mini Panel
Dario Bigi, Colorist
http://dariobigi.com
New York
C: 1-646-436-4600

HPz840 - 2x 14 Core 2.6GHz - 64GB RAM
Windows 10 Pro 21H2
2x RTX 2080Ti (SD 472.84)
Resolve Studio 17.4.6
Decklink 4K Extreme (12.2.2)
FSI CM250
Panasonic FZ1000
Mini Panel

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], KrunoSmithy, panos_mts, qsipher and 266 guests