X264 video file

Solved
Xtc Phil Posted messages 32 Status Member -  
ziggourat Posted messages 24643 Registration date   Status Contributor Last intervention   -
Hello,
Previously, we had xvid files in avi format. For some time now, we have had files in x264 with mp4 extension. We obviously need the h264 codec, which can be found in the klite package. I have this codec, and all my videos with this codec work very well in terms of image ...
-
But sometimes I have a problem. Sometimes the videos and sound are perfectly in sync. This indeed gives a different result than xvid in avi.
But other times, the image and sound are out of sync. And that doesn’t work.
For this kind of video with audio desynchronization, only the quicktime player allows me to restore the correct sync between image and sound, but there’s no possibility to read the srt subtitles at the same time ...
-
I am using three players: windows media with h264 codec, media player classic, and vlc. These last three desynchronize the sound ...
-
What is your opinion on this? Is there something to correct the sound so that the files can be played correctly?
Thank you for your insights ...

Configuration: Windows XP / Firefox 13.0

6 answers

  1. gej62
     
    Hello
    VLC also allows you to fix the sync (if it's not progressive)
    click on "Tools"
    click on "Effect and Filters List"
    click on "Synchronization"

    play with "Audio Delay on Video"
    once the value is determined, you can use Avidemux for example (use it in copy mode) insert this value and then save.

    if the container matters little to you mkv merge also does it (but in mkv)
    also check out YAMB or MP4BoxGUI if there's a possibility to remux
    with your desync value

    do you also have desync on an external device (multimedia hard drive) for example.

    hoping to have helped you a bit
    best regards
    0
  2. ziggourat Posted messages 24643 Registration date   Status Contributor Last intervention   5 340
     
    Hello,

    With VLC, you can try to sync the video and audio by going to Tools --> Effects and Filters --> Synchronization.
    However, you will have to redo the operation each time because VLC does not save the change.

    If you want the offset to be removed permanently, you will need to re-encode your video using software like Avidemux or XMedia Recode, taking the desynchronization into account.

    Best regards
    Long live Bobo! ~ A little fish will grow up ~
    0
  3. Xtc Phil Posted messages 32 Status Member 2
     
    All of this doesn't really address my problem...
    I'm having trouble understanding why an h264 video is in sync when I'm playing it with QuickTime Player, but is out of sync when I play it with Windows Media, or even VLC
    Could it be a matter of codecs not being the same? It seems obvious that the codec of QuickTime may be newer than the one I have with the K-Lite codec pack... I have a hard time understanding why a video that should be correct is not. And this symptom doesn't occur with just one video, but a large number of videos are exactly the same case. So I lean more towards a more general problem, and not a specific video needing resynchronization... So again, if you have any ideas...
    I would love for someone to be in the same situation as me; it would really help me!!!
    0
  4. gej62
     
    re
    indeed, try with vlc.
    click on tools
    then preferences
    click on playback and codec
    check "use available system codecs...."
    you never know.

    after that, you can compare a healthy video to the others.
    reinstall klite in standard.

    I'm not in the same situation so just simple assumptions.
    regards
    0
  5. ziggourat Posted messages 24643 Registration date   Status Contributor Last intervention   5 340
     
    Personally, I don’t know why that happens to you :/

    As for codecs, there are different profiles for AAC, if that's the one for your videos of course: https://fr.wikipedia.org/wiki/Advanced_Audio_Coding
    Maybe MediaInfo could help you compare the differences, if VLC is not enough...
    --
    Long live Bobo! ~ Little fish will grow big ~
    0
  6. Xtc Phil Posted messages 32 Status Member 2
     
    Well, there you go, it's sorted out, and of course I suspected something like this... you'll see, it's all quite simple...
    First of all, I’m a big fan of the K-Lite package that I discovered a while back, which already allowed me to play Xvid videos in Windows Media and even with the version of RealPlayer I have (I keep version 10 for strictly personal reasons)
    When H264 came along, I saw that I could play it, even 720p, with which, I forgot to mention, I've never had any sync issues. The definition of 720p H264 is stunning.
    So I was only having trouble with H264 MP4 on certain files. It's worth noting that I don't understand why some files play correctly and others don't...
    The very simple answer is that I had K-Lite version 5.8.3 and I replaced it with K-Lite version 9.1.0 (although I saw that there's even version 9.3.0). What do you think happened... It works in sync with Windows Media, with Media Player Classic since K-Lite has an option to sync with these two players. However, with my version of RealPlayer, without K-Lite I can't play any video, I only have sound, and with K-Lite I can at least play the Xvid AVI...
    There you go... Thanks to everyone for your responses... I'm happy that I can now play my H264 MP1 just fine, since these files will gradually replace Xvid AVI...
    0
    1. gej62
       
      Well done! :-)
      Regards
      0
    2. ziggourat Posted messages 24643 Registration date   Status Contributor Last intervention   5 340
       
      Congratulations and thank you for indicating your solution ;)
      I will mark your topic as resolved,
      Bye
      0