Audio sync problems when screen set to 24 Hz (1 Viewer)

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    All my 24fps-files have sync issues it doesn't matter what codec I use either, I've tried CoreAVC (with and without CUDA), FFdshow, and MPC-HC's stand-alone with DXVA working (confirmed).

    All files I've tried I have also tried in KMP and MPC-HC outside of MP with the different codecs and it works just fine.
    I've gotten all tested files to work with DXVA in MPC-HC

    What H.264 profile those files are having? 5.1? 4.1?
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Right Using Video "Air Force One"

    Code:
    Format profile                   : High@L5.1
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 9 frames
    Muxing mode                      : Container profile=Unknown@5.1
    Codec ID                         : V_MPEG4/ISO/AVC[/QUOTE]
    
    ATI doesn't support HW decoding for 5.1 profile H.264, so at least this point the theory with software decoding and audio drift is good (with one sample video :P).
     

    Koenig

    Portal Member
    December 14, 2007
    45
    5
    Home Country
    Sweden Sweden
    All my 24fps-files have sync issues it doesn't matter what codec I use either, I've tried CoreAVC (with and without CUDA), FFdshow, and MPC-HC's stand-alone with DXVA working (confirmed).

    All files I've tried I have also tried in KMP and MPC-HC outside of MP with the different codecs and it works just fine.
    I've gotten all tested files to work with DXVA in MPC-HC

    What H.264 profile those files are having? 5.1? 4.1?

    Updated my first post with screenshot and Mediainfo.
     

    happy

    MP Donator
  • Premium Supporter
  • February 6, 2009
    282
    5
    Explorer :D
    Home Country
    United Kingdom United Kingdom
    Right Using Video "Air Force One"

    Code:
    Format profile                   : High@L5.1
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 9 frames
    Muxing mode                      : Container profile=Unknown@5.1
    Codec ID                         : V_MPEG4/ISO/AVC[/QUOTE]
    
    ATI doesn't support HW decoding for 5.1 profile H.264, so at least this point the theory with software decoding and audio drift is good (with one sample video :P).[/QUOTE]
    
    
    are you sure, because according to GPU usage and MPC-HC svn 1136 DXVA was working with Air Force One, but then again im Using Windows 7 not sure if that makes a difference
    
    The Dark Knight
    
    Video
    ID                               : 1
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : High@L4.0
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 3 frames
    Muxing mode                      : Container profile=Unknown@4.0
    Codec ID                         : V_MPEG4/ISO/AVC
    
    Using SAF, In Sync + DXVA
    
    Death Race
    
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : High@L4.1
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 5 frames
    Muxing mode                      : Container profile=Unknown@4.1
    Codec ID                         : V_MPEG4/ISO/AVC
    
    SAF + DXVA in sync
    
    thats funny everything i've tried was the ones that would normally be out of sync, now im really confused!!
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    are you sure, because according to GPU usage and MPC-HC svn 1136 DXVA was working with Air Force One, but then again im Using Windows 7 not sure if that makes a difference

    Watching h.264 videos using DirectX Video Acceleration (DXVA). | My collection of short anime reviews
    AMD Game Forums - DXVA Limitations on ATI 3450

    About the GPU usage, you should be checking the CPU usage as MP will itself generate GPU load when rendering the video textures.

    About the videos, is it possible for you to re-encode the video to L4.1 profile? If that doesn't help, then try to re-encode the video as 720p.
     

    happy

    MP Donator
  • Premium Supporter
  • February 6, 2009
    282
    5
    Explorer :D
    Home Country
    United Kingdom United Kingdom
    there the screen shot, highest cpu read goes is 11
     

    Attachments

    • 2009-06-05_102112.jpg
      2009-06-05_102112.jpg
      242.8 KB

    anvandarnamn

    Portal Pro
    February 15, 2007
    84
    3
    40
    Home Country
    Sweden Sweden
    Hi! Here we go again....

    This is clearly not a codec issue... Mediaportal is the only videoplayer that gives me these sync-issues...

    When using Mediaportal with the EVR-renderer, all my 24 / 23,976 FPS files get out of sync, but only when having my display set to 24hz (or 23,976) At 60hz this is not a problem. Have tested this with bot Nvidia (9300) and ATI (4850).

    When using VMR9 as a renderer I have no sync-issues (Nvidia 9300 card). But I have bought myself an ATI card and all i get is a black sceen when running VMR9.

    when disabling Aero in Vista, no sync issues... but then, massive tearing will occur (not OK..)

    No sync issues when playing back exact the same files, at the exact same framerate , with the exact same codecs in any other directshow player (like Windows Mediaplayer)

    I have remuxed all my blurays to mkv (no change to the video) and converted the HD-audio to FLAC , none of these plays in sync with mediaportal at 24hz...

    I have tested CoreAVC , FFDSHOW for video and various audio decoders (MADFLAC for FLAC), all of them give me similar results. AV sync problems with Mediaportal, plays fine in Windows mediaplayer, or MPC-HC.

    and btw I am not using DXVA - i dont need it, my quad core cpu takes care of the decoding.
     

    Koenig

    Portal Member
    December 14, 2007
    45
    5
    Home Country
    Sweden Sweden
    OK

    So I did a complete uninstall and a new fresh install of MP.

    And gave it a go.

    With MPC-HC's codec, DXVA enabled and a high bitrate h.264 L4.1 movie the CPU-usage looks like this:


    As the CPU-usage goes up the sync issue gets worse, and when the usage falls the sync gets rigth again.
    So it goes in and out of sync for me, but it only happens @ 24fps and only in MP.

    It is not any other program that is causing the peaks, it is only MP and it doesn't happen in MPC-HC for instance
     

    Attachments

    • CPU-Usage2.PNG
      CPU-Usage2.PNG
      38.8 KB

    Koenig

    Portal Member
    December 14, 2007
    45
    5
    Home Country
    Sweden Sweden
    This is playing exactly the same scene in MPC-HC outside MP (everything in sync of course ;) )

    And mediainfo about the file played.
     

    Attachments

    • CPU-Usage3.PNG
      CPU-Usage3.PNG
      38.1 KB
    • mediainfo2.txt
      30.6 KB

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    As the CPU-usage goes up the sync issue gets worse, and when the usage falls the sync gets rigth again.
    So it goes in and out of sync for me, but it only happens @ 24fps and only in MP.

    Ok, this will explain the audio drifting issue. On dual core machines CPU usage nearing the 50% is already maxing out the CPU performance (almost all codecs are single threaded).

    But, it doesn't answer the question why the CPU usage climbs... especially if it happens only with 24hz screen mode. Unfortunately I have to say that I have no clue what is happening, or how I could investigate the issue (as I have no access to the 24Hz capable display).

    Can you try if the issue is reproducible as well with the 72Hz? (with exact the same HW).
     

    Users who are viewing this thread

    Top Bottom