Sliding A/V sync with XDCAM HD encoder
Posted: Tue Mar 29, 2022 4:00 am
Running into lipsync issues with the XDCAM HD encoder processor and certain mp4 files. I believe the problem files have come in from iOS devices.
Symptom is that the overall length of the clip is longer post encoding by FFAStrans. The source mp4 file is 1045.33 seconds and my output mxf file is 1046.479, a second and one frame(ish) longer than the length of the original clip. This manifests itself as the video increasingly lagging the audio (or audio leading video) the longer the clip plays. I've tried various settings within the XDCAM HD encoder, various bitrates, framerates, bitdepths, rasters, and GOP all with no change. Looking at the info in webinterface both mediainfo and ffprobe all seem to agree on the input duration of the file, but that's not what I get on the output. I did try the workflow with a DNX encoder and the output file was the correct length (1045.33 in and out) with no issues.
I pared down the testing workflow to just a watch folder, XDCAM HD encoder, and delivery so I don't think that's worth posting.
I can share the problem source file, I'd prefer to do it in a DM if possible. And don't get excited I can assure you it's very boring.
Symptom is that the overall length of the clip is longer post encoding by FFAStrans. The source mp4 file is 1045.33 seconds and my output mxf file is 1046.479, a second and one frame(ish) longer than the length of the original clip. This manifests itself as the video increasingly lagging the audio (or audio leading video) the longer the clip plays. I've tried various settings within the XDCAM HD encoder, various bitrates, framerates, bitdepths, rasters, and GOP all with no change. Looking at the info in webinterface both mediainfo and ffprobe all seem to agree on the input duration of the file, but that's not what I get on the output. I did try the workflow with a DNX encoder and the output file was the correct length (1045.33 in and out) with no issues.
I pared down the testing workflow to just a watch folder, XDCAM HD encoder, and delivery so I don't think that's worth posting.
I can share the problem source file, I'd prefer to do it in a DM if possible. And don't get excited I can assure you it's very boring.