Results 1 to 10 of 25

Thread: Video playback with Audio. Sync error?

Hybrid View

  1. #1
    Ok, quick update. I have now installed Catalyst 4.40 onto two of my MacPro and my office i7 MacBook Pro and tried each with the file i am experiencing problems with.

    When playing the file in mode 70, all the macs play with a stutter so this narrows it down i guess to the way the video has been rendered in post..?

    Or i have three bad macs!

  2. #2

    Audio Sync on Catalyst

    Okay, I have a few thoughts on this subject. I have had these problems on many occasions and have yet to find a solid solution for it.

    Here is what I understand:

    1. Running the video with an audio play mode when they are merged together in the same file can cause playback to be less than smooth. This is because as Todd mentions, the playback rate is driven by the audio portion of the file for sync, not the video. The Mac OS will always treat the audio as a priority.

    2. Running the audio and video on separate files on different layers will potentially yield the best result for smooth video playback but then this is where we run into the "lip sync" problem. I typically run the audio from a different server dedicated just for that purpose.

    Here is what I have discovered since:

    1. Running the audio and video independent of each other works wonderfully if the media was created at a specific frame rate and your display is running perfectly at that rate. ie: When I have the media at 30fps and connected to monitors that are at a perfect 60Hz refresh rate, I can achieve perfect sync.

    2. 60Hz is not always that. On most systems (Spider, Encore, Etc.) or even large displays and projectors, the true refresh rate will be 59.94. Even when your display settings are set to 60Hz in both the system settings as well as Catalyst, your output frequency will be adjusted to that of the display your connected to thanks to EDID management through DVI. This is easily verifiable when you look in the Stats window in the HUD.

    Here is my plan to fix the problem next time around:

    1. Use a DVI detective to capture the EDID from the monitors that work and force the video card to stay at those settings when connected to other systems.

    2. Continue to run audio and video independently so that the video playback will be as smooth as possible.

    3. Be more cognizant of the refresh rates that the Catalyst is capable of.

    The playback pro doesn't seem to have this problem. I am really curious to know what they do to correct this and provide solid, clean playback. That is a Mac based system too for anyone that doesn't already know and is responsible for taking over when Catalyst has failed me in the past with this.

    There are a couple of products on the market that are actually designed to deal specifically with this problem. The DVI parrot is one that comes to mind that is designed to "prevent display misunderstandings" as their literature says.

  3. #3
    Was up last night testing different mov files (photo jpeg, AIC... 25/30fps) on different versions of catalyst (4.10 - 4.40) running 10.5.8 + 10.6.7! Then got some sleep.

    Im still finding dropped frames when using the audio play mode as mentioned in this thread. Looking at the stats its the middle 'pink' bar on the layers play graph that spikes (as mention before) causes the dropped frames and stutter.. be good to learn what this represents?

    I also split video/audio on another layer and
    • a) triggered both play setting at the same time... video was one second behind by the end of the clip
    • b) synced them by local ID
    • c) ran Catalyst on another MacPro (no dongle) running just the audio and remote synced the two together. MacPro with the DV dongle was the master.

    I did notice the screens i have been using are fixed to 60Hz and the cinema display 59.XX.

    Will be using a TH2G with LX41 and Lighthouse R7 LED come the show in a weeks time!

    Not looked into Playback Pro yet, will do, but did run the 25/30FPS versions on Qlab and that showed no problem. Least i have a backup, but need the functions of Catalyst.

  4. #4
    If anyone wants to see if its the content i personally am using... i have cropped a section if it would help??

    http://bradeng.com/tmp/001%20Test%20Cropped.zip

    Screen recording... Note at 15FPS!

    http://bradeng.com/tmp/scr_rec.mov

  5. #5
    what screens and what screen sizes?
    what catalyst playback frame rate?
    screen 1 div 2? screen 2 div 2

    -

    'spiking' is normal

    the usual problem is not drop frames at all - but screen refresh rates that do not match the audio/video frame rates
    the 'visual' stutter isnt what people think - there isnt any stuttering - the screen just isnt displaying the image because the movie frames display times dont match screen refresh times

    when doing audio - you have to work differently -

    the frame rate of movie needs to match frame rate of screens -

    triple heads are particularily obnoxious for this

    -

    screens dont run at 60Hz or exactly 75Hz -

    Quote Originally Posted by pip View Post
    Was up last night testing different mov files (photo jpeg, AIC... 25/30fps) on different versions of catalyst (4.10 - 4.40) running 10.5.8 + 10.6.7! Then got some sleep.

    Im still finding dropped frames when using the audio play mode as mentioned in this thread. Looking at the stats its the middle 'pink' bar on the layers play graph that spikes (as mention before) causes the dropped frames and stutter.. be good to learn what this represents?

    I also split video/audio on another layer and
    • a) triggered both play setting at the same time... video was one second behind by the end of the clip
    • b) synced them by local ID
    • c) ran Catalyst on another MacPro (no dongle) running just the audio and remote synced the two together. MacPro with the DV dongle was the master.

    I did notice the screens i have been using are fixed to 60Hz and the cinema display 59.XX.

    Will be using a TH2G with LX41 and Lighthouse R7 LED come the show in a weeks time!

    Not looked into Playback Pro yet, will do, but did run the 25/30FPS versions on Qlab and that showed no problem. Least i have a backup, but need the functions of Catalyst.

  6. #6
    the solution to perfect audio and video requires

    a very different approach - audio takes total priority- not video

    you run a single layer only - and run the catalyst video frame playback rate at 60fps or 75fps - not 25 or 30fps - see attachment
    ( lock to screen 1 divide 1 or lock to screen 2 divide 1 )

    dont use triple heads -

    only use a single output from computer

    never have mismatched monitor sizes on different outputs

    -

    i think you will find that playback pro is basically - 1 or 2 layers - with only 1 output
    not triple heads- not 32 layers - not mixed screen outputs etc
    not all the fx -



    Quote Originally Posted by SvenCRen View Post
    Okay, I have a few thoughts on this subject. I have had these problems on many occasions and have yet to find a solid solution for it.

    Here is what I understand:

    1. Running the video with an audio play mode when they are merged together in the same file can cause playback to be less than smooth. This is because as Todd mentions, the playback rate is driven by the audio portion of the file for sync, not the video. The Mac OS will always treat the audio as a priority.

    2. Running the audio and video on separate files on different layers will potentially yield the best result for smooth video playback but then this is where we run into the "lip sync" problem. I typically run the audio from a different server dedicated just for that purpose.

    Here is what I have discovered since:

    1. Running the audio and video independent of each other works wonderfully if the media was created at a specific frame rate and your display is running perfectly at that rate. ie: When I have the media at 30fps and connected to monitors that are at a perfect 60Hz refresh rate, I can achieve perfect sync.

    2. 60Hz is not always that. On most systems (Spider, Encore, Etc.) or even large displays and projectors, the true refresh rate will be 59.94. Even when your display settings are set to 60Hz in both the system settings as well as Catalyst, your output frequency will be adjusted to that of the display your connected to thanks to EDID management through DVI. This is easily verifiable when you look in the Stats window in the HUD.

    Here is my plan to fix the problem next time around:

    1. Use a DVI detective to capture the EDID from the monitors that work and force the video card to stay at those settings when connected to other systems.

    2. Continue to run audio and video independently so that the video playback will be as smooth as possible.

    3. Be more cognizant of the refresh rates that the Catalyst is capable of.

    The playback pro doesn't seem to have this problem. I am really curious to know what they do to correct this and provide solid, clean playback. That is a Mac based system too for anyone that doesn't already know and is responsible for taking over when Catalyst has failed me in the past with this.

    There are a couple of products on the market that are actually designed to deal specifically with this problem. The DVI parrot is one that comes to mind that is designed to "prevent display misunderstandings" as their literature says.
    Attached Images Attached Images

  7. #7
    Ah ha! Ok used the divide settings as mentions above and that is a fantastic improvement!

    Richard, if you don't mind explaining: if you use a frame playback rate of 30fps, monitors 60Hz, and use the 1/1 setting (60fps) do i then need to re render the content to 60fps? Sorry I don't really understand what the 1/1 or 2/1 do.

    Same for 25fps..
    Set monitors to 50/75Hz and use setting?

    Despite never seeing the stat hud move so fast there where no drop frames when quickly testing this morning. Will continue testing.

    For the show i was going to use the TH2G outputting two 800x600 windows (one to ImagePro/R7 LED, other to LX41). If this is not a good idea then will look at one output and two ImagePros for locating the content.

    Thank you!

  8. #8
    you dont rerender - playback movie rate stays the same

    but it does run my playback engine at 60fps or 50 or 75fps - which means the threshold for overloading graphics card is much lower- much less time to decode and render things on screen

    so you have to reduce number of layers by at least half - on older graphics cards - it doesnt work so well at all.

    output screen video timings are critical with audio

    dont mix screen output sizes

    -

    if you want no drop frames playing audio - the frame rate at all stages of playback and screens and output screens needs to match exactly- not just on mac but in entire video system.
    not 50/60 exact - but 59.94Hz 60.02Hz 75.03Hz exact

    using well defined PAL -720p and 1080p frame rates - NOT vga or dvi frame rates or triple heads - is usually best - vga/dvi timing are off by quite a lot for audio. ( 1/1000)

    800x600 is ok at 75Hz - but not through a triple head


    Quote Originally Posted by pip View Post
    Ah ha! Ok used the divide settings as mentions above and that is a fantastic improvement!

    Richard, if you don't mind explaining: if you use a frame playback rate of 30fps, monitors 60Hz, and use the 1/1 setting (60fps) do i then need to re render the content to 60fps? Sorry I don't really understand what the 1/1 or 2/1 do.

    Same for 25fps..
    Set monitors to 50/75Hz and use setting?

    Despite never seeing the stat hud move so fast there where no drop frames when quickly testing this morning. Will continue testing.

    For the show i was going to use the TH2G outputting two 800x600 windows (one to ImagePro/R7 LED, other to LX41). If this is not a good idea then will look at one output and two ImagePros for locating the content.

    Thank you!

  9. #9
    the reason why these things happen - is that when play audio is used-
    the real movie frame rate is used-

    the real movie frame rate might be exactly 30fps or 25fps -

    DOES NOT match the vga or dvi timings-

    vga/dvi timings are different at different screen sizes-

    they are 60.02 or 75.03 or 59.94 - very rarely exactly 75Hz or 60Hz

    so your movie is playing back NOT locked to the screen outputs-

    There arent any drop frames - or any stuttering - the frames are not being output locked to the screen output rate - so at certain times - usually every 30 secs dont have any chance to get displayed- as the movie playback goes out of sync with the screen rate


    you want to do audio and dropped frames are critical-

    you need to use single or dual output - at exact same size-
    do not use triple heads-
    do not mix monitor resolutions-

    use 1920x1080 or 1280x720 or 800x600 similar-

    run catalyst playback at 60fps or 50fps or 75fps -

    this give more of a chance for frames which dont line up with the screen refresh rate to get displayed.

Similar Threads

  1. Video portion of file freezes, audio continues
    By Johnny in forum Catalyst Technology questions
    Replies: 13
    Last Post: 02-11-2008, 06:54 PM
  2. 3.32 h26: No video input and Audio output at the same time?
    By rbrigham in forum Catalyst Technical support
    Replies: 0
    Last Post: 02-06-2007, 06:54 AM
  3. Is possible to play .aif audio files togheter video file???
    By roberto_novelli in forum Catalyst Feature requests
    Replies: 2
    Last Post: 13-06-2006, 07:49 AM
  4. SDI Video Input and Layer Playback Performance
    By Laura in forum Catalyst Technical support
    Replies: 7
    Last Post: 05-09-2005, 12:38 AM
  5. pro-tools and audio playback
    By samsc in forum Catalyst Software
    Replies: 6
    Last Post: 01-12-2004, 09:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •