MXF to Handbrake - audio sped way up!

MikeLV wrote on 10/4/2012, 6:40 PM
I am revisiting the idea of using Sony MXF as my intermediate instead of DNxHD. However, after I output the MP4 from Handbrake, on a one minute clip, the audio is sped up so that it finishes in about 36 seconds. It's like the thing is on fast forward and I cannot figure out why - has anyone else experienced this? The MXF file itself is fine so it has something to do with whatever Handbrake does during the encode to x264.......

Comments

MikeLV wrote on 10/5/2012, 12:15 PM
I thought perhaps a reboot of everything would solve the problem, but no such luck in this case. Handbrake is still spitting out a sped up audio track on the finished MP4. =(
Former user wrote on 10/5/2012, 12:18 PM
If you open your file in mediainfo (the MXF file) what does it say the framerate is?
There is also a checkbox about framerate within Handbrake. See what its status is.

Dave T2
MikeLV wrote on 10/5/2012, 12:55 PM
The framerate for the video is 29.97 fps

Here is the audio info:

Audio #1
ID : 3
Format : PCM
Format settings, Endianness : Little
Format_Settings_Wrapping : Frame (AES)
Duration : 1mn 0s
Bit rate mode : Constant
Bit rate : 768 Kbps
Channel(s) : 1 channel
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 5.50 MiB (3%)
Delay_SDTI : 1285734

Audio #2
ID : 4
Format : PCM
Format settings, Endianness : Little
Format_Settings_Wrapping : Frame (AES)
Duration : 1mn 0s
Bit rate mode : Constant
Bit rate : 768 Kbps
Channel(s) : 1 channel
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 5.50 MiB (3%)
Delay_SDTI : 1285734

In handbrake, the Video tab's framerate dropdown is on 29.97 and is set on constant framerate. Keep in mind, the video displays correctly, it's only the audio that is sped up and finishes playing in 36 seconds, while the video plays for the full minute...
Former user wrote on 10/5/2012, 1:06 PM
I see the audio is two discrete channels rather than one stereo channel and each channel is half the bitrate of a normal Stereo PCM WAV uncompressed at 48k.

I would guess this might be the problem. What were your audio settings when you created the MXF file?

Dave T2
MikeLV wrote on 10/5/2012, 1:31 PM
In the render settings window for the audio tab:

Audio Format: PCM Uncompressed (grayed out, can't change)
Sample Rate: 48,000 (grayed out, can't change)

Bit Depth: 16
Channels: 2
Former user wrote on 10/5/2012, 1:56 PM
Make that Stereo rather than 2 channels if you can and see if that fixes it. If you don't want to re-render the video, I think you can enter in an audio track from a separate source in handbrake. So render a Stereo WAV file and use that as your audio source.

If I am wrong about handbrake's operations, then I would re-render the whole thing with Stereo.

Dave T2
MikeLV wrote on 10/5/2012, 2:02 PM
Hmm, under the channels dropdown, the only options are 2,4 and 8
This is really strange because several months ago when I tried MXF, I didn't have any issues with the audio.
Former user wrote on 10/5/2012, 2:11 PM
Sorry, I should have checked first, but you are right. No Stereo option.

You might try my WAV suggestion just as a test.

Dave T2
musicvid10 wrote on 10/5/2012, 3:38 PM
Laurence discovered, tested, and reported on this issue some time back.
You should be able to find his threads with a search.
As a result of his experience with the audio, I believe he has pretty much abandoned Sony MXF as an intermediate to HB.
MikeLV wrote on 10/5/2012, 4:03 PM
I did some searches, found a thread that I replied to, with regard to some mono audio issues with MXF, but nothing specific about the audio track being sped up like this. I'll just rule out MXF as an option and go back to big, slow DNxHD....
WillemT wrote on 10/5/2012, 4:48 PM
Have you tried XDCAM EX? The stereo audio from the resulting MP4s is handled correctly by HB.

I do however vaguely remember reading something about artefact in the video - I may be wrong on this one.

Willem.
musicvid10 wrote on 10/5/2012, 10:03 PM
"and go back to big, slow DNxHD...."

I'm sure you meant "big, slow, accurate DNxHD" ?
MPEG-2 is pretty low on the list of viable intermediates, unless you are smart-rendering HDV.
MikeLV wrote on 10/5/2012, 11:26 PM
Yes, I know, accuracy comes at a price; in this case speed. I will stick with DNxHD :-)