ProRes output - audio sync

Offworlder wrote on 4/7/2017, 3:36 PM

I rendered a film project 1:02:30 with 25 layers of audio and video @ ProRes 422 1920x1080, 29.97. The resulting file, 70GB has out of sync audio - at least as I can determine playing back in VLC or QT and at least four seconds off. Audio plays back in sync within system, even full screen on 24" monitor.

  • GPU acceleration turned off within app, causes issues even with playback/crashing
  • Running 14.0 Rev 211 (had not yet updated to new rev)

 

Appreciate input, if experienced within similar, Thanks

----------
System:

Custom workstation build: ASRock X99 WS LGA-2011, Intel i7-6850K -15M Broadwell-E 6-Core 3.6 GHz , Toshiba OCZ RD400 SSD NVMe M.2 512GB Boot, G.SKILL Trident-Z 32GB DDR4, EVGA GeForce GTX 1080 FTW ACX 3.0, 8GB GDDR5X, WDC 8TB Raid 0, WDC RED 5TB hot swap/back up



 

Custom workstation build: ASRock X99 WS LGA-2011, Intel i7-6850K 15M Broadwell-E 6-Core 3.6 GHz , Toshiba OCZ RD400 SSD NVMe M.2 512GB, G.SKILL TridentZ 32GB DDR4, EVGA GeForce GTX 1080 FTW ACX 3.0, 8GB GDDR5X, 8TB Raid 0, 5TB backup/hot swap, NZXT Phantom 630 case. Vegas 14, Resolve 12.5, Affinity Photo - lots of cooling <g>

Comments

Musicvid wrote on 4/7/2017, 8:56 PM

ProRes is not a delivery codec, meaning it is not optimized for playback.

A player is not a test for sync, because system demand is already over the top.

Render that file to mp4 at sane bitrates, and post back if you're still having problems.

Offworlder wrote on 4/8/2017, 9:27 AM

Hi, Thanks for your reply.

Yes and understood, let me clarify. The output file is for my colorist to grade within Resolve - did think however, it would play locally.

Have already rendered as MP4 and plays fine, so likely what you indicated, will not play even locally as ProRes

 

Custom workstation build: ASRock X99 WS LGA-2011, Intel i7-6850K 15M Broadwell-E 6-Core 3.6 GHz , Toshiba OCZ RD400 SSD NVMe M.2 512GB, G.SKILL TridentZ 32GB DDR4, EVGA GeForce GTX 1080 FTW ACX 3.0, 8GB GDDR5X, 8TB Raid 0, 5TB backup/hot swap, NZXT Phantom 630 case. Vegas 14, Resolve 12.5, Affinity Photo - lots of cooling <g>

Offworlder wrote on 4/8/2017, 11:32 AM

...So input file back into Resolve and audio is out of sync when playing within media timeline

Custom workstation build: ASRock X99 WS LGA-2011, Intel i7-6850K 15M Broadwell-E 6-Core 3.6 GHz , Toshiba OCZ RD400 SSD NVMe M.2 512GB, G.SKILL TridentZ 32GB DDR4, EVGA GeForce GTX 1080 FTW ACX 3.0, 8GB GDDR5X, 8TB Raid 0, 5TB backup/hot swap, NZXT Phantom 630 case. Vegas 14, Resolve 12.5, Affinity Photo - lots of cooling <g>

GJeffrey wrote on 4/8/2017, 9:43 PM

If you import your rendered ProRes file in Vegas, any sync problem?

You may also try to remux your ProRes file using ffmpeg.

Offworlder wrote on 4/9/2017, 10:05 AM

Good recommendation in troubleshooting chain. Importing ProRes file back into Vegas continues to have same sync issue - audio about 3-4 seconds behind video.

As I understand, Remuxing is mainly about replacing poor quality audio with better quality or replacement version, had not hear about it specific to sync, but then found this: http://alien.slackbook.org/blog/fixing-audio-sync-with-ffmpeg/

Had not used in years, still command line - not well versed with the process. Wondering if Streamclip would also facilitate.

Thanks

 

Last changed by Offworlder on 4/9/2017, 10:11 AM, changed a total of 3 times.

Custom workstation build: ASRock X99 WS LGA-2011, Intel i7-6850K 15M Broadwell-E 6-Core 3.6 GHz , Toshiba OCZ RD400 SSD NVMe M.2 512GB, G.SKILL TridentZ 32GB DDR4, EVGA GeForce GTX 1080 FTW ACX 3.0, 8GB GDDR5X, 8TB Raid 0, 5TB backup/hot swap, NZXT Phantom 630 case. Vegas 14, Resolve 12.5, Affinity Photo - lots of cooling <g>

GJeffrey wrote on 4/9/2017, 10:51 AM

Importing ProRes file back into Vegas continues to have same sync issue - audio about 3-4 seconds behind video.

Sounds like a Vegas bug then.

I personally use Xmediarecode which is a ffmpeg free GUI.

The best way to remux would be to render your project audio in wav then remux it with the 1st rendered file. Remuxing should remove the first audio file and keep only the 2nd eith the above ffmpeg GUI.

For ffmpeg command line, there are 2 steps:

1- demux

ffmpeg -i input.mov - c:v copy - an input_demux.mov

2-Remux with new audio

ffmpeg -i input_demux.mov -i input.wav -c:v copy -c:a copy output.mov

You can save those 2 command lines in a cmd file. The batch file must be in the same folder as the video to process (ffmpeg as well)

Hope that helps.

Offworlder wrote on 4/10/2017, 11:34 AM

One of several, also can't export Resolve or Media Composer projects without freezing

The best way to remux would be to render your project audio in wav then remux it with the 1st rendered file.

Understood above action.

For actions below:

  1. Download the application, done
  2. Go to DOS prompt and enter the command lines listed below? Hit return after each entry?
  3. Save those two in a command cmd file, please elaborate
  4. C:v gather that is the path specific to the folder? e.g. D: projectfoldername?
  5. Does the file name replace input.wav and output.mov

Thanks, not a command guy.

For ffmpeg command line, there are 2 steps:

1- demux

ffmpeg -i input.mov - c:v copy - an input_demux.mov

2-Remux with new audio

ffmpeg -i input_demux.mov -i input.wav -c:v copy -c:a copy output.mov

You can save those 2 command lines in a cmd file. The batch file must be in the same folder as the video to process (ffmpeg as well)

Custom workstation build: ASRock X99 WS LGA-2011, Intel i7-6850K 15M Broadwell-E 6-Core 3.6 GHz , Toshiba OCZ RD400 SSD NVMe M.2 512GB, G.SKILL TridentZ 32GB DDR4, EVGA GeForce GTX 1080 FTW ACX 3.0, 8GB GDDR5X, 8TB Raid 0, 5TB backup/hot swap, NZXT Phantom 630 case. Vegas 14, Resolve 12.5, Affinity Photo - lots of cooling <g>

GJeffrey wrote on 4/10/2017, 3:03 PM

To make it simple, copy the 2 above command lines in Notepad and save the file with a cmd extension. By doing that you don't need to open a command prompt. Just double click the cmd file to launch the process.

-c:v is the command for video encoding, copy in that case, -c:a is audio.

Yes, replace input.mov and input.wav by respectively your video and audio file name. Change output.mov as you like as well.

For simplicity sake, all the files (video,audio,cmd files and ffmpeg.exe) must be in the same folder.

There is an error in the first command line, thanks to auto correction...

It should be

ffmpeg -i input.mov -c:v copy -an input_demux.mov

 

Offworlder wrote on 4/11/2017, 9:28 AM

Question, how does the application, ff know the time correction requirement, especially if there is no TC embedded?

Will give it a go, thanks

Custom workstation build: ASRock X99 WS LGA-2011, Intel i7-6850K 15M Broadwell-E 6-Core 3.6 GHz , Toshiba OCZ RD400 SSD NVMe M.2 512GB, G.SKILL TridentZ 32GB DDR4, EVGA GeForce GTX 1080 FTW ACX 3.0, 8GB GDDR5X, 8TB Raid 0, 5TB backup/hot swap, NZXT Phantom 630 case. Vegas 14, Resolve 12.5, Affinity Photo - lots of cooling <g>